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 a94d07204..c79dedcf5 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 @@ -23340,172 +23340,6 @@ } } }, - "/orgs/{org}/projects": { - "get": { - "summary": "List organization projects", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/list-for-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/projects#list-organization-projects" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - }, - { - "name": "state", - "description": "Indicates the state of the projects to return.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "open", - "closed", - "all" - ], - "default": "open" - } - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/page" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/project" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/project-items" - } - } - } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } - } - }, - "422": { - "$ref": "#/components/responses/validation_failed_simple" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - }, - "post": { - "summary": "Create an organization project", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/create-for-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/projects#create-an-organization-project" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The name of the project." - }, - "body": { - "type": "string", - "description": "The description of the project." - } - }, - "required": [ - "name" - ] - }, - "examples": { - "default": { - "value": { - "name": "Organization Roadmap", - "body": "High-level roadmap for the upcoming year." - } - } - } - } - } - }, - "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/project" - }, - "examples": { - "default": { - "$ref": "#/components/examples/project-2" - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "410": { - "$ref": "#/components/responses/gone" - }, - "422": { - "$ref": "#/components/responses/validation_failed_simple" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - } - }, "/orgs/{org}/projectsV2": { "get": { "summary": "List projects for organization", @@ -29900,261 +29734,6 @@ "deprecated": true } }, - "/projects/{project_id}": { - "get": { - "summary": "Get a project", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/get", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/projects#get-a-project" - }, - "parameters": [ - { - "$ref": "#/components/parameters/project-id" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/project" - }, - "examples": { - "default": { - "$ref": "#/components/examples/project-3" - } - } - } - } - }, - "304": { - "$ref": "#/components/responses/not_modified" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - }, - "patch": { - "summary": "Update a project", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "operationId": "projects-classic/update", - "tags": [ - "projects-classic" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/projects#update-a-project" - }, - "parameters": [ - { - "$ref": "#/components/parameters/project-id" - } - ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "properties": { - "name": { - "description": "Name of the project", - "example": "Week One Sprint", - "type": "string" - }, - "body": { - "description": "Body of the project", - "example": "This project represents the sprint of the first week in January", - "type": "string", - "nullable": true - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "example": "open", - "type": "string" - }, - "organization_permission": { - "description": "The baseline permission that all organization members have on this project", - "type": "string", - "enum": [ - "read", - "write", - "admin", - "none" - ] - }, - "private": { - "description": "Whether or not this project can be seen by everyone.", - "type": "boolean" - } - }, - "type": "object" - }, - "examples": { - "default": { - "summary": "Change the name, state, and permissions for a project", - "value": { - "name": "Week One Sprint", - "state": "open", - "organization_permission": "write" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/project" - }, - "examples": { - "default": { - "$ref": "#/components/examples/project-3" - } - } - } - } - }, - "404": { - "description": "Not Found if the authenticated user does not have access to the project" - }, - "304": { - "$ref": "#/components/responses/not_modified" - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - }, - "410": { - "$ref": "#/components/responses/gone" - }, - "422": { - "$ref": "#/components/responses/validation_failed_simple" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - }, - "delete": { - "summary": "Delete a project", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "operationId": "projects-classic/delete", - "tags": [ - "projects-classic" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/projects#delete-a-project" - }, - "parameters": [ - { - "$ref": "#/components/parameters/project-id" - } - ], - "responses": { - "204": { - "description": "Delete Success" - }, - "304": { - "$ref": "#/components/responses/not_modified" - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - }, - "410": { - "$ref": "#/components/responses/gone" - }, - "404": { - "$ref": "#/components/responses/not_found" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - } - }, "/projects/{project_id}/collaborators": { "get": { "summary": "List project collaborators", @@ -56565,142 +56144,16 @@ "subcategory": "repos" } }, - "delete": { - "summary": "Disable private vulnerability reporting for a repository", - "description": "Disables private vulnerability reporting for a repository. The authenticated user must have admin access to the repository. For more information, see \"[Privately reporting a security vulnerability](https://docs.github.com/code-security/security-advisories/guidance-on-reporting-and-writing/privately-reporting-a-security-vulnerability)\".", - "tags": [ - "repos" - ], - "operationId": "repos/disable-private-vulnerability-reporting", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - } - ], - "responses": { - "204": { - "$ref": "#/components/responses/no_content" - }, - "422": { - "$ref": "#/components/responses/bad_request" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "repos" - } - } - }, - "/repos/{owner}/{repo}/projects": { - "get": { - "summary": "List repository projects", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/list-for-repo", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/projects#list-repository-projects" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "name": "state", - "description": "Indicates the state of the projects to return.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "open", - "closed", - "all" - ], - "default": "open" - } - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/page" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/project" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/project-items-2" - } - } - } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } - } - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "410": { - "$ref": "#/components/responses/gone" - }, - "422": { - "$ref": "#/components/responses/validation_failed_simple" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - }, - "post": { - "summary": "Create a repository project", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", + "delete": { + "summary": "Disable private vulnerability reporting for a repository", + "description": "Disables private vulnerability reporting for a repository. The authenticated user must have admin access to the repository. For more information, see \"[Privately reporting a security vulnerability](https://docs.github.com/code-security/security-advisories/guidance-on-reporting-and-writing/privately-reporting-a-security-vulnerability)\".", "tags": [ - "projects-classic" + "repos" ], - "operationId": "projects-classic/create-for-repo", + "operationId": "repos/disable-private-vulnerability-reporting", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/projects#create-a-repository-project" + "url": "https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository" }, "parameters": [ { @@ -56710,78 +56163,20 @@ "$ref": "#/components/parameters/repo" } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The name of the project." - }, - "body": { - "type": "string", - "description": "The description of the project." - } - }, - "required": [ - "name" - ] - }, - "examples": { - "default": { - "value": { - "name": "Projects Documentation", - "body": "Developer documentation project for the developer site." - } - } - } - } - } - }, "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/project" - }, - "examples": { - "default": { - "$ref": "#/components/examples/project-3" - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "410": { - "$ref": "#/components/responses/gone" + "204": { + "$ref": "#/components/responses/no_content" }, "422": { - "$ref": "#/components/responses/validation_failed_simple" + "$ref": "#/components/responses/bad_request" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true + "category": "repos", + "subcategory": "repos" + } } }, "/repos/{owner}/{repo}/properties/values": { @@ -71667,185 +71062,17 @@ } } }, - "/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. For more information, see \"[About 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", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user" - }, - "parameters": [ - { - "$ref": "#/components/parameters/package-type" - }, - { - "$ref": "#/components/parameters/package-name" - }, - { - "$ref": "#/components/parameters/page" - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "name": "state", - "in": "query", - "required": false, - "description": "The state of the package, either active or deleted.", - "schema": { - "type": "string", - "enum": [ - "active", - "deleted" - ], - "default": "active" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/package-version" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/package-versions-for-authenticated-user" - } - } - } - } - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "packages", - "subcategory": "packages" - } - } - }, - "/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. For more information, see \"[About 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", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user" - }, - "parameters": [ - { - "$ref": "#/components/parameters/package-type" - }, - { - "$ref": "#/components/parameters/package-name" - }, - { - "$ref": "#/components/parameters/package-version-id" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/package-version" - }, - "examples": { - "default": { - "$ref": "#/components/examples/package-version-authenticated-user" - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "packages", - "subcategory": "packages" - } - }, - "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. For more information, see \"[About 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", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user" - }, - "parameters": [ - { - "$ref": "#/components/parameters/package-type" - }, - { - "$ref": "#/components/parameters/package-name" - }, - { - "$ref": "#/components/parameters/package-version-id" - } - ], - "responses": { - "204": { - "description": "Response" - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "packages", - "subcategory": "packages" - } - } - }, - "/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. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "/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. For more information, see \"[About 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", + "operationId": "packages/get-all-package-versions-for-package-owned-by-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user" + "url": "https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user" }, "parameters": [ { @@ -71855,12 +71082,44 @@ "$ref": "#/components/parameters/package-name" }, { - "$ref": "#/components/parameters/package-version-id" + "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "name": "state", + "in": "query", + "required": false, + "description": "The state of the package, either active or deleted.", + "schema": { + "type": "string", + "enum": [ + "active", + "deleted" + ], + "default": "active" + } } ], "responses": { - "204": { - "description": "Response" + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/package-version" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/package-versions-for-authenticated-user" + } + } + } + } }, "404": { "$ref": "#/components/responses/not_found" @@ -71880,92 +71139,140 @@ } } }, - "/user/projects": { - "post": { - "summary": "Create a user project", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", + "/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. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ - "projects-classic" + "packages" ], - "operationId": "projects-classic/create-for-authenticated-user", + "operationId": "packages/get-package-version-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/projects#create-a-user-project" + "url": "https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user" }, - "parameters": [], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "properties": { - "name": { - "description": "Name of the project", - "example": "Week One Sprint", - "type": "string" - }, - "body": { - "description": "Body of the project", - "example": "This project represents the sprint of the first week in January", - "type": "string", - "nullable": true - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "examples": { - "default": { - "summary": "Create a new project", - "value": { - "name": "My Projects", - "body": "A board to manage my personal projects." - } - } - } - } + "parameters": [ + { + "$ref": "#/components/parameters/package-type" + }, + { + "$ref": "#/components/parameters/package-name" + }, + { + "$ref": "#/components/parameters/package-version-id" } - }, + ], "responses": { - "201": { + "200": { "description": "Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/project" + "$ref": "#/components/schemas/package-version" }, "examples": { "default": { - "$ref": "#/components/examples/project" + "$ref": "#/components/examples/package-version-authenticated-user" } } } } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "packages", + "subcategory": "packages" + } + }, + "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. For more information, see \"[About 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", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user" + }, + "parameters": [ + { + "$ref": "#/components/parameters/package-type" }, - "304": { - "$ref": "#/components/responses/not_modified" + { + "$ref": "#/components/parameters/package-name" + }, + { + "$ref": "#/components/parameters/package-version-id" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" }, "403": { "$ref": "#/components/responses/forbidden" }, "401": { "$ref": "#/components/responses/requires_authentication" - }, - "422": { - "$ref": "#/components/responses/validation_failed_simple" } }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" + "enabledForGitHubApps": false, + "category": "packages", + "subcategory": "packages" + } + } + }, + "/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. For more information, see \"[About 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", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user" }, - "deprecated": true + "parameters": [ + { + "$ref": "#/components/parameters/package-type" + }, + { + "$ref": "#/components/parameters/package-name" + }, + { + "$ref": "#/components/parameters/package-version-id" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "packages", + "subcategory": "packages" + } } }, "/user/public_emails": { @@ -75161,83 +74468,6 @@ } } }, - "/users/{username}/projects": { - "get": { - "summary": "List user projects", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/list-for-user", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/projects#list-user-projects" - }, - "parameters": [ - { - "$ref": "#/components/parameters/username" - }, - { - "name": "state", - "description": "Indicates the state of the projects to return.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "open", - "closed", - "all" - ], - "default": "open" - } - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/page" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/project" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/project-items-3" - } - } - } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } - } - }, - "422": { - "$ref": "#/components/responses/validation_failed" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - } - }, "/users/{username}/projectsV2": { "get": { "summary": "List projects for user", @@ -114247,103 +113477,6 @@ "updated_at" ] }, - "project": { - "title": "Project", - "description": "Projects are a way to organize columns and cards of work.", - "type": "object", - "properties": { - "owner_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/api-playground/projects-test" - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/api-playground/projects-test/projects/12" - }, - "columns_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604/columns" - }, - "id": { - "type": "integer", - "example": 1002604 - }, - "node_id": { - "type": "string", - "example": "MDc6UHJvamVjdDEwMDI2MDQ=" - }, - "name": { - "description": "Name of the project", - "example": "Week One Sprint", - "type": "string" - }, - "body": { - "description": "Body of the project", - "example": "This project represents the sprint of the first week in January", - "type": "string", - "nullable": true - }, - "number": { - "type": "integer", - "example": 1 - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "example": "open", - "type": "string" - }, - "creator": { - "$ref": "#/components/schemas/nullable-simple-user" - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2011-04-10T20:09:31Z" - }, - "updated_at": { - "type": "string", - "format": "date-time", - "example": "2014-03-03T18:58:10Z" - }, - "organization_permission": { - "description": "The baseline permission that all organization members have on this project. Only present if owner is an organization.", - "type": "string", - "enum": [ - "read", - "write", - "admin", - "none" - ] - }, - "private": { - "description": "Whether or not this project can be seen by everyone. Only present if owner is an organization.", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "number", - "name", - "body", - "state", - "url", - "html_url", - "owner_url", - "creator", - "columns_url", - "created_at", - "updated_at" - ] - }, "nullable-projects-v2-status-update": { "title": "Projects v2 Status Update", "description": "An status update belonging to a project", @@ -286086,82 +285219,6 @@ "key": "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234" } }, - "project-items": { - "value": [ - { - "owner_url": "https://api.github.com/orgs/octocat", - "url": "https://api.github.com/projects/1002605", - "html_url": "https://github.com/orgs/api-playground/projects/1", - "columns_url": "https://api.github.com/projects/1002605/columns", - "id": 1002605, - "node_id": "MDc6UHJvamVjdDEwMDI2MDU=", - "name": "Organization Roadmap", - "body": "High-level roadmap for the upcoming year.", - "number": 1, - "state": "open", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-11T20:09:31Z", - "updated_at": "2014-03-04T18:58:10Z", - "organization_permission": "write", - "private": true - } - ] - }, - "project-2": { - "value": { - "owner_url": "https://api.github.com/orgs/octocat", - "url": "https://api.github.com/projects/1002605", - "html_url": "https://github.com/orgs/api-playground/projects/1", - "columns_url": "https://api.github.com/projects/1002605/columns", - "id": 1002605, - "node_id": "MDc6UHJvamVjdDEwMDI2MDU=", - "name": "Organization Roadmap", - "body": "High-level roadmap for the upcoming year.", - "number": 1, - "state": "open", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-11T20:09:31Z", - "updated_at": "2014-03-04T18:58:10Z" - } - }, "projects-v2": { "value": { "id": 2, @@ -289488,42 +288545,6 @@ "updated_at": "2016-09-05T14:22:28Z" } }, - "project-3": { - "value": { - "owner_url": "https://api.github.com/repos/api-playground/projects-test", - "url": "https://api.github.com/projects/1002604", - "html_url": "https://github.com/api-playground/projects-test/projects/1", - "columns_url": "https://api.github.com/projects/1002604/columns", - "id": 1002604, - "node_id": "MDc6UHJvamVjdDEwMDI2MDQ=", - "name": "Projects Documentation", - "body": "Developer documentation project for the developer site.", - "number": 1, - "state": "open", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-10T20:09:31Z", - "updated_at": "2014-03-03T18:58:10Z" - } - }, "project-collaborator-permission": { "value": { "permission": "admin", @@ -299648,44 +298669,6 @@ } } }, - "project-items-2": { - "value": [ - { - "owner_url": "https://api.github.com/repos/api-playground/projects-test", - "url": "https://api.github.com/projects/1002604", - "html_url": "https://github.com/api-playground/projects-test/projects/1", - "columns_url": "https://api.github.com/projects/1002604/columns", - "id": 1002604, - "node_id": "MDc6UHJvamVjdDEwMDI2MDQ=", - "name": "Projects Documentation", - "body": "Developer documentation project for the developer site.", - "number": 1, - "state": "open", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-10T20:09:31Z", - "updated_at": "2014-03-03T18:58:10Z" - } - ] - }, "pull-request": { "value": { "url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347", @@ -306599,42 +305582,6 @@ } } }, - "project": { - "value": { - "owner_url": "https://api.github.com/users/octocat", - "url": "https://api.github.com/projects/1002603", - "html_url": "https://github.com/users/octocat/projects/1", - "columns_url": "https://api.github.com/projects/1002603/columns", - "id": 1002603, - "node_id": "MDc6UHJvamVjdDEwMDI2MDM=", - "name": "My Projects", - "body": "A board to manage my personal projects.", - "number": 1, - "state": "open", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-10T20:09:31Z", - "updated_at": "2014-03-03T18:58:10Z" - } - }, "repository-items-default-response": { "summary": "Default response", "value": [ @@ -307316,44 +306263,6 @@ } } }, - "project-items-3": { - "value": [ - { - "owner_url": "https://api.github.com/users/octocat", - "url": "https://api.github.com/projects/1002603", - "html_url": "https://github.com/users/octocat/projects/1", - "columns_url": "https://api.github.com/projects/1002603/columns", - "id": 1002603, - "node_id": "MDc6UHJvamVjdDEwMDI2MDM=", - "name": "My Projects", - "body": "A board to manage my personal projects.", - "number": 1, - "state": "open", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-10T20:09:31Z", - "updated_at": "2014-03-03T18:58:10Z" - } - ] - }, "user-received-events-items": { "value": [ { @@ -311362,8 +310271,8 @@ "package_es_list_error": { "description": "The value of `per_page` multiplied by `page` cannot be greater than 10000." }, - "gone": { - "description": "Gone", + "temporary_redirect": { + "description": "Temporary Redirect", "content": { "application/json": { "schema": { @@ -311372,8 +310281,8 @@ } } }, - "temporary_redirect": { - "description": "Temporary Redirect", + "gone": { + "description": "Gone", "content": { "application/json": { "schema": { 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 51232a602..e93b4e6a9 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 @@ -16930,121 +16930,6 @@ paths: enabledForGitHubApps: true category: private-registries subcategory: organization-configurations - "/orgs/{org}/projects": - get: - summary: List organization projects - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/list-for-org - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/projects-classic/projects#list-organization-projects - parameters: - - "$ref": "#/components/parameters/org" - - name: state - description: Indicates the state of the projects to return. - in: query - required: false - schema: - type: string - enum: - - open - - closed - - all - default: open - - "$ref": "#/components/parameters/per-page" - - "$ref": "#/components/parameters/page" - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: - "$ref": "#/components/schemas/project" - examples: - default: - "$ref": "#/components/examples/project-items" - headers: - Link: - "$ref": "#/components/headers/link" - '422': - "$ref": "#/components/responses/validation_failed_simple" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true - post: - summary: Create an organization project - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/create-for-org - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/projects-classic/projects#create-an-organization-project - parameters: - - "$ref": "#/components/parameters/org" - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - name: - type: string - description: The name of the project. - body: - type: string - description: The description of the project. - required: - - name - examples: - default: - value: - name: Organization Roadmap - body: High-level roadmap for the upcoming year. - responses: - '201': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/project" - examples: - default: - "$ref": "#/components/examples/project-2" - '401': - "$ref": "#/components/responses/requires_authentication" - '403': - "$ref": "#/components/responses/forbidden" - '404': - "$ref": "#/components/responses/not_found" - '410': - "$ref": "#/components/responses/gone" - '422': - "$ref": "#/components/responses/validation_failed_simple" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true "/orgs/{org}/projectsV2": get: summary: List projects for organization @@ -21621,191 +21506,6 @@ paths: deprecationDate: '2024-05-23' removalDate: '2025-04-01' deprecated: true - "/projects/{project_id}": - get: - summary: Get a project - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/get - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/projects-classic/projects#get-a-project - parameters: - - "$ref": "#/components/parameters/project-id" - responses: - '200': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/project" - examples: - default: - "$ref": "#/components/examples/project-3" - '304': - "$ref": "#/components/responses/not_modified" - '403': - "$ref": "#/components/responses/forbidden" - '401': - "$ref": "#/components/responses/requires_authentication" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true - patch: - summary: Update a project - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - operationId: projects-classic/update - tags: - - projects-classic - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/projects-classic/projects#update-a-project - parameters: - - "$ref": "#/components/parameters/project-id" - requestBody: - required: false - content: - application/json: - schema: - properties: - name: - description: Name of the project - example: Week One Sprint - type: string - body: - description: Body of the project - example: This project represents the sprint of the first week in - January - type: string - nullable: true - state: - description: State of the project; either 'open' or 'closed' - example: open - type: string - organization_permission: - description: The baseline permission that all organization members - have on this project - type: string - enum: - - read - - write - - admin - - none - private: - description: Whether or not this project can be seen by everyone. - type: boolean - type: object - examples: - default: - summary: Change the name, state, and permissions for a project - value: - name: Week One Sprint - state: open - organization_permission: write - responses: - '200': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/project" - examples: - default: - "$ref": "#/components/examples/project-3" - '404': - description: Not Found if the authenticated user does not have access to - the project - '304': - "$ref": "#/components/responses/not_modified" - '403': - description: Forbidden - content: - application/json: - schema: - type: object - properties: - message: - type: string - documentation_url: - type: string - errors: - type: array - items: - type: string - '401': - "$ref": "#/components/responses/requires_authentication" - '410': - "$ref": "#/components/responses/gone" - '422': - "$ref": "#/components/responses/validation_failed_simple" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true - delete: - summary: Delete a project - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - operationId: projects-classic/delete - tags: - - projects-classic - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/projects-classic/projects#delete-a-project - parameters: - - "$ref": "#/components/parameters/project-id" - responses: - '204': - description: Delete Success - '304': - "$ref": "#/components/responses/not_modified" - '403': - description: Forbidden - content: - application/json: - schema: - type: object - properties: - message: - type: string - documentation_url: - type: string - errors: - type: array - items: - type: string - '401': - "$ref": "#/components/responses/requires_authentication" - '410': - "$ref": "#/components/responses/gone" - '404': - "$ref": "#/components/responses/not_found" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true "/projects/{project_id}/collaborators": get: summary: List project collaborators @@ -41073,131 +40773,6 @@ paths: enabledForGitHubApps: true category: repos subcategory: repos - "/repos/{owner}/{repo}/projects": - get: - summary: List repository projects - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/list-for-repo - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/projects-classic/projects#list-repository-projects - parameters: - - "$ref": "#/components/parameters/owner" - - "$ref": "#/components/parameters/repo" - - name: state - description: Indicates the state of the projects to return. - in: query - required: false - schema: - type: string - enum: - - open - - closed - - all - default: open - - "$ref": "#/components/parameters/per-page" - - "$ref": "#/components/parameters/page" - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: - "$ref": "#/components/schemas/project" - examples: - default: - "$ref": "#/components/examples/project-items-2" - headers: - Link: - "$ref": "#/components/headers/link" - '401': - "$ref": "#/components/responses/requires_authentication" - '403': - "$ref": "#/components/responses/forbidden" - '404': - "$ref": "#/components/responses/not_found" - '410': - "$ref": "#/components/responses/gone" - '422': - "$ref": "#/components/responses/validation_failed_simple" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true - post: - summary: Create a repository project - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/create-for-repo - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/projects-classic/projects#create-a-repository-project - parameters: - - "$ref": "#/components/parameters/owner" - - "$ref": "#/components/parameters/repo" - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - name: - type: string - description: The name of the project. - body: - type: string - description: The description of the project. - required: - - name - examples: - default: - value: - name: Projects Documentation - body: Developer documentation project for the developer site. - responses: - '201': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/project" - examples: - default: - "$ref": "#/components/examples/project-3" - '401': - "$ref": "#/components/responses/requires_authentication" - '403': - "$ref": "#/components/responses/forbidden" - '404': - "$ref": "#/components/responses/not_found" - '410': - "$ref": "#/components/responses/gone" - '422': - "$ref": "#/components/responses/validation_failed_simple" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true "/repos/{owner}/{repo}/properties/values": get: summary: Get all custom property values for a repository @@ -52193,71 +51768,6 @@ paths: enabledForGitHubApps: false category: packages subcategory: packages - "/user/projects": - post: - summary: Create a user project - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/create-for-authenticated-user - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/projects-classic/projects#create-a-user-project - parameters: [] - requestBody: - required: true - content: - application/json: - schema: - properties: - name: - description: Name of the project - example: Week One Sprint - type: string - body: - description: Body of the project - example: This project represents the sprint of the first week in - January - type: string - nullable: true - required: - - name - type: object - examples: - default: - summary: Create a new project - value: - name: My Projects - body: A board to manage my personal projects. - responses: - '201': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/project" - examples: - default: - "$ref": "#/components/examples/project" - '304': - "$ref": "#/components/responses/not_modified" - '403': - "$ref": "#/components/responses/forbidden" - '401': - "$ref": "#/components/responses/requires_authentication" - '422': - "$ref": "#/components/responses/validation_failed_simple" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true "/user/public_emails": get: summary: List public email addresses for the authenticated user @@ -54508,59 +54018,6 @@ paths: enabledForGitHubApps: false category: packages subcategory: packages - "/users/{username}/projects": - get: - summary: List user projects - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/list-for-user - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/projects-classic/projects#list-user-projects - parameters: - - "$ref": "#/components/parameters/username" - - name: state - description: Indicates the state of the projects to return. - in: query - required: false - schema: - type: string - enum: - - open - - closed - - all - default: open - - "$ref": "#/components/parameters/per-page" - - "$ref": "#/components/parameters/page" - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: - "$ref": "#/components/schemas/project" - examples: - default: - "$ref": "#/components/examples/project-items-3" - headers: - Link: - "$ref": "#/components/headers/link" - '422': - "$ref": "#/components/responses/validation_failed" - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true "/users/{username}/projectsV2": get: summary: List projects for user @@ -83469,71 +82926,7 @@ components: description: The username to use when authenticating with the private registry. example: monalisa type: string - nullable: true - replaces_base: - description: Whether this private registry replaces the base registry (e.g., - npmjs.org for npm, rubygems.org for rubygems). When `true`, Dependabot - will only use this registry and will not fall back to the public registry. - When `false` (default), Dependabot will use this registry for scoped packages - but may fall back to the public registry for other packages. - type: boolean - default: false - visibility: - description: Which type of organization repositories have access to the - private registry. - enum: - - all - - private - - selected - type: string - created_at: - type: string - format: date-time - updated_at: - type: string - format: date-time - required: - - name - - registry_type - - visibility - - created_at - - updated_at - org-private-registry-configuration-with-selected-repositories: - title: Organization private registry - description: Private registry configuration for an organization - type: object - properties: - name: - description: The name of the private registry configuration. - example: MAVEN_REPOSITORY_SECRET - type: string - registry_type: - description: The registry type. - enum: - - maven_repository - - nuget_feed - - goproxy_server - - npm_registry - - rubygems_server - - cargo_registry - - composer_repository - - docker_registry - - git_source - - helm_registry - - hex_organization - - hex_repository - - pub_repository - - python_index - - terraform_registry - type: string - url: - description: The URL of the private registry. - type: string - format: uri - username: - description: The username to use when authenticating with the private registry. - example: monalisa - type: string + nullable: true replaces_base: description: Whether this private registry replaces the base registry (e.g., npmjs.org for npm, rubygems.org for rubygems). When `true`, Dependabot @@ -83544,19 +82937,12 @@ components: default: false visibility: description: Which type of organization repositories have access to the - private registry. `selected` means only the repositories specified by - `selected_repository_ids` can access the private registry. + private registry. enum: - all - private - selected type: string - selected_repository_ids: - type: array - description: An array of repository IDs that can access the organization - private registry when `visibility` is set to `selected`. - items: - type: integer created_at: type: string format: date-time @@ -83569,84 +82955,75 @@ components: - visibility - created_at - updated_at - project: - title: Project - description: Projects are a way to organize columns and cards of work. + org-private-registry-configuration-with-selected-repositories: + title: Organization private registry + description: Private registry configuration for an organization type: object properties: - owner_url: - type: string - format: uri - example: https://api.github.com/repos/api-playground/projects-test - url: + name: + description: The name of the private registry configuration. + example: MAVEN_REPOSITORY_SECRET type: string - format: uri - example: https://api.github.com/projects/1002604 - html_url: + registry_type: + description: The registry type. + enum: + - maven_repository + - nuget_feed + - goproxy_server + - npm_registry + - rubygems_server + - cargo_registry + - composer_repository + - docker_registry + - git_source + - helm_registry + - hex_organization + - hex_repository + - pub_repository + - python_index + - terraform_registry type: string - format: uri - example: https://github.com/api-playground/projects-test/projects/12 - columns_url: + url: + description: The URL of the private registry. type: string format: uri - example: https://api.github.com/projects/1002604/columns - id: - type: integer - example: 1002604 - node_id: - type: string - example: MDc6UHJvamVjdDEwMDI2MDQ= - name: - description: Name of the project - example: Week One Sprint - type: string - body: - description: Body of the project - example: This project represents the sprint of the first week in January + username: + description: The username to use when authenticating with the private registry. + example: monalisa type: string - nullable: true - number: - type: integer - example: 1 - state: - description: State of the project; either 'open' or 'closed' - example: open + replaces_base: + description: Whether this private registry replaces the base registry (e.g., + npmjs.org for npm, rubygems.org for rubygems). When `true`, Dependabot + will only use this registry and will not fall back to the public registry. + When `false` (default), Dependabot will use this registry for scoped packages + but may fall back to the public registry for other packages. + type: boolean + default: false + visibility: + description: Which type of organization repositories have access to the + private registry. `selected` means only the repositories specified by + `selected_repository_ids` can access the private registry. + enum: + - all + - private + - selected type: string - creator: - "$ref": "#/components/schemas/nullable-simple-user" + selected_repository_ids: + type: array + description: An array of repository IDs that can access the organization + private registry when `visibility` is set to `selected`. + items: + type: integer created_at: type: string format: date-time - example: '2011-04-10T20:09:31Z' updated_at: type: string format: date-time - example: '2014-03-03T18:58:10Z' - organization_permission: - description: The baseline permission that all organization members have - on this project. Only present if owner is an organization. - type: string - enum: - - read - - write - - admin - - none - private: - description: Whether or not this project can be seen by everyone. Only present - if owner is an organization. - type: boolean required: - - id - - node_id - - number - name - - body - - state - - url - - html_url - - owner_url - - creator - - columns_url + - registry_type + - visibility - created_at - updated_at nullable-projects-v2-status-update: @@ -214694,74 +214071,6 @@ components: value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 - project-items: - value: - - owner_url: https://api.github.com/orgs/octocat - url: https://api.github.com/projects/1002605 - html_url: https://github.com/orgs/api-playground/projects/1 - columns_url: https://api.github.com/projects/1002605/columns - id: 1002605 - node_id: MDc6UHJvamVjdDEwMDI2MDU= - name: Organization Roadmap - body: High-level roadmap for the upcoming year. - number: 1 - state: open - creator: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - created_at: '2011-04-11T20:09:31Z' - updated_at: '2014-03-04T18:58:10Z' - organization_permission: write - private: true - project-2: - value: - owner_url: https://api.github.com/orgs/octocat - url: https://api.github.com/projects/1002605 - html_url: https://github.com/orgs/api-playground/projects/1 - columns_url: https://api.github.com/projects/1002605/columns - id: 1002605 - node_id: MDc6UHJvamVjdDEwMDI2MDU= - name: Organization Roadmap - body: High-level roadmap for the upcoming year. - number: 1 - state: open - creator: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - created_at: '2011-04-11T20:09:31Z' - updated_at: '2014-03-04T18:58:10Z' projects-v2: value: id: 2 @@ -217635,39 +216944,6 @@ components: name: To Do created_at: '2016-09-05T14:18:44Z' updated_at: '2016-09-05T14:22:28Z' - project-3: - value: - owner_url: https://api.github.com/repos/api-playground/projects-test - url: https://api.github.com/projects/1002604 - html_url: https://github.com/api-playground/projects-test/projects/1 - columns_url: https://api.github.com/projects/1002604/columns - id: 1002604 - node_id: MDc6UHJvamVjdDEwMDI2MDQ= - name: Projects Documentation - body: Developer documentation project for the developer site. - number: 1 - state: open - creator: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - created_at: '2011-04-10T20:09:31Z' - updated_at: '2014-03-03T18:58:10Z' project-collaborator-permission: value: permission: admin @@ -226303,39 +225579,6 @@ components: https_error: is_https_eligible: true caa_error: - project-items-2: - value: - - owner_url: https://api.github.com/repos/api-playground/projects-test - url: https://api.github.com/projects/1002604 - html_url: https://github.com/api-playground/projects-test/projects/1 - columns_url: https://api.github.com/projects/1002604/columns - id: 1002604 - node_id: MDc6UHJvamVjdDEwMDI2MDQ= - name: Projects Documentation - body: Developer documentation project for the developer site. - number: 1 - state: open - creator: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - created_at: '2011-04-10T20:09:31Z' - updated_at: '2014-03-03T18:58:10Z' pull-request: value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 @@ -232382,39 +231625,6 @@ components: container: tags: - 1.13.6 - project: - value: - owner_url: https://api.github.com/users/octocat - url: https://api.github.com/projects/1002603 - html_url: https://github.com/users/octocat/projects/1 - columns_url: https://api.github.com/projects/1002603/columns - id: 1002603 - node_id: MDc6UHJvamVjdDEwMDI2MDM= - name: My Projects - body: A board to manage my personal projects. - number: 1 - state: open - creator: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - created_at: '2011-04-10T20:09:31Z' - updated_at: '2014-03-03T18:58:10Z' repository-items-default-response: summary: Default response value: @@ -232996,39 +232206,6 @@ components: html_url: https://github.com/octocat/octo-name-repo/packages/40201?version=0.2.0 metadata: package_type: rubygems - project-items-3: - value: - - owner_url: https://api.github.com/users/octocat - url: https://api.github.com/projects/1002603 - html_url: https://github.com/users/octocat/projects/1 - columns_url: https://api.github.com/projects/1002603/columns - id: 1002603 - node_id: MDc6UHJvamVjdDEwMDI2MDM= - name: My Projects - body: A board to manage my personal projects. - number: 1 - state: open - creator: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - created_at: '2011-04-10T20:09:31Z' - updated_at: '2014-03-03T18:58:10Z' user-received-events-items: value: - id: '22249084964' @@ -236462,14 +235639,14 @@ components: package_es_list_error: description: The value of `per_page` multiplied by `page` cannot be greater than 10000. - gone: - description: Gone + temporary_redirect: + description: Temporary Redirect content: application/json: schema: "$ref": "#/components/schemas/basic-error" - temporary_redirect: - description: Temporary Redirect + gone: + description: Gone content: application/json: schema: diff --git a/descriptions/api.github.com/api.github.com.json b/descriptions/api.github.com/api.github.com.json index a94d07204..c79dedcf5 100644 --- a/descriptions/api.github.com/api.github.com.json +++ b/descriptions/api.github.com/api.github.com.json @@ -23340,172 +23340,6 @@ } } }, - "/orgs/{org}/projects": { - "get": { - "summary": "List organization projects", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/list-for-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/projects#list-organization-projects" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - }, - { - "name": "state", - "description": "Indicates the state of the projects to return.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "open", - "closed", - "all" - ], - "default": "open" - } - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/page" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/project" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/project-items" - } - } - } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } - } - }, - "422": { - "$ref": "#/components/responses/validation_failed_simple" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - }, - "post": { - "summary": "Create an organization project", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/create-for-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/projects#create-an-organization-project" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The name of the project." - }, - "body": { - "type": "string", - "description": "The description of the project." - } - }, - "required": [ - "name" - ] - }, - "examples": { - "default": { - "value": { - "name": "Organization Roadmap", - "body": "High-level roadmap for the upcoming year." - } - } - } - } - } - }, - "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/project" - }, - "examples": { - "default": { - "$ref": "#/components/examples/project-2" - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "410": { - "$ref": "#/components/responses/gone" - }, - "422": { - "$ref": "#/components/responses/validation_failed_simple" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - } - }, "/orgs/{org}/projectsV2": { "get": { "summary": "List projects for organization", @@ -29900,261 +29734,6 @@ "deprecated": true } }, - "/projects/{project_id}": { - "get": { - "summary": "Get a project", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/get", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/projects#get-a-project" - }, - "parameters": [ - { - "$ref": "#/components/parameters/project-id" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/project" - }, - "examples": { - "default": { - "$ref": "#/components/examples/project-3" - } - } - } - } - }, - "304": { - "$ref": "#/components/responses/not_modified" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - }, - "patch": { - "summary": "Update a project", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "operationId": "projects-classic/update", - "tags": [ - "projects-classic" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/projects#update-a-project" - }, - "parameters": [ - { - "$ref": "#/components/parameters/project-id" - } - ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "properties": { - "name": { - "description": "Name of the project", - "example": "Week One Sprint", - "type": "string" - }, - "body": { - "description": "Body of the project", - "example": "This project represents the sprint of the first week in January", - "type": "string", - "nullable": true - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "example": "open", - "type": "string" - }, - "organization_permission": { - "description": "The baseline permission that all organization members have on this project", - "type": "string", - "enum": [ - "read", - "write", - "admin", - "none" - ] - }, - "private": { - "description": "Whether or not this project can be seen by everyone.", - "type": "boolean" - } - }, - "type": "object" - }, - "examples": { - "default": { - "summary": "Change the name, state, and permissions for a project", - "value": { - "name": "Week One Sprint", - "state": "open", - "organization_permission": "write" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/project" - }, - "examples": { - "default": { - "$ref": "#/components/examples/project-3" - } - } - } - } - }, - "404": { - "description": "Not Found if the authenticated user does not have access to the project" - }, - "304": { - "$ref": "#/components/responses/not_modified" - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - }, - "410": { - "$ref": "#/components/responses/gone" - }, - "422": { - "$ref": "#/components/responses/validation_failed_simple" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - }, - "delete": { - "summary": "Delete a project", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "operationId": "projects-classic/delete", - "tags": [ - "projects-classic" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/projects#delete-a-project" - }, - "parameters": [ - { - "$ref": "#/components/parameters/project-id" - } - ], - "responses": { - "204": { - "description": "Delete Success" - }, - "304": { - "$ref": "#/components/responses/not_modified" - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - }, - "410": { - "$ref": "#/components/responses/gone" - }, - "404": { - "$ref": "#/components/responses/not_found" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - } - }, "/projects/{project_id}/collaborators": { "get": { "summary": "List project collaborators", @@ -56565,142 +56144,16 @@ "subcategory": "repos" } }, - "delete": { - "summary": "Disable private vulnerability reporting for a repository", - "description": "Disables private vulnerability reporting for a repository. The authenticated user must have admin access to the repository. For more information, see \"[Privately reporting a security vulnerability](https://docs.github.com/code-security/security-advisories/guidance-on-reporting-and-writing/privately-reporting-a-security-vulnerability)\".", - "tags": [ - "repos" - ], - "operationId": "repos/disable-private-vulnerability-reporting", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - } - ], - "responses": { - "204": { - "$ref": "#/components/responses/no_content" - }, - "422": { - "$ref": "#/components/responses/bad_request" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "repos" - } - } - }, - "/repos/{owner}/{repo}/projects": { - "get": { - "summary": "List repository projects", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/list-for-repo", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/projects#list-repository-projects" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "name": "state", - "description": "Indicates the state of the projects to return.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "open", - "closed", - "all" - ], - "default": "open" - } - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/page" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/project" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/project-items-2" - } - } - } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } - } - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "410": { - "$ref": "#/components/responses/gone" - }, - "422": { - "$ref": "#/components/responses/validation_failed_simple" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - }, - "post": { - "summary": "Create a repository project", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", + "delete": { + "summary": "Disable private vulnerability reporting for a repository", + "description": "Disables private vulnerability reporting for a repository. The authenticated user must have admin access to the repository. For more information, see \"[Privately reporting a security vulnerability](https://docs.github.com/code-security/security-advisories/guidance-on-reporting-and-writing/privately-reporting-a-security-vulnerability)\".", "tags": [ - "projects-classic" + "repos" ], - "operationId": "projects-classic/create-for-repo", + "operationId": "repos/disable-private-vulnerability-reporting", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/projects#create-a-repository-project" + "url": "https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository" }, "parameters": [ { @@ -56710,78 +56163,20 @@ "$ref": "#/components/parameters/repo" } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The name of the project." - }, - "body": { - "type": "string", - "description": "The description of the project." - } - }, - "required": [ - "name" - ] - }, - "examples": { - "default": { - "value": { - "name": "Projects Documentation", - "body": "Developer documentation project for the developer site." - } - } - } - } - } - }, "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/project" - }, - "examples": { - "default": { - "$ref": "#/components/examples/project-3" - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "410": { - "$ref": "#/components/responses/gone" + "204": { + "$ref": "#/components/responses/no_content" }, "422": { - "$ref": "#/components/responses/validation_failed_simple" + "$ref": "#/components/responses/bad_request" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true + "category": "repos", + "subcategory": "repos" + } } }, "/repos/{owner}/{repo}/properties/values": { @@ -71667,185 +71062,17 @@ } } }, - "/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. For more information, see \"[About 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", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user" - }, - "parameters": [ - { - "$ref": "#/components/parameters/package-type" - }, - { - "$ref": "#/components/parameters/package-name" - }, - { - "$ref": "#/components/parameters/page" - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "name": "state", - "in": "query", - "required": false, - "description": "The state of the package, either active or deleted.", - "schema": { - "type": "string", - "enum": [ - "active", - "deleted" - ], - "default": "active" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/package-version" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/package-versions-for-authenticated-user" - } - } - } - } - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "packages", - "subcategory": "packages" - } - } - }, - "/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. For more information, see \"[About 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", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user" - }, - "parameters": [ - { - "$ref": "#/components/parameters/package-type" - }, - { - "$ref": "#/components/parameters/package-name" - }, - { - "$ref": "#/components/parameters/package-version-id" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/package-version" - }, - "examples": { - "default": { - "$ref": "#/components/examples/package-version-authenticated-user" - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "packages", - "subcategory": "packages" - } - }, - "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. For more information, see \"[About 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", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user" - }, - "parameters": [ - { - "$ref": "#/components/parameters/package-type" - }, - { - "$ref": "#/components/parameters/package-name" - }, - { - "$ref": "#/components/parameters/package-version-id" - } - ], - "responses": { - "204": { - "description": "Response" - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "packages", - "subcategory": "packages" - } - } - }, - "/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. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "/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. For more information, see \"[About 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", + "operationId": "packages/get-all-package-versions-for-package-owned-by-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user" + "url": "https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user" }, "parameters": [ { @@ -71855,12 +71082,44 @@ "$ref": "#/components/parameters/package-name" }, { - "$ref": "#/components/parameters/package-version-id" + "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "name": "state", + "in": "query", + "required": false, + "description": "The state of the package, either active or deleted.", + "schema": { + "type": "string", + "enum": [ + "active", + "deleted" + ], + "default": "active" + } } ], "responses": { - "204": { - "description": "Response" + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/package-version" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/package-versions-for-authenticated-user" + } + } + } + } }, "404": { "$ref": "#/components/responses/not_found" @@ -71880,92 +71139,140 @@ } } }, - "/user/projects": { - "post": { - "summary": "Create a user project", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", + "/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. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ - "projects-classic" + "packages" ], - "operationId": "projects-classic/create-for-authenticated-user", + "operationId": "packages/get-package-version-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/projects#create-a-user-project" + "url": "https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user" }, - "parameters": [], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "properties": { - "name": { - "description": "Name of the project", - "example": "Week One Sprint", - "type": "string" - }, - "body": { - "description": "Body of the project", - "example": "This project represents the sprint of the first week in January", - "type": "string", - "nullable": true - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "examples": { - "default": { - "summary": "Create a new project", - "value": { - "name": "My Projects", - "body": "A board to manage my personal projects." - } - } - } - } + "parameters": [ + { + "$ref": "#/components/parameters/package-type" + }, + { + "$ref": "#/components/parameters/package-name" + }, + { + "$ref": "#/components/parameters/package-version-id" } - }, + ], "responses": { - "201": { + "200": { "description": "Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/project" + "$ref": "#/components/schemas/package-version" }, "examples": { "default": { - "$ref": "#/components/examples/project" + "$ref": "#/components/examples/package-version-authenticated-user" } } } } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "packages", + "subcategory": "packages" + } + }, + "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. For more information, see \"[About 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", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user" + }, + "parameters": [ + { + "$ref": "#/components/parameters/package-type" }, - "304": { - "$ref": "#/components/responses/not_modified" + { + "$ref": "#/components/parameters/package-name" + }, + { + "$ref": "#/components/parameters/package-version-id" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" }, "403": { "$ref": "#/components/responses/forbidden" }, "401": { "$ref": "#/components/responses/requires_authentication" - }, - "422": { - "$ref": "#/components/responses/validation_failed_simple" } }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" + "enabledForGitHubApps": false, + "category": "packages", + "subcategory": "packages" + } + } + }, + "/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. For more information, see \"[About 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", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user" }, - "deprecated": true + "parameters": [ + { + "$ref": "#/components/parameters/package-type" + }, + { + "$ref": "#/components/parameters/package-name" + }, + { + "$ref": "#/components/parameters/package-version-id" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "packages", + "subcategory": "packages" + } } }, "/user/public_emails": { @@ -75161,83 +74468,6 @@ } } }, - "/users/{username}/projects": { - "get": { - "summary": "List user projects", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/list-for-user", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/projects#list-user-projects" - }, - "parameters": [ - { - "$ref": "#/components/parameters/username" - }, - { - "name": "state", - "description": "Indicates the state of the projects to return.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "open", - "closed", - "all" - ], - "default": "open" - } - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/page" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/project" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/project-items-3" - } - } - } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } - } - }, - "422": { - "$ref": "#/components/responses/validation_failed" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - } - }, "/users/{username}/projectsV2": { "get": { "summary": "List projects for user", @@ -114247,103 +113477,6 @@ "updated_at" ] }, - "project": { - "title": "Project", - "description": "Projects are a way to organize columns and cards of work.", - "type": "object", - "properties": { - "owner_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/api-playground/projects-test" - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/api-playground/projects-test/projects/12" - }, - "columns_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604/columns" - }, - "id": { - "type": "integer", - "example": 1002604 - }, - "node_id": { - "type": "string", - "example": "MDc6UHJvamVjdDEwMDI2MDQ=" - }, - "name": { - "description": "Name of the project", - "example": "Week One Sprint", - "type": "string" - }, - "body": { - "description": "Body of the project", - "example": "This project represents the sprint of the first week in January", - "type": "string", - "nullable": true - }, - "number": { - "type": "integer", - "example": 1 - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "example": "open", - "type": "string" - }, - "creator": { - "$ref": "#/components/schemas/nullable-simple-user" - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2011-04-10T20:09:31Z" - }, - "updated_at": { - "type": "string", - "format": "date-time", - "example": "2014-03-03T18:58:10Z" - }, - "organization_permission": { - "description": "The baseline permission that all organization members have on this project. Only present if owner is an organization.", - "type": "string", - "enum": [ - "read", - "write", - "admin", - "none" - ] - }, - "private": { - "description": "Whether or not this project can be seen by everyone. Only present if owner is an organization.", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "number", - "name", - "body", - "state", - "url", - "html_url", - "owner_url", - "creator", - "columns_url", - "created_at", - "updated_at" - ] - }, "nullable-projects-v2-status-update": { "title": "Projects v2 Status Update", "description": "An status update belonging to a project", @@ -286086,82 +285219,6 @@ "key": "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234" } }, - "project-items": { - "value": [ - { - "owner_url": "https://api.github.com/orgs/octocat", - "url": "https://api.github.com/projects/1002605", - "html_url": "https://github.com/orgs/api-playground/projects/1", - "columns_url": "https://api.github.com/projects/1002605/columns", - "id": 1002605, - "node_id": "MDc6UHJvamVjdDEwMDI2MDU=", - "name": "Organization Roadmap", - "body": "High-level roadmap for the upcoming year.", - "number": 1, - "state": "open", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-11T20:09:31Z", - "updated_at": "2014-03-04T18:58:10Z", - "organization_permission": "write", - "private": true - } - ] - }, - "project-2": { - "value": { - "owner_url": "https://api.github.com/orgs/octocat", - "url": "https://api.github.com/projects/1002605", - "html_url": "https://github.com/orgs/api-playground/projects/1", - "columns_url": "https://api.github.com/projects/1002605/columns", - "id": 1002605, - "node_id": "MDc6UHJvamVjdDEwMDI2MDU=", - "name": "Organization Roadmap", - "body": "High-level roadmap for the upcoming year.", - "number": 1, - "state": "open", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-11T20:09:31Z", - "updated_at": "2014-03-04T18:58:10Z" - } - }, "projects-v2": { "value": { "id": 2, @@ -289488,42 +288545,6 @@ "updated_at": "2016-09-05T14:22:28Z" } }, - "project-3": { - "value": { - "owner_url": "https://api.github.com/repos/api-playground/projects-test", - "url": "https://api.github.com/projects/1002604", - "html_url": "https://github.com/api-playground/projects-test/projects/1", - "columns_url": "https://api.github.com/projects/1002604/columns", - "id": 1002604, - "node_id": "MDc6UHJvamVjdDEwMDI2MDQ=", - "name": "Projects Documentation", - "body": "Developer documentation project for the developer site.", - "number": 1, - "state": "open", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-10T20:09:31Z", - "updated_at": "2014-03-03T18:58:10Z" - } - }, "project-collaborator-permission": { "value": { "permission": "admin", @@ -299648,44 +298669,6 @@ } } }, - "project-items-2": { - "value": [ - { - "owner_url": "https://api.github.com/repos/api-playground/projects-test", - "url": "https://api.github.com/projects/1002604", - "html_url": "https://github.com/api-playground/projects-test/projects/1", - "columns_url": "https://api.github.com/projects/1002604/columns", - "id": 1002604, - "node_id": "MDc6UHJvamVjdDEwMDI2MDQ=", - "name": "Projects Documentation", - "body": "Developer documentation project for the developer site.", - "number": 1, - "state": "open", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-10T20:09:31Z", - "updated_at": "2014-03-03T18:58:10Z" - } - ] - }, "pull-request": { "value": { "url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347", @@ -306599,42 +305582,6 @@ } } }, - "project": { - "value": { - "owner_url": "https://api.github.com/users/octocat", - "url": "https://api.github.com/projects/1002603", - "html_url": "https://github.com/users/octocat/projects/1", - "columns_url": "https://api.github.com/projects/1002603/columns", - "id": 1002603, - "node_id": "MDc6UHJvamVjdDEwMDI2MDM=", - "name": "My Projects", - "body": "A board to manage my personal projects.", - "number": 1, - "state": "open", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-10T20:09:31Z", - "updated_at": "2014-03-03T18:58:10Z" - } - }, "repository-items-default-response": { "summary": "Default response", "value": [ @@ -307316,44 +306263,6 @@ } } }, - "project-items-3": { - "value": [ - { - "owner_url": "https://api.github.com/users/octocat", - "url": "https://api.github.com/projects/1002603", - "html_url": "https://github.com/users/octocat/projects/1", - "columns_url": "https://api.github.com/projects/1002603/columns", - "id": 1002603, - "node_id": "MDc6UHJvamVjdDEwMDI2MDM=", - "name": "My Projects", - "body": "A board to manage my personal projects.", - "number": 1, - "state": "open", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-10T20:09:31Z", - "updated_at": "2014-03-03T18:58:10Z" - } - ] - }, "user-received-events-items": { "value": [ { @@ -311362,8 +310271,8 @@ "package_es_list_error": { "description": "The value of `per_page` multiplied by `page` cannot be greater than 10000." }, - "gone": { - "description": "Gone", + "temporary_redirect": { + "description": "Temporary Redirect", "content": { "application/json": { "schema": { @@ -311372,8 +310281,8 @@ } } }, - "temporary_redirect": { - "description": "Temporary Redirect", + "gone": { + "description": "Gone", "content": { "application/json": { "schema": { diff --git a/descriptions/api.github.com/api.github.com.yaml b/descriptions/api.github.com/api.github.com.yaml index 51232a602..e93b4e6a9 100644 --- a/descriptions/api.github.com/api.github.com.yaml +++ b/descriptions/api.github.com/api.github.com.yaml @@ -16930,121 +16930,6 @@ paths: enabledForGitHubApps: true category: private-registries subcategory: organization-configurations - "/orgs/{org}/projects": - get: - summary: List organization projects - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/list-for-org - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/projects-classic/projects#list-organization-projects - parameters: - - "$ref": "#/components/parameters/org" - - name: state - description: Indicates the state of the projects to return. - in: query - required: false - schema: - type: string - enum: - - open - - closed - - all - default: open - - "$ref": "#/components/parameters/per-page" - - "$ref": "#/components/parameters/page" - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: - "$ref": "#/components/schemas/project" - examples: - default: - "$ref": "#/components/examples/project-items" - headers: - Link: - "$ref": "#/components/headers/link" - '422': - "$ref": "#/components/responses/validation_failed_simple" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true - post: - summary: Create an organization project - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/create-for-org - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/projects-classic/projects#create-an-organization-project - parameters: - - "$ref": "#/components/parameters/org" - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - name: - type: string - description: The name of the project. - body: - type: string - description: The description of the project. - required: - - name - examples: - default: - value: - name: Organization Roadmap - body: High-level roadmap for the upcoming year. - responses: - '201': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/project" - examples: - default: - "$ref": "#/components/examples/project-2" - '401': - "$ref": "#/components/responses/requires_authentication" - '403': - "$ref": "#/components/responses/forbidden" - '404': - "$ref": "#/components/responses/not_found" - '410': - "$ref": "#/components/responses/gone" - '422': - "$ref": "#/components/responses/validation_failed_simple" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true "/orgs/{org}/projectsV2": get: summary: List projects for organization @@ -21621,191 +21506,6 @@ paths: deprecationDate: '2024-05-23' removalDate: '2025-04-01' deprecated: true - "/projects/{project_id}": - get: - summary: Get a project - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/get - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/projects-classic/projects#get-a-project - parameters: - - "$ref": "#/components/parameters/project-id" - responses: - '200': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/project" - examples: - default: - "$ref": "#/components/examples/project-3" - '304': - "$ref": "#/components/responses/not_modified" - '403': - "$ref": "#/components/responses/forbidden" - '401': - "$ref": "#/components/responses/requires_authentication" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true - patch: - summary: Update a project - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - operationId: projects-classic/update - tags: - - projects-classic - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/projects-classic/projects#update-a-project - parameters: - - "$ref": "#/components/parameters/project-id" - requestBody: - required: false - content: - application/json: - schema: - properties: - name: - description: Name of the project - example: Week One Sprint - type: string - body: - description: Body of the project - example: This project represents the sprint of the first week in - January - type: string - nullable: true - state: - description: State of the project; either 'open' or 'closed' - example: open - type: string - organization_permission: - description: The baseline permission that all organization members - have on this project - type: string - enum: - - read - - write - - admin - - none - private: - description: Whether or not this project can be seen by everyone. - type: boolean - type: object - examples: - default: - summary: Change the name, state, and permissions for a project - value: - name: Week One Sprint - state: open - organization_permission: write - responses: - '200': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/project" - examples: - default: - "$ref": "#/components/examples/project-3" - '404': - description: Not Found if the authenticated user does not have access to - the project - '304': - "$ref": "#/components/responses/not_modified" - '403': - description: Forbidden - content: - application/json: - schema: - type: object - properties: - message: - type: string - documentation_url: - type: string - errors: - type: array - items: - type: string - '401': - "$ref": "#/components/responses/requires_authentication" - '410': - "$ref": "#/components/responses/gone" - '422': - "$ref": "#/components/responses/validation_failed_simple" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true - delete: - summary: Delete a project - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - operationId: projects-classic/delete - tags: - - projects-classic - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/projects-classic/projects#delete-a-project - parameters: - - "$ref": "#/components/parameters/project-id" - responses: - '204': - description: Delete Success - '304': - "$ref": "#/components/responses/not_modified" - '403': - description: Forbidden - content: - application/json: - schema: - type: object - properties: - message: - type: string - documentation_url: - type: string - errors: - type: array - items: - type: string - '401': - "$ref": "#/components/responses/requires_authentication" - '410': - "$ref": "#/components/responses/gone" - '404': - "$ref": "#/components/responses/not_found" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true "/projects/{project_id}/collaborators": get: summary: List project collaborators @@ -41073,131 +40773,6 @@ paths: enabledForGitHubApps: true category: repos subcategory: repos - "/repos/{owner}/{repo}/projects": - get: - summary: List repository projects - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/list-for-repo - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/projects-classic/projects#list-repository-projects - parameters: - - "$ref": "#/components/parameters/owner" - - "$ref": "#/components/parameters/repo" - - name: state - description: Indicates the state of the projects to return. - in: query - required: false - schema: - type: string - enum: - - open - - closed - - all - default: open - - "$ref": "#/components/parameters/per-page" - - "$ref": "#/components/parameters/page" - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: - "$ref": "#/components/schemas/project" - examples: - default: - "$ref": "#/components/examples/project-items-2" - headers: - Link: - "$ref": "#/components/headers/link" - '401': - "$ref": "#/components/responses/requires_authentication" - '403': - "$ref": "#/components/responses/forbidden" - '404': - "$ref": "#/components/responses/not_found" - '410': - "$ref": "#/components/responses/gone" - '422': - "$ref": "#/components/responses/validation_failed_simple" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true - post: - summary: Create a repository project - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/create-for-repo - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/projects-classic/projects#create-a-repository-project - parameters: - - "$ref": "#/components/parameters/owner" - - "$ref": "#/components/parameters/repo" - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - name: - type: string - description: The name of the project. - body: - type: string - description: The description of the project. - required: - - name - examples: - default: - value: - name: Projects Documentation - body: Developer documentation project for the developer site. - responses: - '201': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/project" - examples: - default: - "$ref": "#/components/examples/project-3" - '401': - "$ref": "#/components/responses/requires_authentication" - '403': - "$ref": "#/components/responses/forbidden" - '404': - "$ref": "#/components/responses/not_found" - '410': - "$ref": "#/components/responses/gone" - '422': - "$ref": "#/components/responses/validation_failed_simple" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true "/repos/{owner}/{repo}/properties/values": get: summary: Get all custom property values for a repository @@ -52193,71 +51768,6 @@ paths: enabledForGitHubApps: false category: packages subcategory: packages - "/user/projects": - post: - summary: Create a user project - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/create-for-authenticated-user - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/projects-classic/projects#create-a-user-project - parameters: [] - requestBody: - required: true - content: - application/json: - schema: - properties: - name: - description: Name of the project - example: Week One Sprint - type: string - body: - description: Body of the project - example: This project represents the sprint of the first week in - January - type: string - nullable: true - required: - - name - type: object - examples: - default: - summary: Create a new project - value: - name: My Projects - body: A board to manage my personal projects. - responses: - '201': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/project" - examples: - default: - "$ref": "#/components/examples/project" - '304': - "$ref": "#/components/responses/not_modified" - '403': - "$ref": "#/components/responses/forbidden" - '401': - "$ref": "#/components/responses/requires_authentication" - '422': - "$ref": "#/components/responses/validation_failed_simple" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true "/user/public_emails": get: summary: List public email addresses for the authenticated user @@ -54508,59 +54018,6 @@ paths: enabledForGitHubApps: false category: packages subcategory: packages - "/users/{username}/projects": - get: - summary: List user projects - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/list-for-user - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/projects-classic/projects#list-user-projects - parameters: - - "$ref": "#/components/parameters/username" - - name: state - description: Indicates the state of the projects to return. - in: query - required: false - schema: - type: string - enum: - - open - - closed - - all - default: open - - "$ref": "#/components/parameters/per-page" - - "$ref": "#/components/parameters/page" - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: - "$ref": "#/components/schemas/project" - examples: - default: - "$ref": "#/components/examples/project-items-3" - headers: - Link: - "$ref": "#/components/headers/link" - '422': - "$ref": "#/components/responses/validation_failed" - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true "/users/{username}/projectsV2": get: summary: List projects for user @@ -83469,71 +82926,7 @@ components: description: The username to use when authenticating with the private registry. example: monalisa type: string - nullable: true - replaces_base: - description: Whether this private registry replaces the base registry (e.g., - npmjs.org for npm, rubygems.org for rubygems). When `true`, Dependabot - will only use this registry and will not fall back to the public registry. - When `false` (default), Dependabot will use this registry for scoped packages - but may fall back to the public registry for other packages. - type: boolean - default: false - visibility: - description: Which type of organization repositories have access to the - private registry. - enum: - - all - - private - - selected - type: string - created_at: - type: string - format: date-time - updated_at: - type: string - format: date-time - required: - - name - - registry_type - - visibility - - created_at - - updated_at - org-private-registry-configuration-with-selected-repositories: - title: Organization private registry - description: Private registry configuration for an organization - type: object - properties: - name: - description: The name of the private registry configuration. - example: MAVEN_REPOSITORY_SECRET - type: string - registry_type: - description: The registry type. - enum: - - maven_repository - - nuget_feed - - goproxy_server - - npm_registry - - rubygems_server - - cargo_registry - - composer_repository - - docker_registry - - git_source - - helm_registry - - hex_organization - - hex_repository - - pub_repository - - python_index - - terraform_registry - type: string - url: - description: The URL of the private registry. - type: string - format: uri - username: - description: The username to use when authenticating with the private registry. - example: monalisa - type: string + nullable: true replaces_base: description: Whether this private registry replaces the base registry (e.g., npmjs.org for npm, rubygems.org for rubygems). When `true`, Dependabot @@ -83544,19 +82937,12 @@ components: default: false visibility: description: Which type of organization repositories have access to the - private registry. `selected` means only the repositories specified by - `selected_repository_ids` can access the private registry. + private registry. enum: - all - private - selected type: string - selected_repository_ids: - type: array - description: An array of repository IDs that can access the organization - private registry when `visibility` is set to `selected`. - items: - type: integer created_at: type: string format: date-time @@ -83569,84 +82955,75 @@ components: - visibility - created_at - updated_at - project: - title: Project - description: Projects are a way to organize columns and cards of work. + org-private-registry-configuration-with-selected-repositories: + title: Organization private registry + description: Private registry configuration for an organization type: object properties: - owner_url: - type: string - format: uri - example: https://api.github.com/repos/api-playground/projects-test - url: + name: + description: The name of the private registry configuration. + example: MAVEN_REPOSITORY_SECRET type: string - format: uri - example: https://api.github.com/projects/1002604 - html_url: + registry_type: + description: The registry type. + enum: + - maven_repository + - nuget_feed + - goproxy_server + - npm_registry + - rubygems_server + - cargo_registry + - composer_repository + - docker_registry + - git_source + - helm_registry + - hex_organization + - hex_repository + - pub_repository + - python_index + - terraform_registry type: string - format: uri - example: https://github.com/api-playground/projects-test/projects/12 - columns_url: + url: + description: The URL of the private registry. type: string format: uri - example: https://api.github.com/projects/1002604/columns - id: - type: integer - example: 1002604 - node_id: - type: string - example: MDc6UHJvamVjdDEwMDI2MDQ= - name: - description: Name of the project - example: Week One Sprint - type: string - body: - description: Body of the project - example: This project represents the sprint of the first week in January + username: + description: The username to use when authenticating with the private registry. + example: monalisa type: string - nullable: true - number: - type: integer - example: 1 - state: - description: State of the project; either 'open' or 'closed' - example: open + replaces_base: + description: Whether this private registry replaces the base registry (e.g., + npmjs.org for npm, rubygems.org for rubygems). When `true`, Dependabot + will only use this registry and will not fall back to the public registry. + When `false` (default), Dependabot will use this registry for scoped packages + but may fall back to the public registry for other packages. + type: boolean + default: false + visibility: + description: Which type of organization repositories have access to the + private registry. `selected` means only the repositories specified by + `selected_repository_ids` can access the private registry. + enum: + - all + - private + - selected type: string - creator: - "$ref": "#/components/schemas/nullable-simple-user" + selected_repository_ids: + type: array + description: An array of repository IDs that can access the organization + private registry when `visibility` is set to `selected`. + items: + type: integer created_at: type: string format: date-time - example: '2011-04-10T20:09:31Z' updated_at: type: string format: date-time - example: '2014-03-03T18:58:10Z' - organization_permission: - description: The baseline permission that all organization members have - on this project. Only present if owner is an organization. - type: string - enum: - - read - - write - - admin - - none - private: - description: Whether or not this project can be seen by everyone. Only present - if owner is an organization. - type: boolean required: - - id - - node_id - - number - name - - body - - state - - url - - html_url - - owner_url - - creator - - columns_url + - registry_type + - visibility - created_at - updated_at nullable-projects-v2-status-update: @@ -214694,74 +214071,6 @@ components: value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 - project-items: - value: - - owner_url: https://api.github.com/orgs/octocat - url: https://api.github.com/projects/1002605 - html_url: https://github.com/orgs/api-playground/projects/1 - columns_url: https://api.github.com/projects/1002605/columns - id: 1002605 - node_id: MDc6UHJvamVjdDEwMDI2MDU= - name: Organization Roadmap - body: High-level roadmap for the upcoming year. - number: 1 - state: open - creator: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - created_at: '2011-04-11T20:09:31Z' - updated_at: '2014-03-04T18:58:10Z' - organization_permission: write - private: true - project-2: - value: - owner_url: https://api.github.com/orgs/octocat - url: https://api.github.com/projects/1002605 - html_url: https://github.com/orgs/api-playground/projects/1 - columns_url: https://api.github.com/projects/1002605/columns - id: 1002605 - node_id: MDc6UHJvamVjdDEwMDI2MDU= - name: Organization Roadmap - body: High-level roadmap for the upcoming year. - number: 1 - state: open - creator: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - created_at: '2011-04-11T20:09:31Z' - updated_at: '2014-03-04T18:58:10Z' projects-v2: value: id: 2 @@ -217635,39 +216944,6 @@ components: name: To Do created_at: '2016-09-05T14:18:44Z' updated_at: '2016-09-05T14:22:28Z' - project-3: - value: - owner_url: https://api.github.com/repos/api-playground/projects-test - url: https://api.github.com/projects/1002604 - html_url: https://github.com/api-playground/projects-test/projects/1 - columns_url: https://api.github.com/projects/1002604/columns - id: 1002604 - node_id: MDc6UHJvamVjdDEwMDI2MDQ= - name: Projects Documentation - body: Developer documentation project for the developer site. - number: 1 - state: open - creator: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - created_at: '2011-04-10T20:09:31Z' - updated_at: '2014-03-03T18:58:10Z' project-collaborator-permission: value: permission: admin @@ -226303,39 +225579,6 @@ components: https_error: is_https_eligible: true caa_error: - project-items-2: - value: - - owner_url: https://api.github.com/repos/api-playground/projects-test - url: https://api.github.com/projects/1002604 - html_url: https://github.com/api-playground/projects-test/projects/1 - columns_url: https://api.github.com/projects/1002604/columns - id: 1002604 - node_id: MDc6UHJvamVjdDEwMDI2MDQ= - name: Projects Documentation - body: Developer documentation project for the developer site. - number: 1 - state: open - creator: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - created_at: '2011-04-10T20:09:31Z' - updated_at: '2014-03-03T18:58:10Z' pull-request: value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 @@ -232382,39 +231625,6 @@ components: container: tags: - 1.13.6 - project: - value: - owner_url: https://api.github.com/users/octocat - url: https://api.github.com/projects/1002603 - html_url: https://github.com/users/octocat/projects/1 - columns_url: https://api.github.com/projects/1002603/columns - id: 1002603 - node_id: MDc6UHJvamVjdDEwMDI2MDM= - name: My Projects - body: A board to manage my personal projects. - number: 1 - state: open - creator: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - created_at: '2011-04-10T20:09:31Z' - updated_at: '2014-03-03T18:58:10Z' repository-items-default-response: summary: Default response value: @@ -232996,39 +232206,6 @@ components: html_url: https://github.com/octocat/octo-name-repo/packages/40201?version=0.2.0 metadata: package_type: rubygems - project-items-3: - value: - - owner_url: https://api.github.com/users/octocat - url: https://api.github.com/projects/1002603 - html_url: https://github.com/users/octocat/projects/1 - columns_url: https://api.github.com/projects/1002603/columns - id: 1002603 - node_id: MDc6UHJvamVjdDEwMDI2MDM= - name: My Projects - body: A board to manage my personal projects. - number: 1 - state: open - creator: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - created_at: '2011-04-10T20:09:31Z' - updated_at: '2014-03-03T18:58:10Z' user-received-events-items: value: - id: '22249084964' @@ -236462,14 +235639,14 @@ components: package_es_list_error: description: The value of `per_page` multiplied by `page` cannot be greater than 10000. - gone: - description: Gone + temporary_redirect: + description: Temporary Redirect content: application/json: schema: "$ref": "#/components/schemas/basic-error" - temporary_redirect: - description: Temporary Redirect + gone: + description: Gone content: application/json: schema: 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 ca4a91a37..57954a548 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 @@ -128629,847 +128629,6 @@ } } }, - "/orgs/{org}/projects": { - "get": { - "summary": "List organization projects", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/list-for-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/projects#list-organization-projects" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "state", - "description": "Indicates the state of the projects to return.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "open", - "closed", - "all" - ], - "default": "open" - } - }, - { - "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": "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 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Project", - "description": "Projects are a way to organize columns and cards of work.", - "type": "object", - "properties": { - "owner_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/api-playground/projects-test" - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/api-playground/projects-test/projects/12" - }, - "columns_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604/columns" - }, - "id": { - "type": "integer", - "example": 1002604 - }, - "node_id": { - "type": "string", - "example": "MDc6UHJvamVjdDEwMDI2MDQ=" - }, - "name": { - "description": "Name of the project", - "example": "Week One Sprint", - "type": "string" - }, - "body": { - "description": "Body of the project", - "example": "This project represents the sprint of the first week in January", - "type": "string", - "nullable": true - }, - "number": { - "type": "integer", - "example": 1 - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "example": "open", - "type": "string" - }, - "creator": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2011-04-10T20:09:31Z" - }, - "updated_at": { - "type": "string", - "format": "date-time", - "example": "2014-03-03T18:58:10Z" - }, - "organization_permission": { - "description": "The baseline permission that all organization members have on this project. Only present if owner is an organization.", - "type": "string", - "enum": [ - "read", - "write", - "admin", - "none" - ] - }, - "private": { - "description": "Whether or not this project can be seen by everyone. Only present if owner is an organization.", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "number", - "name", - "body", - "state", - "url", - "html_url", - "owner_url", - "creator", - "columns_url", - "created_at", - "updated_at" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "owner_url": "https://api.github.com/orgs/octocat", - "url": "https://api.github.com/projects/1002605", - "html_url": "https://github.com/orgs/api-playground/projects/1", - "columns_url": "https://api.github.com/projects/1002605/columns", - "id": 1002605, - "node_id": "MDc6UHJvamVjdDEwMDI2MDU=", - "name": "Organization Roadmap", - "body": "High-level roadmap for the upcoming year.", - "number": 1, - "state": "open", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-11T20:09:31Z", - "updated_at": "2014-03-04T18:58:10Z", - "organization_permission": "write", - "private": true - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } - } - }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error Simple", - "description": "Validation Error Simple", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - }, - "post": { - "summary": "Create an organization project", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/create-for-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/projects#create-an-organization-project" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The name of the project." - }, - "body": { - "type": "string", - "description": "The description of the project." - } - }, - "required": [ - "name" - ] - }, - "examples": { - "default": { - "value": { - "name": "Organization Roadmap", - "body": "High-level roadmap for the upcoming year." - } - } - } - } - } - }, - "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Project", - "description": "Projects are a way to organize columns and cards of work.", - "type": "object", - "properties": { - "owner_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/api-playground/projects-test" - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/api-playground/projects-test/projects/12" - }, - "columns_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604/columns" - }, - "id": { - "type": "integer", - "example": 1002604 - }, - "node_id": { - "type": "string", - "example": "MDc6UHJvamVjdDEwMDI2MDQ=" - }, - "name": { - "description": "Name of the project", - "example": "Week One Sprint", - "type": "string" - }, - "body": { - "description": "Body of the project", - "example": "This project represents the sprint of the first week in January", - "type": "string", - "nullable": true - }, - "number": { - "type": "integer", - "example": 1 - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "example": "open", - "type": "string" - }, - "creator": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2011-04-10T20:09:31Z" - }, - "updated_at": { - "type": "string", - "format": "date-time", - "example": "2014-03-03T18:58:10Z" - }, - "organization_permission": { - "description": "The baseline permission that all organization members have on this project. Only present if owner is an organization.", - "type": "string", - "enum": [ - "read", - "write", - "admin", - "none" - ] - }, - "private": { - "description": "Whether or not this project can be seen by everyone. Only present if owner is an organization.", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "number", - "name", - "body", - "state", - "url", - "html_url", - "owner_url", - "creator", - "columns_url", - "created_at", - "updated_at" - ] - }, - "examples": { - "default": { - "value": { - "owner_url": "https://api.github.com/orgs/octocat", - "url": "https://api.github.com/projects/1002605", - "html_url": "https://github.com/orgs/api-playground/projects/1", - "columns_url": "https://api.github.com/projects/1002605/columns", - "id": 1002605, - "node_id": "MDc6UHJvamVjdDEwMDI2MDU=", - "name": "Organization Roadmap", - "body": "High-level roadmap for the upcoming year.", - "number": 1, - "state": "open", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-11T20:09:31Z", - "updated_at": "2014-03-04T18:58:10Z" - } - } - } - } - } - }, - "401": { - "description": "Requires authentication", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "410": { - "description": "Gone", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error Simple", - "description": "Validation Error Simple", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - } - }, "/orgs/{org}/projectsV2": { "get": { "summary": "List projects for organization", @@ -180891,965 +180050,6 @@ "deprecated": true } }, - "/projects/{project_id}": { - "get": { - "summary": "Get a project", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/get", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/projects#get-a-project" - }, - "parameters": [ - { - "name": "project_id", - "description": "The unique identifier of the project.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Project", - "description": "Projects are a way to organize columns and cards of work.", - "type": "object", - "properties": { - "owner_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/api-playground/projects-test" - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/api-playground/projects-test/projects/12" - }, - "columns_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604/columns" - }, - "id": { - "type": "integer", - "example": 1002604 - }, - "node_id": { - "type": "string", - "example": "MDc6UHJvamVjdDEwMDI2MDQ=" - }, - "name": { - "description": "Name of the project", - "example": "Week One Sprint", - "type": "string" - }, - "body": { - "description": "Body of the project", - "example": "This project represents the sprint of the first week in January", - "type": "string", - "nullable": true - }, - "number": { - "type": "integer", - "example": 1 - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "example": "open", - "type": "string" - }, - "creator": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2011-04-10T20:09:31Z" - }, - "updated_at": { - "type": "string", - "format": "date-time", - "example": "2014-03-03T18:58:10Z" - }, - "organization_permission": { - "description": "The baseline permission that all organization members have on this project. Only present if owner is an organization.", - "type": "string", - "enum": [ - "read", - "write", - "admin", - "none" - ] - }, - "private": { - "description": "Whether or not this project can be seen by everyone. Only present if owner is an organization.", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "number", - "name", - "body", - "state", - "url", - "html_url", - "owner_url", - "creator", - "columns_url", - "created_at", - "updated_at" - ] - }, - "examples": { - "default": { - "value": { - "owner_url": "https://api.github.com/repos/api-playground/projects-test", - "url": "https://api.github.com/projects/1002604", - "html_url": "https://github.com/api-playground/projects-test/projects/1", - "columns_url": "https://api.github.com/projects/1002604/columns", - "id": 1002604, - "node_id": "MDc6UHJvamVjdDEwMDI2MDQ=", - "name": "Projects Documentation", - "body": "Developer documentation project for the developer site.", - "number": 1, - "state": "open", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-10T20:09:31Z", - "updated_at": "2014-03-03T18:58:10Z" - } - } - } - } - } - }, - "304": { - "description": "Not modified" - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "401": { - "description": "Requires authentication", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - }, - "patch": { - "summary": "Update a project", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "operationId": "projects-classic/update", - "tags": [ - "projects-classic" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/projects#update-a-project" - }, - "parameters": [ - { - "name": "project_id", - "description": "The unique identifier of the project.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "properties": { - "name": { - "description": "Name of the project", - "example": "Week One Sprint", - "type": "string" - }, - "body": { - "description": "Body of the project", - "example": "This project represents the sprint of the first week in January", - "type": "string", - "nullable": true - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "example": "open", - "type": "string" - }, - "organization_permission": { - "description": "The baseline permission that all organization members have on this project", - "type": "string", - "enum": [ - "read", - "write", - "admin", - "none" - ] - }, - "private": { - "description": "Whether or not this project can be seen by everyone.", - "type": "boolean" - } - }, - "type": "object" - }, - "examples": { - "default": { - "summary": "Change the name, state, and permissions for a project", - "value": { - "name": "Week One Sprint", - "state": "open", - "organization_permission": "write" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Project", - "description": "Projects are a way to organize columns and cards of work.", - "type": "object", - "properties": { - "owner_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/api-playground/projects-test" - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/api-playground/projects-test/projects/12" - }, - "columns_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604/columns" - }, - "id": { - "type": "integer", - "example": 1002604 - }, - "node_id": { - "type": "string", - "example": "MDc6UHJvamVjdDEwMDI2MDQ=" - }, - "name": { - "description": "Name of the project", - "example": "Week One Sprint", - "type": "string" - }, - "body": { - "description": "Body of the project", - "example": "This project represents the sprint of the first week in January", - "type": "string", - "nullable": true - }, - "number": { - "type": "integer", - "example": 1 - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "example": "open", - "type": "string" - }, - "creator": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2011-04-10T20:09:31Z" - }, - "updated_at": { - "type": "string", - "format": "date-time", - "example": "2014-03-03T18:58:10Z" - }, - "organization_permission": { - "description": "The baseline permission that all organization members have on this project. Only present if owner is an organization.", - "type": "string", - "enum": [ - "read", - "write", - "admin", - "none" - ] - }, - "private": { - "description": "Whether or not this project can be seen by everyone. Only present if owner is an organization.", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "number", - "name", - "body", - "state", - "url", - "html_url", - "owner_url", - "creator", - "columns_url", - "created_at", - "updated_at" - ] - }, - "examples": { - "default": { - "value": { - "owner_url": "https://api.github.com/repos/api-playground/projects-test", - "url": "https://api.github.com/projects/1002604", - "html_url": "https://github.com/api-playground/projects-test/projects/1", - "columns_url": "https://api.github.com/projects/1002604/columns", - "id": 1002604, - "node_id": "MDc6UHJvamVjdDEwMDI2MDQ=", - "name": "Projects Documentation", - "body": "Developer documentation project for the developer site.", - "number": 1, - "state": "open", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-10T20:09:31Z", - "updated_at": "2014-03-03T18:58:10Z" - } - } - } - } - } - }, - "404": { - "description": "Not Found if the authenticated user does not have access to the project" - }, - "304": { - "description": "Not modified" - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "401": { - "description": "Requires authentication", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "410": { - "description": "Gone", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error Simple", - "description": "Validation Error Simple", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - }, - "delete": { - "summary": "Delete a project", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "operationId": "projects-classic/delete", - "tags": [ - "projects-classic" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/projects#delete-a-project" - }, - "parameters": [ - { - "name": "project_id", - "description": "The unique identifier of the project.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "responses": { - "204": { - "description": "Delete Success" - }, - "304": { - "description": "Not modified" - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "401": { - "description": "Requires authentication", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "410": { - "description": "Gone", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - } - }, "/projects/{project_id}/collaborators": { "get": { "summary": "List project collaborators", @@ -406851,967 +405051,6 @@ } } }, - "/repos/{owner}/{repo}/projects": { - "get": { - "summary": "List repository projects", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/list-for-repo", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/projects#list-repository-projects" - }, - "parameters": [ - { - "name": "owner", - "description": "The account owner of the repository. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "repo", - "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "state", - "description": "Indicates the state of the projects to return.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "open", - "closed", - "all" - ], - "default": "open" - } - }, - { - "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": "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 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Project", - "description": "Projects are a way to organize columns and cards of work.", - "type": "object", - "properties": { - "owner_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/api-playground/projects-test" - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/api-playground/projects-test/projects/12" - }, - "columns_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604/columns" - }, - "id": { - "type": "integer", - "example": 1002604 - }, - "node_id": { - "type": "string", - "example": "MDc6UHJvamVjdDEwMDI2MDQ=" - }, - "name": { - "description": "Name of the project", - "example": "Week One Sprint", - "type": "string" - }, - "body": { - "description": "Body of the project", - "example": "This project represents the sprint of the first week in January", - "type": "string", - "nullable": true - }, - "number": { - "type": "integer", - "example": 1 - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "example": "open", - "type": "string" - }, - "creator": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2011-04-10T20:09:31Z" - }, - "updated_at": { - "type": "string", - "format": "date-time", - "example": "2014-03-03T18:58:10Z" - }, - "organization_permission": { - "description": "The baseline permission that all organization members have on this project. Only present if owner is an organization.", - "type": "string", - "enum": [ - "read", - "write", - "admin", - "none" - ] - }, - "private": { - "description": "Whether or not this project can be seen by everyone. Only present if owner is an organization.", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "number", - "name", - "body", - "state", - "url", - "html_url", - "owner_url", - "creator", - "columns_url", - "created_at", - "updated_at" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "owner_url": "https://api.github.com/repos/api-playground/projects-test", - "url": "https://api.github.com/projects/1002604", - "html_url": "https://github.com/api-playground/projects-test/projects/1", - "columns_url": "https://api.github.com/projects/1002604/columns", - "id": 1002604, - "node_id": "MDc6UHJvamVjdDEwMDI2MDQ=", - "name": "Projects Documentation", - "body": "Developer documentation project for the developer site.", - "number": 1, - "state": "open", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-10T20:09:31Z", - "updated_at": "2014-03-03T18:58:10Z" - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } - } - }, - "401": { - "description": "Requires authentication", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "410": { - "description": "Gone", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error Simple", - "description": "Validation Error Simple", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - }, - "post": { - "summary": "Create a repository project", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/create-for-repo", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/projects#create-a-repository-project" - }, - "parameters": [ - { - "name": "owner", - "description": "The account owner of the repository. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "repo", - "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The name of the project." - }, - "body": { - "type": "string", - "description": "The description of the project." - } - }, - "required": [ - "name" - ] - }, - "examples": { - "default": { - "value": { - "name": "Projects Documentation", - "body": "Developer documentation project for the developer site." - } - } - } - } - } - }, - "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Project", - "description": "Projects are a way to organize columns and cards of work.", - "type": "object", - "properties": { - "owner_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/api-playground/projects-test" - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/api-playground/projects-test/projects/12" - }, - "columns_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604/columns" - }, - "id": { - "type": "integer", - "example": 1002604 - }, - "node_id": { - "type": "string", - "example": "MDc6UHJvamVjdDEwMDI2MDQ=" - }, - "name": { - "description": "Name of the project", - "example": "Week One Sprint", - "type": "string" - }, - "body": { - "description": "Body of the project", - "example": "This project represents the sprint of the first week in January", - "type": "string", - "nullable": true - }, - "number": { - "type": "integer", - "example": 1 - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "example": "open", - "type": "string" - }, - "creator": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2011-04-10T20:09:31Z" - }, - "updated_at": { - "type": "string", - "format": "date-time", - "example": "2014-03-03T18:58:10Z" - }, - "organization_permission": { - "description": "The baseline permission that all organization members have on this project. Only present if owner is an organization.", - "type": "string", - "enum": [ - "read", - "write", - "admin", - "none" - ] - }, - "private": { - "description": "Whether or not this project can be seen by everyone. Only present if owner is an organization.", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "number", - "name", - "body", - "state", - "url", - "html_url", - "owner_url", - "creator", - "columns_url", - "created_at", - "updated_at" - ] - }, - "examples": { - "default": { - "value": { - "owner_url": "https://api.github.com/repos/api-playground/projects-test", - "url": "https://api.github.com/projects/1002604", - "html_url": "https://github.com/api-playground/projects-test/projects/1", - "columns_url": "https://api.github.com/projects/1002604/columns", - "id": 1002604, - "node_id": "MDc6UHJvamVjdDEwMDI2MDQ=", - "name": "Projects Documentation", - "body": "Developer documentation project for the developer site.", - "number": 1, - "state": "open", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-10T20:09:31Z", - "updated_at": "2014-03-03T18:58:10Z" - } - } - } - } - } - }, - "401": { - "description": "Requires authentication", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "410": { - "description": "Gone", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error Simple", - "description": "Validation Error Simple", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - } - }, "/repos/{owner}/{repo}/properties/values": { "get": { "summary": "Get all custom property values for a repository", @@ -550742,416 +547981,6 @@ } } }, - "/user/projects": { - "post": { - "summary": "Create a user project", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/create-for-authenticated-user", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/projects#create-a-user-project" - }, - "parameters": [], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "properties": { - "name": { - "description": "Name of the project", - "example": "Week One Sprint", - "type": "string" - }, - "body": { - "description": "Body of the project", - "example": "This project represents the sprint of the first week in January", - "type": "string", - "nullable": true - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "examples": { - "default": { - "summary": "Create a new project", - "value": { - "name": "My Projects", - "body": "A board to manage my personal projects." - } - } - } - } - } - }, - "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Project", - "description": "Projects are a way to organize columns and cards of work.", - "type": "object", - "properties": { - "owner_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/api-playground/projects-test" - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/api-playground/projects-test/projects/12" - }, - "columns_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604/columns" - }, - "id": { - "type": "integer", - "example": 1002604 - }, - "node_id": { - "type": "string", - "example": "MDc6UHJvamVjdDEwMDI2MDQ=" - }, - "name": { - "description": "Name of the project", - "example": "Week One Sprint", - "type": "string" - }, - "body": { - "description": "Body of the project", - "example": "This project represents the sprint of the first week in January", - "type": "string", - "nullable": true - }, - "number": { - "type": "integer", - "example": 1 - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "example": "open", - "type": "string" - }, - "creator": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2011-04-10T20:09:31Z" - }, - "updated_at": { - "type": "string", - "format": "date-time", - "example": "2014-03-03T18:58:10Z" - }, - "organization_permission": { - "description": "The baseline permission that all organization members have on this project. Only present if owner is an organization.", - "type": "string", - "enum": [ - "read", - "write", - "admin", - "none" - ] - }, - "private": { - "description": "Whether or not this project can be seen by everyone. Only present if owner is an organization.", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "number", - "name", - "body", - "state", - "url", - "html_url", - "owner_url", - "creator", - "columns_url", - "created_at", - "updated_at" - ] - }, - "examples": { - "default": { - "value": { - "owner_url": "https://api.github.com/users/octocat", - "url": "https://api.github.com/projects/1002603", - "html_url": "https://github.com/users/octocat/projects/1", - "columns_url": "https://api.github.com/projects/1002603/columns", - "id": 1002603, - "node_id": "MDc6UHJvamVjdDEwMDI2MDM=", - "name": "My Projects", - "body": "A board to manage my personal projects.", - "number": 1, - "state": "open", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-10T20:09:31Z", - "updated_at": "2014-03-03T18:58:10Z" - } - } - } - } - } - }, - "304": { - "description": "Not modified" - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "401": { - "description": "Requires authentication", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error Simple", - "description": "Validation Error Simple", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - } - }, "/user/public_emails": { "get": { "summary": "List public email addresses for the authenticated user", @@ -581833,421 +578662,6 @@ } } }, - "/users/{username}/projects": { - "get": { - "summary": "List user projects", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/list-for-user", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/projects#list-user-projects" - }, - "parameters": [ - { - "name": "username", - "description": "The handle for the GitHub user account.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "state", - "description": "Indicates the state of the projects to return.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "open", - "closed", - "all" - ], - "default": "open" - } - }, - { - "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": "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 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Project", - "description": "Projects are a way to organize columns and cards of work.", - "type": "object", - "properties": { - "owner_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/api-playground/projects-test" - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/api-playground/projects-test/projects/12" - }, - "columns_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604/columns" - }, - "id": { - "type": "integer", - "example": 1002604 - }, - "node_id": { - "type": "string", - "example": "MDc6UHJvamVjdDEwMDI2MDQ=" - }, - "name": { - "description": "Name of the project", - "example": "Week One Sprint", - "type": "string" - }, - "body": { - "description": "Body of the project", - "example": "This project represents the sprint of the first week in January", - "type": "string", - "nullable": true - }, - "number": { - "type": "integer", - "example": 1 - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "example": "open", - "type": "string" - }, - "creator": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2011-04-10T20:09:31Z" - }, - "updated_at": { - "type": "string", - "format": "date-time", - "example": "2014-03-03T18:58:10Z" - }, - "organization_permission": { - "description": "The baseline permission that all organization members have on this project. Only present if owner is an organization.", - "type": "string", - "enum": [ - "read", - "write", - "admin", - "none" - ] - }, - "private": { - "description": "Whether or not this project can be seen by everyone. Only present if owner is an organization.", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "number", - "name", - "body", - "state", - "url", - "html_url", - "owner_url", - "creator", - "columns_url", - "created_at", - "updated_at" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "owner_url": "https://api.github.com/users/octocat", - "url": "https://api.github.com/projects/1002603", - "html_url": "https://github.com/users/octocat/projects/1", - "columns_url": "https://api.github.com/projects/1002603/columns", - "id": 1002603, - "node_id": "MDc6UHJvamVjdDEwMDI2MDM=", - "name": "My Projects", - "body": "A board to manage my personal projects.", - "number": 1, - "state": "open", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-10T20:09:31Z", - "updated_at": "2014-03-03T18:58:10Z" - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } - } - }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error", - "description": "Validation Error", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "required": [ - "code" - ], - "properties": { - "resource": { - "type": "string" - }, - "field": { - "type": "string" - }, - "message": { - "type": "string" - }, - "code": { - "type": "string" - }, - "index": { - "type": "integer" - }, - "value": { - "oneOf": [ - { - "type": "string", - "nullable": true - }, - { - "type": "integer", - "nullable": true - }, - { - "type": "array", - "nullable": true, - "items": { - "type": "string" - } - } - ] - } - } - } - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - } - }, "/users/{username}/projectsV2": { "get": { "summary": "List projects for user", 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 82185a526..d3b25b069 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 @@ -857,7 +857,7 @@ paths: - subscriptions_url - type - url - type: &301 + type: &300 type: string description: The type of credit the user is receiving. enum: @@ -1023,7 +1023,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &635 + - &633 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -2865,7 +2865,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &267 + properties: &266 id: description: Unique identifier of the repository example: 42 @@ -3303,7 +3303,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &268 + required: &267 - archive_url - assignees_url - blobs_url @@ -8608,7 +8608,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &474 + - &471 name: has in: query description: |- @@ -8724,7 +8724,7 @@ paths: - unknown - direct - transitive - security_advisory: &475 + security_advisory: &472 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -8986,7 +8986,7 @@ paths: format: date-time readOnly: true nullable: true - auto_dismissed_at: &476 + auto_dismissed_at: &473 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -10282,7 +10282,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &524 + properties: &522 id: type: integer format: int64 @@ -10394,7 +10394,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &255 + properties: &254 url: type: string format: uri @@ -10464,7 +10464,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &256 + required: &255 - closed_issues - creator - description @@ -10654,7 +10654,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &647 + sub_issues_summary: &645 title: Sub-issues Summary type: object properties: @@ -10674,7 +10674,7 @@ paths: type: string format: uri nullable: true - issue_dependencies_summary: &648 + issue_dependencies_summary: &646 title: Issue Dependencies Summary type: object properties: @@ -10693,7 +10693,7 @@ paths: - total_blocking issue_field_values: type: array - items: &649 + items: &647 title: Issue Field Value description: A value assigned to an issue field type: object @@ -10753,7 +10753,7 @@ paths: - node_id - data_type - value - required: &525 + required: &523 - assignee - closed_at - comments @@ -10774,7 +10774,7 @@ paths: - user - created_at - updated_at - comment: &522 + comment: &520 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -11344,7 +11344,7 @@ paths: url: type: string format: uri - user: &661 + user: &659 title: Public User description: Public User type: object @@ -14650,14 +14650,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &324 + - &323 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &325 + - &324 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -14719,7 +14719,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &333 + '301': &330 description: Moved permanently content: application/json: @@ -14741,7 +14741,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &554 + - &552 name: all description: If `true`, show notifications marked as read. in: query @@ -14749,7 +14749,7 @@ paths: schema: type: boolean default: false - - &555 + - &553 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -14759,7 +14759,7 @@ paths: type: boolean default: false - *72 - - &556 + - &554 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: @@ -15071,7 +15071,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &269 + security_and_analysis: &268 nullable: true type: object properties: @@ -15233,7 +15233,7 @@ paths: - url - subscription_url examples: - default: &557 + default: &555 value: - id: '1' repository: @@ -16101,7 +16101,7 @@ paths: - property_name - value examples: - default: &563 + default: &561 value: - property_name: environment value: production @@ -16151,7 +16151,7 @@ paths: required: - properties examples: - default: &564 + default: &562 value: properties: - property_name: environment @@ -16220,7 +16220,7 @@ paths: required: false schema: type: string - - &705 + - &703 name: model description: The model name to query usage for. The name is not case sensitive. in: query @@ -16366,7 +16366,7 @@ paths: parameters: - *63 - *105 - - &708 + - &706 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the @@ -16478,7 +16478,7 @@ paths: - *105 - *107 - *106 - - &709 + - &707 name: repository description: The repository name to query for usage in the format owner/repository. in: query @@ -16486,7 +16486,7 @@ paths: schema: type: string - *108 - - &710 + - &708 name: sku description: The SKU to query for usage. in: query @@ -17388,7 +17388,7 @@ paths: type: integer repository_cache_usages: type: array - items: &338 + items: &335 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -18580,7 +18580,7 @@ paths: - all - local_only - selected - selected_actions_url: &344 + selected_actions_url: &341 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` @@ -18663,7 +18663,7 @@ paths: description: Response content: application/json: - schema: &348 + schema: &345 type: object properties: days: @@ -18705,7 +18705,7 @@ paths: required: true content: application/json: - schema: &349 + schema: &346 type: object properties: days: @@ -18762,7 +18762,7 @@ paths: required: - approval_policy examples: - default: &350 + default: &347 value: approval_policy: first_time_contributors '404': *6 @@ -18821,7 +18821,7 @@ paths: description: Response content: application/json: - schema: &351 + schema: &348 type: object required: - run_workflows_from_fork_pull_requests @@ -18875,7 +18875,7 @@ paths: required: true content: application/json: - schema: &352 + schema: &349 type: object required: - run_workflows_from_fork_pull_requests @@ -19510,7 +19510,7 @@ paths: description: Response content: application/json: - schema: &353 + schema: &350 type: object properties: default_workflow_permissions: &135 @@ -19561,7 +19561,7 @@ paths: required: false content: application/json: - schema: &354 + schema: &351 type: object properties: default_workflow_permissions: *135 @@ -20050,7 +20050,7 @@ paths: type: array items: *142 examples: - default: &664 + default: &662 value: total_count: 1 repositories: @@ -20692,7 +20692,7 @@ paths: application/json: schema: type: array - items: &355 + items: &352 title: Runner Application description: Runner Application type: object @@ -20717,7 +20717,7 @@ paths: - download_url - filename examples: - default: &356 + default: &353 value: - os: osx architecture: x64 @@ -20803,7 +20803,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &357 + '201': &354 description: Response content: application/json: @@ -20914,7 +20914,7 @@ paths: - token - expires_at examples: - default: &358 + default: &355 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -20953,7 +20953,7 @@ paths: application/json: schema: *146 examples: - default: &359 + default: &356 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -20987,7 +20987,7 @@ paths: application/json: schema: *144 examples: - default: &360 + default: &357 value: id: 23 name: MBP @@ -21213,7 +21213,7 @@ paths: - *63 - *143 responses: - '200': &361 + '200': &358 description: Response content: application/json: @@ -21270,7 +21270,7 @@ paths: parameters: - *63 - *143 - - &362 + - &359 name: name description: The name of a self-hosted runner's custom label. in: path @@ -21400,7 +21400,7 @@ paths: description: Response content: application/json: - schema: &374 + schema: &371 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -21429,7 +21429,7 @@ paths: - key_id - key examples: - default: &375 + default: &372 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -21842,7 +21842,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *63 - - &343 + - &340 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)." @@ -22575,12 +22575,12 @@ paths: required: - subject_digests examples: - default: &692 + default: &690 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &693 + withPredicateType: &691 value: subject_digests: - sha256:abc123 @@ -22638,7 +22638,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &694 + default: &692 value: attestations_subject_digests: - sha256:abc: @@ -22987,7 +22987,7 @@ paths: initiator: type: string examples: - default: &388 + default: &385 value: attestations: - bundle: @@ -23916,7 +23916,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *63 - - &414 + - &411 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`, @@ -23926,7 +23926,7 @@ paths: schema: &165 type: string description: The name of the tool used to generate the code scanning analysis. - - &415 + - &412 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 @@ -23949,7 +23949,7 @@ paths: be returned. in: query required: false - schema: &417 + schema: &414 type: string description: State of a code scanning alert. enum: @@ -23972,7 +23972,7 @@ paths: be returned. in: query required: false - schema: &418 + schema: &415 type: string description: Severity of a code scanning alert. enum: @@ -23998,7 +23998,7 @@ paths: updated_at: *160 url: *161 html_url: *162 - instances_url: &419 + instances_url: &416 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -24021,7 +24021,7 @@ paths: required: *21 nullable: true dismissed_at: *164 - dismissed_reason: &420 + dismissed_reason: &417 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -24030,13 +24030,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &421 + dismissed_comment: &418 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &422 + rule: &419 type: object properties: id: @@ -24089,7 +24089,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &423 + tool: &420 type: object properties: name: *165 @@ -24099,15 +24099,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *166 - most_recent_instance: &424 + most_recent_instance: &421 type: object properties: - ref: &416 + ref: &413 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &434 + analysis_key: &431 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -24118,7 +24118,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &435 + category: &432 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -25442,7 +25442,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &447 + properties: &444 name: type: string description: The name of the machine. @@ -25484,7 +25484,7 @@ paths: - ready - in_progress nullable: true - required: &448 + required: &445 - name - display_name - operating_system @@ -26352,7 +26352,7 @@ paths: - updated_at - visibility examples: - default: &449 + default: &446 value: total_count: 2 secrets: @@ -26390,7 +26390,7 @@ paths: description: Response content: application/json: - schema: &450 + schema: &447 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -26419,7 +26419,7 @@ paths: - key_id - key examples: - default: &451 + default: &448 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -26451,7 +26451,7 @@ paths: application/json: schema: *175 examples: - default: &453 + default: &450 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -27449,7 +27449,7 @@ paths: application/json: schema: type: array - items: &306 + items: &305 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -27756,7 +27756,7 @@ paths: - date additionalProperties: true examples: - default: &307 + default: &306 value: - date: '2024-06-24' total_active_users: 24 @@ -27858,7 +27858,7 @@ paths: '500': *103 '403': *29 '404': *6 - '422': &308 + '422': &307 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -28064,7 +28064,7 @@ paths: description: Response content: application/json: - schema: &479 + schema: &476 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -28081,7 +28081,7 @@ paths: - key_id - key examples: - default: &480 + default: &477 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -29881,7 +29881,7 @@ paths: application/json: schema: *22 examples: - default: &518 + default: &515 value: id: 1 account: @@ -30106,7 +30106,7 @@ paths: required: true content: application/json: - schema: &519 + schema: &516 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -30959,7 +30959,7 @@ paths: application/json: schema: *221 examples: - default: &446 + default: &443 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -32204,7 +32204,7 @@ paths: parameters: - *63 - *228 - - &677 + - &675 name: repo_name description: repo_name parameter in: path @@ -32949,7 +32949,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &302 + items: &301 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -33243,7 +33243,7 @@ paths: - nuget - container - *63 - - &678 + - &676 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -33284,7 +33284,7 @@ paths: default: *235 '403': *29 '401': *25 - '400': &680 + '400': &678 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -34977,266 +34977,6 @@ paths: enabledForGitHubApps: true category: private-registries subcategory: organization-configurations - "/orgs/{org}/projects": - get: - summary: List organization projects - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/list-for-org - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/projects-classic/projects#list-organization-projects - parameters: - - *63 - - name: state - description: Indicates the state of the projects to return. - in: query - required: false - schema: - type: string - enum: - - open - - closed - - all - default: open - - *17 - - *19 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: &250 - title: Project - description: Projects are a way to organize columns and cards of - work. - type: object - properties: - owner_url: - type: string - format: uri - example: https://api.github.com/repos/api-playground/projects-test - url: - type: string - format: uri - example: https://api.github.com/projects/1002604 - html_url: - type: string - format: uri - example: https://github.com/api-playground/projects-test/projects/12 - columns_url: - type: string - format: uri - example: https://api.github.com/projects/1002604/columns - id: - type: integer - example: 1002604 - node_id: - type: string - example: MDc6UHJvamVjdDEwMDI2MDQ= - name: - description: Name of the project - example: Week One Sprint - type: string - body: - description: Body of the project - example: This project represents the sprint of the first week - in January - type: string - nullable: true - number: - type: integer - example: 1 - state: - description: State of the project; either 'open' or 'closed' - example: open - type: string - creator: - title: Simple User - description: A GitHub user. - type: object - properties: *20 - required: *21 - nullable: true - created_at: - type: string - format: date-time - example: '2011-04-10T20:09:31Z' - updated_at: - type: string - format: date-time - example: '2014-03-03T18:58:10Z' - organization_permission: - description: The baseline permission that all organization members - have on this project. Only present if owner is an organization. - type: string - enum: - - read - - write - - admin - - none - private: - description: Whether or not this project can be seen by everyone. - Only present if owner is an organization. - type: boolean - required: - - id - - node_id - - number - - name - - body - - state - - url - - html_url - - owner_url - - creator - - columns_url - - created_at - - updated_at - examples: - default: - value: - - owner_url: https://api.github.com/orgs/octocat - url: https://api.github.com/projects/1002605 - html_url: https://github.com/orgs/api-playground/projects/1 - columns_url: https://api.github.com/projects/1002605/columns - id: 1002605 - node_id: MDc6UHJvamVjdDEwMDI2MDU= - name: Organization Roadmap - body: High-level roadmap for the upcoming year. - number: 1 - state: open - creator: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - created_at: '2011-04-11T20:09:31Z' - updated_at: '2014-03-04T18:58:10Z' - organization_permission: write - private: true - headers: - Link: *54 - '422': *7 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true - post: - summary: Create an organization project - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/create-for-org - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/projects-classic/projects#create-an-organization-project - parameters: - - *63 - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - name: - type: string - description: The name of the project. - body: - type: string - description: The description of the project. - required: - - name - examples: - default: - value: - name: Organization Roadmap - body: High-level roadmap for the upcoming year. - responses: - '201': - description: Response - content: - application/json: - schema: *250 - examples: - default: - value: - owner_url: https://api.github.com/orgs/octocat - url: https://api.github.com/projects/1002605 - html_url: https://github.com/orgs/api-playground/projects/1 - columns_url: https://api.github.com/projects/1002605/columns - id: 1002605 - node_id: MDc6UHJvamVjdDEwMDI2MDU= - name: Organization Roadmap - body: High-level roadmap for the upcoming year. - number: 1 - state: open - creator: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - created_at: '2011-04-11T20:09:31Z' - updated_at: '2014-03-04T18:58:10Z' - '401': *25 - '403': *29 - '404': *6 - '410': &330 - description: Gone - content: - application/json: - schema: *3 - '422': *7 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true "/orgs/{org}/projectsV2": get: summary: List projects for organization @@ -35266,7 +35006,7 @@ paths: application/json: schema: type: array - items: &251 + items: &250 title: Projects v2 Project description: A projects v2 project type: object @@ -35336,7 +35076,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &761 + properties: &759 id: type: number description: The unique identifier of the status update. @@ -35384,7 +35124,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &762 + required: &760 - id - node_id - created_at @@ -35409,7 +35149,7 @@ paths: - deleted_at - deleted_by examples: - default: &252 + default: &251 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -35512,7 +35252,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &253 + - &252 name: project_number description: The project's number. in: path @@ -35525,9 +35265,9 @@ paths: description: Response content: application/json: - schema: *251 + schema: *250 examples: - default: *252 + default: *251 headers: Link: *54 '304': *37 @@ -35549,7 +35289,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *253 + - *252 - *63 - *17 - *40 @@ -35561,7 +35301,7 @@ paths: application/json: schema: type: array - items: &254 + items: &253 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -35708,7 +35448,7 @@ paths: - updated_at - project_url examples: - default: &697 + default: &695 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -35811,8 +35551,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *253 - - &698 + - *252 + - &696 name: field_id description: The unique identifier of the field. in: path @@ -35825,9 +35565,9 @@ paths: description: Response content: application/json: - schema: *254 + schema: *253 examples: - default: &699 + default: &697 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -35871,7 +35611,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *253 + - *252 - *63 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) @@ -35904,7 +35644,7 @@ paths: application/json: schema: type: array - items: &260 + items: &259 title: Projects v2 Item description: An item belonging to a project type: object @@ -35920,7 +35660,7 @@ paths: format: uri example: https://api.github.com/users/monalisa/2/projectsV2/3 description: The API URL of the project that contains this item. - content_type: &258 + content_type: &257 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -35970,7 +35710,7 @@ paths: - updated_at - archived_at examples: - default: &261 + default: &260 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -36665,7 +36405,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - *63 - - *253 + - *252 requestBody: required: true description: Details of the item to add to the project. @@ -36702,7 +36442,7 @@ paths: description: Response content: application/json: - schema: &700 + schema: &698 title: Projects v2 Item description: An item belonging to a project type: object @@ -36716,7 +36456,7 @@ paths: content: oneOf: - *82 - - &461 + - &458 title: Pull Request Simple description: Pull Request Simple type: object @@ -36822,8 +36562,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *255 - required: *256 + properties: *254 + required: *255 nullable: true active_lock_reason: type: string @@ -36919,7 +36659,7 @@ paths: _links: type: object properties: - comments: &257 + comments: &256 title: Link description: Hypermedia Link type: object @@ -36928,13 +36668,13 @@ paths: type: string required: - href - commits: *257 - statuses: *257 - html: *257 - issue: *257 - review_comments: *257 - review_comment: *257 - self: *257 + commits: *256 + statuses: *256 + html: *256 + issue: *256 + review_comments: *256 + review_comment: *256 + self: *256 required: - comments - commits @@ -36945,7 +36685,7 @@ paths: - review_comment - self author_association: *69 - auto_merge: &566 + auto_merge: &564 title: Auto merge description: The status of auto merging a pull request. type: object @@ -37047,7 +36787,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *258 + content_type: *257 creator: *4 created_at: type: string @@ -37080,7 +36820,7 @@ paths: - updated_at - archived_at examples: - issue: &259 + issue: &258 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -37135,7 +36875,7 @@ paths: archived_at: project_url: https://api.github.com/users/octocat/projectsV2/1 item_url: https://api.github.com/users/octocat/projectsV2/items/17 - pull_request: *259 + pull_request: *258 '304': *37 '403': *29 '401': *25 @@ -37155,9 +36895,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *253 + - *252 - *63 - - &262 + - &261 name: item_id description: The unique identifier of the project item. in: path @@ -37183,9 +36923,9 @@ paths: description: Response content: application/json: - schema: *260 + schema: *259 examples: - default: *261 + default: *260 headers: Link: *54 '304': *37 @@ -37206,9 +36946,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *253 + - *252 - *63 - - *262 + - *261 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -37278,13 +37018,13 @@ paths: description: Response content: application/json: - schema: *260 + schema: *259 examples: - text_field: *261 - number_field: *261 - date_field: *261 - single_select_field: *261 - iteration_field: *261 + text_field: *260 + number_field: *260 + date_field: *260 + single_select_field: *260 + iteration_field: *260 '401': *25 '403': *29 '404': *6 @@ -37304,9 +37044,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *253 + - *252 - *63 - - *262 + - *261 responses: '204': description: Response @@ -37338,7 +37078,7 @@ paths: application/json: schema: type: array - items: &263 + items: &262 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -37404,7 +37144,7 @@ paths: - property_name - value_type examples: - default: &264 + default: &263 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -37463,7 +37203,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *263 + items: *262 minItems: 1 maxItems: 100 required: @@ -37493,9 +37233,9 @@ paths: application/json: schema: type: array - items: *263 + items: *262 examples: - default: *264 + default: *263 '403': *29 '404': *6 x-github: @@ -37517,7 +37257,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *63 - - &265 + - &264 name: custom_property_name description: The custom property name in: path @@ -37529,9 +37269,9 @@ paths: description: Response content: application/json: - schema: *263 + schema: *262 examples: - default: &266 + default: &265 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -37566,7 +37306,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *63 - - *265 + - *264 requestBody: required: true content: @@ -37635,9 +37375,9 @@ paths: description: Response content: application/json: - schema: *263 + schema: *262 examples: - default: *266 + default: *265 '403': *29 '404': *6 x-github: @@ -37661,7 +37401,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *63 - - *265 + - *264 responses: '204': *172 '403': *29 @@ -38185,7 +37925,7 @@ paths: description: Response content: application/json: - schema: &332 + schema: &329 title: Full Repository description: Full Repository type: object @@ -38462,8 +38202,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *267 - required: *268 + properties: *266 + required: *267 nullable: true temp_clone_token: type: string @@ -38578,7 +38318,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &466 + properties: &463 url: type: string format: uri @@ -38594,12 +38334,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &467 + required: &464 - url - key - name - html_url - security_and_analysis: *269 + security_and_analysis: *268 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -38683,7 +38423,7 @@ paths: - network_count - subscribers_count examples: - default: &334 + default: &331 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -39204,7 +38944,7 @@ paths: - *63 - *17 - *19 - - &589 + - &587 name: targets description: | A comma-separated list of rule targets to filter by. @@ -39222,7 +38962,7 @@ paths: application/json: schema: type: array - items: &295 + items: &294 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -39257,7 +38997,7 @@ paths: source: type: string description: The name of the source - enforcement: &272 + enforcement: &271 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -39270,7 +39010,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &273 + items: &272 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -39340,7 +39080,7 @@ paths: conditions: nullable: true anyOf: - - &270 + - &269 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -39364,7 +39104,7 @@ paths: match. items: type: string - - &274 + - &273 title: Organization ruleset conditions type: object description: |- @@ -39378,7 +39118,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *270 + - *269 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -39412,7 +39152,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *270 + - *269 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -39434,7 +39174,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *270 + - *269 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -39447,7 +39187,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &271 + items: &270 title: Repository ruleset property targeting definition type: object @@ -39480,17 +39220,17 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *271 + items: *270 required: - repository_property rules: type: array - items: &590 + items: &588 title: Repository Rule type: object description: A repository rule. oneOf: - - &275 + - &274 title: creation description: Only allow users with bypass permission to create matching refs. @@ -39502,7 +39242,7 @@ paths: type: string enum: - creation - - &276 + - &275 title: update description: Only allow users with bypass permission to update matching refs. @@ -39523,7 +39263,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &277 + - &276 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -39535,7 +39275,7 @@ paths: type: string enum: - deletion - - &278 + - &277 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -39547,7 +39287,7 @@ paths: type: string enum: - required_linear_history - - &587 + - &585 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -39625,7 +39365,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &279 + - &278 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -39649,7 +39389,7 @@ paths: type: string required: - required_deployment_environments - - &280 + - &279 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -39661,7 +39401,7 @@ paths: type: string enum: - required_signatures - - &281 + - &280 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -39723,7 +39463,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &282 + - &281 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -39771,7 +39511,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &283 + - &282 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -39783,7 +39523,7 @@ paths: type: string enum: - non_fast_forward - - &284 + - &283 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -39819,7 +39559,7 @@ paths: required: - operator - pattern - - &285 + - &284 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -39855,7 +39595,7 @@ paths: required: - operator - pattern - - &286 + - &285 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -39891,7 +39631,7 @@ paths: required: - operator - pattern - - &287 + - &286 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -39927,7 +39667,7 @@ paths: required: - operator - pattern - - &288 + - &287 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -39963,7 +39703,7 @@ paths: required: - operator - pattern - - &289 + - &288 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -39988,7 +39728,7 @@ paths: type: string required: - restricted_file_paths - - &290 + - &289 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -40012,7 +39752,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &291 + - &290 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -40035,7 +39775,7 @@ paths: type: string required: - restricted_file_extensions - - &292 + - &291 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -40060,7 +39800,7 @@ paths: maximum: 100 required: - max_file_size - - &293 + - &292 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -40110,7 +39850,7 @@ paths: - repository_id required: - workflows - - &294 + - &293 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -40171,7 +39911,7 @@ paths: - tool required: - code_scanning_tools - - &588 + - &586 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -40269,20 +40009,21 @@ paths: - push - repository default: branch - enforcement: *272 + enforcement: *271 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *273 - conditions: *274 + items: *272 + conditions: *273 rules: type: array description: An array of rules within the ruleset. - items: &297 + items: &296 title: Repository Rule type: object description: A repository rule. oneOf: + - *274 - *275 - *276 - *277 @@ -40302,7 +40043,6 @@ paths: - *291 - *292 - *293 - - *294 required: - name - enforcement @@ -40340,9 +40080,9 @@ paths: description: Response content: application/json: - schema: *295 + schema: *294 examples: - default: &296 + default: &295 value: id: 21 name: super cool ruleset @@ -40397,7 +40137,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *63 - - &591 + - &589 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 @@ -40412,7 +40152,7 @@ paths: in: query schema: type: string - - &592 + - &590 name: time_period description: |- The time period to filter by. @@ -40428,14 +40168,14 @@ paths: - week - month default: day - - &593 + - &591 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 - - &594 + - &592 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -40455,7 +40195,7 @@ paths: description: Response content: application/json: - schema: &595 + schema: &593 title: Rule Suites description: Response type: array @@ -40510,7 +40250,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &596 + default: &594 value: - id: 21 actor_id: 12 @@ -40554,7 +40294,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *63 - - &597 + - &595 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -40570,7 +40310,7 @@ paths: description: Response content: application/json: - schema: &598 + schema: &596 title: Rule Suite description: Response type: object @@ -40669,7 +40409,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &599 + default: &597 value: id: 21 actor_id: 12 @@ -40742,9 +40482,9 @@ paths: description: Response content: application/json: - schema: *295 + schema: *294 examples: - default: *296 + default: *295 '404': *6 '500': *103 put: @@ -40788,16 +40528,16 @@ paths: - tag - push - repository - enforcement: *272 + enforcement: *271 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *273 - conditions: *274 + items: *272 + conditions: *273 rules: description: An array of rules within the ruleset. type: array - items: *297 + items: *296 examples: default: value: @@ -40832,9 +40572,9 @@ paths: description: Response content: application/json: - schema: *295 + schema: *294 examples: - default: *296 + default: *295 '404': *6 '500': *103 delete: @@ -40891,7 +40631,7 @@ paths: application/json: schema: type: array - items: &298 + items: &297 title: Ruleset version type: object description: The historical version of a ruleset @@ -40915,7 +40655,7 @@ paths: type: string format: date-time examples: - default: &601 + default: &599 value: - version_id: 3 actor: @@ -40968,9 +40708,9 @@ paths: description: Response content: application/json: - schema: &602 + schema: &600 allOf: - - *298 + - *297 - type: object required: - state @@ -41040,7 +40780,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *63 - - &603 + - &601 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -41051,7 +40791,7 @@ paths: enum: - open - resolved - - &604 + - &602 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -41061,7 +40801,7 @@ paths: required: false schema: type: string - - &605 + - &603 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -41070,7 +40810,7 @@ paths: required: false schema: type: string - - &606 + - &604 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. @@ -41085,7 +40825,7 @@ paths: - *48 - *19 - *17 - - &607 + - &605 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 @@ -41095,7 +40835,7 @@ paths: required: false schema: type: string - - &608 + - &606 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 @@ -41105,7 +40845,7 @@ paths: required: false schema: type: string - - &609 + - &607 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -41114,7 +40854,7 @@ paths: required: false schema: type: string - - &610 + - &608 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -41123,7 +40863,7 @@ paths: schema: type: boolean default: false - - &611 + - &609 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -41132,7 +40872,7 @@ paths: schema: type: boolean default: false - - &612 + - &610 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -41167,14 +40907,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &613 + state: &611 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: &614 + resolution: &612 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -41281,8 +41021,8 @@ paths: pull request. ' - oneOf: &615 - - &617 + oneOf: &613 + - &615 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -41334,7 +41074,7 @@ paths: - blob_url - commit_sha - commit_url - - &618 + - &616 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -41389,7 +41129,7 @@ paths: - page_url - commit_sha - commit_url - - &619 + - &617 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -41403,7 +41143,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &620 + - &618 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -41417,7 +41157,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &621 + - &619 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -41431,7 +41171,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &622 + - &620 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -41445,7 +41185,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &623 + - &621 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -41459,7 +41199,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &624 + - &622 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -41473,7 +41213,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &625 + - &623 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -41487,7 +41227,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &626 + - &624 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -41501,7 +41241,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &627 + - &625 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -41515,7 +41255,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &628 + - &626 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -41529,7 +41269,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &629 + - &627 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -41771,7 +41511,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &300 + pattern_config_version: &299 type: string description: The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate @@ -41780,7 +41520,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &299 + items: &298 type: object properties: token_type: @@ -41846,7 +41586,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *299 + items: *298 examples: default: value: @@ -41903,7 +41643,7 @@ paths: schema: type: object properties: - pattern_config_version: *300 + pattern_config_version: *299 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -41929,7 +41669,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *300 + custom_pattern_version: *299 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -42027,7 +41767,7 @@ paths: application/json: schema: type: array - items: &633 + items: &631 description: A repository security advisory. type: object properties: @@ -42247,7 +41987,7 @@ paths: login: type: string description: The username of the user credited. - type: *301 + type: *300 credits_detailed: type: array nullable: true @@ -42257,7 +41997,7 @@ paths: type: object properties: user: *4 - type: *301 + type: *300 state: type: string description: The state of the user's acceptance of the @@ -42318,7 +42058,7 @@ paths: - private_fork additionalProperties: false examples: - default: &634 + default: &632 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -42705,7 +42445,7 @@ paths: application/json: schema: type: array - items: *302 + items: *301 examples: default: *233 x-github: @@ -42792,7 +42532,7 @@ paths: description: Response content: application/json: - schema: &701 + schema: &699 type: object properties: total_minutes_used: @@ -42862,7 +42602,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &702 + default: &700 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -42898,7 +42638,7 @@ paths: description: Response content: application/json: - schema: &703 + schema: &701 type: object properties: total_gigabytes_bandwidth_used: @@ -42916,7 +42656,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &704 + default: &702 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -42948,7 +42688,7 @@ paths: description: Response content: application/json: - schema: &706 + schema: &704 type: object properties: days_left_in_billing_cycle: @@ -42966,7 +42706,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &707 + default: &705 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -43249,7 +42989,7 @@ paths: type: integer network_configurations: type: array - items: &303 + items: &302 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -43369,9 +43109,9 @@ paths: description: Response content: application/json: - schema: *303 + schema: *302 examples: - default: &304 + default: &303 value: id: 123456789ABCDEF name: My network configuration @@ -43400,7 +43140,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *63 - - &305 + - &304 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -43412,9 +43152,9 @@ paths: description: Response content: application/json: - schema: *303 + schema: *302 examples: - default: *304 + default: *303 headers: Link: *54 x-github: @@ -43436,7 +43176,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *63 - - *305 + - *304 requestBody: required: true content: @@ -43475,9 +43215,9 @@ paths: description: Response content: application/json: - schema: *303 + schema: *302 examples: - default: *304 + default: *303 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43497,7 +43237,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *63 - - *305 + - *304 responses: '204': description: Response @@ -43637,13 +43377,13 @@ paths: application/json: schema: type: array - items: *306 + items: *305 examples: - default: *307 + default: *306 '500': *103 '403': *29 '404': *6 - '422': *308 + '422': *307 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43767,7 +43507,7 @@ paths: description: Response content: application/json: - schema: &309 + schema: &308 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -44094,7 +43834,7 @@ paths: - repos_count - organization examples: - default: &310 + default: &309 value: id: 1 node_id: MDQ6VGVhbTE= @@ -44171,9 +43911,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *308 examples: - default: *310 + default: *309 '404': *6 x-github: githubCloudOnly: false @@ -44257,16 +43997,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *309 + schema: *308 examples: - default: *310 + default: *309 '201': description: Response content: application/json: - schema: *309 + schema: *308 examples: - default: *310 + default: *309 '404': *6 '422': *15 '403': *29 @@ -44336,7 +44076,7 @@ paths: application/json: schema: type: array - items: &311 + items: &310 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -44435,7 +44175,7 @@ paths: - updated_at - url examples: - default: &651 + default: &649 value: - author: login: octocat @@ -44544,9 +44284,9 @@ paths: description: Response content: application/json: - schema: *311 + schema: *310 examples: - default: &312 + default: &311 value: author: login: octocat @@ -44620,7 +44360,7 @@ paths: parameters: - *63 - *64 - - &313 + - &312 name: discussion_number description: The number that identifies the discussion. in: path @@ -44632,9 +44372,9 @@ paths: description: Response content: application/json: - schema: *311 + schema: *310 examples: - default: *312 + default: *311 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44658,7 +44398,7 @@ paths: parameters: - *63 - *64 - - *313 + - *312 requestBody: required: false content: @@ -44681,9 +44421,9 @@ paths: description: Response content: application/json: - schema: *311 + schema: *310 examples: - default: &652 + default: &650 value: author: login: octocat @@ -44755,7 +44495,7 @@ paths: parameters: - *63 - *64 - - *313 + - *312 responses: '204': description: Response @@ -44783,7 +44523,7 @@ paths: parameters: - *63 - *64 - - *313 + - *312 - *48 - *17 - *19 @@ -44794,7 +44534,7 @@ paths: application/json: schema: type: array - items: &314 + items: &313 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -44866,7 +44606,7 @@ paths: - updated_at - url examples: - default: &653 + default: &651 value: - author: login: octocat @@ -44936,7 +44676,7 @@ paths: parameters: - *63 - *64 - - *313 + - *312 requestBody: required: true content: @@ -44958,9 +44698,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *313 examples: - default: &315 + default: &314 value: author: login: octocat @@ -45028,8 +44768,8 @@ paths: parameters: - *63 - *64 - - *313 - - &316 + - *312 + - &315 name: comment_number description: The number that identifies the comment. in: path @@ -45041,9 +44781,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *313 examples: - default: *315 + default: *314 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45067,8 +44807,8 @@ paths: parameters: - *63 - *64 - - *313 - - *316 + - *312 + - *315 requestBody: required: true content: @@ -45090,9 +44830,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *313 examples: - default: &654 + default: &652 value: author: login: octocat @@ -45158,8 +44898,8 @@ paths: parameters: - *63 - *64 - - *313 - - *316 + - *312 + - *315 responses: '204': description: Response @@ -45187,8 +44927,8 @@ paths: parameters: - *63 - *64 - - *313 - - *316 + - *312 + - *315 - 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. @@ -45214,7 +44954,7 @@ paths: application/json: schema: type: array - items: &317 + items: &316 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -45257,7 +44997,7 @@ paths: - content - created_at examples: - default: &319 + default: &318 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -45309,8 +45049,8 @@ paths: parameters: - *63 - *64 - - *313 - - *316 + - *312 + - *315 requestBody: required: true content: @@ -45343,9 +45083,9 @@ paths: team discussion comment content: application/json: - schema: *317 + schema: *316 examples: - default: &318 + default: &317 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -45374,9 +45114,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *316 examples: - default: *318 + default: *317 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45401,9 +45141,9 @@ paths: parameters: - *63 - *64 - - *313 - - *316 - - &320 + - *312 + - *315 + - &319 name: reaction_id description: The unique identifier of the reaction. in: path @@ -45437,7 +45177,7 @@ paths: parameters: - *63 - *64 - - *313 + - *312 - 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. @@ -45463,9 +45203,9 @@ paths: application/json: schema: type: array - items: *317 + items: *316 examples: - default: *319 + default: *318 headers: Link: *54 x-github: @@ -45493,7 +45233,7 @@ paths: parameters: - *63 - *64 - - *313 + - *312 requestBody: required: true content: @@ -45525,16 +45265,16 @@ paths: description: Response content: application/json: - schema: *317 + schema: *316 examples: - default: *318 + default: *317 '201': description: Response content: application/json: - schema: *317 + schema: *316 examples: - default: *318 + default: *317 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -45559,8 +45299,8 @@ paths: parameters: - *63 - *64 - - *313 - - *320 + - *312 + - *319 responses: '204': description: Response @@ -45681,7 +45421,7 @@ paths: description: Response content: application/json: - schema: &321 + schema: &320 title: Team Membership description: Team Membership type: object @@ -45708,7 +45448,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &655 + response-if-user-is-a-team-maintainer: &653 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -45771,9 +45511,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *320 examples: - response-if-users-membership-with-team-is-now-pending: &656 + response-if-users-membership-with-team-is-now-pending: &654 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -45846,7 +45586,7 @@ paths: application/json: schema: type: array - items: &322 + items: &321 title: Team Project description: A team's access to a project. type: object @@ -45914,7 +45654,7 @@ paths: - updated_at - permissions examples: - default: &657 + default: &655 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -45979,7 +45719,7 @@ paths: parameters: - *63 - *64 - - &323 + - &322 name: project_id description: The unique identifier of the project. in: path @@ -45991,9 +45731,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *321 examples: - default: &658 + default: &656 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -46057,7 +45797,7 @@ paths: parameters: - *63 - *64 - - *323 + - *322 requestBody: required: false content: @@ -46125,7 +45865,7 @@ paths: parameters: - *63 - *64 - - *323 + - *322 responses: '204': description: Response @@ -46196,14 +45936,14 @@ paths: parameters: - *63 - *64 + - *323 - *324 - - *325 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &659 + schema: &657 title: Team Repository description: A team's access to a repository. type: object @@ -46774,8 +46514,8 @@ paths: parameters: - *63 - *64 + - *323 - *324 - - *325 requestBody: required: false content: @@ -46822,8 +46562,8 @@ paths: parameters: - *63 - *64 + - *323 - *324 - - *325 responses: '204': description: Response @@ -46860,7 +46600,7 @@ paths: type: array items: *178 examples: - response-if-child-teams-exist: &660 + response-if-child-teams-exist: &658 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -46987,7 +46727,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#get-a-project-column parameters: - - &326 + - &325 name: column_id description: The unique identifier of the column. in: path @@ -46999,7 +46739,7 @@ paths: description: Response content: application/json: - schema: &327 + schema: &326 title: Project Column description: Project columns contain cards of work. type: object @@ -47045,7 +46785,7 @@ paths: - created_at - updated_at examples: - default: &328 + default: &327 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -47080,7 +46820,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#update-an-existing-project-column parameters: - - *326 + - *325 requestBody: required: true content: @@ -47104,9 +46844,9 @@ paths: description: Response content: application/json: - schema: *327 + schema: *326 examples: - default: *328 + default: *327 '304': *37 '403': *29 '401': *25 @@ -47131,7 +46871,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#delete-a-project-column parameters: - - *326 + - *325 responses: '204': description: Response @@ -47160,7 +46900,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#move-a-project-column parameters: - - *326 + - *325 requestBody: required: true content: @@ -47206,208 +46946,6 @@ paths: deprecationDate: '2024-05-23' removalDate: '2025-04-01' deprecated: true - "/projects/{project_id}": - get: - summary: Get a project - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/get - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/projects-classic/projects#get-a-project - parameters: - - *323 - responses: - '200': - description: Response - content: - application/json: - schema: *250 - examples: - default: &329 - value: - owner_url: https://api.github.com/repos/api-playground/projects-test - url: https://api.github.com/projects/1002604 - html_url: https://github.com/api-playground/projects-test/projects/1 - columns_url: https://api.github.com/projects/1002604/columns - id: 1002604 - node_id: MDc6UHJvamVjdDEwMDI2MDQ= - name: Projects Documentation - body: Developer documentation project for the developer site. - number: 1 - state: open - creator: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - created_at: '2011-04-10T20:09:31Z' - updated_at: '2014-03-03T18:58:10Z' - '304': *37 - '403': *29 - '401': *25 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true - patch: - summary: Update a project - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - operationId: projects-classic/update - tags: - - projects-classic - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/projects-classic/projects#update-a-project - parameters: - - *323 - requestBody: - required: false - content: - application/json: - schema: - properties: - name: - description: Name of the project - example: Week One Sprint - type: string - body: - description: Body of the project - example: This project represents the sprint of the first week in - January - type: string - nullable: true - state: - description: State of the project; either 'open' or 'closed' - example: open - type: string - organization_permission: - description: The baseline permission that all organization members - have on this project - type: string - enum: - - read - - write - - admin - - none - private: - description: Whether or not this project can be seen by everyone. - type: boolean - type: object - examples: - default: - summary: Change the name, state, and permissions for a project - value: - name: Week One Sprint - state: open - organization_permission: write - responses: - '200': - description: Response - content: - application/json: - schema: *250 - examples: - default: *329 - '404': - description: Not Found if the authenticated user does not have access to - the project - '304': *37 - '403': - description: Forbidden - content: - application/json: - schema: - type: object - properties: - message: - type: string - documentation_url: - type: string - errors: - type: array - items: - type: string - '401': *25 - '410': *330 - '422': *7 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true - delete: - summary: Delete a project - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - operationId: projects-classic/delete - tags: - - projects-classic - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/projects-classic/projects#delete-a-project - parameters: - - *323 - responses: - '204': - description: Delete Success - '304': *37 - '403': - description: Forbidden - content: - application/json: - schema: - type: object - properties: - message: - type: string - documentation_url: - type: string - errors: - type: array - items: - type: string - '401': *25 - '410': *330 - '404': *6 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true "/projects/{project_id}/collaborators": get: summary: List project collaborators @@ -47422,7 +46960,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#list-project-collaborators parameters: - - *323 + - *322 - 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 @@ -47479,7 +47017,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#add-project-collaborator parameters: - - *323 + - *322 - *59 requestBody: required: false @@ -47532,7 +47070,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *323 + - *322 - *59 responses: '204': @@ -47564,7 +47102,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *323 + - *322 - *59 responses: '200': @@ -47665,7 +47203,7 @@ paths: resources: type: object properties: - core: &331 + core: &328 title: Rate Limit type: object properties: @@ -47682,21 +47220,21 @@ paths: - remaining - reset - used - graphql: *331 - search: *331 - code_search: *331 - source_import: *331 - integration_manifest: *331 - code_scanning_upload: *331 - actions_runner_registration: *331 - scim: *331 - dependency_snapshots: *331 - dependency_sbom: *331 - code_scanning_autofix: *331 + graphql: *328 + search: *328 + code_search: *328 + source_import: *328 + integration_manifest: *328 + code_scanning_upload: *328 + actions_runner_registration: *328 + scim: *328 + dependency_snapshots: *328 + dependency_sbom: *328 + code_scanning_autofix: *328 required: - core - search - rate: *331 + rate: *328 required: - rate - resources @@ -47801,14 +47339,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: + - *323 - *324 - - *325 responses: '200': description: Response content: application/json: - schema: *332 + schema: *329 examples: default-response: summary: Default response @@ -48309,7 +47847,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *333 + '301': *330 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48327,8 +47865,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: + - *323 - *324 - - *325 requestBody: required: false content: @@ -48575,10 +48113,10 @@ paths: description: Response content: application/json: - schema: *332 + schema: *329 examples: - default: *334 - '307': &335 + default: *331 + '307': &332 description: Temporary Redirect content: application/json: @@ -48607,8 +48145,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: + - *323 - *324 - - *325 responses: '204': description: Response @@ -48630,7 +48168,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *335 + '307': *332 '404': *6 '409': *47 x-github: @@ -48654,11 +48192,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: + - *323 - *324 - - *325 - *17 - *19 - - &366 + - &363 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -48681,7 +48219,7 @@ paths: type: integer artifacts: type: array - items: &336 + items: &333 title: Artifact description: An artifact type: object @@ -48759,7 +48297,7 @@ paths: - expires_at - updated_at examples: - default: &367 + default: &364 value: total_count: 2 artifacts: @@ -48820,9 +48358,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: + - *323 - *324 - - *325 - - &337 + - &334 name: artifact_id description: The unique identifier of the artifact. in: path @@ -48834,7 +48372,7 @@ paths: description: Response content: application/json: - schema: *336 + schema: *333 examples: default: value: @@ -48872,9 +48410,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: + - *323 - *324 - - *325 - - *337 + - *334 responses: '204': description: Response @@ -48898,9 +48436,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: + - *323 - *324 - - *325 - - *337 + - *334 - name: archive_format in: path required: true @@ -48914,7 +48452,11 @@ 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': *330 + '410': &519 + description: Gone + content: + application/json: + schema: *3 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48937,14 +48479,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: + - *323 - *324 - - *325 responses: '200': description: Response content: application/json: - schema: *338 + schema: *335 examples: default: value: @@ -48970,11 +48512,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: + - *323 - *324 - - *325 - *17 - *19 - - &339 + - &336 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 @@ -49008,7 +48550,7 @@ paths: description: Response content: application/json: - schema: &340 + schema: &337 title: Repository actions caches description: Repository actions caches type: object @@ -49050,7 +48592,7 @@ paths: - total_count - actions_caches examples: - default: &341 + default: &338 value: total_count: 1 actions_caches: @@ -49082,23 +48624,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: + - *323 - *324 - - *325 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *339 + - *336 responses: '200': description: Response content: application/json: - schema: *340 + schema: *337 examples: - default: *341 + default: *338 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49118,8 +48660,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: + - *323 - *324 - - *325 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -49150,9 +48692,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: + - *323 - *324 - - *325 - - &342 + - &339 name: job_id description: The unique identifier of the job. in: path @@ -49164,7 +48706,7 @@ paths: description: Response content: application/json: - schema: &370 + schema: &367 title: Job description: Information of a job execution in a workflow run type: object @@ -49471,9 +49013,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: + - *323 - *324 - - *325 - - *342 + - *339 responses: '302': description: Response @@ -49501,9 +49043,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: + - *323 - *324 - - *325 - - *342 + - *339 requestBody: required: false content: @@ -49548,8 +49090,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: + - *323 - *324 - - *325 responses: '200': description: Status response @@ -49599,8 +49141,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: + - *323 - *324 - - *325 requestBody: required: true content: @@ -49663,8 +49205,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: + - *323 - *324 - - *325 - *17 - *19 responses: @@ -49682,7 +49224,7 @@ paths: type: integer secrets: type: array - items: &372 + items: &369 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -49702,7 +49244,7 @@ paths: - created_at - updated_at examples: - default: &373 + default: &370 value: total_count: 2 secrets: @@ -49735,9 +49277,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: + - *323 - *324 - - *325 - - *343 + - *340 - *19 responses: '200': @@ -49754,7 +49296,7 @@ paths: type: integer variables: type: array - items: &376 + items: &373 title: Actions Variable type: object properties: @@ -49784,7 +49326,7 @@ paths: - created_at - updated_at examples: - default: &377 + default: &374 value: total_count: 2 variables: @@ -49817,8 +49359,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: + - *323 - *324 - - *325 responses: '200': description: Response @@ -49827,11 +49369,11 @@ paths: schema: type: object properties: - enabled: &345 + enabled: &342 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *127 - selected_actions_url: *344 + selected_actions_url: *341 sha_pinning_required: *128 required: - enabled @@ -49860,8 +49402,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: + - *323 - *324 - - *325 responses: '204': description: Response @@ -49872,7 +49414,7 @@ paths: schema: type: object properties: - enabled: *345 + enabled: *342 allowed_actions: *127 sha_pinning_required: *128 required: @@ -49904,14 +49446,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: + - *323 - *324 - - *325 responses: '200': description: Response content: application/json: - schema: &346 + schema: &343 type: object properties: access_level: @@ -49928,7 +49470,7 @@ paths: required: - access_level examples: - default: &347 + default: &344 value: access_level: organization x-github: @@ -49952,15 +49494,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: + - *323 - *324 - - *325 requestBody: required: true content: application/json: - schema: *346 + schema: *343 examples: - default: *347 + default: *344 responses: '204': description: Response @@ -49984,14 +49526,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: + - *323 - *324 - - *325 responses: '200': description: Response content: application/json: - schema: *348 + schema: *345 examples: default: value: @@ -50015,8 +49557,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: + - *323 - *324 - - *325 responses: '204': description: Empty response for successful settings update @@ -50026,7 +49568,7 @@ paths: required: true content: application/json: - schema: *349 + schema: *346 examples: default: summary: Set retention days @@ -50050,8 +49592,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: + - *323 - *324 - - *325 responses: '200': description: Response @@ -50059,7 +49601,7 @@ paths: application/json: schema: *129 examples: - default: *350 + default: *347 '404': *6 x-github: enabledForGitHubApps: true @@ -50078,8 +49620,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: + - *323 - *324 - - *325 responses: '204': description: Response @@ -50113,14 +49655,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: + - *323 - *324 - - *325 responses: '200': description: Response content: application/json: - schema: *351 + schema: *348 examples: default: *130 '403': *29 @@ -50142,13 +49684,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: + - *323 - *324 - - *325 requestBody: required: true content: application/json: - schema: *352 + schema: *349 examples: default: *130 responses: @@ -50174,8 +49716,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: + - *323 - *324 - - *325 responses: '200': description: Response @@ -50202,8 +49744,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: + - *323 - *324 - - *325 responses: '204': description: Response @@ -50235,14 +49777,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: + - *323 - *324 - - *325 responses: '200': description: Response content: application/json: - schema: *353 + schema: *350 examples: default: *137 x-github: @@ -50265,8 +49807,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: + - *323 - *324 - - *325 responses: '204': description: Success response @@ -50277,7 +49819,7 @@ paths: required: true content: application/json: - schema: *354 + schema: *351 examples: default: *137 x-github: @@ -50306,8 +49848,8 @@ paths: in: query schema: type: string + - *323 - *324 - - *325 - *17 - *19 responses: @@ -50351,8 +49893,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: + - *323 - *324 - - *325 responses: '200': description: Response @@ -50360,9 +49902,9 @@ paths: application/json: schema: type: array - items: *355 + items: *352 examples: - default: *356 + default: *353 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50384,8 +49926,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: + - *323 - *324 - - *325 requestBody: required: true content: @@ -50428,7 +49970,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *357 + '201': *354 '404': *6 '422': *7 '409': *47 @@ -50459,8 +50001,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: + - *323 - *324 - - *325 responses: '201': description: Response @@ -50468,7 +50010,7 @@ paths: application/json: schema: *146 examples: - default: *358 + default: *355 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50496,8 +50038,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: + - *323 - *324 - - *325 responses: '201': description: Response @@ -50505,7 +50047,7 @@ paths: application/json: schema: *146 examples: - default: *359 + default: *356 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50527,8 +50069,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: + - *323 - *324 - - *325 - *143 responses: '200': @@ -50537,7 +50079,7 @@ paths: application/json: schema: *144 examples: - default: *360 + default: *357 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50558,8 +50100,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: + - *323 - *324 - - *325 - *143 responses: '204': @@ -50586,8 +50128,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: + - *323 - *324 - - *325 - *143 responses: '200': *148 @@ -50612,8 +50154,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: + - *323 - *324 - - *325 - *143 requestBody: required: true @@ -50662,8 +50204,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: + - *323 - *324 - - *325 - *143 requestBody: required: true @@ -50713,11 +50255,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: + - *323 - *324 - - *325 - *143 responses: - '200': *361 + '200': *358 '404': *6 x-github: githubCloudOnly: false @@ -50744,10 +50286,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: + - *323 - *324 - - *325 - *143 - - *362 + - *359 responses: '200': *148 '404': *6 @@ -50775,9 +50317,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: + - *323 - *324 - - *325 - - &380 + - &377 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. @@ -50785,7 +50327,7 @@ paths: required: false schema: type: string - - &381 + - &378 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -50793,7 +50335,7 @@ paths: required: false schema: type: string - - &382 + - &379 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -50802,7 +50344,7 @@ paths: required: false schema: type: string - - &383 + - &380 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 @@ -50829,7 +50371,7 @@ paths: - pending - *17 - *19 - - &384 + - &381 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)." @@ -50838,7 +50380,7 @@ paths: schema: type: string format: date-time - - &363 + - &360 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -50847,13 +50389,13 @@ paths: schema: type: boolean default: false - - &385 + - &382 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &386 + - &383 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -50876,7 +50418,7 @@ paths: type: integer workflow_runs: type: array - items: &364 + items: &361 title: Workflow Run description: An invocation of a workflow type: object @@ -50971,7 +50513,7 @@ paths: that triggered the run. type: array nullable: true - items: &405 + items: &402 title: Pull Request Minimal type: object properties: @@ -51090,7 +50632,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &409 + properties: &406 id: type: string description: SHA for the commit @@ -51141,7 +50683,7 @@ paths: - name - email nullable: true - required: &410 + required: &407 - id - tree_id - message @@ -51188,7 +50730,7 @@ paths: - workflow_url - pull_requests examples: - default: &387 + default: &384 value: total_count: 1 workflow_runs: @@ -51424,24 +50966,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: + - *323 - *324 - - *325 - - &365 + - &362 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *363 + - *360 responses: '200': description: Response content: application/json: - schema: *364 + schema: *361 examples: - default: &368 + default: &365 value: id: 30433642 name: Build @@ -51682,9 +51224,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: + - *323 - *324 - - *325 - - *365 + - *362 responses: '204': description: Response @@ -51707,9 +51249,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: + - *323 - *324 - - *325 - - *365 + - *362 responses: '200': description: Response @@ -51828,9 +51370,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: + - *323 - *324 - - *325 - - *365 + - *362 responses: '201': description: Response @@ -51863,12 +51405,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: + - *323 - *324 - - *325 - - *365 + - *362 - *17 - *19 - - *366 + - *363 responses: '200': description: Response @@ -51884,9 +51426,9 @@ paths: type: integer artifacts: type: array - items: *336 + items: *333 examples: - default: *367 + default: *364 headers: Link: *54 x-github: @@ -51910,25 +51452,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: + - *323 - *324 - - *325 - - *365 - - &369 + - *362 + - &366 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *363 + - *360 responses: '200': description: Response content: application/json: - schema: *364 + schema: *361 examples: - default: *368 + default: *365 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51951,10 +51493,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: + - *323 - *324 - - *325 - - *365 - - *369 + - *362 + - *366 - *17 - *19 responses: @@ -51972,9 +51514,9 @@ paths: type: integer jobs: type: array - items: *370 + items: *367 examples: - default: &371 + default: &368 value: total_count: 1 jobs: @@ -52087,10 +51629,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: + - *323 - *324 - - *325 - - *365 - - *369 + - *362 + - *366 responses: '302': description: Response @@ -52118,9 +51660,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: + - *323 - *324 - - *325 - - *365 + - *362 responses: '202': description: Response @@ -52153,9 +51695,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: + - *323 - *324 - - *325 - - *365 + - *362 requestBody: required: true content: @@ -52222,9 +51764,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: + - *323 - *324 - - *325 - - *365 + - *362 responses: '202': description: Response @@ -52257,9 +51799,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: + - *323 - *324 - - *325 - - *365 + - *362 - 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 @@ -52289,9 +51831,9 @@ paths: type: integer jobs: type: array - items: *370 + items: *367 examples: - default: *371 + default: *368 headers: Link: *54 x-github: @@ -52316,9 +51858,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: + - *323 - *324 - - *325 - - *365 + - *362 responses: '302': description: Response @@ -52345,9 +51887,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: + - *323 - *324 - - *325 - - *365 + - *362 responses: '204': description: Response @@ -52374,9 +51916,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: + - *323 - *324 - - *325 - - *365 + - *362 responses: '200': description: Response @@ -52436,7 +51978,7 @@ paths: items: type: object properties: - type: &488 + type: &485 type: string description: The type of reviewer. enum: @@ -52521,9 +52063,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: + - *323 - *324 - - *325 - - *365 + - *362 requestBody: required: true content: @@ -52570,7 +52112,7 @@ paths: application/json: schema: type: array - items: &483 + items: &480 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -52676,7 +52218,7 @@ paths: - created_at - updated_at examples: - default: &484 + default: &481 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -52732,9 +52274,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: + - *323 - *324 - - *325 - - *365 + - *362 requestBody: required: false content: @@ -52778,9 +52320,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: + - *323 - *324 - - *325 - - *365 + - *362 requestBody: required: false content: @@ -52833,9 +52375,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: + - *323 - *324 - - *325 - - *365 + - *362 responses: '200': description: Response @@ -52972,8 +52514,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: + - *323 - *324 - - *325 - *17 - *19 responses: @@ -52991,9 +52533,9 @@ paths: type: integer secrets: type: array - items: *372 + items: *369 examples: - default: *373 + default: *370 headers: Link: *54 x-github: @@ -53018,16 +52560,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: + - *323 - *324 - - *325 responses: '200': description: Response content: application/json: - schema: *374 + schema: *371 examples: - default: *375 + default: *372 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53049,17 +52591,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: + - *323 - *324 - - *325 - *150 responses: '200': description: Response content: application/json: - schema: *372 + schema: *369 examples: - default: &501 + default: &498 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -53085,8 +52627,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: + - *323 - *324 - - *325 - *150 requestBody: required: true @@ -53144,8 +52686,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: + - *323 - *324 - - *325 - *150 responses: '204': @@ -53171,9 +52713,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: + - *323 - *324 - - *325 - - *343 + - *340 - *19 responses: '200': @@ -53190,9 +52732,9 @@ paths: type: integer variables: type: array - items: *376 + items: *373 examples: - default: *377 + default: *374 headers: Link: *54 x-github: @@ -53215,8 +52757,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -53268,17 +52810,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: + - *323 - *324 - - *325 - *153 responses: '200': description: Response content: application/json: - schema: *376 + schema: *373 examples: - default: &502 + default: &499 value: name: USERNAME value: octocat @@ -53304,8 +52846,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: + - *323 - *324 - - *325 - *153 requestBody: required: true @@ -53348,8 +52890,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: + - *323 - *324 - - *325 - *153 responses: '204': @@ -53375,8 +52917,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: + - *323 - *324 - - *325 - *17 - *19 responses: @@ -53394,7 +52936,7 @@ paths: type: integer workflows: type: array - items: &378 + items: &375 title: Workflow description: A GitHub Actions workflow type: object @@ -53501,9 +53043,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: + - *323 - *324 - - *325 - - &379 + - &376 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -53518,7 +53060,7 @@ paths: description: Response content: application/json: - schema: *378 + schema: *375 examples: default: value: @@ -53551,9 +53093,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: + - *323 - *324 - - *325 - - *379 + - *376 responses: '204': description: Response @@ -53578,9 +53120,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: + - *323 - *324 - - *325 - - *379 + - *376 responses: '204': description: Response @@ -53631,9 +53173,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: + - *323 - *324 - - *325 - - *379 + - *376 responses: '204': description: Response @@ -53660,19 +53202,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: + - *323 - *324 - - *325 + - *376 + - *377 + - *378 - *379 - *380 + - *17 + - *19 - *381 + - *360 - *382 - *383 - - *17 - - *19 - - *384 - - *363 - - *385 - - *386 responses: '200': description: Response @@ -53688,9 +53230,9 @@ paths: type: integer workflow_runs: type: array - items: *364 + items: *361 examples: - default: *387 + default: *384 headers: Link: *54 x-github: @@ -53722,9 +53264,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: + - *323 - *324 - - *325 - - *379 + - *376 responses: '200': description: Response @@ -53785,8 +53327,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: + - *323 - *324 - - *325 - *48 - *17 - *40 @@ -53950,8 +53492,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: + - *323 - *324 - - *325 - *17 - *19 responses: @@ -53988,8 +53530,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: + - *323 - *324 - - *325 - name: assignee in: path required: true @@ -54025,8 +53567,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -54138,8 +53680,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: + - *323 - *324 - - *325 - *17 - *40 - *41 @@ -54196,7 +53738,7 @@ paths: initiator: type: string examples: - default: *388 + default: *385 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54216,8 +53758,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: + - *323 - *324 - - *325 responses: '200': description: Response @@ -54225,7 +53767,7 @@ paths: application/json: schema: type: array - items: &389 + items: &386 title: Autolink reference description: An autolink reference. type: object @@ -54279,8 +53821,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -54319,9 +53861,9 @@ paths: description: response content: application/json: - schema: *389 + schema: *386 examples: - default: &390 + default: &387 value: id: 1 key_prefix: TICKET- @@ -54352,9 +53894,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: + - *323 - *324 - - *325 - - &391 + - &388 name: autolink_id description: The unique identifier of the autolink. in: path @@ -54366,9 +53908,9 @@ paths: description: Response content: application/json: - schema: *389 + schema: *386 examples: - default: *390 + default: *387 '404': *6 x-github: githubCloudOnly: false @@ -54388,9 +53930,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: + - *323 - *324 - - *325 - - *391 + - *388 responses: '204': description: Response @@ -54414,8 +53956,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: + - *323 - *324 - - *325 responses: '200': description: Response if Dependabot is enabled @@ -54463,8 +54005,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: + - *323 - *324 - - *325 responses: '204': description: Response @@ -54485,8 +54027,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: + - *323 - *324 - - *325 responses: '204': description: Response @@ -54506,8 +54048,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: + - *323 - *324 - - *325 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -54545,7 +54087,7 @@ paths: - url protected: type: boolean - protection: &393 + protection: &390 title: Branch Protection description: Branch Protection type: object @@ -54587,7 +54129,7 @@ paths: required: - contexts - checks - enforce_admins: &396 + enforce_admins: &393 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -54602,7 +54144,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &398 + required_pull_request_reviews: &395 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -54678,7 +54220,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &395 + restrictions: &392 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -54955,9 +54497,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: + - *323 - *324 - - *325 - - &394 + - &391 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). @@ -54971,14 +54513,14 @@ paths: description: Response content: application/json: - schema: &404 + schema: &401 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &457 + commit: &454 title: Commit description: Commit type: object @@ -55012,7 +54554,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &392 + properties: &389 name: type: string example: '"Chris Wanstrath"' @@ -55027,7 +54569,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *392 + properties: *389 nullable: true message: type: string @@ -55048,7 +54590,7 @@ paths: required: - sha - url - verification: &508 + verification: &505 title: Verification type: object properties: @@ -55118,7 +54660,7 @@ paths: type: integer files: type: array - items: &470 + items: &467 title: Diff Entry description: Diff Entry type: object @@ -55202,7 +54744,7 @@ paths: - self protected: type: boolean - protection: *393 + protection: *390 protection_url: type: string format: uri @@ -55309,7 +54851,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *333 + '301': *330 '404': *6 x-github: githubCloudOnly: false @@ -55331,15 +54873,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: + - *323 - *324 - - *325 - - *394 + - *391 responses: '200': description: Response content: application/json: - schema: *393 + schema: *390 examples: default: value: @@ -55533,9 +55075,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: + - *323 - *324 - - *325 - - *394 + - *391 requestBody: required: true content: @@ -55790,7 +55332,7 @@ paths: url: type: string format: uri - required_status_checks: &401 + required_status_checks: &398 title: Status Check Policy description: Status Check Policy type: object @@ -55942,7 +55484,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *395 + restrictions: *392 required_conversation_resolution: type: object properties: @@ -56054,9 +55596,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: + - *323 - *324 - - *325 - - *394 + - *391 responses: '204': description: Response @@ -56081,17 +55623,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: + - *323 - *324 - - *325 - - *394 + - *391 responses: '200': description: Response content: application/json: - schema: *396 + schema: *393 examples: - default: &397 + default: &394 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -56113,17 +55655,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: + - *323 - *324 - - *325 - - *394 + - *391 responses: '200': description: Response content: application/json: - schema: *396 + schema: *393 examples: - default: *397 + default: *394 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56142,9 +55684,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: + - *323 - *324 - - *325 - - *394 + - *391 responses: '204': description: Response @@ -56169,17 +55711,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: + - *323 - *324 - - *325 - - *394 + - *391 responses: '200': description: Response content: application/json: - schema: *398 + schema: *395 examples: - default: &399 + default: &396 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -56275,9 +55817,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: + - *323 - *324 - - *325 - - *394 + - *391 requestBody: required: false content: @@ -56375,9 +55917,9 @@ paths: description: Response content: application/json: - schema: *398 + schema: *395 examples: - default: *399 + default: *396 '422': *15 x-github: githubCloudOnly: false @@ -56398,9 +55940,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: + - *323 - *324 - - *325 - - *394 + - *391 responses: '204': description: Response @@ -56427,17 +55969,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: + - *323 - *324 - - *325 - - *394 + - *391 responses: '200': description: Response content: application/json: - schema: *396 + schema: *393 examples: - default: &400 + default: &397 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -56460,17 +56002,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: + - *323 - *324 - - *325 - - *394 + - *391 responses: '200': description: Response content: application/json: - schema: *396 + schema: *393 examples: - default: *400 + default: *397 '404': *6 x-github: githubCloudOnly: false @@ -56490,9 +56032,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: + - *323 - *324 - - *325 - - *394 + - *391 responses: '204': description: Response @@ -56517,17 +56059,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: + - *323 - *324 - - *325 - - *394 + - *391 responses: '200': description: Response content: application/json: - schema: *401 + schema: *398 examples: - default: &402 + default: &399 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -56553,9 +56095,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: + - *323 - *324 - - *325 - - *394 + - *391 requestBody: required: false content: @@ -56607,9 +56149,9 @@ paths: description: Response content: application/json: - schema: *401 + schema: *398 examples: - default: *402 + default: *399 '404': *6 '422': *15 x-github: @@ -56631,9 +56173,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: + - *323 - *324 - - *325 - - *394 + - *391 responses: '204': description: Response @@ -56657,9 +56199,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: + - *323 - *324 - - *325 - - *394 + - *391 responses: '200': description: Response @@ -56693,9 +56235,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: + - *323 - *324 - - *325 - - *394 + - *391 requestBody: required: false content: @@ -56762,9 +56304,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: + - *323 - *324 - - *325 - - *394 + - *391 requestBody: required: false content: @@ -56828,9 +56370,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: + - *323 - *324 - - *325 - - *394 + - *391 requestBody: content: application/json: @@ -56896,15 +56438,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: + - *323 - *324 - - *325 - - *394 + - *391 responses: '200': description: Response content: application/json: - schema: *395 + schema: *392 examples: default: value: @@ -56995,9 +56537,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: + - *323 - *324 - - *325 - - *394 + - *391 responses: '204': description: Response @@ -57020,9 +56562,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: + - *323 - *324 - - *325 - - *394 + - *391 responses: '200': description: Response @@ -57032,7 +56574,7 @@ paths: type: array items: *5 examples: - default: &403 + default: &400 value: - id: 1 slug: octoapp @@ -57089,9 +56631,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: + - *323 - *324 - - *325 - - *394 + - *391 requestBody: required: true content: @@ -57125,7 +56667,7 @@ paths: type: array items: *5 examples: - default: *403 + default: *400 '422': *15 x-github: githubCloudOnly: false @@ -57146,9 +56688,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: + - *323 - *324 - - *325 - - *394 + - *391 requestBody: required: true content: @@ -57182,7 +56724,7 @@ paths: type: array items: *5 examples: - default: *403 + default: *400 '422': *15 x-github: githubCloudOnly: false @@ -57203,9 +56745,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: + - *323 - *324 - - *325 - - *394 + - *391 requestBody: required: true content: @@ -57239,7 +56781,7 @@ paths: type: array items: *5 examples: - default: *403 + default: *400 '422': *15 x-github: githubCloudOnly: false @@ -57261,9 +56803,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: + - *323 - *324 - - *325 - - *394 + - *391 responses: '200': description: Response @@ -57293,9 +56835,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: + - *323 - *324 - - *325 - - *394 + - *391 requestBody: required: false content: @@ -57354,9 +56896,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: + - *323 - *324 - - *325 - - *394 + - *391 requestBody: required: false content: @@ -57415,9 +56957,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: + - *323 - *324 - - *325 - - *394 + - *391 requestBody: content: application/json: @@ -57476,9 +57018,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: + - *323 - *324 - - *325 - - *394 + - *391 responses: '200': description: Response @@ -57512,9 +57054,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: + - *323 - *324 - - *325 - - *394 + - *391 requestBody: required: true content: @@ -57572,9 +57114,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: + - *323 - *324 - - *325 - - *394 + - *391 requestBody: required: true content: @@ -57632,9 +57174,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: + - *323 - *324 - - *325 - - *394 + - *391 requestBody: required: true content: @@ -57694,9 +57236,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: + - *323 - *324 - - *325 - - *394 + - *391 requestBody: required: true content: @@ -57718,7 +57260,7 @@ paths: description: Response content: application/json: - schema: *404 + schema: *401 examples: default: value: @@ -57834,8 +57376,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -58114,7 +57656,7 @@ paths: description: Response content: application/json: - schema: &406 + schema: &403 title: CheckRun description: A check performed on the code of a given code change type: object @@ -58233,8 +57775,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *405 - deployment: &719 + items: *402 + deployment: &717 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -58514,9 +58056,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: + - *323 - *324 - - *325 - - &407 + - &404 name: check_run_id description: The unique identifier of the check run. in: path @@ -58528,9 +58070,9 @@ paths: description: Response content: application/json: - schema: *406 + schema: *403 examples: - default: &408 + default: &405 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -58630,9 +58172,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: + - *323 - *324 - - *325 - - *407 + - *404 requestBody: required: true content: @@ -58872,9 +58414,9 @@ paths: description: Response content: application/json: - schema: *406 + schema: *403 examples: - default: *408 + default: *405 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58894,9 +58436,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: + - *323 - *324 - - *325 - - *407 + - *404 - *17 - *19 responses: @@ -58991,9 +58533,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: + - *323 - *324 - - *325 - - *407 + - *404 responses: '201': description: Response @@ -59037,8 +58579,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -59060,7 +58602,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &411 + schema: &408 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -59124,7 +58666,7 @@ paths: nullable: true pull_requests: type: array - items: *405 + items: *402 nullable: true app: title: GitHub app @@ -59146,12 +58688,12 @@ paths: type: string format: date-time nullable: true - head_commit: &745 + head_commit: &743 title: Simple Commit description: A commit. type: object - properties: *409 - required: *410 + properties: *406 + required: *407 latest_check_runs_count: type: integer check_runs_url: @@ -59179,7 +58721,7 @@ paths: - check_runs_url - pull_requests examples: - default: &412 + default: &409 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -59470,9 +59012,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *411 + schema: *408 examples: - default: *412 + default: *409 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59491,8 +59033,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -59801,9 +59343,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: + - *323 - *324 - - *325 - - &413 + - &410 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -59815,9 +59357,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *408 examples: - default: *412 + default: *409 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59840,17 +59382,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: + - *323 - *324 - - *325 - - *413 - - &463 + - *410 + - &460 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &464 + - &461 name: status description: Returns check runs with the specified `status`. in: query @@ -59889,9 +59431,9 @@ paths: type: integer check_runs: type: array - items: *406 + items: *403 examples: - default: &465 + default: &462 value: total_count: 1 check_runs: @@ -59993,9 +59535,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: + - *323 - *324 - - *325 - - *413 + - *410 responses: '201': description: Response @@ -60028,21 +59570,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: + - *323 - *324 - - *325 - - *414 - - *415 + - *411 + - *412 - *19 - *17 - - &432 + - &429 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: *416 - - &433 + schema: *413 + - &430 name: pr description: The number of the pull request for the results you want to list. in: query @@ -60067,13 +59609,13 @@ paths: be returned. in: query required: false - schema: *417 + schema: *414 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *418 + schema: *415 responses: '200': description: Response @@ -60089,7 +59631,7 @@ paths: updated_at: *160 url: *161 html_url: *162 - instances_url: *419 + instances_url: *416 state: *167 fixed_at: *163 dismissed_by: @@ -60100,11 +59642,11 @@ paths: required: *21 nullable: true dismissed_at: *164 - dismissed_reason: *420 - dismissed_comment: *421 - rule: *422 - tool: *423 - most_recent_instance: *424 + dismissed_reason: *417 + dismissed_comment: *418 + rule: *419 + tool: *420 + most_recent_instance: *421 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -60230,7 +59772,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &425 + '403': &422 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -60257,9 +59799,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: + - *323 - *324 - - *325 - - &426 + - &423 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -60273,7 +59815,7 @@ paths: description: Response content: application/json: - schema: &427 + schema: &424 type: object properties: number: *158 @@ -60281,7 +59823,7 @@ paths: updated_at: *160 url: *161 html_url: *162 - instances_url: *419 + instances_url: *416 state: *167 fixed_at: *163 dismissed_by: @@ -60292,8 +59834,8 @@ paths: required: *21 nullable: true dismissed_at: *164 - dismissed_reason: *420 - dismissed_comment: *421 + dismissed_reason: *417 + dismissed_comment: *418 rule: type: object properties: @@ -60347,8 +59889,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *423 - most_recent_instance: *424 + tool: *420 + most_recent_instance: *421 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -60447,7 +59989,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *425 + '403': *422 '404': *6 '503': *104 x-github: @@ -60467,9 +60009,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: + - *323 - *324 - - *325 - - *426 + - *423 requestBody: required: true content: @@ -60484,8 +60026,8 @@ paths: enum: - open - dismissed - dismissed_reason: *420 - dismissed_comment: *421 + dismissed_reason: *417 + dismissed_comment: *418 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -60504,7 +60046,7 @@ paths: description: Response content: application/json: - schema: *427 + schema: *424 examples: default: value: @@ -60580,7 +60122,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &431 + '403': &428 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -60607,15 +60149,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: + - *323 - *324 - - *325 - - *426 + - *423 responses: '200': description: Response content: application/json: - schema: &428 + schema: &425 type: object properties: status: @@ -60641,13 +60183,13 @@ paths: - description - started_at examples: - default: &429 + default: &426 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &430 + '400': &427 description: Bad Request content: application/json: @@ -60658,7 +60200,7 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *425 + '403': *422 '404': *6 '503': *104 x-github: @@ -60683,29 +60225,29 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: + - *323 - *324 - - *325 - - *426 + - *423 responses: '200': description: OK content: application/json: - schema: *428 + schema: *425 examples: - default: *429 + default: *426 '202': description: Accepted content: application/json: - schema: *428 + schema: *425 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *430 + '400': *427 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -60737,9 +60279,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: + - *323 - *324 - - *325 - - *426 + - *423 requestBody: required: false content: @@ -60784,8 +60326,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *430 - '403': *431 + '400': *427 + '403': *428 '404': *6 '422': description: Unprocessable Entity @@ -60809,13 +60351,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: + - *323 - *324 - - *325 - - *426 + - *423 - *19 - *17 - - *432 - - *433 + - *429 + - *430 responses: '200': description: Response @@ -60823,7 +60365,7 @@ paths: application/json: schema: type: array - items: *424 + items: *421 examples: default: value: @@ -60862,7 +60404,7 @@ paths: end_column: 50 classifications: - source - '403': *425 + '403': *422 '404': *6 '503': *104 x-github: @@ -60896,25 +60438,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: + - *323 - *324 - - *325 - - *414 - - *415 + - *411 + - *412 - *19 - *17 - - *433 + - *430 - 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: *416 + schema: *413 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &436 + schema: &433 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -60935,23 +60477,23 @@ paths: application/json: schema: type: array - items: &437 + items: &434 type: object properties: - ref: *416 - commit_sha: &445 + ref: *413 + commit_sha: &442 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: *434 + analysis_key: *431 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *435 + category: *432 error: type: string example: error reading field xyz @@ -60975,8 +60517,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *436 - tool: *423 + sarif_id: *433 + tool: *420 deletable: type: boolean warning: @@ -61037,7 +60579,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *425 + '403': *422 '404': *6 '503': *104 x-github: @@ -61073,8 +60615,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: + - *323 - *324 - - *325 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -61087,7 +60629,7 @@ paths: description: Response content: application/json: - schema: *437 + schema: *434 examples: response: summary: application/json response @@ -61141,7 +60683,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *425 + '403': *422 '404': *6 '422': description: Response if analysis could not be processed @@ -61228,8 +60770,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: + - *323 - *324 - - *325 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -61282,7 +60824,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *431 + '403': *428 '404': *6 '503': *104 x-github: @@ -61304,8 +60846,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: + - *323 - *324 - - *325 responses: '200': description: Response @@ -61313,7 +60855,7 @@ paths: application/json: schema: type: array - items: &438 + items: &435 title: CodeQL Database description: A CodeQL database. type: object @@ -61424,7 +60966,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': *425 + '403': *422 '404': *6 '503': *104 x-github: @@ -61453,8 +60995,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: + - *323 - *324 - - *325 - name: language in: path description: The language of the CodeQL database. @@ -61466,7 +61008,7 @@ paths: description: Response content: application/json: - schema: *438 + schema: *435 examples: default: value: @@ -61498,9 +61040,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': &472 + '302': &469 description: Found - '403': *425 + '403': *422 '404': *6 '503': *104 x-github: @@ -61522,8 +61064,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: + - *323 - *324 - - *325 - name: language in: path description: The language of the CodeQL database. @@ -61533,7 +61075,7 @@ paths: responses: '204': description: Response - '403': *431 + '403': *428 '404': *6 '503': *104 x-github: @@ -61561,8 +61103,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -61571,7 +61113,7 @@ paths: type: object additionalProperties: false properties: - language: &439 + language: &436 type: string description: The language targeted by the CodeQL query enum: @@ -61650,7 +61192,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &443 + schema: &440 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -61660,7 +61202,7 @@ paths: description: The ID of the variant analysis. controller_repo: *53 actor: *4 - query_language: *439 + query_language: *436 query_pack_url: type: string description: The download url for the query pack. @@ -61707,7 +61249,7 @@ paths: items: type: object properties: - repository: &440 + repository: &437 title: Repository Identifier description: Repository Identifier type: object @@ -61743,7 +61285,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &444 + analysis_status: &441 type: string description: The new status of the CodeQL variant analysis repository task. @@ -61775,7 +61317,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &441 + access_mismatch_repos: &438 type: object properties: repository_count: @@ -61789,7 +61331,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: *440 + items: *437 required: - repository_count - repositories @@ -61811,8 +61353,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *441 - over_limit_repos: *441 + no_codeql_db_repos: *438 + over_limit_repos: *438 required: - access_mismatch_repos - not_found_repos @@ -61828,7 +61370,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &442 + value: &439 summary: Default response value: id: 1 @@ -61980,10 +61522,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *442 + value: *439 repository_lists: summary: Response for a successful variant analysis submission - value: *442 + value: *439 '404': *6 '422': description: Unable to process variant analysis submission @@ -62011,8 +61553,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: + - *323 - *324 - - *325 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -62024,9 +61566,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *440 examples: - default: *442 + default: *439 '404': *6 '503': *104 x-github: @@ -62049,7 +61591,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: - - *324 + - *323 - name: repo in: path description: The name of the controller repository. @@ -62084,7 +61626,7 @@ paths: type: object properties: repository: *53 - analysis_status: *444 + analysis_status: *441 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -62209,8 +61751,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: + - *323 - *324 - - *325 responses: '200': description: Response @@ -62295,7 +61837,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *425 + '403': *422 '404': *6 '503': *104 x-github: @@ -62316,8 +61858,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -62409,7 +61951,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *431 + '403': *428 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -62480,8 +62022,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -62489,7 +62031,7 @@ paths: schema: type: object properties: - commit_sha: *445 + commit_sha: *442 ref: type: string description: |- @@ -62547,7 +62089,7 @@ paths: schema: type: object properties: - id: *436 + id: *433 url: type: string description: The REST API URL for checking the status of the upload. @@ -62561,7 +62103,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': *431 + '403': *428 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -62584,8 +62126,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: + - *323 - *324 - - *325 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -62631,7 +62173,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': *425 + '403': *422 '404': description: Not Found if the sarif id does not match any upload '503': *104 @@ -62656,8 +62198,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: + - *323 - *324 - - *325 responses: '200': description: Response @@ -62738,8 +62280,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: + - *323 - *324 - - *325 - 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 @@ -62859,8 +62401,8 @@ paths: parameters: - *17 - *19 + - *323 - *324 - - *325 responses: '200': description: Response @@ -63174,8 +62716,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -63240,7 +62782,7 @@ paths: application/json: schema: *221 examples: - default: *446 + default: *443 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -63248,7 +62790,7 @@ paths: application/json: schema: *221 examples: - default: *446 + default: *443 '400': *14 '401': *25 '403': *29 @@ -63277,8 +62819,8 @@ paths: parameters: - *17 - *19 + - *323 - *324 - - *325 responses: '200': description: Response @@ -63342,8 +62884,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: + - *323 - *324 - - *325 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -63378,14 +62920,14 @@ paths: type: integer machines: type: array - items: &667 + items: &665 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *447 - required: *448 + properties: *444 + required: *445 examples: - default: &668 + default: &666 value: total_count: 2 machines: @@ -63425,8 +62967,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: + - *323 - *324 - - *325 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -63510,8 +63052,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: + - *323 - *324 - - *325 - 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 @@ -63577,8 +63119,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: + - *323 - *324 - - *325 - *17 - *19 responses: @@ -63596,7 +63138,7 @@ paths: type: integer secrets: type: array - items: &452 + items: &449 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -63616,7 +63158,7 @@ paths: - created_at - updated_at examples: - default: *449 + default: *446 headers: Link: *54 x-github: @@ -63639,16 +63181,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: + - *323 - *324 - - *325 responses: '200': description: Response content: application/json: - schema: *450 + schema: *447 examples: - default: *451 + default: *448 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -63668,17 +63210,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: + - *323 - *324 - - *325 - *150 responses: '200': description: Response content: application/json: - schema: *452 + schema: *449 examples: - default: *453 + default: *450 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63698,8 +63240,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: + - *323 - *324 - - *325 - *150 requestBody: required: true @@ -63752,8 +63294,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: + - *323 - *324 - - *325 - *150 responses: '204': @@ -63782,8 +63324,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: + - *323 - *324 - - *325 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -63825,7 +63367,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &454 + properties: &451 login: type: string example: octocat @@ -63918,7 +63460,7 @@ paths: user_view_type: type: string example: public - required: &455 + required: &452 - avatar_url - events_url - followers_url @@ -63992,8 +63534,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: + - *323 - *324 - - *325 - *59 responses: '204': @@ -64040,8 +63582,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: + - *323 - *324 - - *325 - *59 requestBody: required: false @@ -64068,7 +63610,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &521 + schema: &518 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -64297,8 +63839,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: + - *323 - *324 - - *325 - *59 responses: '204': @@ -64330,8 +63872,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: + - *323 - *324 - - *325 - *59 responses: '200': @@ -64352,8 +63894,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *454 - required: *455 + properties: *451 + required: *452 nullable: true required: - permission @@ -64408,8 +63950,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: + - *323 - *324 - - *325 - *17 - *19 responses: @@ -64419,7 +63961,7 @@ paths: application/json: schema: type: array - items: &456 + items: &453 title: Commit Comment description: Commit Comment type: object @@ -64477,7 +64019,7 @@ paths: - created_at - updated_at examples: - default: &459 + default: &456 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -64536,17 +64078,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: + - *323 - *324 - - *325 - *81 responses: '200': description: Response content: application/json: - schema: *456 + schema: *453 examples: - default: &460 + default: &457 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -64603,8 +64145,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: + - *323 - *324 - - *325 - *81 requestBody: required: true @@ -64627,7 +64169,7 @@ paths: description: Response content: application/json: - schema: *456 + schema: *453 examples: default: value: @@ -64678,8 +64220,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: + - *323 - *324 - - *325 - *81 responses: '204': @@ -64701,8 +64243,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: + - *323 - *324 - - *325 - *81 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -64729,9 +64271,9 @@ paths: application/json: schema: type: array - items: *317 + items: *316 examples: - default: *319 + default: *318 headers: Link: *54 '404': *6 @@ -64752,8 +64294,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: + - *323 - *324 - - *325 - *81 requestBody: required: true @@ -64786,16 +64328,16 @@ paths: description: Reaction exists content: application/json: - schema: *317 + schema: *316 examples: - default: *318 + default: *317 '201': description: Reaction created content: application/json: - schema: *317 + schema: *316 examples: - default: *318 + default: *317 '422': *15 x-github: githubCloudOnly: false @@ -64817,10 +64359,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: + - *323 - *324 - - *325 - *81 - - *320 + - *319 responses: '204': description: Response @@ -64869,8 +64411,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: + - *323 - *324 - - *325 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -64926,9 +64468,9 @@ paths: application/json: schema: type: array - items: *457 + items: *454 examples: - default: &573 + default: &571 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -65022,9 +64564,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: + - *323 - *324 - - *325 - - &458 + - &455 name: commit_sha description: The SHA of the commit. in: path @@ -65096,9 +64638,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: + - *323 - *324 - - *325 - - *458 + - *455 - *17 - *19 responses: @@ -65108,9 +64650,9 @@ paths: application/json: schema: type: array - items: *456 + items: *453 examples: - default: *459 + default: *456 headers: Link: *54 x-github: @@ -65138,9 +64680,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: + - *323 - *324 - - *325 - - *458 + - *455 requestBody: required: true content: @@ -65175,9 +64717,9 @@ paths: description: Response content: application/json: - schema: *456 + schema: *453 examples: - default: *460 + default: *457 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -65205,9 +64747,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: + - *323 - *324 - - *325 - - *458 + - *455 - *17 - *19 responses: @@ -65217,9 +64759,9 @@ paths: application/json: schema: type: array - items: *461 + items: *458 examples: - default: &565 + default: &563 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -65756,11 +65298,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: + - *323 - *324 - - *325 - *19 - *17 - - &462 + - &459 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)" @@ -65775,9 +65317,9 @@ paths: description: Response content: application/json: - schema: *457 + schema: *454 examples: - default: &550 + default: &548 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -65890,11 +65432,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: + - *323 - *324 - - *325 - - *462 - - *463 - - *464 + - *459 + - *460 + - *461 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -65928,9 +65470,9 @@ paths: type: integer check_runs: type: array - items: *406 + items: *403 examples: - default: *465 + default: *462 headers: Link: *54 x-github: @@ -65955,9 +65497,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: + - *323 - *324 - - *325 - - *462 + - *459 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -65965,7 +65507,7 @@ paths: schema: type: integer example: 1 - - *463 + - *460 - *17 - *19 responses: @@ -65983,7 +65525,7 @@ paths: type: integer check_suites: type: array - items: *411 + items: *408 examples: default: value: @@ -66183,9 +65725,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: + - *323 - *324 - - *325 - - *462 + - *459 - *17 - *19 responses: @@ -66383,9 +65925,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: + - *323 - *324 - - *325 - - *462 + - *459 - *17 - *19 responses: @@ -66395,7 +65937,7 @@ paths: application/json: schema: type: array - items: &638 + items: &636 title: Status description: The status of a commit. type: object @@ -66476,7 +66018,7 @@ paths: site_admin: false headers: Link: *54 - '301': *333 + '301': *330 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66504,8 +66046,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: + - *323 - *324 - - *325 responses: '200': description: Response @@ -66534,20 +66076,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *466 - required: *467 + properties: *463 + required: *464 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &468 + properties: &465 url: type: string format: uri html_url: type: string format: uri - required: &469 + required: &466 - url - html_url nullable: true @@ -66561,26 +66103,26 @@ paths: contributing: title: Community Health File type: object - properties: *468 - required: *469 + properties: *465 + required: *466 nullable: true readme: title: Community Health File type: object - properties: *468 - required: *469 + properties: *465 + required: *466 nullable: true issue_template: title: Community Health File type: object - properties: *468 - required: *469 + properties: *465 + required: *466 nullable: true pull_request_template: title: Community Health File type: object - properties: *468 - required: *469 + properties: *465 + required: *466 nullable: true required: - code_of_conduct @@ -66707,8 +66249,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: + - *323 - *324 - - *325 - *19 - *17 - name: basehead @@ -66751,8 +66293,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *457 - merge_base_commit: *457 + base_commit: *454 + merge_base_commit: *454 status: type: string enum: @@ -66772,10 +66314,10 @@ paths: example: 6 commits: type: array - items: *457 + items: *454 files: type: array - items: *470 + items: *467 required: - url - html_url @@ -67061,8 +66603,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: + - *323 - *324 - - *325 - name: path description: path parameter in: path @@ -67205,7 +66747,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &471 + response-if-content-is-a-file: &468 summary: Response if content is a file value: type: file @@ -67337,7 +66879,7 @@ paths: - size - type - url - - &578 + - &576 title: Content File description: Content File type: object @@ -67538,7 +67080,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *471 + response-if-content-is-a-file: *468 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -67607,7 +67149,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *472 + '302': *469 '304': *37 x-github: githubCloudOnly: false @@ -67630,8 +67172,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: + - *323 - *324 - - *325 - name: path description: path parameter in: path @@ -67724,7 +67266,7 @@ paths: description: Response content: application/json: - schema: &473 + schema: &470 title: File Commit description: File Commit type: object @@ -67876,7 +67418,7 @@ paths: description: Response content: application/json: - schema: *473 + schema: *470 examples: example-for-creating-a-file: value: @@ -67930,7 +67472,7 @@ paths: schema: oneOf: - *3 - - &503 + - &500 description: Repository rule violation was detected type: object properties: @@ -67951,7 +67493,7 @@ paths: items: type: object properties: - placeholder_id: &630 + placeholder_id: &628 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -67983,8 +67525,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: + - *323 - *324 - - *325 - name: path description: path parameter in: path @@ -68045,7 +67587,7 @@ paths: description: Response content: application/json: - schema: *473 + schema: *470 examples: default: value: @@ -68100,8 +67642,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: + - *323 - *324 - - *325 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -68224,8 +67766,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: + - *323 - *324 - - *325 - *179 - *180 - *181 @@ -68237,7 +67779,7 @@ paths: schema: type: string - *183 - - *474 + - *471 - *184 - *185 - *48 @@ -68258,7 +67800,7 @@ paths: application/json: schema: type: array - items: &477 + items: &474 type: object description: A Dependabot alert. properties: @@ -68304,7 +67846,7 @@ paths: - unknown - direct - transitive - security_advisory: *475 + security_advisory: *472 security_vulnerability: *52 url: *161 html_url: *162 @@ -68335,7 +67877,7 @@ paths: nullable: true maxLength: 280 fixed_at: *163 - auto_dismissed_at: *476 + auto_dismissed_at: *473 required: - number - state @@ -68565,9 +68107,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: + - *323 - *324 - - *325 - - &478 + - &475 name: alert_number in: path description: |- @@ -68582,7 +68124,7 @@ paths: description: Response content: application/json: - schema: *477 + schema: *474 examples: default: value: @@ -68695,9 +68237,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: + - *323 - *324 - - *325 - - *478 + - *475 requestBody: required: true content: @@ -68742,7 +68284,7 @@ paths: description: Response content: application/json: - schema: *477 + schema: *474 examples: default: value: @@ -68871,8 +68413,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: + - *323 - *324 - - *325 - *17 - *19 responses: @@ -68890,7 +68432,7 @@ paths: type: integer secrets: type: array - items: &481 + items: &478 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -68943,16 +68485,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: + - *323 - *324 - - *325 responses: '200': description: Response content: application/json: - schema: *479 + schema: *476 examples: - default: *480 + default: *477 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68972,15 +68514,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: + - *323 - *324 - - *325 - *150 responses: '200': description: Response content: application/json: - schema: *481 + schema: *478 examples: default: value: @@ -69006,8 +68548,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: + - *323 - *324 - - *325 - *150 requestBody: required: true @@ -69060,8 +68602,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: + - *323 - *324 - - *325 - *150 responses: '204': @@ -69084,8 +68626,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: + - *323 - *324 - - *325 - 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 @@ -69245,8 +68787,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: + - *323 - *324 - - *325 responses: '200': description: Response @@ -69485,8 +69027,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: + - *323 - *324 - - *325 requestBody: required: true content: @@ -69561,7 +69103,7 @@ paths: - version - url additionalProperties: false - metadata: &482 + metadata: &479 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -69594,7 +69136,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *482 + metadata: *479 resolved: type: object description: A collection of resolved package dependencies. @@ -69607,7 +69149,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *482 + metadata: *479 relationship: type: string description: A notation of whether a dependency is requested @@ -69736,8 +69278,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: + - *323 - *324 - - *325 - name: sha description: The SHA recorded at creation time. in: query @@ -69777,9 +69319,9 @@ paths: application/json: schema: type: array - items: *483 + items: *480 examples: - default: *484 + default: *481 headers: Link: *54 x-github: @@ -69845,8 +69387,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -69927,7 +69469,7 @@ paths: description: Response content: application/json: - schema: *483 + schema: *480 examples: simple-example: summary: Simple example @@ -70000,9 +69542,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: + - *323 - *324 - - *325 - - &485 + - &482 name: deployment_id description: deployment_id parameter in: path @@ -70014,7 +69556,7 @@ paths: description: Response content: application/json: - schema: *483 + schema: *480 examples: default: value: @@ -70079,9 +69621,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: + - *323 - *324 - - *325 - - *485 + - *482 responses: '204': description: Response @@ -70103,9 +69645,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: + - *323 - *324 - - *325 - - *485 + - *482 - *17 - *19 responses: @@ -70115,7 +69657,7 @@ paths: application/json: schema: type: array - items: &486 + items: &483 title: Deployment Status description: The status of a deployment. type: object @@ -70276,9 +69818,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: + - *323 - *324 - - *325 - - *485 + - *482 requestBody: required: true content: @@ -70353,9 +69895,9 @@ paths: description: Response content: application/json: - schema: *486 + schema: *483 examples: - default: &487 + default: &484 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -70411,9 +69953,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: + - *323 - *324 - - *325 - - *485 + - *482 - name: status_id in: path required: true @@ -70424,9 +69966,9 @@ paths: description: Response content: application/json: - schema: *486 + schema: *483 examples: - default: *487 + default: *484 '404': *6 x-github: githubCloudOnly: false @@ -70451,8 +69993,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -70509,8 +70051,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: + - *323 - *324 - - *325 - *17 - *19 responses: @@ -70527,7 +70069,7 @@ paths: type: integer environments: type: array - items: &489 + items: &486 title: Environment description: Details of a deployment environment type: object @@ -70579,7 +70121,7 @@ paths: type: type: string example: wait_timer - wait_timer: &491 + wait_timer: &488 type: integer example: 30 description: The amount of time to delay a job after @@ -70616,7 +70158,7 @@ paths: items: type: object properties: - type: *488 + type: *485 reviewer: anyOf: - *4 @@ -70640,7 +70182,7 @@ paths: - id - node_id - type - deployment_branch_policy: &492 + deployment_branch_policy: &489 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -70756,9 +70298,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: + - *323 - *324 - - *325 - - &490 + - &487 name: environment_name in: path required: true @@ -70771,9 +70313,9 @@ paths: description: Response content: application/json: - schema: *489 + schema: *486 examples: - default: &493 + default: &490 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -70857,9 +70399,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: + - *323 - *324 - - *325 - - *490 + - *487 requestBody: required: false content: @@ -70868,7 +70410,7 @@ paths: type: object nullable: true properties: - wait_timer: *491 + wait_timer: *488 prevent_self_review: type: boolean example: false @@ -70885,13 +70427,13 @@ paths: items: type: object properties: - type: *488 + type: *485 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *492 + deployment_branch_policy: *489 additionalProperties: false examples: default: @@ -70911,9 +70453,9 @@ paths: description: Response content: application/json: - schema: *489 + schema: *486 examples: - default: *493 + default: *490 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -70937,9 +70479,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: + - *323 - *324 - - *325 - - *490 + - *487 responses: '204': description: Default response @@ -70964,9 +70506,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: + - *323 - *324 - - *325 - - *490 + - *487 - *17 - *19 responses: @@ -70984,7 +70526,7 @@ paths: example: 2 branch_policies: type: array - items: &494 + items: &491 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -71041,9 +70583,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: + - *323 - *324 - - *325 - - *490 + - *487 requestBody: required: true content: @@ -71089,9 +70631,9 @@ paths: description: Response content: application/json: - schema: *494 + schema: *491 examples: - example-wildcard: &495 + example-wildcard: &492 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -71133,10 +70675,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: + - *323 - *324 - - *325 - - *490 - - &496 + - *487 + - &493 name: branch_policy_id in: path required: true @@ -71148,9 +70690,9 @@ paths: description: Response content: application/json: - schema: *494 + schema: *491 examples: - default: *495 + default: *492 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71169,10 +70711,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: + - *323 - *324 - - *325 - - *490 - - *496 + - *487 + - *493 requestBody: required: true content: @@ -71200,9 +70742,9 @@ paths: description: Response content: application/json: - schema: *494 + schema: *491 examples: - default: *495 + default: *492 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71221,10 +70763,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: + - *323 - *324 - - *325 - - *490 - - *496 + - *487 + - *493 responses: '204': description: Response @@ -71249,9 +70791,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *490 - - *325 + - *487 - *324 + - *323 responses: '200': description: List of deployment protection rules @@ -71267,7 +70809,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &497 + items: &494 title: Deployment protection rule description: Deployment protection rule type: object @@ -71286,7 +70828,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &498 + app: &495 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -71385,9 +70927,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: - - *490 - - *325 + - *487 - *324 + - *323 requestBody: content: application/json: @@ -71408,9 +70950,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *497 + schema: *494 examples: - default: &499 + default: &496 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -71445,9 +70987,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: - - *490 - - *325 + - *487 - *324 + - *323 - *19 - *17 responses: @@ -71466,7 +71008,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *498 + items: *495 examples: default: value: @@ -71501,10 +71043,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: + - *323 - *324 - - *325 - - *490 - - &500 + - *487 + - &497 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -71516,9 +71058,9 @@ paths: description: Response content: application/json: - schema: *497 + schema: *494 examples: - default: *499 + default: *496 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71539,10 +71081,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *490 - - *325 + - *487 - *324 - - *500 + - *323 + - *497 responses: '204': description: Response @@ -71568,9 +71110,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: + - *323 - *324 - - *325 - - *490 + - *487 - *17 - *19 responses: @@ -71588,9 +71130,9 @@ paths: type: integer secrets: type: array - items: *372 + items: *369 examples: - default: *373 + default: *370 headers: Link: *54 x-github: @@ -71615,17 +71157,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: + - *323 - *324 - - *325 - - *490 + - *487 responses: '200': description: Response content: application/json: - schema: *374 + schema: *371 examples: - default: *375 + default: *372 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71647,18 +71189,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: + - *323 - *324 - - *325 - - *490 + - *487 - *150 responses: '200': description: Response content: application/json: - schema: *372 + schema: *369 examples: - default: *501 + default: *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71680,9 +71222,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: + - *323 - *324 - - *325 - - *490 + - *487 - *150 requestBody: required: true @@ -71740,9 +71282,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: + - *323 - *324 - - *325 - - *490 + - *487 - *150 responses: '204': @@ -71768,10 +71310,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: + - *323 - *324 - - *325 - - *490 - - *343 + - *487 + - *340 - *19 responses: '200': @@ -71788,9 +71330,9 @@ paths: type: integer variables: type: array - items: *376 + items: *373 examples: - default: *377 + default: *374 headers: Link: *54 x-github: @@ -71813,9 +71355,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: + - *323 - *324 - - *325 - - *490 + - *487 requestBody: required: true content: @@ -71867,18 +71409,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: + - *323 - *324 - - *325 - - *490 + - *487 - *153 responses: '200': description: Response content: application/json: - schema: *376 + schema: *373 examples: - default: *502 + default: *499 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71899,10 +71441,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: + - *323 - *324 - - *325 - *153 - - *490 + - *487 requestBody: required: true content: @@ -71944,10 +71486,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: + - *323 - *324 - - *325 - *153 - - *490 + - *487 responses: '204': description: Response @@ -71969,8 +71511,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: + - *323 - *324 - - *325 - *17 - *19 responses: @@ -72038,8 +71580,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: + - *323 - *324 - - *325 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -72198,8 +71740,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: + - *323 - *324 - - *325 requestBody: required: false content: @@ -72231,9 +71773,9 @@ paths: description: Response content: application/json: - schema: *332 + schema: *329 examples: - default: *334 + default: *331 '400': *14 '422': *15 '403': *29 @@ -72254,8 +71796,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -72315,7 +71857,7 @@ paths: schema: oneOf: - *111 - - *503 + - *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72340,8 +71882,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: + - *323 - *324 - - *325 - name: file_sha in: path required: true @@ -72440,8 +71982,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -72550,7 +72092,7 @@ paths: description: Response content: application/json: - schema: &504 + schema: &501 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -72764,15 +72306,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: + - *323 - *324 - - *325 - - *458 + - *455 responses: '200': description: Response content: application/json: - schema: *504 + schema: *501 examples: default: value: @@ -72828,9 +72370,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: + - *323 - *324 - - *325 - - &505 + - &502 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. @@ -72847,7 +72389,7 @@ paths: application/json: schema: type: array - items: &506 + items: &503 title: Git Reference description: Git references within a repository type: object @@ -72922,17 +72464,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: + - *323 - *324 - - *325 - - *505 + - *502 responses: '200': description: Response content: application/json: - schema: *506 + schema: *503 examples: - default: &507 + default: &504 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -72961,8 +72503,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -72991,9 +72533,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *503 examples: - default: *507 + default: *504 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -73019,9 +72561,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: + - *323 - *324 - - *325 - - *505 + - *502 requestBody: required: true content: @@ -73050,9 +72592,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *503 examples: - default: *507 + default: *504 '422': *15 '409': *47 x-github: @@ -73070,9 +72612,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: + - *323 - *324 - - *325 - - *505 + - *502 responses: '204': description: Response @@ -73127,8 +72669,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -73195,7 +72737,7 @@ paths: description: Response content: application/json: - schema: &509 + schema: &506 title: Git Tag description: Metadata for a Git tag type: object @@ -73246,7 +72788,7 @@ paths: - sha - type - url - verification: *508 + verification: *505 required: - sha - url @@ -73256,7 +72798,7 @@ paths: - tag - message examples: - default: &510 + default: &507 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -73329,8 +72871,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: + - *323 - *324 - - *325 - name: tag_sha in: path required: true @@ -73341,9 +72883,9 @@ paths: description: Response content: application/json: - schema: *509 + schema: *506 examples: - default: *510 + default: *507 '404': *6 '409': *47 x-github: @@ -73367,8 +72909,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -73441,7 +72983,7 @@ paths: description: Response content: application/json: - schema: &511 + schema: &508 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -73537,8 +73079,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: + - *323 - *324 - - *325 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -73561,7 +73103,7 @@ paths: description: Response content: application/json: - schema: *511 + schema: *508 examples: default-response: summary: Default response @@ -73620,8 +73162,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: + - *323 - *324 - - *325 - *17 - *19 responses: @@ -73631,7 +73173,7 @@ paths: application/json: schema: type: array - items: &512 + items: &509 title: Webhook description: Webhooks for repositories. type: object @@ -73685,7 +73227,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &753 + last_response: &751 title: Hook Response type: object properties: @@ -73759,8 +73301,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: + - *323 - *324 - - *325 requestBody: required: false content: @@ -73812,9 +73354,9 @@ paths: description: Response content: application/json: - schema: *512 + schema: *509 examples: - default: &513 + default: &510 value: type: Repository id: 12345678 @@ -73862,17 +73404,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: + - *323 - *324 - - *325 - *193 responses: '200': description: Response content: application/json: - schema: *512 + schema: *509 examples: - default: *513 + default: *510 '404': *6 x-github: githubCloudOnly: false @@ -73892,8 +73434,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: + - *323 - *324 - - *325 - *193 requestBody: required: true @@ -73939,9 +73481,9 @@ paths: description: Response content: application/json: - schema: *512 + schema: *509 examples: - default: *513 + default: *510 '422': *15 '404': *6 x-github: @@ -73962,8 +73504,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: + - *323 - *324 - - *325 - *193 responses: '204': @@ -73988,8 +73530,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: + - *323 - *324 - - *325 - *193 responses: '200': @@ -74017,8 +73559,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: + - *323 - *324 - - *325 - *193 requestBody: required: false @@ -74063,8 +73605,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: + - *323 - *324 - - *325 - *193 - *17 - *194 @@ -74096,8 +73638,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: + - *323 - *324 - - *325 - *193 - *16 responses: @@ -74126,8 +73668,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: + - *323 - *324 - - *325 - *193 - *16 responses: @@ -74151,8 +73693,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: + - *323 - *324 - - *325 - *193 responses: '204': @@ -74178,8 +73720,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: + - *323 - *324 - - *325 - *193 responses: '204': @@ -74203,8 +73745,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: + - *323 - *324 - - *325 responses: '200': description: Response if immutable releases are enabled @@ -74250,8 +73792,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: + - *323 - *324 - - *325 responses: '204': *172 '409': *47 @@ -74271,8 +73813,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: + - *323 - *324 - - *325 responses: '204': *172 '409': *47 @@ -74329,14 +73871,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: + - *323 - *324 - - *325 responses: '200': description: Response content: application/json: - schema: &514 + schema: &511 title: Import description: A repository import from an external source. type: object @@ -74435,7 +73977,7 @@ paths: - html_url - authors_url examples: - default: &517 + default: &514 value: vcs: subversion use_lfs: true @@ -74451,7 +73993,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &515 + '503': &512 description: Unavailable due to service under maintenance. content: application/json: @@ -74480,8 +74022,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -74529,7 +74071,7 @@ paths: description: Response content: application/json: - schema: *514 + schema: *511 examples: default: value: @@ -74554,7 +74096,7 @@ paths: type: string '422': *15 '404': *6 - '503': *515 + '503': *512 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74582,8 +74124,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: + - *323 - *324 - - *325 requestBody: required: false content: @@ -74632,7 +74174,7 @@ paths: description: Response content: application/json: - schema: *514 + schema: *511 examples: example-1: summary: Example 1 @@ -74680,7 +74222,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': *515 + '503': *512 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74703,12 +74245,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: + - *323 - *324 - - *325 responses: '204': description: Response - '503': *515 + '503': *512 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74734,9 +74276,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: + - *323 - *324 - - *325 - - &689 + - &687 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -74750,7 +74292,7 @@ paths: application/json: schema: type: array - items: &516 + items: &513 title: Porter Author description: Porter Author type: object @@ -74804,7 +74346,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *515 + '503': *512 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74829,8 +74371,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: + - *323 - *324 - - *325 - name: author_id in: path required: true @@ -74860,7 +74402,7 @@ paths: description: Response content: application/json: - schema: *516 + schema: *513 examples: default: value: @@ -74873,7 +74415,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *515 + '503': *512 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74897,8 +74439,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: + - *323 - *324 - - *325 responses: '200': description: Response @@ -74939,7 +74481,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *515 + '503': *512 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74967,8 +74509,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -74995,11 +74537,11 @@ paths: description: Response content: application/json: - schema: *514 + schema: *511 examples: - default: *517 + default: *514 '422': *15 - '503': *515 + '503': *512 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75022,8 +74564,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: + - *323 - *324 - - *325 responses: '200': description: Response @@ -75031,8 +74573,8 @@ paths: application/json: schema: *22 examples: - default: *518 - '301': *333 + default: *515 + '301': *330 '404': *6 x-github: githubCloudOnly: false @@ -75052,8 +74594,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: + - *323 - *324 - - *325 responses: '200': description: Response @@ -75066,7 +74608,7 @@ paths: properties: {} additionalProperties: false examples: - default: &520 + default: &517 value: limit: collaborators_only origin: repository @@ -75091,13 +74633,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: + - *323 - *324 - - *325 requestBody: required: true content: application/json: - schema: *519 + schema: *516 examples: default: summary: Example request body @@ -75111,7 +74653,7 @@ paths: application/json: schema: *211 examples: - default: *520 + default: *517 '409': description: Response x-github: @@ -75133,8 +74675,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: + - *323 - *324 - - *325 responses: '204': description: Response @@ -75157,8 +74699,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: + - *323 - *324 - - *325 - *17 - *19 responses: @@ -75168,9 +74710,9 @@ paths: application/json: schema: type: array - items: *521 + items: *518 examples: - default: &682 + default: &680 value: - id: 1 repository: @@ -75301,8 +74843,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: + - *323 - *324 - - *325 - *215 requestBody: required: false @@ -75332,7 +74874,7 @@ paths: description: Response content: application/json: - schema: *521 + schema: *518 examples: default: value: @@ -75463,8 +75005,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: + - *323 - *324 - - *325 - *215 responses: '204': @@ -75496,8 +75038,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: + - *323 - *324 - - *325 - 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 @@ -75570,7 +75112,7 @@ paths: type: array items: *82 examples: - default: &530 + default: &528 value: - id: 1 node_id: MDU6SXNzdWUx @@ -75718,7 +75260,7 @@ paths: state_reason: completed headers: Link: *54 - '301': *333 + '301': *330 '422': *15 '404': *6 x-github: @@ -75747,8 +75289,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -75832,7 +75374,7 @@ paths: application/json: schema: *82 examples: - default: &527 + default: &525 value: id: 1 node_id: MDU6SXNzdWUx @@ -75988,7 +75530,7 @@ paths: '422': *15 '503': *104 '404': *6 - '410': *330 + '410': *519 x-github: triggersNotification: true githubCloudOnly: false @@ -76016,8 +75558,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: + - *323 - *324 - - *325 - *92 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -76038,9 +75580,9 @@ paths: application/json: schema: type: array - items: *522 + items: *520 examples: - default: &529 + default: &527 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -76098,17 +75640,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: + - *323 - *324 - - *325 - *81 responses: '200': description: Response content: application/json: - schema: *522 + schema: *520 examples: - default: &523 + default: &521 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -76162,8 +75704,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: + - *323 - *324 - - *325 - *81 requestBody: required: true @@ -76186,9 +75728,9 @@ paths: description: Response content: application/json: - schema: *522 + schema: *520 examples: - default: *523 + default: *521 '422': *15 x-github: githubCloudOnly: false @@ -76206,8 +75748,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: + - *323 - *324 - - *325 - *81 responses: '204': @@ -76228,8 +75770,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: + - *323 - *324 - - *325 - *81 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -76256,9 +75798,9 @@ paths: application/json: schema: type: array - items: *317 + items: *316 examples: - default: *319 + default: *318 headers: Link: *54 '404': *6 @@ -76279,8 +75821,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: + - *323 - *324 - - *325 - *81 requestBody: required: true @@ -76313,16 +75855,16 @@ paths: description: Reaction exists content: application/json: - schema: *317 + schema: *316 examples: - default: *318 + default: *317 '201': description: Reaction created content: application/json: - schema: *317 + schema: *316 examples: - default: *318 + default: *317 '422': *15 x-github: githubCloudOnly: false @@ -76344,10 +75886,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: + - *323 - *324 - - *325 - *81 - - *320 + - *319 responses: '204': description: Response @@ -76367,8 +75909,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: + - *323 - *324 - - *325 - *17 - *19 responses: @@ -76378,7 +75920,7 @@ paths: application/json: schema: type: array - items: &526 + items: &524 title: Issue Event description: Issue Event type: object @@ -76421,8 +75963,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *524 - required: *525 + properties: *522 + required: *523 nullable: true label: title: Issue Event Label @@ -76729,8 +76271,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: + - *323 - *324 - - *325 - name: event_id in: path required: true @@ -76741,7 +76283,7 @@ paths: description: Response content: application/json: - schema: *526 + schema: *524 examples: default: value: @@ -76934,7 +76476,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *330 + '410': *519 '403': *29 x-github: githubCloudOnly: false @@ -76968,9 +76510,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: + - *323 - *324 - - *325 - - &528 + - &526 name: issue_number description: The number that identifies the issue. in: path @@ -76984,10 +76526,10 @@ paths: application/json: schema: *82 examples: - default: *527 - '301': *333 + default: *525 + '301': *330 '404': *6 - '410': *330 + '410': *519 '304': *37 x-github: githubCloudOnly: false @@ -77012,9 +76554,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: + - *323 - *324 - - *325 - - *528 + - *526 requestBody: required: false content: @@ -77120,13 +76662,13 @@ paths: application/json: schema: *82 examples: - default: *527 + default: *525 '422': *15 '503': *104 '403': *29 - '301': *333 + '301': *330 '404': *6 - '410': *330 + '410': *519 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77144,9 +76686,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: + - *323 - *324 - - *325 - - *528 + - *526 requestBody: required: false content: @@ -77174,7 +76716,7 @@ paths: application/json: schema: *82 examples: - default: *527 + default: *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77190,9 +76732,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: + - *323 - *324 - - *325 - - *528 + - *526 requestBody: content: application/json: @@ -77219,7 +76761,7 @@ paths: application/json: schema: *82 examples: - default: *527 + default: *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77241,9 +76783,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: + - *323 - *324 - - *325 - - *528 + - *526 - name: assignee in: path required: true @@ -77283,9 +76825,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: + - *323 - *324 - - *325 - - *528 + - *526 - *72 - *17 - *19 @@ -77296,13 +76838,13 @@ paths: application/json: schema: type: array - items: *522 + items: *520 examples: - default: *529 + default: *527 headers: Link: *54 '404': *6 - '410': *330 + '410': *519 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77331,9 +76873,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: + - *323 - *324 - - *325 - - *528 + - *526 requestBody: required: true content: @@ -77355,16 +76897,16 @@ paths: description: Response content: application/json: - schema: *522 + schema: *520 examples: - default: *523 + default: *521 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *330 + '410': *519 '422': *15 '404': *6 x-github: @@ -77392,9 +76934,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: + - *323 - *324 - - *325 - - *528 + - *526 - *17 - *19 responses: @@ -77406,12 +76948,12 @@ paths: type: array items: *82 examples: - default: *530 + default: *528 headers: Link: *54 - '301': *333 + '301': *330 '404': *6 - '410': *330 + '410': *519 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77439,9 +76981,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: + - *323 - *324 - - *325 - - *528 + - *526 requestBody: required: true content: @@ -77465,15 +77007,15 @@ paths: application/json: schema: *82 examples: - default: *527 + default: *525 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *333 + '301': *330 '403': *29 - '410': *330 + '410': *519 '422': *15 '404': *6 x-github: @@ -77504,9 +77046,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: + - *323 - *324 - - *325 - - *528 + - *526 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -77520,13 +77062,13 @@ paths: application/json: schema: *82 examples: - default: *527 - '301': *333 + default: *525 + '301': *330 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *330 + '410': *519 x-github: triggersNotification: true githubCloudOnly: false @@ -77552,9 +77094,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: + - *323 - *324 - - *325 - - *528 + - *526 - *17 - *19 responses: @@ -77566,12 +77108,12 @@ paths: type: array items: *82 examples: - default: *530 + default: *528 headers: Link: *54 - '301': *333 + '301': *330 '404': *6 - '410': *330 + '410': *519 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77588,9 +77130,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: + - *323 - *324 - - *325 - - *528 + - *526 - *17 - *19 responses: @@ -77604,7 +77146,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &533 + - &531 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -77658,7 +77200,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &534 + - &532 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -77794,7 +77336,7 @@ paths: - performed_via_github_app - assignee - assigner - - &535 + - &533 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -77845,7 +77387,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &536 + - &534 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -77896,7 +77438,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &537 + - &535 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -77950,7 +77492,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &538 + - &536 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -77997,7 +77539,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &539 + - &537 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -78044,7 +77586,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &540 + - &538 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -78104,7 +77646,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &541 + - &539 title: Locked Issue Event description: Locked Issue Event type: object @@ -78152,7 +77694,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &542 + - &540 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -78218,7 +77760,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &543 + - &541 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -78284,7 +77826,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &544 + - &542 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -78350,7 +77892,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &545 + - &543 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -78441,7 +77983,7 @@ paths: color: red headers: Link: *54 - '410': *330 + '410': *519 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78458,9 +78000,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: + - *323 - *324 - - *325 - - *528 + - *526 - *17 - *19 responses: @@ -78470,7 +78012,7 @@ paths: application/json: schema: type: array - items: &531 + items: &529 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -78517,7 +78059,7 @@ paths: - color - default examples: - default: &532 + default: &530 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -78535,9 +78077,9 @@ paths: default: false headers: Link: *54 - '301': *333 + '301': *330 '404': *6 - '410': *330 + '410': *519 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78554,9 +78096,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: + - *323 - *324 - - *325 - - *528 + - *526 requestBody: required: false content: @@ -78615,12 +78157,12 @@ paths: application/json: schema: type: array - items: *531 + items: *529 examples: - default: *532 - '301': *333 + default: *530 + '301': *330 '404': *6 - '410': *330 + '410': *519 '422': *15 x-github: githubCloudOnly: false @@ -78637,9 +78179,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: + - *323 - *324 - - *325 - - *528 + - *526 requestBody: required: false content: @@ -78699,12 +78241,12 @@ paths: application/json: schema: type: array - items: *531 + items: *529 examples: - default: *532 - '301': *333 + default: *530 + '301': *330 '404': *6 - '410': *330 + '410': *519 '422': *15 x-github: githubCloudOnly: false @@ -78721,15 +78263,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: + - *323 - *324 - - *325 - - *528 + - *526 responses: '204': description: Response - '301': *333 + '301': *330 '404': *6 - '410': *330 + '410': *519 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78748,9 +78290,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: + - *323 - *324 - - *325 - - *528 + - *526 - name: name in: path required: true @@ -78763,7 +78305,7 @@ paths: application/json: schema: type: array - items: *531 + items: *529 examples: default: value: @@ -78774,9 +78316,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *333 + '301': *330 '404': *6 - '410': *330 + '410': *519 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78796,9 +78338,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: + - *323 - *324 - - *325 - - *528 + - *526 requestBody: required: false content: @@ -78826,7 +78368,7 @@ paths: '204': description: Response '403': *29 - '410': *330 + '410': *519 '404': *6 '422': *15 x-github: @@ -78844,9 +78386,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: + - *323 - *324 - - *325 - - *528 + - *526 responses: '204': description: Response @@ -78876,9 +78418,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: + - *323 - *324 - - *325 - - *528 + - *526 responses: '200': description: Response @@ -78886,10 +78428,10 @@ paths: application/json: schema: *82 examples: - default: *527 - '301': *333 + default: *525 + '301': *330 '404': *6 - '410': *330 + '410': *519 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78906,9 +78448,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: + - *323 - *324 - - *325 - - *528 + - *526 - 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. @@ -78934,13 +78476,13 @@ paths: application/json: schema: type: array - items: *317 + items: *316 examples: - default: *319 + default: *318 headers: Link: *54 '404': *6 - '410': *330 + '410': *519 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78958,9 +78500,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: + - *323 - *324 - - *325 - - *528 + - *526 requestBody: required: true content: @@ -78992,16 +78534,16 @@ paths: description: Response content: application/json: - schema: *317 + schema: *316 examples: - default: *318 + default: *317 '201': description: Response content: application/json: - schema: *317 + schema: *316 examples: - default: *318 + default: *317 '422': *15 x-github: githubCloudOnly: false @@ -79023,10 +78565,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: + - *323 - *324 - - *325 - - *528 - - *320 + - *526 + - *319 responses: '204': description: Response @@ -79055,9 +78597,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: + - *323 - *324 - - *325 - - *528 + - *526 requestBody: required: true content: @@ -79081,7 +78623,7 @@ paths: application/json: schema: *82 examples: - default: *527 + default: *525 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -79114,9 +78656,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: + - *323 - *324 - - *325 - - *528 + - *526 - *17 - *19 responses: @@ -79128,11 +78670,11 @@ paths: type: array items: *82 examples: - default: *530 + default: *528 headers: Link: *54 '404': *6 - '410': *330 + '410': *519 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79160,9 +78702,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: + - *323 - *324 - - *325 - - *528 + - *526 requestBody: required: true content: @@ -79191,14 +78733,14 @@ paths: application/json: schema: *82 examples: - default: *527 + default: *525 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *330 + '410': *519 '422': *15 '404': *6 x-github: @@ -79218,9 +78760,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: + - *323 - *324 - - *325 - - *528 + - *526 requestBody: required: true content: @@ -79253,7 +78795,7 @@ paths: application/json: schema: *82 examples: - default: *527 + default: *525 '403': *29 '404': *6 '422': *7 @@ -79275,9 +78817,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: + - *323 - *324 - - *325 - - *528 + - *526 - *17 - *19 responses: @@ -79292,6 +78834,8 @@ paths: description: Timeline Event type: object anyOf: + - *531 + - *532 - *533 - *534 - *535 @@ -79303,8 +78847,6 @@ paths: - *541 - *542 - *543 - - *544 - - *545 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -79613,7 +79155,7 @@ paths: type: string comments: type: array - items: &567 + items: &565 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -79822,7 +79364,7 @@ paths: type: string comments: type: array - items: *456 + items: *453 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -80111,7 +79653,7 @@ paths: headers: Link: *54 '404': *6 - '410': *330 + '410': *519 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80128,8 +79670,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: + - *323 - *324 - - *325 - *17 - *19 responses: @@ -80139,7 +79681,7 @@ paths: application/json: schema: type: array - items: &546 + items: &544 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -80205,8 +79747,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -80242,9 +79784,9 @@ paths: description: Response content: application/json: - schema: *546 + schema: *544 examples: - default: &547 + default: &545 value: id: 1 key: ssh-rsa AAA... @@ -80278,9 +79820,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: + - *323 - *324 - - *325 - - &548 + - &546 name: key_id description: The unique identifier of the key. in: path @@ -80292,9 +79834,9 @@ paths: description: Response content: application/json: - schema: *546 + schema: *544 examples: - default: *547 + default: *545 '404': *6 x-github: githubCloudOnly: false @@ -80312,9 +79854,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: + - *323 - *324 - - *325 - - *548 + - *546 responses: '204': description: Response @@ -80334,8 +79876,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: + - *323 - *324 - - *325 - *17 - *19 responses: @@ -80345,9 +79887,9 @@ paths: application/json: schema: type: array - items: *531 + items: *529 examples: - default: *532 + default: *530 headers: Link: *54 '404': *6 @@ -80368,8 +79910,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -80405,9 +79947,9 @@ paths: description: Response content: application/json: - schema: *531 + schema: *529 examples: - default: &549 + default: &547 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -80439,8 +79981,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: + - *323 - *324 - - *325 - name: name in: path required: true @@ -80451,9 +79993,9 @@ paths: description: Response content: application/json: - schema: *531 + schema: *529 examples: - default: *549 + default: *547 '404': *6 x-github: githubCloudOnly: false @@ -80470,8 +80012,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: + - *323 - *324 - - *325 - name: name in: path required: true @@ -80510,7 +80052,7 @@ paths: description: Response content: application/json: - schema: *531 + schema: *529 examples: default: value: @@ -80536,8 +80078,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: + - *323 - *324 - - *325 - name: name in: path required: true @@ -80563,8 +80105,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: + - *323 - *324 - - *325 responses: '200': description: Response @@ -80603,9 +80145,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: + - *323 - *324 - - *325 - - *432 + - *429 responses: '200': description: Response @@ -80750,8 +80292,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -80816,8 +80358,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -80851,9 +80393,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *457 + schema: *454 examples: - default: *550 + default: *548 '204': description: Response when already merged '404': @@ -80878,8 +80420,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: + - *323 - *324 - - *325 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -80920,12 +80462,12 @@ paths: application/json: schema: type: array - items: &551 + items: &549 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *255 - required: *256 + properties: *254 + required: *255 examples: default: value: @@ -80981,8 +80523,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -81022,9 +80564,9 @@ paths: description: Response content: application/json: - schema: *551 + schema: *549 examples: - default: &552 + default: &550 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -81083,9 +80625,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: + - *323 - *324 - - *325 - - &553 + - &551 name: milestone_number description: The number that identifies the milestone. in: path @@ -81097,9 +80639,9 @@ paths: description: Response content: application/json: - schema: *551 + schema: *549 examples: - default: *552 + default: *550 '404': *6 x-github: githubCloudOnly: false @@ -81116,9 +80658,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: + - *323 - *324 - - *325 - - *553 + - *551 requestBody: required: false content: @@ -81156,9 +80698,9 @@ paths: description: Response content: application/json: - schema: *551 + schema: *549 examples: - default: *552 + default: *550 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81174,9 +80716,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: + - *323 - *324 - - *325 - - *553 + - *551 responses: '204': description: Response @@ -81197,9 +80739,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: + - *323 - *324 - - *325 - - *553 + - *551 - *17 - *19 responses: @@ -81209,9 +80751,9 @@ paths: application/json: schema: type: array - items: *531 + items: *529 examples: - default: *532 + default: *530 headers: Link: *54 x-github: @@ -81230,12 +80772,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: + - *323 - *324 - - *325 - - *554 - - *555 + - *552 + - *553 - *72 - - *556 + - *554 - *17 - *19 responses: @@ -81247,7 +80789,7 @@ paths: type: array items: *95 examples: - default: *557 + default: *555 headers: Link: *54 x-github: @@ -81271,8 +80813,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: + - *323 - *324 - - *325 requestBody: required: false content: @@ -81330,14 +80872,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: + - *323 - *324 - - *325 responses: '200': description: Response content: application/json: - schema: &558 + schema: &556 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -81462,7 +81004,7 @@ paths: - custom_404 - public examples: - default: &559 + default: &557 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -81503,8 +81045,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -81558,9 +81100,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *556 examples: - default: *559 + default: *557 '422': *15 '409': *47 x-github: @@ -81583,8 +81125,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -81683,8 +81225,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: + - *323 - *324 - - *325 responses: '204': description: Response @@ -81710,8 +81252,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: + - *323 - *324 - - *325 - *17 - *19 responses: @@ -81721,7 +81263,7 @@ paths: application/json: schema: type: array - items: &560 + items: &558 title: Page Build description: Page Build type: object @@ -81815,8 +81357,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: + - *323 - *324 - - *325 responses: '201': description: Response @@ -81861,16 +81403,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: + - *323 - *324 - - *325 responses: '200': description: Response content: application/json: - schema: *560 + schema: *558 examples: - default: &561 + default: &559 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -81918,8 +81460,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: + - *323 - *324 - - *325 - name: build_id in: path required: true @@ -81930,9 +81472,9 @@ paths: description: Response content: application/json: - schema: *560 + schema: *558 examples: - default: *561 + default: *559 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81952,8 +81494,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -82058,9 +81600,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: + - *323 - *324 - - *325 - - &562 + - &560 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -82118,9 +81660,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: + - *323 - *324 - - *325 - - *562 + - *560 responses: '204': *172 '404': *6 @@ -82147,8 +81689,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: + - *323 - *324 - - *325 responses: '200': description: Response @@ -82406,8 +81948,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: + - *323 - *324 - - *325 responses: '200': description: Private vulnerability reporting status @@ -82444,8 +81986,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: + - *323 - *324 - - *325 responses: '204': *172 '422': *14 @@ -82466,8 +82008,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: + - *323 - *324 - - *325 responses: '204': *172 '422': *14 @@ -82476,148 +82018,6 @@ paths: enabledForGitHubApps: true category: repos subcategory: repos - "/repos/{owner}/{repo}/projects": - get: - summary: List repository projects - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/list-for-repo - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/projects-classic/projects#list-repository-projects - parameters: - - *324 - - *325 - - name: state - description: Indicates the state of the projects to return. - in: query - required: false - schema: - type: string - enum: - - open - - closed - - all - default: open - - *17 - - *19 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: *250 - examples: - default: - value: - - owner_url: https://api.github.com/repos/api-playground/projects-test - url: https://api.github.com/projects/1002604 - html_url: https://github.com/api-playground/projects-test/projects/1 - columns_url: https://api.github.com/projects/1002604/columns - id: 1002604 - node_id: MDc6UHJvamVjdDEwMDI2MDQ= - name: Projects Documentation - body: Developer documentation project for the developer site. - number: 1 - state: open - creator: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - created_at: '2011-04-10T20:09:31Z' - updated_at: '2014-03-03T18:58:10Z' - headers: - Link: *54 - '401': *25 - '403': *29 - '404': *6 - '410': *330 - '422': *7 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true - post: - summary: Create a repository project - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/create-for-repo - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/projects-classic/projects#create-a-repository-project - parameters: - - *324 - - *325 - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - name: - type: string - description: The name of the project. - body: - type: string - description: The description of the project. - required: - - name - examples: - default: - value: - name: Projects Documentation - body: Developer documentation project for the developer site. - responses: - '201': - description: Response - content: - application/json: - schema: *250 - examples: - default: *329 - '401': *25 - '403': *29 - '404': *6 - '410': *330 - '422': *7 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true "/repos/{owner}/{repo}/properties/values": get: summary: Get all custom property values for a repository @@ -82631,8 +82031,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: + - *323 - *324 - - *325 responses: '200': description: Response @@ -82642,7 +82042,7 @@ paths: type: array items: *102 examples: - default: *563 + default: *561 '403': *29 '404': *6 x-github: @@ -82664,8 +82064,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: + - *323 - *324 - - *325 requestBody: required: true content: @@ -82681,7 +82081,7 @@ paths: required: - properties examples: - default: *564 + default: *562 responses: '204': description: No Content when custom property values are successfully created @@ -82719,8 +82119,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: + - *323 - *324 - - *325 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -82780,9 +82180,9 @@ paths: application/json: schema: type: array - items: *461 + items: *458 examples: - default: *565 + default: *563 headers: Link: *54 '304': *37 @@ -82814,8 +82214,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -82880,7 +82280,7 @@ paths: description: Response content: application/json: - schema: &569 + schema: &567 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -82991,8 +82391,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *255 - required: *256 + properties: *254 + required: *255 nullable: true active_lock_reason: type: string @@ -83037,7 +82437,7 @@ paths: nullable: true requested_teams: type: array - items: *302 + items: *301 nullable: true head: type: object @@ -83076,14 +82476,14 @@ paths: _links: type: object properties: - comments: *257 - commits: *257 - statuses: *257 - html: *257 - issue: *257 - review_comments: *257 - review_comment: *257 - self: *257 + comments: *256 + commits: *256 + statuses: *256 + html: *256 + issue: *256 + review_comments: *256 + review_comment: *256 + self: *256 required: - comments - commits @@ -83094,7 +82494,7 @@ paths: - review_comment - self author_association: *69 - auto_merge: *566 + auto_merge: *564 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -83186,7 +82586,7 @@ paths: - merged_by - review_comments examples: - default: &570 + default: &568 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -83713,8 +83113,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: + - *323 - *324 - - *325 - name: sort in: query required: false @@ -83743,9 +83143,9 @@ paths: application/json: schema: type: array - items: *567 + items: *565 examples: - default: &572 + default: &570 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -83822,17 +83222,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: + - *323 - *324 - - *325 - *81 responses: '200': description: Response content: application/json: - schema: *567 + schema: *565 examples: - default: &568 + default: &566 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -83907,8 +83307,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: + - *323 - *324 - - *325 - *81 requestBody: required: true @@ -83931,9 +83331,9 @@ paths: description: Response content: application/json: - schema: *567 + schema: *565 examples: - default: *568 + default: *566 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83949,8 +83349,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: + - *323 - *324 - - *325 - *81 responses: '204': @@ -83972,8 +83372,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: + - *323 - *324 - - *325 - *81 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -84000,9 +83400,9 @@ paths: application/json: schema: type: array - items: *317 + items: *316 examples: - default: *319 + default: *318 headers: Link: *54 '404': *6 @@ -84023,8 +83423,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: + - *323 - *324 - - *325 - *81 requestBody: required: true @@ -84057,16 +83457,16 @@ paths: description: Reaction exists content: application/json: - schema: *317 + schema: *316 examples: - default: *318 + default: *317 '201': description: Reaction created content: application/json: - schema: *317 + schema: *316 examples: - default: *318 + default: *317 '422': *15 x-github: githubCloudOnly: false @@ -84088,10 +83488,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: + - *323 - *324 - - *325 - *81 - - *320 + - *319 responses: '204': description: Response @@ -84134,9 +83534,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: + - *323 - *324 - - *325 - - &571 + - &569 name: pull_number description: The number that identifies the pull request. in: path @@ -84149,9 +83549,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *569 + schema: *567 examples: - default: *570 + default: *568 '304': *37 '404': *6 '406': @@ -84186,9 +83586,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: + - *323 - *324 - - *325 - - *571 + - *569 requestBody: required: false content: @@ -84230,9 +83630,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *567 examples: - default: *570 + default: *568 '422': *15 '403': *29 x-github: @@ -84254,9 +83654,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: + - *323 - *324 - - *325 - - *571 + - *569 requestBody: required: true content: @@ -84318,7 +83718,7 @@ paths: application/json: schema: *221 examples: - default: *446 + default: *443 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -84326,7 +83726,7 @@ paths: application/json: schema: *221 examples: - default: *446 + default: *443 '401': *25 '403': *29 '404': *6 @@ -84356,9 +83756,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: + - *323 - *324 - - *325 - - *571 + - *569 - *92 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -84379,9 +83779,9 @@ paths: application/json: schema: type: array - items: *567 + items: *565 examples: - default: *572 + default: *570 headers: Link: *54 x-github: @@ -84414,9 +83814,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: + - *323 - *324 - - *325 - - *571 + - *569 requestBody: required: true content: @@ -84521,7 +83921,7 @@ paths: description: Response content: application/json: - schema: *567 + schema: *565 examples: example-for-a-multi-line-comment: value: @@ -84609,9 +84009,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: + - *323 - *324 - - *325 - - *571 + - *569 - *81 requestBody: required: true @@ -84634,7 +84034,7 @@ paths: description: Response content: application/json: - schema: *567 + schema: *565 examples: default: value: @@ -84720,9 +84120,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: + - *323 - *324 - - *325 - - *571 + - *569 - *17 - *19 responses: @@ -84732,9 +84132,9 @@ paths: application/json: schema: type: array - items: *457 + items: *454 examples: - default: *573 + default: *571 headers: Link: *54 x-github: @@ -84764,9 +84164,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: + - *323 - *324 - - *325 - - *571 + - *569 - *17 - *19 responses: @@ -84776,7 +84176,7 @@ paths: application/json: schema: type: array - items: *470 + items: *467 examples: default: value: @@ -84814,9 +84214,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: + - *323 - *324 - - *325 - - *571 + - *569 responses: '204': description: Response if pull request has been merged @@ -84839,9 +84239,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: + - *323 - *324 - - *325 - - *571 + - *569 requestBody: required: false content: @@ -84952,9 +84352,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: + - *323 - *324 - - *325 - - *571 + - *569 responses: '200': description: Response @@ -85029,9 +84429,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: + - *323 - *324 - - *325 - - *571 + - *569 requestBody: required: false content: @@ -85068,7 +84468,7 @@ paths: description: Response content: application/json: - schema: *461 + schema: *458 examples: default: value: @@ -85604,9 +85004,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: + - *323 - *324 - - *325 - - *571 + - *569 requestBody: required: true content: @@ -85640,7 +85040,7 @@ paths: description: Response content: application/json: - schema: *461 + schema: *458 examples: default: value: @@ -86145,9 +85545,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: + - *323 - *324 - - *325 - - *571 + - *569 - *17 - *19 responses: @@ -86157,7 +85557,7 @@ paths: application/json: schema: type: array - items: &574 + items: &572 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -86308,9 +85708,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: + - *323 - *324 - - *325 - - *571 + - *569 requestBody: required: false content: @@ -86396,9 +85796,9 @@ paths: description: Response content: application/json: - schema: *574 + schema: *572 examples: - default: &576 + default: &574 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -86461,10 +85861,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: + - *323 - *324 - - *325 - - *571 - - &575 + - *569 + - &573 name: review_id description: The unique identifier of the review. in: path @@ -86476,9 +85876,9 @@ paths: description: Response content: application/json: - schema: *574 + schema: *572 examples: - default: &577 + default: &575 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -86537,10 +85937,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: + - *323 - *324 - - *325 - - *571 - - *575 + - *569 + - *573 requestBody: required: true content: @@ -86563,7 +85963,7 @@ paths: description: Response content: application/json: - schema: *574 + schema: *572 examples: default: value: @@ -86625,18 +86025,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: + - *323 - *324 - - *325 - - *571 - - *575 + - *569 + - *573 responses: '200': description: Response content: application/json: - schema: *574 + schema: *572 examples: - default: *576 + default: *574 '422': *7 '404': *6 x-github: @@ -86663,10 +86063,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: + - *323 - *324 - - *325 - - *571 - - *575 + - *569 + - *573 - *17 - *19 responses: @@ -86749,9 +86149,9 @@ paths: _links: type: object properties: - self: *257 - html: *257 - pull_request: *257 + self: *256 + html: *256 + pull_request: *256 required: - self - html @@ -86901,10 +86301,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: + - *323 - *324 - - *325 - - *571 - - *575 + - *569 + - *573 requestBody: required: true content: @@ -86932,7 +86332,7 @@ paths: description: Response content: application/json: - schema: *574 + schema: *572 examples: default: value: @@ -86995,10 +86395,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: + - *323 - *324 - - *325 - - *571 - - *575 + - *569 + - *573 requestBody: required: true content: @@ -87033,9 +86433,9 @@ paths: description: Response content: application/json: - schema: *574 + schema: *572 examples: - default: *577 + default: *575 '404': *6 '422': *7 '403': *29 @@ -87057,9 +86457,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: + - *323 - *324 - - *325 - - *571 + - *569 requestBody: required: false content: @@ -87122,8 +86522,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: + - *323 - *324 - - *325 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -87136,9 +86536,9 @@ paths: description: Response content: application/json: - schema: *578 + schema: *576 examples: - default: &579 + default: &577 value: type: file encoding: base64 @@ -87180,8 +86580,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: + - *323 - *324 - - *325 - name: dir description: The alternate path to look for a README file in: path @@ -87201,9 +86601,9 @@ paths: description: Response content: application/json: - schema: *578 + schema: *576 examples: - default: *579 + default: *577 '404': *6 '422': *15 x-github: @@ -87225,8 +86625,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: + - *323 - *324 - - *325 - *17 - *19 responses: @@ -87236,7 +86636,7 @@ paths: application/json: schema: type: array - items: &580 + items: &578 title: Release description: A release. type: object @@ -87307,7 +86707,7 @@ paths: author: *4 assets: type: array - items: &581 + items: &579 title: Release Asset description: Data related to a release. type: object @@ -87494,8 +86894,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -87571,9 +86971,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *578 examples: - default: &584 + default: &582 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -87678,9 +87078,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: + - *323 - *324 - - *325 - - &582 + - &580 name: asset_id description: The unique identifier of the asset. in: path @@ -87692,9 +87092,9 @@ paths: description: Response content: application/json: - schema: *581 + schema: *579 examples: - default: &583 + default: &581 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 @@ -87729,7 +87129,7 @@ paths: type: User site_admin: false '404': *6 - '302': *472 + '302': *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87745,9 +87145,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: + - *323 - *324 - - *325 - - *582 + - *580 requestBody: required: false content: @@ -87775,9 +87175,9 @@ paths: description: Response content: application/json: - schema: *581 + schema: *579 examples: - default: *583 + default: *581 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87793,9 +87193,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: + - *323 - *324 - - *325 - - *582 + - *580 responses: '204': description: Response @@ -87819,8 +87219,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -87905,16 +87305,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: + - *323 - *324 - - *325 responses: '200': description: Response content: application/json: - schema: *580 + schema: *578 examples: - default: *584 + default: *582 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87931,8 +87331,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: + - *323 - *324 - - *325 - name: tag description: tag parameter in: path @@ -87945,9 +87345,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *578 examples: - default: *584 + default: *582 '404': *6 x-github: githubCloudOnly: false @@ -87969,9 +87369,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: + - *323 - *324 - - *325 - - &585 + - &583 name: release_id description: The unique identifier of the release. in: path @@ -87985,9 +87385,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: *580 + schema: *578 examples: - default: *584 + default: *582 '401': description: Unauthorized x-github: @@ -88005,9 +87405,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: + - *323 - *324 - - *325 - - *585 + - *583 requestBody: required: false content: @@ -88071,9 +87471,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *578 examples: - default: *584 + default: *582 '404': description: Not Found if the discussion category name is invalid content: @@ -88094,9 +87494,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: + - *323 - *324 - - *325 - - *585 + - *583 responses: '204': description: Response @@ -88116,9 +87516,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: + - *323 - *324 - - *325 - - *585 + - *583 - *17 - *19 responses: @@ -88128,7 +87528,7 @@ paths: application/json: schema: type: array - items: *581 + items: *579 examples: default: value: @@ -88209,9 +87609,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: + - *323 - *324 - - *325 - - *585 + - *583 - name: name in: query required: true @@ -88237,7 +87637,7 @@ paths: description: Response for successful upload content: application/json: - schema: *581 + schema: *579 examples: response-for-successful-upload: value: @@ -88292,9 +87692,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: + - *323 - *324 - - *325 - - *585 + - *583 - 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. @@ -88318,9 +87718,9 @@ paths: application/json: schema: type: array - items: *317 + items: *316 examples: - default: *319 + default: *318 headers: Link: *54 '404': *6 @@ -88341,9 +87741,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: + - *323 - *324 - - *325 - - *585 + - *583 requestBody: required: true content: @@ -88373,16 +87773,16 @@ paths: description: Reaction exists content: application/json: - schema: *317 + schema: *316 examples: - default: *318 + default: *317 '201': description: Reaction created content: application/json: - schema: *317 + schema: *316 examples: - default: *318 + default: *317 '422': *15 x-github: githubCloudOnly: false @@ -88404,10 +87804,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: + - *323 - *324 - - *325 - - *585 - - *320 + - *583 + - *319 responses: '204': description: Response @@ -88431,9 +87831,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: + - *323 - *324 - - *325 - - *394 + - *391 - *17 - *19 responses: @@ -88449,8 +87849,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *275 - - &586 + - *274 + - &584 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -88469,69 +87869,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. + - allOf: + - *275 + - *584 - allOf: - *276 - - *586 + - *584 - allOf: - *277 - - *586 + - *584 - allOf: - - *278 - - *586 + - *585 + - *584 - allOf: - - *587 - - *586 + - *278 + - *584 - allOf: - *279 - - *586 + - *584 - allOf: - *280 - - *586 + - *584 - allOf: - *281 - - *586 + - *584 - allOf: - *282 - - *586 + - *584 - allOf: - *283 - - *586 + - *584 - allOf: - *284 - - *586 + - *584 - allOf: - *285 - - *586 + - *584 - allOf: - *286 - - *586 + - *584 - allOf: - *287 - - *586 + - *584 - allOf: - *288 - - *586 + - *584 - allOf: - *289 - - *586 + - *584 - allOf: - *290 - - *586 + - *584 - allOf: - *291 - - *586 + - *584 - allOf: - *292 - - *586 + - *584 - allOf: - *293 - - *586 - - allOf: - - *294 - - *586 + - *584 - allOf: - - *588 - *586 + - *584 examples: default: value: @@ -88570,8 +87970,8 @@ paths: category: repos subcategory: rules parameters: + - *323 - *324 - - *325 - *17 - *19 - name: includes_parents @@ -88582,7 +87982,7 @@ paths: schema: type: boolean default: true - - *589 + - *587 responses: '200': description: Response @@ -88590,7 +87990,7 @@ paths: application/json: schema: type: array - items: *295 + items: *294 examples: default: value: @@ -88637,8 +88037,8 @@ paths: category: repos subcategory: rules parameters: + - *323 - *324 - - *325 requestBody: description: Request body required: true @@ -88658,16 +88058,16 @@ paths: - tag - push default: branch - enforcement: *272 + enforcement: *271 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *273 - conditions: *270 + items: *272 + conditions: *269 rules: type: array description: An array of rules within the ruleset. - items: *590 + items: *588 required: - name - enforcement @@ -88698,9 +88098,9 @@ paths: description: Response content: application/json: - schema: *295 + schema: *294 examples: - default: &600 + default: &598 value: id: 42 name: super cool ruleset @@ -88747,12 +88147,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: + - *323 - *324 - - *325 + - *589 + - *590 - *591 - *592 - - *593 - - *594 - *17 - *19 responses: @@ -88760,9 +88160,9 @@ paths: description: Response content: application/json: - schema: *595 + schema: *593 examples: - default: *596 + default: *594 '404': *6 '500': *103 x-github: @@ -88783,17 +88183,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: + - *323 - *324 - - *325 - - *597 + - *595 responses: '200': description: Response content: application/json: - schema: *598 + schema: *596 examples: - default: *599 + default: *597 '404': *6 '500': *103 x-github: @@ -88821,8 +88221,8 @@ paths: category: repos subcategory: rules parameters: + - *323 - *324 - - *325 - name: ruleset_id description: The ID of the ruleset. in: path @@ -88842,9 +88242,9 @@ paths: description: Response content: application/json: - schema: *295 + schema: *294 examples: - default: *600 + default: *598 '404': *6 '500': *103 put: @@ -88862,8 +88262,8 @@ paths: category: repos subcategory: rules parameters: + - *323 - *324 - - *325 - name: ruleset_id description: The ID of the ruleset. in: path @@ -88888,16 +88288,16 @@ paths: - branch - tag - push - enforcement: *272 + enforcement: *271 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *273 - conditions: *270 + items: *272 + conditions: *269 rules: description: An array of rules within the ruleset. type: array - items: *590 + items: *588 examples: default: value: @@ -88925,9 +88325,9 @@ paths: description: Response content: application/json: - schema: *295 + schema: *294 examples: - default: *600 + default: *598 '404': *6 '500': *103 delete: @@ -88945,8 +88345,8 @@ paths: category: repos subcategory: rules parameters: + - *323 - *324 - - *325 - name: ruleset_id description: The ID of the ruleset. in: path @@ -88969,8 +88369,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: + - *323 - *324 - - *325 - *17 - *19 - name: ruleset_id @@ -88986,9 +88386,9 @@ paths: application/json: schema: type: array - items: *298 + items: *297 examples: - default: *601 + default: *599 '404': *6 '500': *103 x-github: @@ -89007,8 +88407,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: + - *323 - *324 - - *325 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89026,7 +88426,7 @@ paths: description: Response content: application/json: - schema: *602 + schema: *600 examples: default: value: @@ -89081,21 +88481,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: + - *323 - *324 - - *325 + - *601 + - *602 - *603 - *604 - - *605 - - *606 - *48 - *19 - *17 + - *605 + - *606 - *607 - *608 - *609 - *610 - - *611 - - *612 responses: '200': description: Response @@ -89103,7 +88503,7 @@ paths: application/json: schema: type: array - items: &616 + items: &614 type: object properties: number: *158 @@ -89122,8 +88522,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *613 - resolution: *614 + state: *611 + resolution: *612 resolved_at: type: string format: date-time @@ -89219,7 +88619,7 @@ paths: pull request. ' - oneOf: *615 + oneOf: *613 nullable: true has_more_locations: type: boolean @@ -89368,16 +88768,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: + - *323 - *324 - - *325 - - *426 - - *612 + - *423 + - *610 responses: '200': description: Response content: application/json: - schema: *616 + schema: *614 examples: default: value: @@ -89429,9 +88829,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: + - *323 - *324 - - *325 - - *426 + - *423 requestBody: required: true content: @@ -89439,8 +88839,8 @@ paths: schema: type: object properties: - state: *613 - resolution: *614 + state: *611 + resolution: *612 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -89458,7 +88858,7 @@ paths: description: Response content: application/json: - schema: *616 + schema: *614 examples: default: value: @@ -89533,9 +88933,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: + - *323 - *324 - - *325 - - *426 + - *423 - *19 - *17 responses: @@ -89546,7 +88946,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &775 + items: &773 type: object properties: type: @@ -89572,6 +88972,8 @@ paths: example: commit details: oneOf: + - *615 + - *616 - *617 - *618 - *619 @@ -89583,8 +88985,6 @@ paths: - *625 - *626 - *627 - - *628 - - *629 examples: default: value: @@ -89670,8 +89070,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -89679,14 +89079,14 @@ paths: schema: type: object properties: - reason: &631 + reason: &629 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *630 + placeholder_id: *628 required: - reason - placeholder_id @@ -89703,7 +89103,7 @@ paths: schema: type: object properties: - reason: *631 + reason: *629 expire_at: type: string format: date-time @@ -89749,8 +89149,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: + - *323 - *324 - - *325 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -89765,7 +89165,7 @@ paths: properties: incremental_scans: type: array - items: &632 + items: &630 description: Information on a single scan performed by secret scanning on the repository type: object @@ -89791,15 +89191,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *632 + items: *630 backfill_scans: type: array - items: *632 + items: *630 custom_pattern_backfill_scans: type: array items: allOf: - - *632 + - *630 - type: object properties: pattern_name: @@ -89869,8 +89269,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: + - *323 - *324 - - *325 - *48 - name: sort description: The property to sort the results by. @@ -89914,9 +89314,9 @@ paths: application/json: schema: type: array - items: *633 + items: *631 examples: - default: *634 + default: *632 '400': *14 '404': *6 x-github: @@ -89939,8 +89339,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -90013,7 +89413,7 @@ paths: login: type: string description: The username of the user credited. - type: *301 + type: *300 required: - login - type @@ -90100,9 +89500,9 @@ paths: description: Response content: application/json: - schema: *633 + schema: *631 examples: - default: &636 + default: &634 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -90335,8 +89735,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -90440,7 +89840,7 @@ paths: description: Response content: application/json: - schema: *633 + schema: *631 examples: default: value: @@ -90587,17 +89987,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: + - *323 - *324 - - *325 - - *635 + - *633 responses: '200': description: Response content: application/json: - schema: *633 + schema: *631 examples: - default: *636 + default: *634 '403': *29 '404': *6 x-github: @@ -90621,9 +90021,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: + - *323 - *324 - - *325 - - *635 + - *633 requestBody: required: true content: @@ -90696,7 +90096,7 @@ paths: login: type: string description: The username of the user credited. - type: *301 + type: *300 required: - login - type @@ -90782,10 +90182,10 @@ paths: description: Response content: application/json: - schema: *633 + schema: *631 examples: - default: *636 - add_credit: *636 + default: *634 + add_credit: *634 '403': *29 '404': *6 '422': @@ -90823,9 +90223,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: + - *323 - *324 - - *325 - - *635 + - *633 responses: '202': *39 '400': *14 @@ -90852,17 +90252,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: + - *323 - *324 - - *325 - - *635 + - *633 responses: '202': description: Response content: application/json: - schema: *332 + schema: *329 examples: - default: *334 + default: *331 '400': *14 '422': *15 '403': *29 @@ -90888,8 +90288,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: + - *323 - *324 - - *325 - *17 - *19 responses: @@ -90988,8 +90388,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: + - *323 - *324 - - *325 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -90998,7 +90398,7 @@ paths: application/json: schema: type: array - items: &637 + items: &635 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -91031,8 +90431,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: + - *323 - *324 - - *325 responses: '200': description: Response @@ -91108,8 +90508,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: + - *323 - *324 - - *325 responses: '200': description: Response @@ -91205,8 +90605,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: + - *323 - *324 - - *325 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -91360,8 +90760,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: + - *323 - *324 - - *325 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -91371,7 +90771,7 @@ paths: application/json: schema: type: array - items: *637 + items: *635 examples: default: value: @@ -91404,8 +90804,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: + - *323 - *324 - - *325 - name: sha in: path required: true @@ -91459,7 +90859,7 @@ paths: description: Response content: application/json: - schema: *638 + schema: *636 examples: default: value: @@ -91513,8 +90913,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: + - *323 - *324 - - *325 - *17 - *19 responses: @@ -91546,14 +90946,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: + - *323 - *324 - - *325 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &639 + schema: &637 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -91621,8 +91021,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: + - *323 - *324 - - *325 requestBody: required: false content: @@ -91648,7 +91048,7 @@ paths: description: Response content: application/json: - schema: *639 + schema: *637 examples: default: value: @@ -91675,8 +91075,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: + - *323 - *324 - - *325 responses: '204': description: Response @@ -91696,8 +91096,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: + - *323 - *324 - - *325 - *17 - *19 responses: @@ -91776,8 +91176,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: + - *323 - *324 - - *325 responses: '200': description: Response @@ -91785,7 +91185,7 @@ paths: application/json: schema: type: array - items: &640 + items: &638 title: Tag protection description: Tag protection type: object @@ -91837,8 +91237,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: + - *323 - *324 - - *325 requestBody: required: true content: @@ -91861,7 +91261,7 @@ paths: description: Response content: application/json: - schema: *640 + schema: *638 examples: default: value: @@ -91892,8 +91292,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: + - *323 - *324 - - *325 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -91930,8 +91330,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: + - *323 - *324 - - *325 - name: ref in: path required: true @@ -91967,8 +91367,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: + - *323 - *324 - - *325 - *17 - *19 responses: @@ -92000,8 +91400,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: + - *323 - *324 - - *325 - *19 - *17 responses: @@ -92009,7 +91409,7 @@ paths: description: Response content: application/json: - schema: &641 + schema: &639 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -92021,7 +91421,7 @@ paths: required: - names examples: - default: &642 + default: &640 value: names: - octocat @@ -92044,8 +91444,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -92076,9 +91476,9 @@ paths: description: Response content: application/json: - schema: *641 + schema: *639 examples: - default: *642 + default: *640 '404': *6 '422': *7 x-github: @@ -92099,9 +91499,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: + - *323 - *324 - - *325 - - &643 + - &641 name: per description: The time frame to display results for. in: query @@ -92130,7 +91530,7 @@ paths: example: 128 clones: type: array - items: &644 + items: &642 title: Traffic type: object properties: @@ -92217,8 +91617,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: + - *323 - *324 - - *325 responses: '200': description: Response @@ -92308,8 +91708,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: + - *323 - *324 - - *325 responses: '200': description: Response @@ -92369,9 +91769,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: + - *323 - *324 - - *325 - - *643 + - *641 responses: '200': description: Response @@ -92390,7 +91790,7 @@ paths: example: 3782 views: type: array - items: *644 + items: *642 required: - uniques - count @@ -92467,8 +91867,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -92742,8 +92142,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: + - *323 - *324 - - *325 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -92766,8 +92166,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: + - *323 - *324 - - *325 responses: '204': description: Response @@ -92789,8 +92189,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: + - *323 - *324 - - *325 responses: '204': description: Response @@ -92816,8 +92216,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: + - *323 - *324 - - *325 - name: ref in: path required: true @@ -92909,9 +92309,9 @@ paths: description: Response content: application/json: - schema: *332 + schema: *329 examples: - default: *334 + default: *331 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -93159,7 +92559,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &645 + text_matches: &643 title: Search Result Text Matches type: array items: @@ -93321,7 +92721,7 @@ paths: enum: - author-date - committer-date - - &646 + - &644 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 @@ -93392,7 +92792,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *392 + properties: *389 nullable: true comment_count: type: integer @@ -93412,7 +92812,7 @@ paths: url: type: string format: uri - verification: *508 + verification: *505 required: - author - committer @@ -93431,7 +92831,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *392 + properties: *389 nullable: true parents: type: array @@ -93449,7 +92849,7 @@ paths: type: number node_id: type: string - text_matches: *645 + text_matches: *643 required: - sha - node_id @@ -93641,7 +93041,7 @@ paths: - interactions - created - updated - - *646 + - *644 - *17 - *19 - name: advanced_search @@ -93738,11 +93138,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *647 - issue_dependencies_summary: *648 + sub_issues_summary: *645 + issue_dependencies_summary: *646 issue_field_values: type: array - items: *649 + items: *647 state: type: string state_reason: @@ -93759,8 +93159,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *255 - required: *256 + properties: *254 + required: *255 nullable: true comments: type: integer @@ -93774,7 +93174,7 @@ paths: type: string format: date-time nullable: true - text_matches: *645 + text_matches: *643 pull_request: type: object properties: @@ -93999,7 +93399,7 @@ paths: enum: - created - updated - - *646 + - *644 - *17 - *19 responses: @@ -94043,7 +93443,7 @@ paths: nullable: true score: type: number - text_matches: *645 + text_matches: *643 required: - id - node_id @@ -94128,7 +93528,7 @@ paths: - forks - help-wanted-issues - updated - - *646 + - *644 - *17 - *19 responses: @@ -94367,7 +93767,7 @@ paths: - admin - pull - push - text_matches: *645 + text_matches: *643 temp_clone_token: type: string allow_merge_commit: @@ -94667,7 +94067,7 @@ paths: type: string format: uri nullable: true - text_matches: *645 + text_matches: *643 related: type: array nullable: true @@ -94858,7 +94258,7 @@ paths: - followers - repositories - joined - - *646 + - *644 - *17 - *19 responses: @@ -94962,7 +94362,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *645 + text_matches: *643 blog: type: string nullable: true @@ -95041,7 +94441,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &650 + - &648 name: team_id description: The unique identifier of the team. in: path @@ -95053,9 +94453,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *308 examples: - default: *310 + default: *309 '404': *6 x-github: githubCloudOnly: false @@ -95082,7 +94482,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *650 + - *648 requestBody: required: true content: @@ -95145,16 +94545,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *309 + schema: *308 examples: - default: *310 + default: *309 '201': description: Response content: application/json: - schema: *309 + schema: *308 examples: - default: *310 + default: *309 '404': *6 '422': *15 '403': *29 @@ -95182,7 +94582,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *650 + - *648 responses: '204': description: Response @@ -95213,7 +94613,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *650 + - *648 - *48 - *17 - *19 @@ -95224,9 +94624,9 @@ paths: application/json: schema: type: array - items: *311 + items: *310 examples: - default: *651 + default: *649 headers: Link: *54 x-github: @@ -95255,7 +94655,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *650 + - *648 requestBody: required: true content: @@ -95289,9 +94689,9 @@ paths: description: Response content: application/json: - schema: *311 + schema: *310 examples: - default: *312 + default: *311 x-github: triggersNotification: true githubCloudOnly: false @@ -95318,16 +94718,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *650 - - *313 + - *648 + - *312 responses: '200': description: Response content: application/json: - schema: *311 + schema: *310 examples: - default: *312 + default: *311 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95352,8 +94752,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *650 - - *313 + - *648 + - *312 requestBody: required: false content: @@ -95376,9 +94776,9 @@ paths: description: Response content: application/json: - schema: *311 + schema: *310 examples: - default: *652 + default: *650 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95403,8 +94803,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *650 - - *313 + - *648 + - *312 responses: '204': description: Response @@ -95433,8 +94833,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *650 - - *313 + - *648 + - *312 - *48 - *17 - *19 @@ -95445,9 +94845,9 @@ paths: application/json: schema: type: array - items: *314 + items: *313 examples: - default: *653 + default: *651 headers: Link: *54 x-github: @@ -95476,8 +94876,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *650 - - *313 + - *648 + - *312 requestBody: required: true content: @@ -95499,9 +94899,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *313 examples: - default: *315 + default: *314 x-github: triggersNotification: true githubCloudOnly: false @@ -95528,17 +94928,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *650 - - *313 - - *316 + - *648 + - *312 + - *315 responses: '200': description: Response content: application/json: - schema: *314 + schema: *313 examples: - default: *315 + default: *314 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95563,9 +94963,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *650 - - *313 - - *316 + - *648 + - *312 + - *315 requestBody: required: true content: @@ -95587,9 +94987,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *313 examples: - default: *654 + default: *652 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95614,9 +95014,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *650 - - *313 - - *316 + - *648 + - *312 + - *315 responses: '204': description: Response @@ -95645,9 +95045,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *650 - - *313 - - *316 + - *648 + - *312 + - *315 - 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. @@ -95673,9 +95073,9 @@ paths: application/json: schema: type: array - items: *317 + items: *316 examples: - default: *319 + default: *318 headers: Link: *54 x-github: @@ -95704,9 +95104,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *650 - - *313 - - *316 + - *648 + - *312 + - *315 requestBody: required: true content: @@ -95738,9 +95138,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *316 examples: - default: *318 + default: *317 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95766,8 +95166,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *650 - - *313 + - *648 + - *312 - 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. @@ -95793,9 +95193,9 @@ paths: application/json: schema: type: array - items: *317 + items: *316 examples: - default: *319 + default: *318 headers: Link: *54 x-github: @@ -95824,8 +95224,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *650 - - *313 + - *648 + - *312 requestBody: required: true content: @@ -95857,9 +95257,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *316 examples: - default: *318 + default: *317 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -95883,7 +95283,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *650 + - *648 - *17 - *19 responses: @@ -95921,7 +95321,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *650 + - *648 - name: role description: Filters members returned by their role in the team. in: query @@ -95972,7 +95372,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *650 + - *648 - *59 responses: '204': @@ -96009,7 +95409,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *650 + - *648 - *59 responses: '204': @@ -96049,7 +95449,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *650 + - *648 - *59 responses: '204': @@ -96086,16 +95486,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *650 + - *648 - *59 responses: '200': description: Response content: application/json: - schema: *321 + schema: *320 examples: - response-if-user-is-a-team-maintainer: *655 + response-if-user-is-a-team-maintainer: *653 '404': *6 x-github: githubCloudOnly: false @@ -96128,7 +95528,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *650 + - *648 - *59 requestBody: required: false @@ -96154,9 +95554,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *320 examples: - response-if-users-membership-with-team-is-now-pending: *656 + response-if-users-membership-with-team-is-now-pending: *654 '403': description: Forbidden if team synchronization is set up '422': @@ -96190,7 +95590,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *650 + - *648 - *59 responses: '204': @@ -96219,7 +95619,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *650 + - *648 - *17 - *19 responses: @@ -96229,9 +95629,9 @@ paths: application/json: schema: type: array - items: *322 + items: *321 examples: - default: *657 + default: *655 headers: Link: *54 '404': *6 @@ -96257,16 +95657,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *650 - - *323 + - *648 + - *322 responses: '200': description: Response content: application/json: - schema: *322 + schema: *321 examples: - default: *658 + default: *656 '404': description: Not Found if project is not managed by this team x-github: @@ -96290,8 +95690,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *650 - - *323 + - *648 + - *322 requestBody: required: false content: @@ -96358,8 +95758,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *650 - - *323 + - *648 + - *322 responses: '204': description: Response @@ -96386,7 +95786,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *650 + - *648 - *17 - *19 responses: @@ -96428,15 +95828,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *650 + - *648 + - *323 - *324 - - *325 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *659 + schema: *657 examples: alternative-response-with-extra-repository-information: value: @@ -96587,9 +95987,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *650 + - *648 + - *323 - *324 - - *325 requestBody: required: false content: @@ -96639,9 +96039,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *650 + - *648 + - *323 - *324 - - *325 responses: '204': description: Response @@ -96666,7 +96066,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *650 + - *648 - *17 - *19 responses: @@ -96678,7 +96078,7 @@ paths: type: array items: *178 examples: - response-if-child-teams-exist: *660 + response-if-child-teams-exist: *658 headers: Link: *54 '404': *6 @@ -96711,7 +96111,7 @@ paths: application/json: schema: oneOf: - - &662 + - &660 title: Private User description: Private User type: object @@ -96914,7 +96314,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *661 + - *659 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -97067,7 +96467,7 @@ paths: description: Response content: application/json: - schema: *662 + schema: *660 examples: default: value: @@ -97413,7 +96813,7 @@ paths: application/json: schema: *221 examples: - default: *446 + default: *443 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -97421,7 +96821,7 @@ paths: application/json: schema: *221 examples: - default: *446 + default: *443 '401': *25 '403': *29 '404': *6 @@ -97465,7 +96865,7 @@ paths: type: integer secrets: type: array - items: &663 + items: &661 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -97505,7 +96905,7 @@ paths: - visibility - selected_repositories_url examples: - default: *449 + default: *446 headers: Link: *54 x-github: @@ -97581,7 +96981,7 @@ paths: description: Response content: application/json: - schema: *663 + schema: *661 examples: default: value: @@ -97727,7 +97127,7 @@ paths: type: array items: *142 examples: - default: *664 + default: *662 '401': *25 '403': *29 '404': *6 @@ -97879,7 +97279,7 @@ paths: application/json: schema: *221 examples: - default: *446 + default: *443 '304': *37 '500': *103 '401': *25 @@ -97937,7 +97337,7 @@ paths: application/json: schema: *221 examples: - default: *446 + default: *443 '401': *25 '403': *29 '404': *6 @@ -97994,7 +97394,7 @@ paths: description: Response content: application/json: - schema: &665 + schema: &663 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -98035,7 +97435,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &666 + default: &664 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -98080,9 +97480,9 @@ paths: description: Response content: application/json: - schema: *665 + schema: *663 examples: - default: *666 + default: *664 '404': *6 x-github: githubCloudOnly: false @@ -98119,9 +97519,9 @@ paths: type: integer machines: type: array - items: *667 + items: *665 examples: - default: *668 + default: *666 '304': *37 '500': *103 '401': *25 @@ -98200,13 +97600,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *332 + repository: *329 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *447 - required: *448 + properties: *444 + required: *445 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -98988,7 +98388,7 @@ paths: application/json: schema: *221 examples: - default: *446 + default: *443 '304': *37 '500': *103 '400': *14 @@ -99028,7 +98428,7 @@ paths: application/json: schema: *221 examples: - default: *446 + default: *443 '500': *103 '401': *25 '403': *29 @@ -99060,7 +98460,7 @@ paths: type: array items: *234 examples: - default: &679 + default: &677 value: - id: 197 name: hello_docker @@ -99161,7 +98561,7 @@ paths: application/json: schema: type: array - items: &669 + items: &667 title: Email description: Email type: object @@ -99226,9 +98626,9 @@ paths: application/json: schema: type: array - items: *669 + items: *667 examples: - default: &681 + default: &679 value: - email: octocat@github.com verified: true @@ -99303,7 +98703,7 @@ paths: application/json: schema: type: array - items: *669 + items: *667 examples: default: value: @@ -99559,7 +98959,7 @@ paths: application/json: schema: type: array - items: &670 + items: &668 title: GPG Key description: A unique encryption key type: object @@ -99690,7 +99090,7 @@ paths: - subkeys - revoked examples: - default: &695 + default: &693 value: - id: 3 name: Octocat's GPG Key @@ -99775,9 +99175,9 @@ paths: description: Response content: application/json: - schema: *670 + schema: *668 examples: - default: &671 + default: &669 value: id: 3 name: Octocat's GPG Key @@ -99834,7 +99234,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &672 + - &670 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -99846,9 +99246,9 @@ paths: description: Response content: application/json: - schema: *670 + schema: *668 examples: - default: *671 + default: *669 '404': *6 '304': *37 '403': *29 @@ -99871,7 +99271,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *672 + - *670 responses: '204': description: Response @@ -100176,7 +99576,7 @@ paths: required: true content: application/json: - schema: *519 + schema: *516 examples: default: value: @@ -100326,7 +99726,7 @@ paths: application/json: schema: type: array - items: &673 + items: &671 title: Key description: Key type: object @@ -100427,9 +99827,9 @@ paths: description: Response content: application/json: - schema: *673 + schema: *671 examples: - default: &674 + default: &672 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -100462,15 +99862,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *548 + - *546 responses: '200': description: Response content: application/json: - schema: *673 + schema: *671 examples: - default: *674 + default: *672 '404': *6 '304': *37 '403': *29 @@ -100493,7 +99893,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *548 + - *546 responses: '204': description: Response @@ -100526,7 +99926,7 @@ paths: application/json: schema: type: array - items: &675 + items: &673 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -100594,7 +99994,7 @@ paths: - account - plan examples: - default: &676 + default: &674 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -100656,9 +100056,9 @@ paths: application/json: schema: type: array - items: *675 + items: *673 examples: - default: *676 + default: *674 headers: Link: *54 '304': *37 @@ -101653,7 +101053,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *228 - - *677 + - *675 responses: '204': description: Response @@ -101768,7 +101168,7 @@ paths: - docker - nuget - container - - *678 + - *676 - *19 - *17 responses: @@ -101780,8 +101180,8 @@ paths: type: array items: *234 examples: - default: *679 - '400': *680 + default: *677 + '400': *678 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -101810,7 +101210,7 @@ paths: application/json: schema: *234 examples: - default: &696 + default: &694 value: id: 40201 name: octo-name @@ -102147,97 +101547,6 @@ paths: enabledForGitHubApps: false category: packages subcategory: packages - "/user/projects": - post: - summary: Create a user project - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/create-for-authenticated-user - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/projects-classic/projects#create-a-user-project - parameters: [] - requestBody: - required: true - content: - application/json: - schema: - properties: - name: - description: Name of the project - example: Week One Sprint - type: string - body: - description: Body of the project - example: This project represents the sprint of the first week in - January - type: string - nullable: true - required: - - name - type: object - examples: - default: - summary: Create a new project - value: - name: My Projects - body: A board to manage my personal projects. - responses: - '201': - description: Response - content: - application/json: - schema: *250 - examples: - default: - value: - owner_url: https://api.github.com/users/octocat - url: https://api.github.com/projects/1002603 - html_url: https://github.com/users/octocat/projects/1 - columns_url: https://api.github.com/projects/1002603/columns - id: 1002603 - node_id: MDc6UHJvamVjdDEwMDI2MDM= - name: My Projects - body: A board to manage my personal projects. - number: 1 - state: open - creator: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - created_at: '2011-04-10T20:09:31Z' - updated_at: '2014-03-03T18:58:10Z' - '304': *37 - '403': *29 - '401': *25 - '422': *7 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true "/user/public_emails": get: summary: List public email addresses for the authenticated user @@ -102263,9 +101572,9 @@ paths: application/json: schema: type: array - items: *669 + items: *667 examples: - default: *681 + default: *679 headers: Link: *54 '304': *37 @@ -102378,7 +101687,7 @@ paths: type: array items: *66 examples: - default: &688 + default: &686 summary: Default response value: - id: 1296269 @@ -102682,9 +101991,9 @@ paths: description: Response content: application/json: - schema: *332 + schema: *329 examples: - default: *334 + default: *331 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -102722,9 +102031,9 @@ paths: application/json: schema: type: array - items: *521 + items: *518 examples: - default: *682 + default: *680 headers: Link: *54 '304': *37 @@ -102803,7 +102112,7 @@ paths: application/json: schema: type: array - items: &683 + items: &681 title: Social account description: Social media account type: object @@ -102818,7 +102127,7 @@ paths: - provider - url examples: - default: &684 + default: &682 value: - provider: twitter url: https://twitter.com/github @@ -102880,9 +102189,9 @@ paths: application/json: schema: type: array - items: *683 + items: *681 examples: - default: *684 + default: *682 '422': *15 '304': *37 '404': *6 @@ -102969,7 +102278,7 @@ paths: application/json: schema: type: array - items: &685 + items: &683 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -102989,7 +102298,7 @@ paths: - title - created_at examples: - default: &711 + default: &709 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -103055,9 +102364,9 @@ paths: description: Response content: application/json: - schema: *685 + schema: *683 examples: - default: &686 + default: &684 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -103088,7 +102397,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: - - &687 + - &685 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -103100,9 +102409,9 @@ paths: description: Response content: application/json: - schema: *685 + schema: *683 examples: - default: *686 + default: *684 '404': *6 '304': *37 '403': *29 @@ -103125,7 +102434,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: - - *687 + - *685 responses: '204': description: Response @@ -103154,7 +102463,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &712 + - &710 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 @@ -103179,11 +102488,11 @@ paths: type: array items: *66 examples: - default-response: *688 + default-response: *686 application/vnd.github.v3.star+json: schema: type: array - items: &713 + items: &711 title: Starred Repository description: Starred Repository type: object @@ -103339,8 +102648,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: + - *323 - *324 - - *325 responses: '204': description: Response if this repository is starred by you @@ -103368,8 +102677,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: + - *323 - *324 - - *325 responses: '204': description: Response @@ -103393,8 +102702,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: + - *323 - *324 - - *325 responses: '204': description: Response @@ -103466,7 +102775,7 @@ paths: application/json: schema: type: array - items: *309 + items: *308 examples: default: value: @@ -103552,10 +102861,10 @@ paths: application/json: schema: oneOf: - - *662 - - *661 + - *660 + - *659 examples: - default-response: &690 + default-response: &688 summary: Default response value: login: octocat @@ -103590,7 +102899,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &691 + response-with-git-hub-plan-information: &689 summary: Response with GitHub plan information value: login: octocat @@ -103650,7 +102959,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *689 + - *687 - *17 responses: '200': @@ -103699,11 +103008,11 @@ paths: application/json: schema: oneOf: - - *662 - - *661 + - *660 + - *659 examples: - default-response: *690 - response-with-git-hub-plan-information: *691 + default-response: *688 + response-with-git-hub-plan-information: *689 '404': *6 x-github: githubCloudOnly: false @@ -103753,8 +103062,8 @@ paths: required: - subject_digests examples: - default: *692 - withPredicateType: *693 + default: *690 + withPredicateType: *691 responses: '200': description: Response @@ -103807,7 +103116,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *694 + default: *692 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104012,7 +103321,7 @@ paths: initiator: type: string examples: - default: *388 + default: *385 '201': description: Response content: @@ -104053,7 +103362,7 @@ paths: type: array items: *234 examples: - default: *679 + default: *677 '403': *29 '401': *25 x-github: @@ -104437,9 +103746,9 @@ paths: application/json: schema: type: array - items: *670 + items: *668 examples: - default: *695 + default: *693 headers: Link: *54 x-github: @@ -104543,7 +103852,7 @@ paths: application/json: schema: *22 examples: - default: *518 + default: *515 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104667,7 +103976,7 @@ paths: - docker - nuget - container - - *678 + - *676 - *59 - *19 - *17 @@ -104680,10 +103989,10 @@ paths: type: array items: *234 examples: - default: *679 + default: *677 '403': *29 '401': *25 - '400': *680 + '400': *678 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104713,7 +104022,7 @@ paths: application/json: schema: *234 examples: - default: *696 + default: *694 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104964,87 +104273,6 @@ paths: enabledForGitHubApps: false category: packages subcategory: packages - "/users/{username}/projects": - get: - summary: List user projects - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/list-for-user - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/projects-classic/projects#list-user-projects - parameters: - - *59 - - name: state - description: Indicates the state of the projects to return. - in: query - required: false - schema: - type: string - enum: - - open - - closed - - all - default: open - - *17 - - *19 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: *250 - examples: - default: - value: - - owner_url: https://api.github.com/users/octocat - url: https://api.github.com/projects/1002603 - html_url: https://github.com/users/octocat/projects/1 - columns_url: https://api.github.com/projects/1002603/columns - id: 1002603 - node_id: MDc6UHJvamVjdDEwMDI2MDM= - name: My Projects - body: A board to manage my personal projects. - number: 1 - state: open - creator: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - created_at: '2011-04-10T20:09:31Z' - updated_at: '2014-03-03T18:58:10Z' - headers: - Link: *54 - '422': *15 - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true "/users/{username}/projectsV2": get: summary: List projects for user @@ -105074,9 +104302,9 @@ paths: application/json: schema: type: array - items: *251 + items: *250 examples: - default: *252 + default: *251 headers: Link: *54 '304': *37 @@ -105098,16 +104326,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *253 + - *252 - *59 responses: '200': description: Response content: application/json: - schema: *251 + schema: *250 examples: - default: *252 + default: *251 headers: Link: *54 '304': *37 @@ -105129,7 +104357,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *253 + - *252 - *59 - *17 - *40 @@ -105141,9 +104369,9 @@ paths: application/json: schema: type: array - items: *254 + items: *253 examples: - default: *697 + default: *695 headers: Link: *54 '304': *37 @@ -105165,17 +104393,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *253 - - *698 + - *252 + - *696 - *59 responses: '200': description: Response content: application/json: - schema: *254 + schema: *253 examples: - default: *699 + default: *697 headers: Link: *54 '304': *37 @@ -105198,7 +104426,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *253 + - *252 - *59 - *40 - *41 @@ -105231,9 +104459,9 @@ paths: application/json: schema: type: array - items: *260 + items: *259 examples: - default: *261 + default: *260 headers: Link: *54 '304': *37 @@ -105255,7 +104483,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - *59 - - *253 + - *252 requestBody: required: true description: Details of the item to add to the project. @@ -105292,10 +104520,10 @@ paths: description: Response content: application/json: - schema: *700 + schema: *698 examples: - issue: *259 - pull_request: *259 + issue: *258 + pull_request: *258 '304': *37 '403': *29 '401': *25 @@ -105315,9 +104543,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *253 + - *252 - *59 - - *262 + - *261 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -105337,9 +104565,9 @@ paths: description: Response content: application/json: - schema: *260 + schema: *259 examples: - default: *261 + default: *260 headers: Link: *54 '304': *37 @@ -105360,9 +104588,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *253 + - *252 - *59 - - *262 + - *261 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -105432,13 +104660,13 @@ paths: description: Response content: application/json: - schema: *260 + schema: *259 examples: - text_field: *261 - number_field: *261 - date_field: *261 - single_select_field: *261 - iteration_field: *261 + text_field: *260 + number_field: *260 + date_field: *260 + single_select_field: *260 + iteration_field: *260 '401': *25 '403': *29 '404': *6 @@ -105458,9 +104686,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *253 + - *252 - *59 - - *262 + - *261 responses: '204': description: Response @@ -105710,9 +104938,9 @@ paths: description: Response content: application/json: - schema: *701 + schema: *699 examples: - default: *702 + default: *700 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105740,9 +104968,9 @@ paths: description: Response content: application/json: - schema: *703 + schema: *701 examples: - default: *704 + default: *702 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105766,7 +104994,7 @@ paths: - *105 - *107 - *106 - - *705 + - *703 - *108 responses: '200': @@ -105903,9 +105131,9 @@ paths: description: Response content: application/json: - schema: *706 + schema: *704 examples: - default: *707 + default: *705 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105927,7 +105155,7 @@ paths: parameters: - *59 - *105 - - *708 + - *706 - *106 responses: '200': @@ -106026,9 +105254,9 @@ paths: - *105 - *107 - *106 - - *709 + - *707 - *108 - - *710 + - *708 responses: '200': description: Response when getting a billing usage summary report @@ -106162,9 +105390,9 @@ paths: application/json: schema: type: array - items: *683 + items: *681 examples: - default: *684 + default: *682 headers: Link: *54 x-github: @@ -106194,9 +105422,9 @@ paths: application/json: schema: type: array - items: *685 + items: *683 examples: - default: *711 + default: *709 headers: Link: *54 x-github: @@ -106221,7 +105449,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *59 - - *712 + - *710 - *48 - *17 - *19 @@ -106233,11 +105461,11 @@ paths: schema: anyOf: - type: array - items: *713 + items: *711 - type: array items: *66 examples: - default-response: *688 + default-response: *686 headers: Link: *54 x-github: @@ -106396,7 +105624,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &714 + enterprise: &712 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -106454,7 +105682,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &715 + installation: &713 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -106473,7 +105701,7 @@ x-webhooks: required: - id - node_id - organization: &716 + organization: &714 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -106533,13 +105761,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &717 + repository: &715 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: &747 + properties: &745 id: description: Unique identifier of the repository example: 42 @@ -107222,7 +106450,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &748 + required: &746 - archive_url - assignees_url - blobs_url @@ -107373,10 +106601,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -107452,11 +106680,11 @@ x-webhooks: type: string enum: - created - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 - rule: &718 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 + rule: &716 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) @@ -107679,11 +106907,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 - rule: *718 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 + rule: *716 sender: *4 required: - action @@ -107866,11 +107094,11 @@ x-webhooks: - everyone required: - from - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 - rule: *718 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 + rule: *716 sender: *4 required: - action @@ -107954,7 +107182,7 @@ x-webhooks: type: string enum: - completed - check_run: &720 + check_run: &718 title: CheckRun description: A check performed on the code of a given code change type: object @@ -108007,7 +107235,7 @@ x-webhooks: type: string pull_requests: type: array - items: *405 + items: *402 repository: *142 status: example: completed @@ -108045,7 +107273,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *719 + deployment: *717 details_url: example: https://example.com type: string @@ -108095,7 +107323,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *405 + items: *402 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -108130,10 +107358,10 @@ x-webhooks: - output - app - pull_requests - installation: *715 - enterprise: *714 - organization: *716 - repository: *717 + installation: *713 + enterprise: *712 + organization: *714 + repository: *715 sender: *4 required: - check_run @@ -108526,11 +107754,11 @@ x-webhooks: type: string enum: - created - check_run: *720 - installation: *715 - enterprise: *714 - organization: *716 - repository: *717 + check_run: *718 + installation: *713 + enterprise: *712 + organization: *714 + repository: *715 sender: *4 required: - check_run @@ -108926,11 +108154,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *720 - installation: *715 - enterprise: *714 - organization: *716 - repository: *717 + check_run: *718 + installation: *713 + enterprise: *712 + organization: *714 + repository: *715 requested_action: description: The action requested by the user. type: object @@ -109335,11 +108563,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *720 - installation: *715 - enterprise: *714 - organization: *716 - repository: *717 + check_run: *718 + installation: *713 + enterprise: *712 + organization: *714 + repository: *715 sender: *4 required: - check_run @@ -110316,10 +109544,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -110989,10 +110217,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -111656,10 +110884,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -111825,7 +111053,7 @@ x-webhooks: required: - login - id - dismissed_comment: *421 + dismissed_comment: *418 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -111970,20 +111198,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &721 + commit_oid: &719 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: *714 - installation: *715 - organization: *716 - ref: &722 + enterprise: *712 + installation: *713 + organization: *714 + ref: &720 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: *717 + repository: *715 sender: *4 required: - action @@ -112148,7 +111376,7 @@ x-webhooks: required: - login - id - dismissed_comment: *421 + dismissed_comment: *418 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -112378,12 +111606,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *721 - enterprise: *714 - installation: *715 - organization: *716 - ref: *722 - repository: *717 + commit_oid: *719 + enterprise: *712 + installation: *713 + organization: *714 + ref: *720 + repository: *715 sender: *4 required: - action @@ -112478,7 +111706,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *421 + dismissed_comment: *418 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -112649,12 +111877,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *721 - enterprise: *714 - installation: *715 - organization: *716 - ref: *722 - repository: *717 + commit_oid: *719 + enterprise: *712 + installation: *713 + organization: *714 + ref: *720 + repository: *715 sender: *4 required: - action @@ -112820,7 +112048,7 @@ x-webhooks: required: - login - id - dismissed_comment: *421 + dismissed_comment: *418 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -112986,12 +112214,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *721 - enterprise: *714 - installation: *715 - organization: *716 - ref: *722 - repository: *717 + commit_oid: *719 + enterprise: *712 + installation: *713 + organization: *714 + ref: *720 + repository: *715 sender: *4 required: - action @@ -113091,7 +112319,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *421 + dismissed_comment: *418 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -113259,16 +112487,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *714 - installation: *715 - organization: *716 + enterprise: *712 + installation: *713 + organization: *714 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: *717 + repository: *715 sender: *4 required: - action @@ -113365,7 +112593,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *421 + dismissed_comment: *418 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -113505,12 +112733,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *721 - enterprise: *714 - installation: *715 - organization: *716 - ref: *722 - repository: *717 + commit_oid: *719 + enterprise: *712 + installation: *713 + organization: *714 + ref: *720 + repository: *715 sender: *4 required: - action @@ -113767,10 +112995,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -113850,18 +113078,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *714 - installation: *715 + enterprise: *712 + installation: *713 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *716 - pusher_type: &723 + organization: *714 + pusher_type: &721 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &724 + ref: &722 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -113871,7 +113099,7 @@ x-webhooks: enum: - tag - branch - repository: *717 + repository: *715 sender: *4 required: - ref @@ -113953,10 +113181,10 @@ x-webhooks: type: string enum: - created - definition: *263 - enterprise: *714 - installation: *715 - organization: *716 + definition: *262 + enterprise: *712 + installation: *713 + organization: *714 sender: *4 required: - action @@ -114041,9 +113269,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *714 - installation: *715 - organization: *716 + enterprise: *712 + installation: *713 + organization: *714 sender: *4 required: - action @@ -114120,10 +113348,10 @@ x-webhooks: type: string enum: - promote_to_enterprise - definition: *263 - enterprise: *714 - installation: *715 - organization: *716 + definition: *262 + enterprise: *712 + installation: *713 + organization: *714 sender: *4 required: - action @@ -114200,10 +113428,10 @@ x-webhooks: type: string enum: - updated - definition: *263 - enterprise: *714 - installation: *715 - organization: *716 + definition: *262 + enterprise: *712 + installation: *713 + organization: *714 sender: *4 required: - action @@ -114280,10 +113508,10 @@ x-webhooks: type: string enum: - updated - enterprise: *714 - installation: *715 - repository: *717 - organization: *716 + enterprise: *712 + installation: *713 + repository: *715 + organization: *714 sender: *4 new_property_values: type: array @@ -114368,18 +113596,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *714 - installation: *715 - organization: *716 - pusher_type: *723 - ref: *724 + enterprise: *712 + installation: *713 + organization: *714 + pusher_type: *721 + ref: *722 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *717 + repository: *715 sender: *4 required: - ref @@ -114463,11 +113691,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *477 - installation: *715 - organization: *716 - enterprise: *714 - repository: *717 + alert: *474 + installation: *713 + organization: *714 + enterprise: *712 + repository: *715 sender: *4 required: - action @@ -114551,11 +113779,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *477 - installation: *715 - organization: *716 - enterprise: *714 - repository: *717 + alert: *474 + installation: *713 + organization: *714 + enterprise: *712 + repository: *715 sender: *4 required: - action @@ -114639,11 +113867,11 @@ x-webhooks: type: string enum: - created - alert: *477 - installation: *715 - organization: *716 - enterprise: *714 - repository: *717 + alert: *474 + installation: *713 + organization: *714 + enterprise: *712 + repository: *715 sender: *4 required: - action @@ -114725,11 +113953,11 @@ x-webhooks: type: string enum: - dismissed - alert: *477 - installation: *715 - organization: *716 - enterprise: *714 - repository: *717 + alert: *474 + installation: *713 + organization: *714 + enterprise: *712 + repository: *715 sender: *4 required: - action @@ -114811,11 +114039,11 @@ x-webhooks: type: string enum: - fixed - alert: *477 - installation: *715 - organization: *716 - enterprise: *714 - repository: *717 + alert: *474 + installation: *713 + organization: *714 + enterprise: *712 + repository: *715 sender: *4 required: - action @@ -114898,11 +114126,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *477 - installation: *715 - organization: *716 - enterprise: *714 - repository: *717 + alert: *474 + installation: *713 + organization: *714 + enterprise: *712 + repository: *715 sender: *4 required: - action @@ -114984,11 +114212,11 @@ x-webhooks: type: string enum: - reopened - alert: *477 - installation: *715 - organization: *716 - enterprise: *714 - repository: *717 + alert: *474 + installation: *713 + organization: *714 + enterprise: *712 + repository: *715 sender: *4 required: - action @@ -115065,9 +114293,9 @@ x-webhooks: type: string enum: - created - enterprise: *714 - installation: *715 - key: &725 + enterprise: *712 + installation: *713 + key: &723 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -115103,8 +114331,8 @@ x-webhooks: - verified - created_at - read_only - organization: *716 - repository: *717 + organization: *714 + repository: *715 sender: *4 required: - action @@ -115181,11 +114409,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *714 - installation: *715 - key: *725 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + key: *723 + organization: *714 + repository: *715 sender: *4 required: - action @@ -115746,12 +114974,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 - workflow: &729 + workflow: &727 title: Workflow type: object nullable: true @@ -116477,13 +115705,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *483 + deployment: *480 pull_requests: type: array - items: *569 - repository: *717 - organization: *716 - installation: *715 + items: *567 + repository: *715 + organization: *714 + installation: *713 sender: *4 responses: '200': @@ -116554,7 +115782,7 @@ x-webhooks: type: string enum: - approved - approver: &726 + approver: &724 type: object properties: avatar_url: @@ -116597,11 +115825,11 @@ x-webhooks: type: string comment: type: string - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 - reviewers: &727 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 + reviewers: &725 type: array items: type: object @@ -116680,7 +115908,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &728 + workflow_job_run: &726 type: object properties: conclusion: @@ -117411,18 +116639,18 @@ x-webhooks: type: string enum: - rejected - approver: *726 + approver: *724 comment: type: string - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 - reviewers: *727 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 + reviewers: *725 sender: *4 since: type: string - workflow_job_run: *728 + workflow_job_run: *726 workflow_job_runs: type: array items: @@ -118126,13 +117354,13 @@ x-webhooks: type: string enum: - requested - enterprise: *714 + enterprise: *712 environment: type: string - installation: *715 - organization: *716 - repository: *717 - requestor: &734 + installation: *713 + organization: *714 + repository: *715 + requestor: &732 title: User type: object nullable: true @@ -120031,12 +119259,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 - workflow: *729 + workflow: *727 workflow_run: title: Deployment Workflow Run type: object @@ -120716,7 +119944,7 @@ x-webhooks: type: string enum: - answered - answer: &732 + answer: &730 type: object properties: author_association: @@ -120873,7 +120101,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &730 + discussion: &728 title: Discussion description: A Discussion in a repository. type: object @@ -121159,7 +120387,7 @@ x-webhooks: - id labels: type: array - items: *531 + items: *529 required: - repository_url - category @@ -121181,10 +120409,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -121311,11 +120539,11 @@ x-webhooks: - from required: - category - discussion: *730 - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + discussion: *728 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -121398,11 +120626,11 @@ x-webhooks: type: string enum: - closed - discussion: *730 - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + discussion: *728 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -121484,7 +120712,7 @@ x-webhooks: type: string enum: - created - comment: &731 + comment: &729 type: object properties: author_association: @@ -121641,11 +120869,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *730 - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + discussion: *728 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -121728,12 +120956,12 @@ x-webhooks: type: string enum: - deleted - comment: *731 - discussion: *730 - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + comment: *729 + discussion: *728 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -121828,12 +121056,12 @@ x-webhooks: - from required: - body - comment: *731 - discussion: *730 - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + comment: *729 + discussion: *728 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -121917,11 +121145,11 @@ x-webhooks: type: string enum: - created - discussion: *730 - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + discussion: *728 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -122003,11 +121231,11 @@ x-webhooks: type: string enum: - deleted - discussion: *730 - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + discussion: *728 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -122107,11 +121335,11 @@ x-webhooks: type: string required: - from - discussion: *730 - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + discussion: *728 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -122193,10 +121421,10 @@ x-webhooks: type: string enum: - labeled - discussion: *730 - enterprise: *714 - installation: *715 - label: &733 + discussion: *728 + enterprise: *712 + installation: *713 + label: &731 title: Label type: object properties: @@ -122228,8 +121456,8 @@ x-webhooks: - color - default - description - organization: *716 - repository: *717 + organization: *714 + repository: *715 sender: *4 required: - action @@ -122312,11 +121540,11 @@ x-webhooks: type: string enum: - locked - discussion: *730 - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + discussion: *728 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -122398,11 +121626,11 @@ x-webhooks: type: string enum: - pinned - discussion: *730 - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + discussion: *728 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -122484,11 +121712,11 @@ x-webhooks: type: string enum: - reopened - discussion: *730 - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + discussion: *728 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -122573,16 +121801,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *730 - new_repository: *717 + new_discussion: *728 + new_repository: *715 required: - new_discussion - new_repository - discussion: *730 - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + discussion: *728 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -122665,10 +121893,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *730 - old_answer: *732 - organization: *716 - repository: *717 + discussion: *728 + old_answer: *730 + organization: *714 + repository: *715 sender: *4 required: - action @@ -122750,12 +121978,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *730 - enterprise: *714 - installation: *715 - label: *733 - organization: *716 - repository: *717 + discussion: *728 + enterprise: *712 + installation: *713 + label: *731 + organization: *714 + repository: *715 sender: *4 required: - action @@ -122838,11 +122066,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *730 - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + discussion: *728 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -122924,11 +122152,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *730 - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + discussion: *728 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -123001,7 +122229,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *714 + enterprise: *712 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -123661,9 +122889,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *715 - organization: *716 - repository: *717 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - forkee @@ -123809,9 +123037,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *714 - installation: *715 - organization: *716 + enterprise: *712 + installation: *713 + organization: *714 pages: description: The pages that were updated. type: array @@ -123848,7 +123076,7 @@ x-webhooks: - action - sha - html_url - repository: *717 + repository: *715 sender: *4 required: - pages @@ -123924,10 +123152,10 @@ x-webhooks: type: string enum: - created - enterprise: *714 + enterprise: *712 installation: *22 - organization: *716 - repositories: &735 + organization: *714 + repositories: &733 description: An array of repository objects that the installation can access. type: array @@ -123953,8 +123181,8 @@ x-webhooks: - name - full_name - private - repository: *717 - requester: *734 + repository: *715 + requester: *732 sender: *4 required: - action @@ -124029,11 +123257,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *714 + enterprise: *712 installation: *22 - organization: *716 - repositories: *735 - repository: *717 + organization: *714 + repositories: *733 + repository: *715 requester: nullable: true sender: *4 @@ -124109,11 +123337,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *714 + enterprise: *712 installation: *22 - organization: *716 - repositories: *735 - repository: *717 + organization: *714 + repositories: *733 + repository: *715 requester: nullable: true sender: *4 @@ -124189,10 +123417,10 @@ x-webhooks: type: string enum: - added - enterprise: *714 + enterprise: *712 installation: *22 - organization: *716 - repositories_added: &736 + organization: *714 + repositories_added: &734 description: An array of repository objects, which were added to the installation. type: array @@ -124238,15 +123466,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *717 - repository_selection: &737 + repository: *715 + repository_selection: &735 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *734 + requester: *732 sender: *4 required: - action @@ -124325,10 +123553,10 @@ x-webhooks: type: string enum: - removed - enterprise: *714 + enterprise: *712 installation: *22 - organization: *716 - repositories_added: *736 + organization: *714 + repositories_added: *734 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -124355,9 +123583,9 @@ x-webhooks: - name - full_name - private - repository: *717 - repository_selection: *737 - requester: *734 + repository: *715 + repository_selection: *735 + requester: *732 sender: *4 required: - action @@ -124436,11 +123664,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *714 + enterprise: *712 installation: *22 - organization: *716 - repositories: *735 - repository: *717 + organization: *714 + repositories: *733 + repository: *715 requester: nullable: true sender: *4 @@ -124618,10 +123846,10 @@ x-webhooks: type: string required: - from - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 target_type: type: string @@ -124700,11 +123928,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *714 + enterprise: *712 installation: *22 - organization: *716 - repositories: *735 - repository: *717 + organization: *714 + repositories: *733 + repository: *715 requester: nullable: true sender: *4 @@ -124956,8 +124184,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *714 - installation: *715 + enterprise: *712 + installation: *713 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -125751,8 +124979,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *647 - issue_dependencies_summary: *648 + sub_issues_summary: *645 + issue_dependencies_summary: *646 state: description: State of the issue; either 'open' or 'closed' type: string @@ -126101,8 +125329,8 @@ x-webhooks: - state - locked - assignee - organization: *716 - repository: *717 + organization: *714 + repository: *715 sender: *4 required: - action @@ -126182,7 +125410,7 @@ x-webhooks: type: string enum: - deleted - comment: &738 + comment: &736 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -126347,8 +125575,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *714 - installation: *715 + enterprise: *712 + installation: *713 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -127138,8 +126366,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *647 - issue_dependencies_summary: *648 + sub_issues_summary: *645 + issue_dependencies_summary: *646 state: description: State of the issue; either 'open' or 'closed' type: string @@ -127490,8 +126718,8 @@ x-webhooks: - state - locked - assignee - organization: *716 - repository: *717 + organization: *714 + repository: *715 sender: *4 required: - action @@ -127571,7 +126799,7 @@ x-webhooks: type: string enum: - edited - changes: &767 + changes: &765 description: The changes to the comment. type: object properties: @@ -127583,9 +126811,9 @@ x-webhooks: type: string required: - from - comment: *738 - enterprise: *714 - installation: *715 + comment: *736 + enterprise: *712 + installation: *713 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -128378,8 +127606,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *647 - issue_dependencies_summary: *648 + sub_issues_summary: *645 + issue_dependencies_summary: *646 state: description: State of the issue; either 'open' or 'closed' type: string @@ -128728,8 +127956,8 @@ x-webhooks: - state - locked - assignee - organization: *716 - repository: *717 + organization: *714 + repository: *715 sender: *4 required: - action @@ -128819,9 +128047,9 @@ x-webhooks: type: number blocking_issue: *82 blocking_issue_repo: *66 - installation: *715 - organization: *716 - repository: *717 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -128915,9 +128143,9 @@ x-webhooks: type: number blocking_issue: *82 blocking_issue_repo: *66 - installation: *715 - organization: *716 - repository: *717 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -129010,9 +128238,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *82 - installation: *715 - organization: *716 - repository: *717 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -129106,9 +128334,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *82 - installation: *715 - organization: *716 - repository: *717 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -129193,10 +128421,10 @@ x-webhooks: type: string enum: - assigned - assignee: *734 - enterprise: *714 - installation: *715 - issue: &741 + assignee: *732 + enterprise: *712 + installation: *713 + issue: &739 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -129985,11 +129213,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *647 - issue_dependencies_summary: *648 + sub_issues_summary: *645 + issue_dependencies_summary: *646 issue_field_values: type: array - items: *649 + items: *647 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130106,8 +129334,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *716 - repository: *717 + organization: *714 + repository: *715 sender: *4 required: - action @@ -130187,8 +129415,8 @@ x-webhooks: type: string enum: - closed - enterprise: *714 - installation: *715 + enterprise: *712 + installation: *713 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -130982,11 +130210,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *647 - issue_dependencies_summary: *648 + sub_issues_summary: *645 + issue_dependencies_summary: *646 issue_field_values: type: array - items: *649 + items: *647 state: description: State of the issue; either 'open' or 'closed' type: string @@ -131238,8 +130466,8 @@ x-webhooks: required: - state - closed_at - organization: *716 - repository: *717 + organization: *714 + repository: *715 sender: *4 required: - action @@ -131318,8 +130546,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *714 - installation: *715 + enterprise: *712 + installation: *713 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -132104,11 +131332,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *647 - issue_dependencies_summary: *648 + sub_issues_summary: *645 + issue_dependencies_summary: *646 issue_field_values: type: array - items: *649 + items: *647 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132224,8 +131452,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *716 - repository: *717 + organization: *714 + repository: *715 sender: *4 required: - action @@ -132304,8 +131532,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *714 - installation: *715 + enterprise: *712 + installation: *713 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -133112,11 +132340,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *647 - issue_dependencies_summary: *648 + sub_issues_summary: *645 + issue_dependencies_summary: *646 issue_field_values: type: array - items: *649 + items: *647 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133211,7 +132439,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &739 + milestone: &737 title: Milestone description: A collection of related issues and pull requests. type: object @@ -133349,8 +132577,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *716 - repository: *717 + organization: *714 + repository: *715 sender: *4 required: - action @@ -133449,8 +132677,8 @@ x-webhooks: type: string required: - from - enterprise: *714 - installation: *715 + enterprise: *712 + installation: *713 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -134239,11 +133467,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *647 - issue_dependencies_summary: *648 + sub_issues_summary: *645 + issue_dependencies_summary: *646 issue_field_values: type: array - items: *649 + items: *647 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134360,9 +133588,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *733 - organization: *716 - repository: *717 + label: *731 + organization: *714 + repository: *715 sender: *4 required: - action @@ -134442,8 +133670,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *714 - installation: *715 + enterprise: *712 + installation: *713 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135231,11 +134459,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *647 - issue_dependencies_summary: *648 + sub_issues_summary: *645 + issue_dependencies_summary: *646 issue_field_values: type: array - items: *649 + items: *647 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135352,9 +134580,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *733 - organization: *716 - repository: *717 + label: *731 + organization: *714 + repository: *715 sender: *4 required: - action @@ -135434,8 +134662,8 @@ x-webhooks: type: string enum: - locked - enterprise: *714 - installation: *715 + enterprise: *712 + installation: *713 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -136247,11 +135475,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *647 - issue_dependencies_summary: *648 + sub_issues_summary: *645 + issue_dependencies_summary: *646 issue_field_values: type: array - items: *649 + items: *647 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136345,8 +135573,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *716 - repository: *717 + organization: *714 + repository: *715 sender: *4 required: - action @@ -136425,8 +135653,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *714 - installation: *715 + enterprise: *712 + installation: *713 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -137232,11 +136460,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *647 - issue_dependencies_summary: *648 + sub_issues_summary: *645 + issue_dependencies_summary: *646 issue_field_values: type: array - items: *649 + items: *647 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137330,9 +136558,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *739 - organization: *716 - repository: *717 + milestone: *737 + organization: *714 + repository: *715 sender: *4 required: - action @@ -138200,11 +137428,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *647 - issue_dependencies_summary: *648 + sub_issues_summary: *645 + issue_dependencies_summary: *646 issue_field_values: type: array - items: *649 + items: *647 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138766,8 +137994,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *714 - installation: *715 + enterprise: *712 + installation: *713 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -139556,11 +138784,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *647 - issue_dependencies_summary: *648 + sub_issues_summary: *645 + issue_dependencies_summary: *646 issue_field_values: type: array - items: *649 + items: *647 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139676,8 +138904,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *716 - repository: *717 + organization: *714 + repository: *715 sender: *4 required: - action @@ -139757,9 +138985,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *714 - installation: *715 - issue: &740 + enterprise: *712 + installation: *713 + issue: &738 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -140542,11 +139770,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *647 - issue_dependencies_summary: *648 + sub_issues_summary: *645 + issue_dependencies_summary: *646 issue_field_values: type: array - items: *649 + items: *647 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140662,8 +139890,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *716 - repository: *717 + organization: *714 + repository: *715 sender: *4 required: - action @@ -140742,8 +139970,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *714 - installation: *715 + enterprise: *712 + installation: *713 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -141553,11 +140781,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *647 - issue_dependencies_summary: *648 + sub_issues_summary: *645 + issue_dependencies_summary: *646 issue_field_values: type: array - items: *649 + items: *647 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141652,8 +140880,8 @@ x-webhooks: user_view_type: type: string type: *216 - organization: *716 - repository: *717 + organization: *714 + repository: *715 sender: *4 required: - action @@ -142519,11 +141747,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *647 - issue_dependencies_summary: *648 + sub_issues_summary: *645 + issue_dependencies_summary: *646 issue_field_values: type: array - items: *649 + items: *647 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143107,11 +142335,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *714 - installation: *715 - issue: *740 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + issue: *738 + organization: *714 + repository: *715 sender: *4 required: - action @@ -143191,12 +142419,12 @@ x-webhooks: type: string enum: - typed - enterprise: *714 - installation: *715 - issue: *741 + enterprise: *712 + installation: *713 + issue: *739 type: *216 - organization: *716 - repository: *717 + organization: *714 + repository: *715 sender: *4 required: - action @@ -143277,7 +142505,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &770 + assignee: &768 title: User type: object nullable: true @@ -143347,11 +142575,11 @@ x-webhooks: required: - login - id - enterprise: *714 - installation: *715 - issue: *741 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + issue: *739 + organization: *714 + repository: *715 sender: *4 required: - action @@ -143430,12 +142658,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *714 - installation: *715 - issue: *741 - label: *733 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + issue: *739 + label: *731 + organization: *714 + repository: *715 sender: *4 required: - action @@ -143515,8 +142743,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *714 - installation: *715 + enterprise: *712 + installation: *713 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -144326,11 +143554,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *647 - issue_dependencies_summary: *648 + sub_issues_summary: *645 + issue_dependencies_summary: *646 issue_field_values: type: array - items: *649 + items: *647 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144424,8 +143652,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *716 - repository: *717 + organization: *714 + repository: *715 sender: *4 required: - action @@ -144505,11 +143733,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *714 - installation: *715 - issue: *740 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + issue: *738 + organization: *714 + repository: *715 sender: *4 required: - action @@ -144588,12 +143816,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *714 - installation: *715 - issue: *741 + enterprise: *712 + installation: *713 + issue: *739 type: *216 - organization: *716 - repository: *717 + organization: *714 + repository: *715 sender: *4 required: - action @@ -144673,11 +143901,11 @@ x-webhooks: type: string enum: - created - enterprise: *714 - installation: *715 - label: *733 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + label: *731 + organization: *714 + repository: *715 sender: *4 required: - action @@ -144755,11 +143983,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *714 - installation: *715 - label: *733 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + label: *731 + organization: *714 + repository: *715 sender: *4 required: - action @@ -144869,11 +144097,11 @@ x-webhooks: type: string required: - from - enterprise: *714 - installation: *715 - label: *733 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + label: *731 + organization: *714 + repository: *715 sender: *4 required: - action @@ -144955,9 +144183,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *714 - installation: *715 - marketplace_purchase: &742 + enterprise: *712 + installation: *713 + marketplace_purchase: &740 title: Marketplace Purchase type: object required: @@ -145040,8 +144268,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *716 - previous_marketplace_purchase: &743 + organization: *714 + previous_marketplace_purchase: &741 title: Marketplace Purchase type: object properties: @@ -145121,7 +144349,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *717 + repository: *715 sender: *4 required: - action @@ -145201,10 +144429,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *714 - installation: *715 - marketplace_purchase: *742 - organization: *716 + enterprise: *712 + installation: *713 + marketplace_purchase: *740 + organization: *714 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -145287,7 +144515,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *717 + repository: *715 sender: *4 required: - action @@ -145369,10 +144597,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *714 - installation: *715 - marketplace_purchase: *742 - organization: *716 + enterprise: *712 + installation: *713 + marketplace_purchase: *740 + organization: *714 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -145454,7 +144682,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *717 + repository: *715 sender: *4 required: - action @@ -145535,8 +144763,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *714 - installation: *715 + enterprise: *712 + installation: *713 marketplace_purchase: title: Marketplace Purchase type: object @@ -145618,9 +144846,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *716 - previous_marketplace_purchase: *743 - repository: *717 + organization: *714 + previous_marketplace_purchase: *741 + repository: *715 sender: *4 required: - action @@ -145700,12 +144928,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *714 - installation: *715 - marketplace_purchase: *742 - organization: *716 - previous_marketplace_purchase: *743 - repository: *717 + enterprise: *712 + installation: *713 + marketplace_purchase: *740 + organization: *714 + previous_marketplace_purchase: *741 + repository: *715 sender: *4 required: - action @@ -145807,11 +145035,11 @@ x-webhooks: type: string required: - to - enterprise: *714 - installation: *715 - member: *734 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + member: *732 + organization: *714 + repository: *715 sender: *4 required: - action @@ -145911,11 +145139,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *714 - installation: *715 - member: *734 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + member: *732 + organization: *714 + repository: *715 sender: *4 required: - action @@ -145994,11 +145222,11 @@ x-webhooks: type: string enum: - removed - enterprise: *714 - installation: *715 - member: *734 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + member: *732 + organization: *714 + repository: *715 sender: *4 required: - action @@ -146076,11 +145304,11 @@ x-webhooks: type: string enum: - added - enterprise: *714 - installation: *715 - member: *734 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + member: *732 + organization: *714 + repository: *715 scope: description: The scope of the membership. Currently, can only be `team`. @@ -146156,7 +145384,7 @@ x-webhooks: required: - login - id - team: &744 + team: &742 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -146379,11 +145607,11 @@ x-webhooks: type: string enum: - removed - enterprise: *714 - installation: *715 - member: *734 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + member: *732 + organization: *714 + repository: *715 scope: description: The scope of the membership. Currently, can only be `team`. @@ -146460,7 +145688,7 @@ x-webhooks: required: - login - id - team: *744 + team: *742 required: - action - scope @@ -146542,8 +145770,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *715 - merge_group: &746 + installation: *713 + merge_group: &744 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -146562,15 +145790,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *745 + head_commit: *743 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *716 - repository: *717 + organization: *714 + repository: *715 sender: *4 required: - action @@ -146656,10 +145884,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *715 - merge_group: *746 - organization: *716 - repository: *717 + installation: *713 + merge_group: *744 + organization: *714 + repository: *715 sender: *4 required: - action @@ -146732,7 +145960,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *714 + enterprise: *712 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -146841,16 +146069,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *715 - organization: *716 + installation: *713 + organization: *714 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: *747 - required: *748 + properties: *745 + required: *746 nullable: true sender: *4 required: @@ -146931,11 +146159,11 @@ x-webhooks: type: string enum: - closed - enterprise: *714 - installation: *715 - milestone: *739 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + milestone: *737 + organization: *714 + repository: *715 sender: *4 required: - action @@ -147014,9 +146242,9 @@ x-webhooks: type: string enum: - created - enterprise: *714 - installation: *715 - milestone: &749 + enterprise: *712 + installation: *713 + milestone: &747 title: Milestone description: A collection of related issues and pull requests. type: object @@ -147153,8 +146381,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *716 - repository: *717 + organization: *714 + repository: *715 sender: *4 required: - action @@ -147233,11 +146461,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *714 - installation: *715 - milestone: *739 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + milestone: *737 + organization: *714 + repository: *715 sender: *4 required: - action @@ -147347,11 +146575,11 @@ x-webhooks: type: string required: - from - enterprise: *714 - installation: *715 - milestone: *739 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + milestone: *737 + organization: *714 + repository: *715 sender: *4 required: - action @@ -147431,11 +146659,11 @@ x-webhooks: type: string enum: - opened - enterprise: *714 - installation: *715 - milestone: *749 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + milestone: *747 + organization: *714 + repository: *715 sender: *4 required: - action @@ -147514,11 +146742,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *734 - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + blocked_user: *732 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -147597,11 +146825,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *734 - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + blocked_user: *732 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -147680,9 +146908,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *714 - installation: *715 - membership: &750 + enterprise: *712 + installation: *713 + membership: &748 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -147789,8 +147017,8 @@ x-webhooks: - role - organization_url - user - organization: *716 - repository: *717 + organization: *714 + repository: *715 sender: *4 required: - action @@ -147868,11 +147096,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *714 - installation: *715 - membership: *750 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + membership: *748 + organization: *714 + repository: *715 sender: *4 required: - action @@ -147951,8 +147179,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *714 - installation: *715 + enterprise: *712 + installation: *713 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -148068,10 +147296,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *716 - repository: *717 + organization: *714 + repository: *715 sender: *4 - user: *734 + user: *732 required: - action - invitation @@ -148149,11 +147377,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *714 - installation: *715 - membership: *750 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + membership: *748 + organization: *714 + repository: *715 sender: *4 required: - action @@ -148240,11 +147468,11 @@ x-webhooks: properties: from: type: string - enterprise: *714 - installation: *715 - membership: *750 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + membership: *748 + organization: *714 + repository: *715 sender: *4 required: - action @@ -148320,9 +147548,9 @@ x-webhooks: type: string enum: - published - enterprise: *714 - installation: *715 - organization: *716 + enterprise: *712 + installation: *713 + organization: *714 package: description: Information about the package. type: object @@ -148821,7 +148049,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &751 + items: &749 title: Ruby Gems metadata type: object properties: @@ -148916,7 +148144,7 @@ x-webhooks: - owner - package_version - registry - repository: *717 + repository: *715 sender: *4 required: - action @@ -148992,9 +148220,9 @@ x-webhooks: type: string enum: - updated - enterprise: *714 - installation: *715 - organization: *716 + enterprise: *712 + installation: *713 + organization: *714 package: description: Information about the package. type: object @@ -149347,7 +148575,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *751 + items: *749 source_url: type: string format: uri @@ -149417,7 +148645,7 @@ x-webhooks: - owner - package_version - registry - repository: *717 + repository: *715 sender: *4 required: - action @@ -149594,12 +148822,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *714 + enterprise: *712 id: type: integer - installation: *715 - organization: *716 - repository: *717 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - id @@ -149676,7 +148904,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &752 + personal_access_token_request: &750 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -149822,10 +149050,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *714 - organization: *716 + enterprise: *712 + organization: *714 sender: *4 - installation: *715 + installation: *713 required: - action - personal_access_token_request @@ -149902,11 +149130,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *752 - enterprise: *714 - organization: *716 + personal_access_token_request: *750 + enterprise: *712 + organization: *714 sender: *4 - installation: *715 + installation: *713 required: - action - personal_access_token_request @@ -149982,11 +149210,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *752 - enterprise: *714 - organization: *716 + personal_access_token_request: *750 + enterprise: *712 + organization: *714 sender: *4 - installation: *715 + installation: *713 required: - action - personal_access_token_request @@ -150061,11 +149289,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *752 - organization: *716 - enterprise: *714 + personal_access_token_request: *750 + organization: *714 + enterprise: *712 sender: *4 - installation: *715 + installation: *713 required: - action - personal_access_token_request @@ -150170,7 +149398,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *753 + last_response: *751 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -150202,8 +149430,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *716 - repository: *717 + organization: *714 + repository: *715 sender: *4 zen: description: Random string of GitHub zen. @@ -150448,10 +149676,10 @@ x-webhooks: - from required: - note - enterprise: *714 - installation: *715 - organization: *716 - project_card: &754 + enterprise: *712 + installation: *713 + organization: *714 + project_card: &752 title: Project Card type: object properties: @@ -150570,7 +149798,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *717 + repository: *715 sender: *4 required: - action @@ -150651,11 +149879,11 @@ x-webhooks: type: string enum: - created - enterprise: *714 - installation: *715 - organization: *716 - project_card: *754 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + project_card: *752 + repository: *715 sender: *4 required: - action @@ -150735,9 +149963,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *714 - installation: *715 - organization: *716 + enterprise: *712 + installation: *713 + organization: *714 project_card: title: Project Card type: object @@ -150865,8 +150093,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: *747 - required: *748 + properties: *745 + required: *746 nullable: true sender: *4 required: @@ -150960,11 +150188,11 @@ x-webhooks: - from required: - note - enterprise: *714 - installation: *715 - organization: *716 - project_card: *754 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + project_card: *752 + repository: *715 sender: *4 required: - action @@ -151058,9 +150286,9 @@ x-webhooks: - from required: - column_id - enterprise: *714 - installation: *715 - organization: *716 + enterprise: *712 + installation: *713 + organization: *714 project_card: allOf: - title: Project Card @@ -151250,7 +150478,7 @@ x-webhooks: type: string required: - after_id - repository: *717 + repository: *715 sender: *4 required: - action @@ -151330,10 +150558,10 @@ x-webhooks: type: string enum: - closed - enterprise: *714 - installation: *715 - organization: *716 - project: &756 + enterprise: *712 + installation: *713 + organization: *714 + project: &754 title: Project type: object properties: @@ -151457,7 +150685,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *717 + repository: *715 sender: *4 required: - action @@ -151537,10 +150765,10 @@ x-webhooks: type: string enum: - created - enterprise: *714 - installation: *715 - organization: *716 - project_column: &755 + enterprise: *712 + installation: *713 + organization: *714 + project_column: &753 title: Project Column type: object properties: @@ -151579,7 +150807,7 @@ x-webhooks: - name - created_at - updated_at - repository: *717 + repository: *715 sender: *4 required: - action @@ -151658,18 +150886,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *714 - installation: *715 - organization: *716 - project_column: *755 + enterprise: *712 + installation: *713 + organization: *714 + project_column: *753 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: *747 - required: *748 + properties: *745 + required: *746 nullable: true sender: *4 required: @@ -151759,11 +150987,11 @@ x-webhooks: type: string required: - from - enterprise: *714 - installation: *715 - organization: *716 - project_column: *755 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + project_column: *753 + repository: *715 sender: *4 required: - action @@ -151843,11 +151071,11 @@ x-webhooks: type: string enum: - moved - enterprise: *714 - installation: *715 - organization: *716 - project_column: *755 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + project_column: *753 + repository: *715 sender: *4 required: - action @@ -151927,11 +151155,11 @@ x-webhooks: type: string enum: - created - enterprise: *714 - installation: *715 - organization: *716 - project: *756 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + project: *754 + repository: *715 sender: *4 required: - action @@ -152011,18 +151239,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *714 - installation: *715 - organization: *716 - project: *756 + enterprise: *712 + installation: *713 + organization: *714 + project: *754 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: *747 - required: *748 + properties: *745 + required: *746 nullable: true sender: *4 required: @@ -152124,11 +151352,11 @@ x-webhooks: type: string required: - from - enterprise: *714 - installation: *715 - organization: *716 - project: *756 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + project: *754 + repository: *715 sender: *4 required: - action @@ -152207,11 +151435,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *714 - installation: *715 - organization: *716 - project: *756 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + project: *754 + repository: *715 sender: *4 required: - action @@ -152292,9 +151520,9 @@ x-webhooks: type: string enum: - closed - installation: *715 - organization: *716 - projects_v2: *251 + installation: *713 + organization: *714 + projects_v2: *250 sender: *4 required: - action @@ -152375,9 +151603,9 @@ x-webhooks: type: string enum: - created - installation: *715 - organization: *716 - projects_v2: *251 + installation: *713 + organization: *714 + projects_v2: *250 sender: *4 required: - action @@ -152458,9 +151686,9 @@ x-webhooks: type: string enum: - deleted - installation: *715 - organization: *716 - projects_v2: *251 + installation: *713 + organization: *714 + projects_v2: *250 sender: *4 required: - action @@ -152577,9 +151805,9 @@ x-webhooks: type: string to: type: string - installation: *715 - organization: *716 - projects_v2: *251 + installation: *713 + organization: *714 + projects_v2: *250 sender: *4 required: - action @@ -152662,7 +151890,7 @@ x-webhooks: type: string enum: - archived - changes: &760 + changes: &758 type: object properties: archived_at: @@ -152676,9 +151904,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *715 - organization: *716 - projects_v2_item: &757 + installation: *713 + organization: *714 + projects_v2_item: &755 title: Projects v2 Item description: An item belonging to a project type: object @@ -152696,7 +151924,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *258 + content_type: *257 creator: *4 created_at: type: string @@ -152813,9 +152041,9 @@ x-webhooks: nullable: true to: type: string - installation: *715 - organization: *716 - projects_v2_item: *757 + installation: *713 + organization: *714 + projects_v2_item: *755 sender: *4 required: - action @@ -152897,9 +152125,9 @@ x-webhooks: type: string enum: - created - installation: *715 - organization: *716 - projects_v2_item: *757 + installation: *713 + organization: *714 + projects_v2_item: *755 sender: *4 required: - action @@ -152980,9 +152208,9 @@ x-webhooks: type: string enum: - deleted - installation: *715 - organization: *716 - projects_v2_item: *757 + installation: *713 + organization: *714 + projects_v2_item: *755 sender: *4 required: - action @@ -153088,7 +152316,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &758 + - &756 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -153110,7 +152338,7 @@ x-webhooks: required: - id - name - - &759 + - &757 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -153144,8 +152372,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *758 - - *759 + - *756 + - *757 required: - field_value - type: object @@ -153161,9 +152389,9 @@ x-webhooks: nullable: true required: - body - installation: *715 - organization: *716 - projects_v2_item: *757 + installation: *713 + organization: *714 + projects_v2_item: *755 sender: *4 required: - action @@ -153258,9 +152486,9 @@ x-webhooks: to: type: string nullable: true - installation: *715 - organization: *716 - projects_v2_item: *757 + installation: *713 + organization: *714 + projects_v2_item: *755 sender: *4 required: - action @@ -153343,10 +152571,10 @@ x-webhooks: type: string enum: - restored - changes: *760 - installation: *715 - organization: *716 - projects_v2_item: *757 + changes: *758 + installation: *713 + organization: *714 + projects_v2_item: *755 sender: *4 required: - action @@ -153428,9 +152656,9 @@ x-webhooks: type: string enum: - reopened - installation: *715 - organization: *716 - projects_v2: *251 + installation: *713 + organization: *714 + projects_v2: *250 sender: *4 required: - action @@ -153511,14 +152739,14 @@ x-webhooks: type: string enum: - created - installation: *715 - organization: *716 - projects_v2_status_update: &763 + installation: *713 + organization: *714 + projects_v2_status_update: &761 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *761 - required: *762 + properties: *759 + required: *760 sender: *4 required: - action @@ -153599,9 +152827,9 @@ x-webhooks: type: string enum: - deleted - installation: *715 - organization: *716 - projects_v2_status_update: *763 + installation: *713 + organization: *714 + projects_v2_status_update: *761 sender: *4 required: - action @@ -153737,9 +152965,9 @@ x-webhooks: type: string format: date nullable: true - installation: *715 - organization: *716 - projects_v2_status_update: *763 + installation: *713 + organization: *714 + projects_v2_status_update: *761 sender: *4 required: - action @@ -153810,10 +153038,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - repository @@ -153890,13 +153118,13 @@ x-webhooks: type: string enum: - assigned - assignee: *734 - enterprise: *714 - installation: *715 - number: &764 + assignee: *732 + enterprise: *712 + installation: *713 + number: &762 description: The pull request number. type: integer - organization: *716 + organization: *714 pull_request: title: Pull Request type: object @@ -156179,7 +155407,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *717 + repository: *715 sender: *4 required: - action @@ -156261,11 +155489,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *714 - installation: *715 + enterprise: *712 + installation: *713 number: type: integer - organization: *716 + organization: *714 pull_request: title: Pull Request type: object @@ -158543,7 +157771,7 @@ x-webhooks: - draft reason: type: string - repository: *717 + repository: *715 sender: *4 required: - action @@ -158625,11 +157853,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *714 - installation: *715 + enterprise: *712 + installation: *713 number: type: integer - organization: *716 + organization: *714 pull_request: title: Pull Request type: object @@ -160907,7 +160135,7 @@ x-webhooks: - draft reason: type: string - repository: *717 + repository: *715 sender: *4 required: - action @@ -160989,13 +160217,13 @@ x-webhooks: type: string enum: - closed - enterprise: *714 - installation: *715 - number: *764 - organization: *716 - pull_request: &765 + enterprise: *712 + installation: *713 + number: *762 + organization: *714 + pull_request: &763 allOf: - - *569 + - *567 - type: object properties: allow_auto_merge: @@ -161057,7 +160285,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *717 + repository: *715 sender: *4 required: - action @@ -161138,12 +160366,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *714 - installation: *715 - number: *764 - organization: *716 - pull_request: *765 - repository: *717 + enterprise: *712 + installation: *713 + number: *762 + organization: *714 + pull_request: *763 + repository: *715 sender: *4 required: - action @@ -161223,11 +160451,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *714 - milestone: *551 - number: *764 - organization: *716 - pull_request: &766 + enterprise: *712 + milestone: *549 + number: *762 + organization: *714 + pull_request: &764 title: Pull Request type: object properties: @@ -163490,7 +162718,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *717 + repository: *715 sender: *4 required: - action @@ -163569,11 +162797,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *714 - installation: *715 + enterprise: *712 + installation: *713 number: type: integer - organization: *716 + organization: *714 pull_request: title: Pull Request type: object @@ -165855,7 +165083,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *717 + repository: *715 sender: *4 required: - action @@ -165979,12 +165207,12 @@ x-webhooks: type: string required: - from - enterprise: *714 - installation: *715 - number: *764 - organization: *716 - pull_request: *765 - repository: *717 + enterprise: *712 + installation: *713 + number: *762 + organization: *714 + pull_request: *763 + repository: *715 sender: *4 required: - action @@ -166064,11 +165292,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *714 - installation: *715 + enterprise: *712 + installation: *713 number: type: integer - organization: *716 + organization: *714 pull_request: title: Pull Request type: object @@ -168335,7 +167563,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *717 + repository: *715 sender: *4 required: - action @@ -168415,11 +167643,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *714 - installation: *715 - label: *733 - number: *764 - organization: *716 + enterprise: *712 + installation: *713 + label: *731 + number: *762 + organization: *714 pull_request: title: Pull Request type: object @@ -170701,7 +169929,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *717 + repository: *715 sender: *4 required: - action @@ -170782,10 +170010,10 @@ x-webhooks: type: string enum: - locked - enterprise: *714 - installation: *715 - number: *764 - organization: *716 + enterprise: *712 + installation: *713 + number: *762 + organization: *714 pull_request: title: Pull Request type: object @@ -173065,7 +172293,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *717 + repository: *715 sender: *4 required: - action @@ -173145,12 +172373,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *714 - milestone: *551 - number: *764 - organization: *716 - pull_request: *766 - repository: *717 + enterprise: *712 + milestone: *549 + number: *762 + organization: *714 + pull_request: *764 + repository: *715 sender: *4 required: - action @@ -173229,12 +172457,12 @@ x-webhooks: type: string enum: - opened - enterprise: *714 - installation: *715 - number: *764 - organization: *716 - pull_request: *765 - repository: *717 + enterprise: *712 + installation: *713 + number: *762 + organization: *714 + pull_request: *763 + repository: *715 sender: *4 required: - action @@ -173315,12 +172543,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *714 - installation: *715 - number: *764 - organization: *716 - pull_request: *765 - repository: *717 + enterprise: *712 + installation: *713 + number: *762 + organization: *714 + pull_request: *763 + repository: *715 sender: *4 required: - action @@ -173400,12 +172628,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *714 - installation: *715 - number: *764 - organization: *716 - pull_request: *765 - repository: *717 + enterprise: *712 + installation: *713 + number: *762 + organization: *714 + pull_request: *763 + repository: *715 sender: *4 required: - action @@ -173771,9 +172999,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *714 - installation: *715 - organization: *716 + enterprise: *712 + installation: *713 + organization: *714 pull_request: type: object properties: @@ -175943,7 +175171,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *717 + repository: *715 sender: *4 required: - action @@ -176023,7 +175251,7 @@ x-webhooks: type: string enum: - deleted - comment: &768 + comment: &766 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -176308,9 +175536,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *714 - installation: *715 - organization: *716 + enterprise: *712 + installation: *713 + organization: *714 pull_request: type: object properties: @@ -178468,7 +177696,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *717 + repository: *715 sender: *4 required: - action @@ -178548,11 +177776,11 @@ x-webhooks: type: string enum: - edited - changes: *767 - comment: *768 - enterprise: *714 - installation: *715 - organization: *716 + changes: *765 + comment: *766 + enterprise: *712 + installation: *713 + organization: *714 pull_request: type: object properties: @@ -180713,7 +179941,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *717 + repository: *715 sender: *4 required: - action @@ -180794,9 +180022,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *714 - installation: *715 - organization: *716 + enterprise: *712 + installation: *713 + organization: *714 pull_request: title: Simple Pull Request type: object @@ -182969,7 +182197,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *717 + repository: *715 review: description: The review that was affected. type: object @@ -183216,9 +182444,9 @@ x-webhooks: type: string required: - from - enterprise: *714 - installation: *715 - organization: *716 + enterprise: *712 + installation: *713 + organization: *714 pull_request: title: Simple Pull Request type: object @@ -185272,8 +184500,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *717 - review: &769 + repository: *715 + review: &767 description: The review that was affected. type: object properties: @@ -185506,12 +184734,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *714 - installation: *715 + enterprise: *712 + installation: *713 number: description: The pull request number. type: integer - organization: *716 + organization: *714 pull_request: title: Pull Request type: object @@ -187794,7 +187022,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *717 + repository: *715 requested_reviewer: title: User type: object @@ -187878,12 +187106,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *714 - installation: *715 + enterprise: *712 + installation: *713 number: description: The pull request number. type: integer - organization: *716 + organization: *714 pull_request: title: Pull Request type: object @@ -190173,7 +189401,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *717 + repository: *715 requested_team: title: Team description: Groups of organization members that gives permissions @@ -190365,12 +189593,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *714 - installation: *715 + enterprise: *712 + installation: *713 number: description: The pull request number. type: integer - organization: *716 + organization: *714 pull_request: title: Pull Request type: object @@ -192655,7 +191883,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *717 + repository: *715 requested_reviewer: title: User type: object @@ -192740,12 +191968,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *714 - installation: *715 + enterprise: *712 + installation: *713 number: description: The pull request number. type: integer - organization: *716 + organization: *714 pull_request: title: Pull Request type: object @@ -195021,7 +194249,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *717 + repository: *715 requested_team: title: Team description: Groups of organization members that gives permissions @@ -195202,9 +194430,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *714 - installation: *715 - organization: *716 + enterprise: *712 + installation: *713 + organization: *714 pull_request: title: Simple Pull Request type: object @@ -197379,8 +196607,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *717 - review: *769 + repository: *715 + review: *767 sender: *4 required: - action @@ -197460,9 +196688,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *714 - installation: *715 - organization: *716 + enterprise: *712 + installation: *713 + organization: *714 pull_request: title: Simple Pull Request type: object @@ -199532,7 +198760,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *717 + repository: *715 sender: *4 thread: type: object @@ -199919,9 +199147,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *714 - installation: *715 - organization: *716 + enterprise: *712 + installation: *713 + organization: *714 pull_request: title: Simple Pull Request type: object @@ -201977,7 +201205,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *717 + repository: *715 sender: *4 thread: type: object @@ -202367,10 +201595,10 @@ x-webhooks: type: string before: type: string - enterprise: *714 - installation: *715 - number: *764 - organization: *716 + enterprise: *712 + installation: *713 + number: *762 + organization: *714 pull_request: title: Pull Request type: object @@ -204641,7 +203869,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *717 + repository: *715 sender: *4 required: - action @@ -204723,11 +203951,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *770 - enterprise: *714 - installation: *715 - number: *764 - organization: *716 + assignee: *768 + enterprise: *712 + installation: *713 + number: *762 + organization: *714 pull_request: title: Pull Request type: object @@ -207010,7 +206238,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *717 + repository: *715 sender: *4 required: - action @@ -207089,11 +206317,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *714 - installation: *715 - label: *733 - number: *764 - organization: *716 + enterprise: *712 + installation: *713 + label: *731 + number: *762 + organization: *714 pull_request: title: Pull Request type: object @@ -209366,7 +208594,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *717 + repository: *715 sender: *4 required: - action @@ -209447,10 +208675,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *714 - installation: *715 - number: *764 - organization: *716 + enterprise: *712 + installation: *713 + number: *762 + organization: *714 pull_request: title: Pull Request type: object @@ -211715,7 +210943,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *717 + repository: *715 sender: *4 required: - action @@ -211915,7 +211143,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *714 + enterprise: *712 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -212007,8 +211235,8 @@ x-webhooks: - url - author - committer - installation: *715 - organization: *716 + installation: *713 + organization: *714 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -212583,9 +211811,9 @@ x-webhooks: type: string enum: - published - enterprise: *714 - installation: *715 - organization: *716 + enterprise: *712 + installation: *713 + organization: *714 registry_package: type: object properties: @@ -213031,7 +212259,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *751 + items: *749 summary: type: string tag_name: @@ -213085,7 +212313,7 @@ x-webhooks: - owner - package_version - registry - repository: *717 + repository: *715 sender: *4 required: - action @@ -213163,9 +212391,9 @@ x-webhooks: type: string enum: - updated - enterprise: *714 - installation: *715 - organization: *716 + enterprise: *712 + installation: *713 + organization: *714 registry_package: type: object properties: @@ -213473,7 +212701,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *751 + items: *749 summary: type: string tag_name: @@ -213522,7 +212750,7 @@ x-webhooks: - owner - package_version - registry - repository: *717 + repository: *715 sender: *4 required: - action @@ -213599,10 +212827,10 @@ x-webhooks: type: string enum: - created - enterprise: *714 - installation: *715 - organization: *716 - release: &771 + enterprise: *712 + installation: *713 + organization: *714 + release: &769 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -213920,7 +213148,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *717 + repository: *715 sender: *4 required: - action @@ -213997,11 +213225,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *714 - installation: *715 - organization: *716 - release: *771 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + release: *769 + repository: *715 sender: *4 required: - action @@ -214118,11 +213346,11 @@ x-webhooks: type: boolean required: - to - enterprise: *714 - installation: *715 - organization: *716 - release: *771 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + release: *769 + repository: *715 sender: *4 required: - action @@ -214200,9 +213428,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *714 - installation: *715 - organization: *716 + enterprise: *712 + installation: *713 + organization: *714 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -214524,7 +213752,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *717 + repository: *715 sender: *4 required: - action @@ -214600,10 +213828,10 @@ x-webhooks: type: string enum: - published - enterprise: *714 - installation: *715 - organization: *716 - release: &772 + enterprise: *712 + installation: *713 + organization: *714 + release: &770 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -214922,7 +214150,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *717 + repository: *715 sender: *4 required: - action @@ -214998,11 +214226,11 @@ x-webhooks: type: string enum: - released - enterprise: *714 - installation: *715 - organization: *716 - release: *771 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + release: *769 + repository: *715 sender: *4 required: - action @@ -215078,11 +214306,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *714 - installation: *715 - organization: *716 - release: *772 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + release: *770 + repository: *715 sender: *4 required: - action @@ -215158,11 +214386,11 @@ x-webhooks: type: string enum: - published - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 - repository_advisory: *633 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 + repository_advisory: *631 sender: *4 required: - action @@ -215238,11 +214466,11 @@ x-webhooks: type: string enum: - reported - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 - repository_advisory: *633 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 + repository_advisory: *631 sender: *4 required: - action @@ -215318,10 +214546,10 @@ x-webhooks: type: string enum: - archived - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -215398,10 +214626,10 @@ x-webhooks: type: string enum: - created - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -215479,10 +214707,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -215566,10 +214794,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -215681,10 +214909,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -215756,10 +214984,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 status: type: string @@ -215840,10 +215068,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -215920,10 +215148,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -216017,10 +215245,10 @@ x-webhooks: - name required: - repository - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -216100,11 +215328,11 @@ x-webhooks: type: string enum: - created - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 - repository_ruleset: *295 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 + repository_ruleset: *294 sender: *4 required: - action @@ -216182,11 +215410,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 - repository_ruleset: *295 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 + repository_ruleset: *294 sender: *4 required: - action @@ -216264,11 +215492,11 @@ x-webhooks: type: string enum: - edited - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 - repository_ruleset: *295 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 + repository_ruleset: *294 changes: type: object properties: @@ -216287,16 +215515,16 @@ x-webhooks: properties: added: type: array - items: *270 + items: *269 deleted: type: array - items: *270 + items: *269 updated: type: array items: type: object properties: - condition: *270 + condition: *269 changes: type: object properties: @@ -216329,16 +215557,16 @@ x-webhooks: properties: added: type: array - items: *590 + items: *588 deleted: type: array - items: *590 + items: *588 updated: type: array items: type: object properties: - rule: *590 + rule: *588 changes: type: object properties: @@ -216572,10 +215800,10 @@ x-webhooks: - from required: - owner - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -216653,10 +215881,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -216734,7 +215962,7 @@ x-webhooks: type: string enum: - create - alert: &773 + alert: &771 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -216855,10 +216083,10 @@ x-webhooks: type: string enum: - open - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -217064,10 +216292,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -217145,11 +216373,11 @@ x-webhooks: type: string enum: - reopen - alert: *773 - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + alert: *771 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -217348,10 +216576,10 @@ x-webhooks: enum: - fixed - open - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -217429,7 +216657,7 @@ x-webhooks: type: string enum: - created - alert: &774 + alert: &772 type: object properties: number: *158 @@ -217547,10 +216775,10 @@ x-webhooks: properties: *20 required: *21 nullable: true - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -217631,11 +216859,11 @@ x-webhooks: type: string enum: - created - alert: *774 - installation: *715 - location: *775 - organization: *716 - repository: *717 + alert: *772 + installation: *713 + location: *773 + organization: *714 + repository: *715 sender: *4 required: - location @@ -217873,11 +217101,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *774 - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + alert: *772 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -217955,11 +217183,11 @@ x-webhooks: type: string enum: - reopened - alert: *774 - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + alert: *772 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -218037,11 +217265,11 @@ x-webhooks: type: string enum: - resolved - alert: *774 - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + alert: *772 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -218119,11 +217347,11 @@ x-webhooks: type: string enum: - validated - alert: *774 - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + alert: *772 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -218249,10 +217477,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *717 - enterprise: *714 - installation: *715 - organization: *716 + repository: *715 + enterprise: *712 + installation: *713 + organization: *714 sender: *4 required: - action @@ -218330,11 +217558,11 @@ x-webhooks: type: string enum: - published - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 - security_advisory: &776 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 + security_advisory: &774 description: The details of the security advisory, including summary, description, and severity. type: object @@ -218517,11 +217745,11 @@ x-webhooks: type: string enum: - updated - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 - security_advisory: *776 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 + security_advisory: *774 sender: *4 required: - action @@ -218594,10 +217822,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -218781,11 +218009,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *269 - enterprise: *714 - installation: *715 - organization: *716 - repository: *332 + security_and_analysis: *268 + enterprise: *712 + installation: *713 + organization: *714 + repository: *329 sender: *4 required: - changes @@ -218863,12 +218091,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 - sponsorship: &777 + sponsorship: &775 type: object properties: created_at: @@ -219169,12 +218397,12 @@ x-webhooks: type: string enum: - created - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 - sponsorship: *777 + sponsorship: *775 required: - action - sponsorship @@ -219262,12 +218490,12 @@ x-webhooks: type: string required: - from - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 - sponsorship: *777 + sponsorship: *775 required: - action - changes @@ -219344,17 +218572,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &778 + effective_date: &776 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: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 - sponsorship: *777 + sponsorship: *775 required: - action - sponsorship @@ -219428,7 +218656,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &779 + changes: &777 type: object properties: tier: @@ -219472,13 +218700,13 @@ x-webhooks: - from required: - tier - effective_date: *778 - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + effective_date: *776 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 - sponsorship: *777 + sponsorship: *775 required: - action - changes @@ -219555,13 +218783,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *779 - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + changes: *777 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 - sponsorship: *777 + sponsorship: *775 required: - action - changes @@ -219635,10 +218863,10 @@ x-webhooks: type: string enum: - created - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -219721,10 +218949,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -220144,15 +219372,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *714 + enterprise: *712 id: description: The unique identifier of the status. type: integer - installation: *715 + installation: *713 name: type: string - organization: *716 - repository: *717 + organization: *714 + repository: *715 sender: *4 sha: description: The Commit SHA. @@ -220267,9 +219495,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *82 - installation: *715 - organization: *716 - repository: *717 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -220359,9 +219587,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *82 - installation: *715 - organization: *716 - repository: *717 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -220451,9 +219679,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *82 - installation: *715 - organization: *716 - repository: *717 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -220543,9 +219771,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *82 - installation: *715 - organization: *716 - repository: *717 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -220622,12 +219850,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 - team: &780 + team: &778 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -220850,9 +220078,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *714 - installation: *715 - organization: *716 + enterprise: *712 + installation: *713 + organization: *714 repository: title: Repository description: A git repository @@ -221310,7 +220538,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *780 + team: *778 required: - action - team @@ -221386,9 +220614,9 @@ x-webhooks: type: string enum: - created - enterprise: *714 - installation: *715 - organization: *716 + enterprise: *712 + installation: *713 + organization: *714 repository: title: Repository description: A git repository @@ -221846,7 +221074,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *780 + team: *778 required: - action - team @@ -221923,9 +221151,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *714 - installation: *715 - organization: *716 + enterprise: *712 + installation: *713 + organization: *714 repository: title: Repository description: A git repository @@ -222383,7 +221611,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *780 + team: *778 required: - action - team @@ -222527,9 +221755,9 @@ x-webhooks: - from required: - permissions - enterprise: *714 - installation: *715 - organization: *716 + enterprise: *712 + installation: *713 + organization: *714 repository: title: Repository description: A git repository @@ -222987,7 +222215,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *780 + team: *778 required: - action - changes @@ -223065,9 +222293,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *714 - installation: *715 - organization: *716 + enterprise: *712 + installation: *713 + organization: *714 repository: title: Repository description: A git repository @@ -223525,7 +222753,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *780 + team: *778 required: - action - team @@ -223601,10 +222829,10 @@ x-webhooks: type: string enum: - started - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -223677,16 +222905,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *714 + enterprise: *712 inputs: type: object nullable: true additionalProperties: true - installation: *715 - organization: *716 + installation: *713 + organization: *714 ref: type: string - repository: *717 + repository: *715 sender: *4 workflow: type: string @@ -223768,10 +222996,10 @@ x-webhooks: type: string enum: - completed - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 workflow_job: allOf: @@ -224008,7 +223236,7 @@ x-webhooks: type: string required: - conclusion - deployment: *483 + deployment: *480 required: - action - repository @@ -224087,10 +223315,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 workflow_job: allOf: @@ -224350,7 +223578,7 @@ x-webhooks: required: - status - steps - deployment: *483 + deployment: *480 required: - action - repository @@ -224429,10 +223657,10 @@ x-webhooks: type: string enum: - queued - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 workflow_job: type: object @@ -224567,7 +223795,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *483 + deployment: *480 required: - action - repository @@ -224646,10 +223874,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 workflow_job: type: object @@ -224785,7 +224013,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *483 + deployment: *480 required: - action - repository @@ -224865,12 +224093,12 @@ x-webhooks: type: string enum: - completed - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 - workflow: *729 + workflow: *727 workflow_run: title: Workflow Run type: object @@ -225869,12 +225097,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 - workflow: *729 + workflow: *727 workflow_run: title: Workflow Run type: object @@ -226858,12 +226086,12 @@ x-webhooks: type: string enum: - requested - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 - workflow: *729 + workflow: *727 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 ca4a91a37..57954a548 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.json @@ -128629,847 +128629,6 @@ } } }, - "/orgs/{org}/projects": { - "get": { - "summary": "List organization projects", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/list-for-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/projects#list-organization-projects" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "state", - "description": "Indicates the state of the projects to return.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "open", - "closed", - "all" - ], - "default": "open" - } - }, - { - "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": "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 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Project", - "description": "Projects are a way to organize columns and cards of work.", - "type": "object", - "properties": { - "owner_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/api-playground/projects-test" - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/api-playground/projects-test/projects/12" - }, - "columns_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604/columns" - }, - "id": { - "type": "integer", - "example": 1002604 - }, - "node_id": { - "type": "string", - "example": "MDc6UHJvamVjdDEwMDI2MDQ=" - }, - "name": { - "description": "Name of the project", - "example": "Week One Sprint", - "type": "string" - }, - "body": { - "description": "Body of the project", - "example": "This project represents the sprint of the first week in January", - "type": "string", - "nullable": true - }, - "number": { - "type": "integer", - "example": 1 - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "example": "open", - "type": "string" - }, - "creator": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2011-04-10T20:09:31Z" - }, - "updated_at": { - "type": "string", - "format": "date-time", - "example": "2014-03-03T18:58:10Z" - }, - "organization_permission": { - "description": "The baseline permission that all organization members have on this project. Only present if owner is an organization.", - "type": "string", - "enum": [ - "read", - "write", - "admin", - "none" - ] - }, - "private": { - "description": "Whether or not this project can be seen by everyone. Only present if owner is an organization.", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "number", - "name", - "body", - "state", - "url", - "html_url", - "owner_url", - "creator", - "columns_url", - "created_at", - "updated_at" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "owner_url": "https://api.github.com/orgs/octocat", - "url": "https://api.github.com/projects/1002605", - "html_url": "https://github.com/orgs/api-playground/projects/1", - "columns_url": "https://api.github.com/projects/1002605/columns", - "id": 1002605, - "node_id": "MDc6UHJvamVjdDEwMDI2MDU=", - "name": "Organization Roadmap", - "body": "High-level roadmap for the upcoming year.", - "number": 1, - "state": "open", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-11T20:09:31Z", - "updated_at": "2014-03-04T18:58:10Z", - "organization_permission": "write", - "private": true - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } - } - }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error Simple", - "description": "Validation Error Simple", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - }, - "post": { - "summary": "Create an organization project", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/create-for-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/projects#create-an-organization-project" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The name of the project." - }, - "body": { - "type": "string", - "description": "The description of the project." - } - }, - "required": [ - "name" - ] - }, - "examples": { - "default": { - "value": { - "name": "Organization Roadmap", - "body": "High-level roadmap for the upcoming year." - } - } - } - } - } - }, - "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Project", - "description": "Projects are a way to organize columns and cards of work.", - "type": "object", - "properties": { - "owner_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/api-playground/projects-test" - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/api-playground/projects-test/projects/12" - }, - "columns_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604/columns" - }, - "id": { - "type": "integer", - "example": 1002604 - }, - "node_id": { - "type": "string", - "example": "MDc6UHJvamVjdDEwMDI2MDQ=" - }, - "name": { - "description": "Name of the project", - "example": "Week One Sprint", - "type": "string" - }, - "body": { - "description": "Body of the project", - "example": "This project represents the sprint of the first week in January", - "type": "string", - "nullable": true - }, - "number": { - "type": "integer", - "example": 1 - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "example": "open", - "type": "string" - }, - "creator": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2011-04-10T20:09:31Z" - }, - "updated_at": { - "type": "string", - "format": "date-time", - "example": "2014-03-03T18:58:10Z" - }, - "organization_permission": { - "description": "The baseline permission that all organization members have on this project. Only present if owner is an organization.", - "type": "string", - "enum": [ - "read", - "write", - "admin", - "none" - ] - }, - "private": { - "description": "Whether or not this project can be seen by everyone. Only present if owner is an organization.", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "number", - "name", - "body", - "state", - "url", - "html_url", - "owner_url", - "creator", - "columns_url", - "created_at", - "updated_at" - ] - }, - "examples": { - "default": { - "value": { - "owner_url": "https://api.github.com/orgs/octocat", - "url": "https://api.github.com/projects/1002605", - "html_url": "https://github.com/orgs/api-playground/projects/1", - "columns_url": "https://api.github.com/projects/1002605/columns", - "id": 1002605, - "node_id": "MDc6UHJvamVjdDEwMDI2MDU=", - "name": "Organization Roadmap", - "body": "High-level roadmap for the upcoming year.", - "number": 1, - "state": "open", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-11T20:09:31Z", - "updated_at": "2014-03-04T18:58:10Z" - } - } - } - } - } - }, - "401": { - "description": "Requires authentication", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "410": { - "description": "Gone", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error Simple", - "description": "Validation Error Simple", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - } - }, "/orgs/{org}/projectsV2": { "get": { "summary": "List projects for organization", @@ -180891,965 +180050,6 @@ "deprecated": true } }, - "/projects/{project_id}": { - "get": { - "summary": "Get a project", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/get", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/projects#get-a-project" - }, - "parameters": [ - { - "name": "project_id", - "description": "The unique identifier of the project.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Project", - "description": "Projects are a way to organize columns and cards of work.", - "type": "object", - "properties": { - "owner_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/api-playground/projects-test" - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/api-playground/projects-test/projects/12" - }, - "columns_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604/columns" - }, - "id": { - "type": "integer", - "example": 1002604 - }, - "node_id": { - "type": "string", - "example": "MDc6UHJvamVjdDEwMDI2MDQ=" - }, - "name": { - "description": "Name of the project", - "example": "Week One Sprint", - "type": "string" - }, - "body": { - "description": "Body of the project", - "example": "This project represents the sprint of the first week in January", - "type": "string", - "nullable": true - }, - "number": { - "type": "integer", - "example": 1 - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "example": "open", - "type": "string" - }, - "creator": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2011-04-10T20:09:31Z" - }, - "updated_at": { - "type": "string", - "format": "date-time", - "example": "2014-03-03T18:58:10Z" - }, - "organization_permission": { - "description": "The baseline permission that all organization members have on this project. Only present if owner is an organization.", - "type": "string", - "enum": [ - "read", - "write", - "admin", - "none" - ] - }, - "private": { - "description": "Whether or not this project can be seen by everyone. Only present if owner is an organization.", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "number", - "name", - "body", - "state", - "url", - "html_url", - "owner_url", - "creator", - "columns_url", - "created_at", - "updated_at" - ] - }, - "examples": { - "default": { - "value": { - "owner_url": "https://api.github.com/repos/api-playground/projects-test", - "url": "https://api.github.com/projects/1002604", - "html_url": "https://github.com/api-playground/projects-test/projects/1", - "columns_url": "https://api.github.com/projects/1002604/columns", - "id": 1002604, - "node_id": "MDc6UHJvamVjdDEwMDI2MDQ=", - "name": "Projects Documentation", - "body": "Developer documentation project for the developer site.", - "number": 1, - "state": "open", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-10T20:09:31Z", - "updated_at": "2014-03-03T18:58:10Z" - } - } - } - } - } - }, - "304": { - "description": "Not modified" - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "401": { - "description": "Requires authentication", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - }, - "patch": { - "summary": "Update a project", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "operationId": "projects-classic/update", - "tags": [ - "projects-classic" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/projects#update-a-project" - }, - "parameters": [ - { - "name": "project_id", - "description": "The unique identifier of the project.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "properties": { - "name": { - "description": "Name of the project", - "example": "Week One Sprint", - "type": "string" - }, - "body": { - "description": "Body of the project", - "example": "This project represents the sprint of the first week in January", - "type": "string", - "nullable": true - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "example": "open", - "type": "string" - }, - "organization_permission": { - "description": "The baseline permission that all organization members have on this project", - "type": "string", - "enum": [ - "read", - "write", - "admin", - "none" - ] - }, - "private": { - "description": "Whether or not this project can be seen by everyone.", - "type": "boolean" - } - }, - "type": "object" - }, - "examples": { - "default": { - "summary": "Change the name, state, and permissions for a project", - "value": { - "name": "Week One Sprint", - "state": "open", - "organization_permission": "write" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Project", - "description": "Projects are a way to organize columns and cards of work.", - "type": "object", - "properties": { - "owner_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/api-playground/projects-test" - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/api-playground/projects-test/projects/12" - }, - "columns_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604/columns" - }, - "id": { - "type": "integer", - "example": 1002604 - }, - "node_id": { - "type": "string", - "example": "MDc6UHJvamVjdDEwMDI2MDQ=" - }, - "name": { - "description": "Name of the project", - "example": "Week One Sprint", - "type": "string" - }, - "body": { - "description": "Body of the project", - "example": "This project represents the sprint of the first week in January", - "type": "string", - "nullable": true - }, - "number": { - "type": "integer", - "example": 1 - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "example": "open", - "type": "string" - }, - "creator": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2011-04-10T20:09:31Z" - }, - "updated_at": { - "type": "string", - "format": "date-time", - "example": "2014-03-03T18:58:10Z" - }, - "organization_permission": { - "description": "The baseline permission that all organization members have on this project. Only present if owner is an organization.", - "type": "string", - "enum": [ - "read", - "write", - "admin", - "none" - ] - }, - "private": { - "description": "Whether or not this project can be seen by everyone. Only present if owner is an organization.", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "number", - "name", - "body", - "state", - "url", - "html_url", - "owner_url", - "creator", - "columns_url", - "created_at", - "updated_at" - ] - }, - "examples": { - "default": { - "value": { - "owner_url": "https://api.github.com/repos/api-playground/projects-test", - "url": "https://api.github.com/projects/1002604", - "html_url": "https://github.com/api-playground/projects-test/projects/1", - "columns_url": "https://api.github.com/projects/1002604/columns", - "id": 1002604, - "node_id": "MDc6UHJvamVjdDEwMDI2MDQ=", - "name": "Projects Documentation", - "body": "Developer documentation project for the developer site.", - "number": 1, - "state": "open", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-10T20:09:31Z", - "updated_at": "2014-03-03T18:58:10Z" - } - } - } - } - } - }, - "404": { - "description": "Not Found if the authenticated user does not have access to the project" - }, - "304": { - "description": "Not modified" - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "401": { - "description": "Requires authentication", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "410": { - "description": "Gone", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error Simple", - "description": "Validation Error Simple", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - }, - "delete": { - "summary": "Delete a project", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "operationId": "projects-classic/delete", - "tags": [ - "projects-classic" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/projects#delete-a-project" - }, - "parameters": [ - { - "name": "project_id", - "description": "The unique identifier of the project.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "responses": { - "204": { - "description": "Delete Success" - }, - "304": { - "description": "Not modified" - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "401": { - "description": "Requires authentication", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "410": { - "description": "Gone", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - } - }, "/projects/{project_id}/collaborators": { "get": { "summary": "List project collaborators", @@ -406851,967 +405051,6 @@ } } }, - "/repos/{owner}/{repo}/projects": { - "get": { - "summary": "List repository projects", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/list-for-repo", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/projects#list-repository-projects" - }, - "parameters": [ - { - "name": "owner", - "description": "The account owner of the repository. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "repo", - "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "state", - "description": "Indicates the state of the projects to return.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "open", - "closed", - "all" - ], - "default": "open" - } - }, - { - "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": "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 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Project", - "description": "Projects are a way to organize columns and cards of work.", - "type": "object", - "properties": { - "owner_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/api-playground/projects-test" - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/api-playground/projects-test/projects/12" - }, - "columns_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604/columns" - }, - "id": { - "type": "integer", - "example": 1002604 - }, - "node_id": { - "type": "string", - "example": "MDc6UHJvamVjdDEwMDI2MDQ=" - }, - "name": { - "description": "Name of the project", - "example": "Week One Sprint", - "type": "string" - }, - "body": { - "description": "Body of the project", - "example": "This project represents the sprint of the first week in January", - "type": "string", - "nullable": true - }, - "number": { - "type": "integer", - "example": 1 - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "example": "open", - "type": "string" - }, - "creator": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2011-04-10T20:09:31Z" - }, - "updated_at": { - "type": "string", - "format": "date-time", - "example": "2014-03-03T18:58:10Z" - }, - "organization_permission": { - "description": "The baseline permission that all organization members have on this project. Only present if owner is an organization.", - "type": "string", - "enum": [ - "read", - "write", - "admin", - "none" - ] - }, - "private": { - "description": "Whether or not this project can be seen by everyone. Only present if owner is an organization.", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "number", - "name", - "body", - "state", - "url", - "html_url", - "owner_url", - "creator", - "columns_url", - "created_at", - "updated_at" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "owner_url": "https://api.github.com/repos/api-playground/projects-test", - "url": "https://api.github.com/projects/1002604", - "html_url": "https://github.com/api-playground/projects-test/projects/1", - "columns_url": "https://api.github.com/projects/1002604/columns", - "id": 1002604, - "node_id": "MDc6UHJvamVjdDEwMDI2MDQ=", - "name": "Projects Documentation", - "body": "Developer documentation project for the developer site.", - "number": 1, - "state": "open", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-10T20:09:31Z", - "updated_at": "2014-03-03T18:58:10Z" - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } - } - }, - "401": { - "description": "Requires authentication", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "410": { - "description": "Gone", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error Simple", - "description": "Validation Error Simple", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - }, - "post": { - "summary": "Create a repository project", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/create-for-repo", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/projects#create-a-repository-project" - }, - "parameters": [ - { - "name": "owner", - "description": "The account owner of the repository. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "repo", - "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The name of the project." - }, - "body": { - "type": "string", - "description": "The description of the project." - } - }, - "required": [ - "name" - ] - }, - "examples": { - "default": { - "value": { - "name": "Projects Documentation", - "body": "Developer documentation project for the developer site." - } - } - } - } - } - }, - "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Project", - "description": "Projects are a way to organize columns and cards of work.", - "type": "object", - "properties": { - "owner_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/api-playground/projects-test" - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/api-playground/projects-test/projects/12" - }, - "columns_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604/columns" - }, - "id": { - "type": "integer", - "example": 1002604 - }, - "node_id": { - "type": "string", - "example": "MDc6UHJvamVjdDEwMDI2MDQ=" - }, - "name": { - "description": "Name of the project", - "example": "Week One Sprint", - "type": "string" - }, - "body": { - "description": "Body of the project", - "example": "This project represents the sprint of the first week in January", - "type": "string", - "nullable": true - }, - "number": { - "type": "integer", - "example": 1 - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "example": "open", - "type": "string" - }, - "creator": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2011-04-10T20:09:31Z" - }, - "updated_at": { - "type": "string", - "format": "date-time", - "example": "2014-03-03T18:58:10Z" - }, - "organization_permission": { - "description": "The baseline permission that all organization members have on this project. Only present if owner is an organization.", - "type": "string", - "enum": [ - "read", - "write", - "admin", - "none" - ] - }, - "private": { - "description": "Whether or not this project can be seen by everyone. Only present if owner is an organization.", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "number", - "name", - "body", - "state", - "url", - "html_url", - "owner_url", - "creator", - "columns_url", - "created_at", - "updated_at" - ] - }, - "examples": { - "default": { - "value": { - "owner_url": "https://api.github.com/repos/api-playground/projects-test", - "url": "https://api.github.com/projects/1002604", - "html_url": "https://github.com/api-playground/projects-test/projects/1", - "columns_url": "https://api.github.com/projects/1002604/columns", - "id": 1002604, - "node_id": "MDc6UHJvamVjdDEwMDI2MDQ=", - "name": "Projects Documentation", - "body": "Developer documentation project for the developer site.", - "number": 1, - "state": "open", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-10T20:09:31Z", - "updated_at": "2014-03-03T18:58:10Z" - } - } - } - } - } - }, - "401": { - "description": "Requires authentication", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "410": { - "description": "Gone", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error Simple", - "description": "Validation Error Simple", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - } - }, "/repos/{owner}/{repo}/properties/values": { "get": { "summary": "Get all custom property values for a repository", @@ -550742,416 +547981,6 @@ } } }, - "/user/projects": { - "post": { - "summary": "Create a user project", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/create-for-authenticated-user", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/projects#create-a-user-project" - }, - "parameters": [], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "properties": { - "name": { - "description": "Name of the project", - "example": "Week One Sprint", - "type": "string" - }, - "body": { - "description": "Body of the project", - "example": "This project represents the sprint of the first week in January", - "type": "string", - "nullable": true - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "examples": { - "default": { - "summary": "Create a new project", - "value": { - "name": "My Projects", - "body": "A board to manage my personal projects." - } - } - } - } - } - }, - "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Project", - "description": "Projects are a way to organize columns and cards of work.", - "type": "object", - "properties": { - "owner_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/api-playground/projects-test" - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/api-playground/projects-test/projects/12" - }, - "columns_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604/columns" - }, - "id": { - "type": "integer", - "example": 1002604 - }, - "node_id": { - "type": "string", - "example": "MDc6UHJvamVjdDEwMDI2MDQ=" - }, - "name": { - "description": "Name of the project", - "example": "Week One Sprint", - "type": "string" - }, - "body": { - "description": "Body of the project", - "example": "This project represents the sprint of the first week in January", - "type": "string", - "nullable": true - }, - "number": { - "type": "integer", - "example": 1 - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "example": "open", - "type": "string" - }, - "creator": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2011-04-10T20:09:31Z" - }, - "updated_at": { - "type": "string", - "format": "date-time", - "example": "2014-03-03T18:58:10Z" - }, - "organization_permission": { - "description": "The baseline permission that all organization members have on this project. Only present if owner is an organization.", - "type": "string", - "enum": [ - "read", - "write", - "admin", - "none" - ] - }, - "private": { - "description": "Whether or not this project can be seen by everyone. Only present if owner is an organization.", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "number", - "name", - "body", - "state", - "url", - "html_url", - "owner_url", - "creator", - "columns_url", - "created_at", - "updated_at" - ] - }, - "examples": { - "default": { - "value": { - "owner_url": "https://api.github.com/users/octocat", - "url": "https://api.github.com/projects/1002603", - "html_url": "https://github.com/users/octocat/projects/1", - "columns_url": "https://api.github.com/projects/1002603/columns", - "id": 1002603, - "node_id": "MDc6UHJvamVjdDEwMDI2MDM=", - "name": "My Projects", - "body": "A board to manage my personal projects.", - "number": 1, - "state": "open", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-10T20:09:31Z", - "updated_at": "2014-03-03T18:58:10Z" - } - } - } - } - } - }, - "304": { - "description": "Not modified" - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "401": { - "description": "Requires authentication", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error Simple", - "description": "Validation Error Simple", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - } - }, "/user/public_emails": { "get": { "summary": "List public email addresses for the authenticated user", @@ -581833,421 +578662,6 @@ } } }, - "/users/{username}/projects": { - "get": { - "summary": "List user projects", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/list-for-user", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects-classic/projects#list-user-projects" - }, - "parameters": [ - { - "name": "username", - "description": "The handle for the GitHub user account.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "state", - "description": "Indicates the state of the projects to return.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "open", - "closed", - "all" - ], - "default": "open" - } - }, - { - "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": "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 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Project", - "description": "Projects are a way to organize columns and cards of work.", - "type": "object", - "properties": { - "owner_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/api-playground/projects-test" - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/api-playground/projects-test/projects/12" - }, - "columns_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604/columns" - }, - "id": { - "type": "integer", - "example": 1002604 - }, - "node_id": { - "type": "string", - "example": "MDc6UHJvamVjdDEwMDI2MDQ=" - }, - "name": { - "description": "Name of the project", - "example": "Week One Sprint", - "type": "string" - }, - "body": { - "description": "Body of the project", - "example": "This project represents the sprint of the first week in January", - "type": "string", - "nullable": true - }, - "number": { - "type": "integer", - "example": 1 - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "example": "open", - "type": "string" - }, - "creator": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2011-04-10T20:09:31Z" - }, - "updated_at": { - "type": "string", - "format": "date-time", - "example": "2014-03-03T18:58:10Z" - }, - "organization_permission": { - "description": "The baseline permission that all organization members have on this project. Only present if owner is an organization.", - "type": "string", - "enum": [ - "read", - "write", - "admin", - "none" - ] - }, - "private": { - "description": "Whether or not this project can be seen by everyone. Only present if owner is an organization.", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "number", - "name", - "body", - "state", - "url", - "html_url", - "owner_url", - "creator", - "columns_url", - "created_at", - "updated_at" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "owner_url": "https://api.github.com/users/octocat", - "url": "https://api.github.com/projects/1002603", - "html_url": "https://github.com/users/octocat/projects/1", - "columns_url": "https://api.github.com/projects/1002603/columns", - "id": 1002603, - "node_id": "MDc6UHJvamVjdDEwMDI2MDM=", - "name": "My Projects", - "body": "A board to manage my personal projects.", - "number": 1, - "state": "open", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-10T20:09:31Z", - "updated_at": "2014-03-03T18:58:10Z" - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } - } - }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error", - "description": "Validation Error", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "required": [ - "code" - ], - "properties": { - "resource": { - "type": "string" - }, - "field": { - "type": "string" - }, - "message": { - "type": "string" - }, - "code": { - "type": "string" - }, - "index": { - "type": "integer" - }, - "value": { - "oneOf": [ - { - "type": "string", - "nullable": true - }, - { - "type": "integer", - "nullable": true - }, - { - "type": "array", - "nullable": true, - "items": { - "type": "string" - } - } - ] - } - } - } - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - } - }, "/users/{username}/projectsV2": { "get": { "summary": "List projects for user", 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 82185a526..d3b25b069 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml @@ -857,7 +857,7 @@ paths: - subscriptions_url - type - url - type: &301 + type: &300 type: string description: The type of credit the user is receiving. enum: @@ -1023,7 +1023,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &635 + - &633 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -2865,7 +2865,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &267 + properties: &266 id: description: Unique identifier of the repository example: 42 @@ -3303,7 +3303,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &268 + required: &267 - archive_url - assignees_url - blobs_url @@ -8608,7 +8608,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &474 + - &471 name: has in: query description: |- @@ -8724,7 +8724,7 @@ paths: - unknown - direct - transitive - security_advisory: &475 + security_advisory: &472 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -8986,7 +8986,7 @@ paths: format: date-time readOnly: true nullable: true - auto_dismissed_at: &476 + auto_dismissed_at: &473 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -10282,7 +10282,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &524 + properties: &522 id: type: integer format: int64 @@ -10394,7 +10394,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &255 + properties: &254 url: type: string format: uri @@ -10464,7 +10464,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &256 + required: &255 - closed_issues - creator - description @@ -10654,7 +10654,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &647 + sub_issues_summary: &645 title: Sub-issues Summary type: object properties: @@ -10674,7 +10674,7 @@ paths: type: string format: uri nullable: true - issue_dependencies_summary: &648 + issue_dependencies_summary: &646 title: Issue Dependencies Summary type: object properties: @@ -10693,7 +10693,7 @@ paths: - total_blocking issue_field_values: type: array - items: &649 + items: &647 title: Issue Field Value description: A value assigned to an issue field type: object @@ -10753,7 +10753,7 @@ paths: - node_id - data_type - value - required: &525 + required: &523 - assignee - closed_at - comments @@ -10774,7 +10774,7 @@ paths: - user - created_at - updated_at - comment: &522 + comment: &520 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -11344,7 +11344,7 @@ paths: url: type: string format: uri - user: &661 + user: &659 title: Public User description: Public User type: object @@ -14650,14 +14650,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &324 + - &323 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &325 + - &324 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -14719,7 +14719,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &333 + '301': &330 description: Moved permanently content: application/json: @@ -14741,7 +14741,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &554 + - &552 name: all description: If `true`, show notifications marked as read. in: query @@ -14749,7 +14749,7 @@ paths: schema: type: boolean default: false - - &555 + - &553 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -14759,7 +14759,7 @@ paths: type: boolean default: false - *72 - - &556 + - &554 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: @@ -15071,7 +15071,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &269 + security_and_analysis: &268 nullable: true type: object properties: @@ -15233,7 +15233,7 @@ paths: - url - subscription_url examples: - default: &557 + default: &555 value: - id: '1' repository: @@ -16101,7 +16101,7 @@ paths: - property_name - value examples: - default: &563 + default: &561 value: - property_name: environment value: production @@ -16151,7 +16151,7 @@ paths: required: - properties examples: - default: &564 + default: &562 value: properties: - property_name: environment @@ -16220,7 +16220,7 @@ paths: required: false schema: type: string - - &705 + - &703 name: model description: The model name to query usage for. The name is not case sensitive. in: query @@ -16366,7 +16366,7 @@ paths: parameters: - *63 - *105 - - &708 + - &706 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the @@ -16478,7 +16478,7 @@ paths: - *105 - *107 - *106 - - &709 + - &707 name: repository description: The repository name to query for usage in the format owner/repository. in: query @@ -16486,7 +16486,7 @@ paths: schema: type: string - *108 - - &710 + - &708 name: sku description: The SKU to query for usage. in: query @@ -17388,7 +17388,7 @@ paths: type: integer repository_cache_usages: type: array - items: &338 + items: &335 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -18580,7 +18580,7 @@ paths: - all - local_only - selected - selected_actions_url: &344 + selected_actions_url: &341 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` @@ -18663,7 +18663,7 @@ paths: description: Response content: application/json: - schema: &348 + schema: &345 type: object properties: days: @@ -18705,7 +18705,7 @@ paths: required: true content: application/json: - schema: &349 + schema: &346 type: object properties: days: @@ -18762,7 +18762,7 @@ paths: required: - approval_policy examples: - default: &350 + default: &347 value: approval_policy: first_time_contributors '404': *6 @@ -18821,7 +18821,7 @@ paths: description: Response content: application/json: - schema: &351 + schema: &348 type: object required: - run_workflows_from_fork_pull_requests @@ -18875,7 +18875,7 @@ paths: required: true content: application/json: - schema: &352 + schema: &349 type: object required: - run_workflows_from_fork_pull_requests @@ -19510,7 +19510,7 @@ paths: description: Response content: application/json: - schema: &353 + schema: &350 type: object properties: default_workflow_permissions: &135 @@ -19561,7 +19561,7 @@ paths: required: false content: application/json: - schema: &354 + schema: &351 type: object properties: default_workflow_permissions: *135 @@ -20050,7 +20050,7 @@ paths: type: array items: *142 examples: - default: &664 + default: &662 value: total_count: 1 repositories: @@ -20692,7 +20692,7 @@ paths: application/json: schema: type: array - items: &355 + items: &352 title: Runner Application description: Runner Application type: object @@ -20717,7 +20717,7 @@ paths: - download_url - filename examples: - default: &356 + default: &353 value: - os: osx architecture: x64 @@ -20803,7 +20803,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &357 + '201': &354 description: Response content: application/json: @@ -20914,7 +20914,7 @@ paths: - token - expires_at examples: - default: &358 + default: &355 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -20953,7 +20953,7 @@ paths: application/json: schema: *146 examples: - default: &359 + default: &356 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -20987,7 +20987,7 @@ paths: application/json: schema: *144 examples: - default: &360 + default: &357 value: id: 23 name: MBP @@ -21213,7 +21213,7 @@ paths: - *63 - *143 responses: - '200': &361 + '200': &358 description: Response content: application/json: @@ -21270,7 +21270,7 @@ paths: parameters: - *63 - *143 - - &362 + - &359 name: name description: The name of a self-hosted runner's custom label. in: path @@ -21400,7 +21400,7 @@ paths: description: Response content: application/json: - schema: &374 + schema: &371 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -21429,7 +21429,7 @@ paths: - key_id - key examples: - default: &375 + default: &372 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -21842,7 +21842,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *63 - - &343 + - &340 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)." @@ -22575,12 +22575,12 @@ paths: required: - subject_digests examples: - default: &692 + default: &690 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &693 + withPredicateType: &691 value: subject_digests: - sha256:abc123 @@ -22638,7 +22638,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &694 + default: &692 value: attestations_subject_digests: - sha256:abc: @@ -22987,7 +22987,7 @@ paths: initiator: type: string examples: - default: &388 + default: &385 value: attestations: - bundle: @@ -23916,7 +23916,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *63 - - &414 + - &411 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`, @@ -23926,7 +23926,7 @@ paths: schema: &165 type: string description: The name of the tool used to generate the code scanning analysis. - - &415 + - &412 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 @@ -23949,7 +23949,7 @@ paths: be returned. in: query required: false - schema: &417 + schema: &414 type: string description: State of a code scanning alert. enum: @@ -23972,7 +23972,7 @@ paths: be returned. in: query required: false - schema: &418 + schema: &415 type: string description: Severity of a code scanning alert. enum: @@ -23998,7 +23998,7 @@ paths: updated_at: *160 url: *161 html_url: *162 - instances_url: &419 + instances_url: &416 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -24021,7 +24021,7 @@ paths: required: *21 nullable: true dismissed_at: *164 - dismissed_reason: &420 + dismissed_reason: &417 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -24030,13 +24030,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &421 + dismissed_comment: &418 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &422 + rule: &419 type: object properties: id: @@ -24089,7 +24089,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &423 + tool: &420 type: object properties: name: *165 @@ -24099,15 +24099,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *166 - most_recent_instance: &424 + most_recent_instance: &421 type: object properties: - ref: &416 + ref: &413 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &434 + analysis_key: &431 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -24118,7 +24118,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &435 + category: &432 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -25442,7 +25442,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &447 + properties: &444 name: type: string description: The name of the machine. @@ -25484,7 +25484,7 @@ paths: - ready - in_progress nullable: true - required: &448 + required: &445 - name - display_name - operating_system @@ -26352,7 +26352,7 @@ paths: - updated_at - visibility examples: - default: &449 + default: &446 value: total_count: 2 secrets: @@ -26390,7 +26390,7 @@ paths: description: Response content: application/json: - schema: &450 + schema: &447 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -26419,7 +26419,7 @@ paths: - key_id - key examples: - default: &451 + default: &448 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -26451,7 +26451,7 @@ paths: application/json: schema: *175 examples: - default: &453 + default: &450 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -27449,7 +27449,7 @@ paths: application/json: schema: type: array - items: &306 + items: &305 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -27756,7 +27756,7 @@ paths: - date additionalProperties: true examples: - default: &307 + default: &306 value: - date: '2024-06-24' total_active_users: 24 @@ -27858,7 +27858,7 @@ paths: '500': *103 '403': *29 '404': *6 - '422': &308 + '422': &307 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -28064,7 +28064,7 @@ paths: description: Response content: application/json: - schema: &479 + schema: &476 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -28081,7 +28081,7 @@ paths: - key_id - key examples: - default: &480 + default: &477 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -29881,7 +29881,7 @@ paths: application/json: schema: *22 examples: - default: &518 + default: &515 value: id: 1 account: @@ -30106,7 +30106,7 @@ paths: required: true content: application/json: - schema: &519 + schema: &516 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -30959,7 +30959,7 @@ paths: application/json: schema: *221 examples: - default: &446 + default: &443 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -32204,7 +32204,7 @@ paths: parameters: - *63 - *228 - - &677 + - &675 name: repo_name description: repo_name parameter in: path @@ -32949,7 +32949,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &302 + items: &301 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -33243,7 +33243,7 @@ paths: - nuget - container - *63 - - &678 + - &676 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -33284,7 +33284,7 @@ paths: default: *235 '403': *29 '401': *25 - '400': &680 + '400': &678 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -34977,266 +34977,6 @@ paths: enabledForGitHubApps: true category: private-registries subcategory: organization-configurations - "/orgs/{org}/projects": - get: - summary: List organization projects - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/list-for-org - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/projects-classic/projects#list-organization-projects - parameters: - - *63 - - name: state - description: Indicates the state of the projects to return. - in: query - required: false - schema: - type: string - enum: - - open - - closed - - all - default: open - - *17 - - *19 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: &250 - title: Project - description: Projects are a way to organize columns and cards of - work. - type: object - properties: - owner_url: - type: string - format: uri - example: https://api.github.com/repos/api-playground/projects-test - url: - type: string - format: uri - example: https://api.github.com/projects/1002604 - html_url: - type: string - format: uri - example: https://github.com/api-playground/projects-test/projects/12 - columns_url: - type: string - format: uri - example: https://api.github.com/projects/1002604/columns - id: - type: integer - example: 1002604 - node_id: - type: string - example: MDc6UHJvamVjdDEwMDI2MDQ= - name: - description: Name of the project - example: Week One Sprint - type: string - body: - description: Body of the project - example: This project represents the sprint of the first week - in January - type: string - nullable: true - number: - type: integer - example: 1 - state: - description: State of the project; either 'open' or 'closed' - example: open - type: string - creator: - title: Simple User - description: A GitHub user. - type: object - properties: *20 - required: *21 - nullable: true - created_at: - type: string - format: date-time - example: '2011-04-10T20:09:31Z' - updated_at: - type: string - format: date-time - example: '2014-03-03T18:58:10Z' - organization_permission: - description: The baseline permission that all organization members - have on this project. Only present if owner is an organization. - type: string - enum: - - read - - write - - admin - - none - private: - description: Whether or not this project can be seen by everyone. - Only present if owner is an organization. - type: boolean - required: - - id - - node_id - - number - - name - - body - - state - - url - - html_url - - owner_url - - creator - - columns_url - - created_at - - updated_at - examples: - default: - value: - - owner_url: https://api.github.com/orgs/octocat - url: https://api.github.com/projects/1002605 - html_url: https://github.com/orgs/api-playground/projects/1 - columns_url: https://api.github.com/projects/1002605/columns - id: 1002605 - node_id: MDc6UHJvamVjdDEwMDI2MDU= - name: Organization Roadmap - body: High-level roadmap for the upcoming year. - number: 1 - state: open - creator: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - created_at: '2011-04-11T20:09:31Z' - updated_at: '2014-03-04T18:58:10Z' - organization_permission: write - private: true - headers: - Link: *54 - '422': *7 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true - post: - summary: Create an organization project - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/create-for-org - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/projects-classic/projects#create-an-organization-project - parameters: - - *63 - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - name: - type: string - description: The name of the project. - body: - type: string - description: The description of the project. - required: - - name - examples: - default: - value: - name: Organization Roadmap - body: High-level roadmap for the upcoming year. - responses: - '201': - description: Response - content: - application/json: - schema: *250 - examples: - default: - value: - owner_url: https://api.github.com/orgs/octocat - url: https://api.github.com/projects/1002605 - html_url: https://github.com/orgs/api-playground/projects/1 - columns_url: https://api.github.com/projects/1002605/columns - id: 1002605 - node_id: MDc6UHJvamVjdDEwMDI2MDU= - name: Organization Roadmap - body: High-level roadmap for the upcoming year. - number: 1 - state: open - creator: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - created_at: '2011-04-11T20:09:31Z' - updated_at: '2014-03-04T18:58:10Z' - '401': *25 - '403': *29 - '404': *6 - '410': &330 - description: Gone - content: - application/json: - schema: *3 - '422': *7 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true "/orgs/{org}/projectsV2": get: summary: List projects for organization @@ -35266,7 +35006,7 @@ paths: application/json: schema: type: array - items: &251 + items: &250 title: Projects v2 Project description: A projects v2 project type: object @@ -35336,7 +35076,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &761 + properties: &759 id: type: number description: The unique identifier of the status update. @@ -35384,7 +35124,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &762 + required: &760 - id - node_id - created_at @@ -35409,7 +35149,7 @@ paths: - deleted_at - deleted_by examples: - default: &252 + default: &251 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -35512,7 +35252,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &253 + - &252 name: project_number description: The project's number. in: path @@ -35525,9 +35265,9 @@ paths: description: Response content: application/json: - schema: *251 + schema: *250 examples: - default: *252 + default: *251 headers: Link: *54 '304': *37 @@ -35549,7 +35289,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *253 + - *252 - *63 - *17 - *40 @@ -35561,7 +35301,7 @@ paths: application/json: schema: type: array - items: &254 + items: &253 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -35708,7 +35448,7 @@ paths: - updated_at - project_url examples: - default: &697 + default: &695 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -35811,8 +35551,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *253 - - &698 + - *252 + - &696 name: field_id description: The unique identifier of the field. in: path @@ -35825,9 +35565,9 @@ paths: description: Response content: application/json: - schema: *254 + schema: *253 examples: - default: &699 + default: &697 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -35871,7 +35611,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *253 + - *252 - *63 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) @@ -35904,7 +35644,7 @@ paths: application/json: schema: type: array - items: &260 + items: &259 title: Projects v2 Item description: An item belonging to a project type: object @@ -35920,7 +35660,7 @@ paths: format: uri example: https://api.github.com/users/monalisa/2/projectsV2/3 description: The API URL of the project that contains this item. - content_type: &258 + content_type: &257 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -35970,7 +35710,7 @@ paths: - updated_at - archived_at examples: - default: &261 + default: &260 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -36665,7 +36405,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - *63 - - *253 + - *252 requestBody: required: true description: Details of the item to add to the project. @@ -36702,7 +36442,7 @@ paths: description: Response content: application/json: - schema: &700 + schema: &698 title: Projects v2 Item description: An item belonging to a project type: object @@ -36716,7 +36456,7 @@ paths: content: oneOf: - *82 - - &461 + - &458 title: Pull Request Simple description: Pull Request Simple type: object @@ -36822,8 +36562,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *255 - required: *256 + properties: *254 + required: *255 nullable: true active_lock_reason: type: string @@ -36919,7 +36659,7 @@ paths: _links: type: object properties: - comments: &257 + comments: &256 title: Link description: Hypermedia Link type: object @@ -36928,13 +36668,13 @@ paths: type: string required: - href - commits: *257 - statuses: *257 - html: *257 - issue: *257 - review_comments: *257 - review_comment: *257 - self: *257 + commits: *256 + statuses: *256 + html: *256 + issue: *256 + review_comments: *256 + review_comment: *256 + self: *256 required: - comments - commits @@ -36945,7 +36685,7 @@ paths: - review_comment - self author_association: *69 - auto_merge: &566 + auto_merge: &564 title: Auto merge description: The status of auto merging a pull request. type: object @@ -37047,7 +36787,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *258 + content_type: *257 creator: *4 created_at: type: string @@ -37080,7 +36820,7 @@ paths: - updated_at - archived_at examples: - issue: &259 + issue: &258 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -37135,7 +36875,7 @@ paths: archived_at: project_url: https://api.github.com/users/octocat/projectsV2/1 item_url: https://api.github.com/users/octocat/projectsV2/items/17 - pull_request: *259 + pull_request: *258 '304': *37 '403': *29 '401': *25 @@ -37155,9 +36895,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *253 + - *252 - *63 - - &262 + - &261 name: item_id description: The unique identifier of the project item. in: path @@ -37183,9 +36923,9 @@ paths: description: Response content: application/json: - schema: *260 + schema: *259 examples: - default: *261 + default: *260 headers: Link: *54 '304': *37 @@ -37206,9 +36946,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *253 + - *252 - *63 - - *262 + - *261 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -37278,13 +37018,13 @@ paths: description: Response content: application/json: - schema: *260 + schema: *259 examples: - text_field: *261 - number_field: *261 - date_field: *261 - single_select_field: *261 - iteration_field: *261 + text_field: *260 + number_field: *260 + date_field: *260 + single_select_field: *260 + iteration_field: *260 '401': *25 '403': *29 '404': *6 @@ -37304,9 +37044,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *253 + - *252 - *63 - - *262 + - *261 responses: '204': description: Response @@ -37338,7 +37078,7 @@ paths: application/json: schema: type: array - items: &263 + items: &262 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -37404,7 +37144,7 @@ paths: - property_name - value_type examples: - default: &264 + default: &263 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -37463,7 +37203,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *263 + items: *262 minItems: 1 maxItems: 100 required: @@ -37493,9 +37233,9 @@ paths: application/json: schema: type: array - items: *263 + items: *262 examples: - default: *264 + default: *263 '403': *29 '404': *6 x-github: @@ -37517,7 +37257,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *63 - - &265 + - &264 name: custom_property_name description: The custom property name in: path @@ -37529,9 +37269,9 @@ paths: description: Response content: application/json: - schema: *263 + schema: *262 examples: - default: &266 + default: &265 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -37566,7 +37306,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *63 - - *265 + - *264 requestBody: required: true content: @@ -37635,9 +37375,9 @@ paths: description: Response content: application/json: - schema: *263 + schema: *262 examples: - default: *266 + default: *265 '403': *29 '404': *6 x-github: @@ -37661,7 +37401,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *63 - - *265 + - *264 responses: '204': *172 '403': *29 @@ -38185,7 +37925,7 @@ paths: description: Response content: application/json: - schema: &332 + schema: &329 title: Full Repository description: Full Repository type: object @@ -38462,8 +38202,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *267 - required: *268 + properties: *266 + required: *267 nullable: true temp_clone_token: type: string @@ -38578,7 +38318,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &466 + properties: &463 url: type: string format: uri @@ -38594,12 +38334,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &467 + required: &464 - url - key - name - html_url - security_and_analysis: *269 + security_and_analysis: *268 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -38683,7 +38423,7 @@ paths: - network_count - subscribers_count examples: - default: &334 + default: &331 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -39204,7 +38944,7 @@ paths: - *63 - *17 - *19 - - &589 + - &587 name: targets description: | A comma-separated list of rule targets to filter by. @@ -39222,7 +38962,7 @@ paths: application/json: schema: type: array - items: &295 + items: &294 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -39257,7 +38997,7 @@ paths: source: type: string description: The name of the source - enforcement: &272 + enforcement: &271 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -39270,7 +39010,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &273 + items: &272 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -39340,7 +39080,7 @@ paths: conditions: nullable: true anyOf: - - &270 + - &269 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -39364,7 +39104,7 @@ paths: match. items: type: string - - &274 + - &273 title: Organization ruleset conditions type: object description: |- @@ -39378,7 +39118,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *270 + - *269 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -39412,7 +39152,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *270 + - *269 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -39434,7 +39174,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *270 + - *269 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -39447,7 +39187,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &271 + items: &270 title: Repository ruleset property targeting definition type: object @@ -39480,17 +39220,17 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *271 + items: *270 required: - repository_property rules: type: array - items: &590 + items: &588 title: Repository Rule type: object description: A repository rule. oneOf: - - &275 + - &274 title: creation description: Only allow users with bypass permission to create matching refs. @@ -39502,7 +39242,7 @@ paths: type: string enum: - creation - - &276 + - &275 title: update description: Only allow users with bypass permission to update matching refs. @@ -39523,7 +39263,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &277 + - &276 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -39535,7 +39275,7 @@ paths: type: string enum: - deletion - - &278 + - &277 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -39547,7 +39287,7 @@ paths: type: string enum: - required_linear_history - - &587 + - &585 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -39625,7 +39365,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &279 + - &278 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -39649,7 +39389,7 @@ paths: type: string required: - required_deployment_environments - - &280 + - &279 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -39661,7 +39401,7 @@ paths: type: string enum: - required_signatures - - &281 + - &280 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -39723,7 +39463,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &282 + - &281 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -39771,7 +39511,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &283 + - &282 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -39783,7 +39523,7 @@ paths: type: string enum: - non_fast_forward - - &284 + - &283 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -39819,7 +39559,7 @@ paths: required: - operator - pattern - - &285 + - &284 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -39855,7 +39595,7 @@ paths: required: - operator - pattern - - &286 + - &285 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -39891,7 +39631,7 @@ paths: required: - operator - pattern - - &287 + - &286 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -39927,7 +39667,7 @@ paths: required: - operator - pattern - - &288 + - &287 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -39963,7 +39703,7 @@ paths: required: - operator - pattern - - &289 + - &288 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -39988,7 +39728,7 @@ paths: type: string required: - restricted_file_paths - - &290 + - &289 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -40012,7 +39752,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &291 + - &290 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -40035,7 +39775,7 @@ paths: type: string required: - restricted_file_extensions - - &292 + - &291 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -40060,7 +39800,7 @@ paths: maximum: 100 required: - max_file_size - - &293 + - &292 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -40110,7 +39850,7 @@ paths: - repository_id required: - workflows - - &294 + - &293 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -40171,7 +39911,7 @@ paths: - tool required: - code_scanning_tools - - &588 + - &586 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -40269,20 +40009,21 @@ paths: - push - repository default: branch - enforcement: *272 + enforcement: *271 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *273 - conditions: *274 + items: *272 + conditions: *273 rules: type: array description: An array of rules within the ruleset. - items: &297 + items: &296 title: Repository Rule type: object description: A repository rule. oneOf: + - *274 - *275 - *276 - *277 @@ -40302,7 +40043,6 @@ paths: - *291 - *292 - *293 - - *294 required: - name - enforcement @@ -40340,9 +40080,9 @@ paths: description: Response content: application/json: - schema: *295 + schema: *294 examples: - default: &296 + default: &295 value: id: 21 name: super cool ruleset @@ -40397,7 +40137,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *63 - - &591 + - &589 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 @@ -40412,7 +40152,7 @@ paths: in: query schema: type: string - - &592 + - &590 name: time_period description: |- The time period to filter by. @@ -40428,14 +40168,14 @@ paths: - week - month default: day - - &593 + - &591 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 - - &594 + - &592 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -40455,7 +40195,7 @@ paths: description: Response content: application/json: - schema: &595 + schema: &593 title: Rule Suites description: Response type: array @@ -40510,7 +40250,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &596 + default: &594 value: - id: 21 actor_id: 12 @@ -40554,7 +40294,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *63 - - &597 + - &595 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -40570,7 +40310,7 @@ paths: description: Response content: application/json: - schema: &598 + schema: &596 title: Rule Suite description: Response type: object @@ -40669,7 +40409,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &599 + default: &597 value: id: 21 actor_id: 12 @@ -40742,9 +40482,9 @@ paths: description: Response content: application/json: - schema: *295 + schema: *294 examples: - default: *296 + default: *295 '404': *6 '500': *103 put: @@ -40788,16 +40528,16 @@ paths: - tag - push - repository - enforcement: *272 + enforcement: *271 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *273 - conditions: *274 + items: *272 + conditions: *273 rules: description: An array of rules within the ruleset. type: array - items: *297 + items: *296 examples: default: value: @@ -40832,9 +40572,9 @@ paths: description: Response content: application/json: - schema: *295 + schema: *294 examples: - default: *296 + default: *295 '404': *6 '500': *103 delete: @@ -40891,7 +40631,7 @@ paths: application/json: schema: type: array - items: &298 + items: &297 title: Ruleset version type: object description: The historical version of a ruleset @@ -40915,7 +40655,7 @@ paths: type: string format: date-time examples: - default: &601 + default: &599 value: - version_id: 3 actor: @@ -40968,9 +40708,9 @@ paths: description: Response content: application/json: - schema: &602 + schema: &600 allOf: - - *298 + - *297 - type: object required: - state @@ -41040,7 +40780,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *63 - - &603 + - &601 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -41051,7 +40791,7 @@ paths: enum: - open - resolved - - &604 + - &602 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -41061,7 +40801,7 @@ paths: required: false schema: type: string - - &605 + - &603 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -41070,7 +40810,7 @@ paths: required: false schema: type: string - - &606 + - &604 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. @@ -41085,7 +40825,7 @@ paths: - *48 - *19 - *17 - - &607 + - &605 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 @@ -41095,7 +40835,7 @@ paths: required: false schema: type: string - - &608 + - &606 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 @@ -41105,7 +40845,7 @@ paths: required: false schema: type: string - - &609 + - &607 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -41114,7 +40854,7 @@ paths: required: false schema: type: string - - &610 + - &608 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -41123,7 +40863,7 @@ paths: schema: type: boolean default: false - - &611 + - &609 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -41132,7 +40872,7 @@ paths: schema: type: boolean default: false - - &612 + - &610 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -41167,14 +40907,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &613 + state: &611 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: &614 + resolution: &612 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -41281,8 +41021,8 @@ paths: pull request. ' - oneOf: &615 - - &617 + oneOf: &613 + - &615 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -41334,7 +41074,7 @@ paths: - blob_url - commit_sha - commit_url - - &618 + - &616 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -41389,7 +41129,7 @@ paths: - page_url - commit_sha - commit_url - - &619 + - &617 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -41403,7 +41143,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &620 + - &618 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -41417,7 +41157,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &621 + - &619 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -41431,7 +41171,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &622 + - &620 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -41445,7 +41185,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &623 + - &621 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -41459,7 +41199,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &624 + - &622 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -41473,7 +41213,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &625 + - &623 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -41487,7 +41227,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &626 + - &624 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -41501,7 +41241,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &627 + - &625 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -41515,7 +41255,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &628 + - &626 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -41529,7 +41269,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &629 + - &627 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -41771,7 +41511,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &300 + pattern_config_version: &299 type: string description: The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate @@ -41780,7 +41520,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &299 + items: &298 type: object properties: token_type: @@ -41846,7 +41586,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *299 + items: *298 examples: default: value: @@ -41903,7 +41643,7 @@ paths: schema: type: object properties: - pattern_config_version: *300 + pattern_config_version: *299 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -41929,7 +41669,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *300 + custom_pattern_version: *299 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -42027,7 +41767,7 @@ paths: application/json: schema: type: array - items: &633 + items: &631 description: A repository security advisory. type: object properties: @@ -42247,7 +41987,7 @@ paths: login: type: string description: The username of the user credited. - type: *301 + type: *300 credits_detailed: type: array nullable: true @@ -42257,7 +41997,7 @@ paths: type: object properties: user: *4 - type: *301 + type: *300 state: type: string description: The state of the user's acceptance of the @@ -42318,7 +42058,7 @@ paths: - private_fork additionalProperties: false examples: - default: &634 + default: &632 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -42705,7 +42445,7 @@ paths: application/json: schema: type: array - items: *302 + items: *301 examples: default: *233 x-github: @@ -42792,7 +42532,7 @@ paths: description: Response content: application/json: - schema: &701 + schema: &699 type: object properties: total_minutes_used: @@ -42862,7 +42602,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &702 + default: &700 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -42898,7 +42638,7 @@ paths: description: Response content: application/json: - schema: &703 + schema: &701 type: object properties: total_gigabytes_bandwidth_used: @@ -42916,7 +42656,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &704 + default: &702 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -42948,7 +42688,7 @@ paths: description: Response content: application/json: - schema: &706 + schema: &704 type: object properties: days_left_in_billing_cycle: @@ -42966,7 +42706,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &707 + default: &705 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -43249,7 +42989,7 @@ paths: type: integer network_configurations: type: array - items: &303 + items: &302 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -43369,9 +43109,9 @@ paths: description: Response content: application/json: - schema: *303 + schema: *302 examples: - default: &304 + default: &303 value: id: 123456789ABCDEF name: My network configuration @@ -43400,7 +43140,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *63 - - &305 + - &304 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -43412,9 +43152,9 @@ paths: description: Response content: application/json: - schema: *303 + schema: *302 examples: - default: *304 + default: *303 headers: Link: *54 x-github: @@ -43436,7 +43176,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *63 - - *305 + - *304 requestBody: required: true content: @@ -43475,9 +43215,9 @@ paths: description: Response content: application/json: - schema: *303 + schema: *302 examples: - default: *304 + default: *303 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43497,7 +43237,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *63 - - *305 + - *304 responses: '204': description: Response @@ -43637,13 +43377,13 @@ paths: application/json: schema: type: array - items: *306 + items: *305 examples: - default: *307 + default: *306 '500': *103 '403': *29 '404': *6 - '422': *308 + '422': *307 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43767,7 +43507,7 @@ paths: description: Response content: application/json: - schema: &309 + schema: &308 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -44094,7 +43834,7 @@ paths: - repos_count - organization examples: - default: &310 + default: &309 value: id: 1 node_id: MDQ6VGVhbTE= @@ -44171,9 +43911,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *308 examples: - default: *310 + default: *309 '404': *6 x-github: githubCloudOnly: false @@ -44257,16 +43997,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *309 + schema: *308 examples: - default: *310 + default: *309 '201': description: Response content: application/json: - schema: *309 + schema: *308 examples: - default: *310 + default: *309 '404': *6 '422': *15 '403': *29 @@ -44336,7 +44076,7 @@ paths: application/json: schema: type: array - items: &311 + items: &310 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -44435,7 +44175,7 @@ paths: - updated_at - url examples: - default: &651 + default: &649 value: - author: login: octocat @@ -44544,9 +44284,9 @@ paths: description: Response content: application/json: - schema: *311 + schema: *310 examples: - default: &312 + default: &311 value: author: login: octocat @@ -44620,7 +44360,7 @@ paths: parameters: - *63 - *64 - - &313 + - &312 name: discussion_number description: The number that identifies the discussion. in: path @@ -44632,9 +44372,9 @@ paths: description: Response content: application/json: - schema: *311 + schema: *310 examples: - default: *312 + default: *311 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44658,7 +44398,7 @@ paths: parameters: - *63 - *64 - - *313 + - *312 requestBody: required: false content: @@ -44681,9 +44421,9 @@ paths: description: Response content: application/json: - schema: *311 + schema: *310 examples: - default: &652 + default: &650 value: author: login: octocat @@ -44755,7 +44495,7 @@ paths: parameters: - *63 - *64 - - *313 + - *312 responses: '204': description: Response @@ -44783,7 +44523,7 @@ paths: parameters: - *63 - *64 - - *313 + - *312 - *48 - *17 - *19 @@ -44794,7 +44534,7 @@ paths: application/json: schema: type: array - items: &314 + items: &313 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -44866,7 +44606,7 @@ paths: - updated_at - url examples: - default: &653 + default: &651 value: - author: login: octocat @@ -44936,7 +44676,7 @@ paths: parameters: - *63 - *64 - - *313 + - *312 requestBody: required: true content: @@ -44958,9 +44698,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *313 examples: - default: &315 + default: &314 value: author: login: octocat @@ -45028,8 +44768,8 @@ paths: parameters: - *63 - *64 - - *313 - - &316 + - *312 + - &315 name: comment_number description: The number that identifies the comment. in: path @@ -45041,9 +44781,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *313 examples: - default: *315 + default: *314 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45067,8 +44807,8 @@ paths: parameters: - *63 - *64 - - *313 - - *316 + - *312 + - *315 requestBody: required: true content: @@ -45090,9 +44830,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *313 examples: - default: &654 + default: &652 value: author: login: octocat @@ -45158,8 +44898,8 @@ paths: parameters: - *63 - *64 - - *313 - - *316 + - *312 + - *315 responses: '204': description: Response @@ -45187,8 +44927,8 @@ paths: parameters: - *63 - *64 - - *313 - - *316 + - *312 + - *315 - 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. @@ -45214,7 +44954,7 @@ paths: application/json: schema: type: array - items: &317 + items: &316 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -45257,7 +44997,7 @@ paths: - content - created_at examples: - default: &319 + default: &318 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -45309,8 +45049,8 @@ paths: parameters: - *63 - *64 - - *313 - - *316 + - *312 + - *315 requestBody: required: true content: @@ -45343,9 +45083,9 @@ paths: team discussion comment content: application/json: - schema: *317 + schema: *316 examples: - default: &318 + default: &317 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -45374,9 +45114,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *316 examples: - default: *318 + default: *317 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45401,9 +45141,9 @@ paths: parameters: - *63 - *64 - - *313 - - *316 - - &320 + - *312 + - *315 + - &319 name: reaction_id description: The unique identifier of the reaction. in: path @@ -45437,7 +45177,7 @@ paths: parameters: - *63 - *64 - - *313 + - *312 - 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. @@ -45463,9 +45203,9 @@ paths: application/json: schema: type: array - items: *317 + items: *316 examples: - default: *319 + default: *318 headers: Link: *54 x-github: @@ -45493,7 +45233,7 @@ paths: parameters: - *63 - *64 - - *313 + - *312 requestBody: required: true content: @@ -45525,16 +45265,16 @@ paths: description: Response content: application/json: - schema: *317 + schema: *316 examples: - default: *318 + default: *317 '201': description: Response content: application/json: - schema: *317 + schema: *316 examples: - default: *318 + default: *317 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -45559,8 +45299,8 @@ paths: parameters: - *63 - *64 - - *313 - - *320 + - *312 + - *319 responses: '204': description: Response @@ -45681,7 +45421,7 @@ paths: description: Response content: application/json: - schema: &321 + schema: &320 title: Team Membership description: Team Membership type: object @@ -45708,7 +45448,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &655 + response-if-user-is-a-team-maintainer: &653 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -45771,9 +45511,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *320 examples: - response-if-users-membership-with-team-is-now-pending: &656 + response-if-users-membership-with-team-is-now-pending: &654 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -45846,7 +45586,7 @@ paths: application/json: schema: type: array - items: &322 + items: &321 title: Team Project description: A team's access to a project. type: object @@ -45914,7 +45654,7 @@ paths: - updated_at - permissions examples: - default: &657 + default: &655 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -45979,7 +45719,7 @@ paths: parameters: - *63 - *64 - - &323 + - &322 name: project_id description: The unique identifier of the project. in: path @@ -45991,9 +45731,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *321 examples: - default: &658 + default: &656 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -46057,7 +45797,7 @@ paths: parameters: - *63 - *64 - - *323 + - *322 requestBody: required: false content: @@ -46125,7 +45865,7 @@ paths: parameters: - *63 - *64 - - *323 + - *322 responses: '204': description: Response @@ -46196,14 +45936,14 @@ paths: parameters: - *63 - *64 + - *323 - *324 - - *325 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &659 + schema: &657 title: Team Repository description: A team's access to a repository. type: object @@ -46774,8 +46514,8 @@ paths: parameters: - *63 - *64 + - *323 - *324 - - *325 requestBody: required: false content: @@ -46822,8 +46562,8 @@ paths: parameters: - *63 - *64 + - *323 - *324 - - *325 responses: '204': description: Response @@ -46860,7 +46600,7 @@ paths: type: array items: *178 examples: - response-if-child-teams-exist: &660 + response-if-child-teams-exist: &658 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -46987,7 +46727,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#get-a-project-column parameters: - - &326 + - &325 name: column_id description: The unique identifier of the column. in: path @@ -46999,7 +46739,7 @@ paths: description: Response content: application/json: - schema: &327 + schema: &326 title: Project Column description: Project columns contain cards of work. type: object @@ -47045,7 +46785,7 @@ paths: - created_at - updated_at examples: - default: &328 + default: &327 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -47080,7 +46820,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#update-an-existing-project-column parameters: - - *326 + - *325 requestBody: required: true content: @@ -47104,9 +46844,9 @@ paths: description: Response content: application/json: - schema: *327 + schema: *326 examples: - default: *328 + default: *327 '304': *37 '403': *29 '401': *25 @@ -47131,7 +46871,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#delete-a-project-column parameters: - - *326 + - *325 responses: '204': description: Response @@ -47160,7 +46900,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#move-a-project-column parameters: - - *326 + - *325 requestBody: required: true content: @@ -47206,208 +46946,6 @@ paths: deprecationDate: '2024-05-23' removalDate: '2025-04-01' deprecated: true - "/projects/{project_id}": - get: - summary: Get a project - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/get - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/projects-classic/projects#get-a-project - parameters: - - *323 - responses: - '200': - description: Response - content: - application/json: - schema: *250 - examples: - default: &329 - value: - owner_url: https://api.github.com/repos/api-playground/projects-test - url: https://api.github.com/projects/1002604 - html_url: https://github.com/api-playground/projects-test/projects/1 - columns_url: https://api.github.com/projects/1002604/columns - id: 1002604 - node_id: MDc6UHJvamVjdDEwMDI2MDQ= - name: Projects Documentation - body: Developer documentation project for the developer site. - number: 1 - state: open - creator: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - created_at: '2011-04-10T20:09:31Z' - updated_at: '2014-03-03T18:58:10Z' - '304': *37 - '403': *29 - '401': *25 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true - patch: - summary: Update a project - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - operationId: projects-classic/update - tags: - - projects-classic - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/projects-classic/projects#update-a-project - parameters: - - *323 - requestBody: - required: false - content: - application/json: - schema: - properties: - name: - description: Name of the project - example: Week One Sprint - type: string - body: - description: Body of the project - example: This project represents the sprint of the first week in - January - type: string - nullable: true - state: - description: State of the project; either 'open' or 'closed' - example: open - type: string - organization_permission: - description: The baseline permission that all organization members - have on this project - type: string - enum: - - read - - write - - admin - - none - private: - description: Whether or not this project can be seen by everyone. - type: boolean - type: object - examples: - default: - summary: Change the name, state, and permissions for a project - value: - name: Week One Sprint - state: open - organization_permission: write - responses: - '200': - description: Response - content: - application/json: - schema: *250 - examples: - default: *329 - '404': - description: Not Found if the authenticated user does not have access to - the project - '304': *37 - '403': - description: Forbidden - content: - application/json: - schema: - type: object - properties: - message: - type: string - documentation_url: - type: string - errors: - type: array - items: - type: string - '401': *25 - '410': *330 - '422': *7 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true - delete: - summary: Delete a project - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - operationId: projects-classic/delete - tags: - - projects-classic - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/projects-classic/projects#delete-a-project - parameters: - - *323 - responses: - '204': - description: Delete Success - '304': *37 - '403': - description: Forbidden - content: - application/json: - schema: - type: object - properties: - message: - type: string - documentation_url: - type: string - errors: - type: array - items: - type: string - '401': *25 - '410': *330 - '404': *6 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true "/projects/{project_id}/collaborators": get: summary: List project collaborators @@ -47422,7 +46960,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#list-project-collaborators parameters: - - *323 + - *322 - 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 @@ -47479,7 +47017,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#add-project-collaborator parameters: - - *323 + - *322 - *59 requestBody: required: false @@ -47532,7 +47070,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *323 + - *322 - *59 responses: '204': @@ -47564,7 +47102,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *323 + - *322 - *59 responses: '200': @@ -47665,7 +47203,7 @@ paths: resources: type: object properties: - core: &331 + core: &328 title: Rate Limit type: object properties: @@ -47682,21 +47220,21 @@ paths: - remaining - reset - used - graphql: *331 - search: *331 - code_search: *331 - source_import: *331 - integration_manifest: *331 - code_scanning_upload: *331 - actions_runner_registration: *331 - scim: *331 - dependency_snapshots: *331 - dependency_sbom: *331 - code_scanning_autofix: *331 + graphql: *328 + search: *328 + code_search: *328 + source_import: *328 + integration_manifest: *328 + code_scanning_upload: *328 + actions_runner_registration: *328 + scim: *328 + dependency_snapshots: *328 + dependency_sbom: *328 + code_scanning_autofix: *328 required: - core - search - rate: *331 + rate: *328 required: - rate - resources @@ -47801,14 +47339,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: + - *323 - *324 - - *325 responses: '200': description: Response content: application/json: - schema: *332 + schema: *329 examples: default-response: summary: Default response @@ -48309,7 +47847,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *333 + '301': *330 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48327,8 +47865,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: + - *323 - *324 - - *325 requestBody: required: false content: @@ -48575,10 +48113,10 @@ paths: description: Response content: application/json: - schema: *332 + schema: *329 examples: - default: *334 - '307': &335 + default: *331 + '307': &332 description: Temporary Redirect content: application/json: @@ -48607,8 +48145,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: + - *323 - *324 - - *325 responses: '204': description: Response @@ -48630,7 +48168,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *335 + '307': *332 '404': *6 '409': *47 x-github: @@ -48654,11 +48192,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: + - *323 - *324 - - *325 - *17 - *19 - - &366 + - &363 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -48681,7 +48219,7 @@ paths: type: integer artifacts: type: array - items: &336 + items: &333 title: Artifact description: An artifact type: object @@ -48759,7 +48297,7 @@ paths: - expires_at - updated_at examples: - default: &367 + default: &364 value: total_count: 2 artifacts: @@ -48820,9 +48358,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: + - *323 - *324 - - *325 - - &337 + - &334 name: artifact_id description: The unique identifier of the artifact. in: path @@ -48834,7 +48372,7 @@ paths: description: Response content: application/json: - schema: *336 + schema: *333 examples: default: value: @@ -48872,9 +48410,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: + - *323 - *324 - - *325 - - *337 + - *334 responses: '204': description: Response @@ -48898,9 +48436,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: + - *323 - *324 - - *325 - - *337 + - *334 - name: archive_format in: path required: true @@ -48914,7 +48452,11 @@ 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': *330 + '410': &519 + description: Gone + content: + application/json: + schema: *3 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48937,14 +48479,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: + - *323 - *324 - - *325 responses: '200': description: Response content: application/json: - schema: *338 + schema: *335 examples: default: value: @@ -48970,11 +48512,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: + - *323 - *324 - - *325 - *17 - *19 - - &339 + - &336 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 @@ -49008,7 +48550,7 @@ paths: description: Response content: application/json: - schema: &340 + schema: &337 title: Repository actions caches description: Repository actions caches type: object @@ -49050,7 +48592,7 @@ paths: - total_count - actions_caches examples: - default: &341 + default: &338 value: total_count: 1 actions_caches: @@ -49082,23 +48624,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: + - *323 - *324 - - *325 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *339 + - *336 responses: '200': description: Response content: application/json: - schema: *340 + schema: *337 examples: - default: *341 + default: *338 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49118,8 +48660,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: + - *323 - *324 - - *325 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -49150,9 +48692,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: + - *323 - *324 - - *325 - - &342 + - &339 name: job_id description: The unique identifier of the job. in: path @@ -49164,7 +48706,7 @@ paths: description: Response content: application/json: - schema: &370 + schema: &367 title: Job description: Information of a job execution in a workflow run type: object @@ -49471,9 +49013,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: + - *323 - *324 - - *325 - - *342 + - *339 responses: '302': description: Response @@ -49501,9 +49043,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: + - *323 - *324 - - *325 - - *342 + - *339 requestBody: required: false content: @@ -49548,8 +49090,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: + - *323 - *324 - - *325 responses: '200': description: Status response @@ -49599,8 +49141,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: + - *323 - *324 - - *325 requestBody: required: true content: @@ -49663,8 +49205,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: + - *323 - *324 - - *325 - *17 - *19 responses: @@ -49682,7 +49224,7 @@ paths: type: integer secrets: type: array - items: &372 + items: &369 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -49702,7 +49244,7 @@ paths: - created_at - updated_at examples: - default: &373 + default: &370 value: total_count: 2 secrets: @@ -49735,9 +49277,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: + - *323 - *324 - - *325 - - *343 + - *340 - *19 responses: '200': @@ -49754,7 +49296,7 @@ paths: type: integer variables: type: array - items: &376 + items: &373 title: Actions Variable type: object properties: @@ -49784,7 +49326,7 @@ paths: - created_at - updated_at examples: - default: &377 + default: &374 value: total_count: 2 variables: @@ -49817,8 +49359,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: + - *323 - *324 - - *325 responses: '200': description: Response @@ -49827,11 +49369,11 @@ paths: schema: type: object properties: - enabled: &345 + enabled: &342 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *127 - selected_actions_url: *344 + selected_actions_url: *341 sha_pinning_required: *128 required: - enabled @@ -49860,8 +49402,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: + - *323 - *324 - - *325 responses: '204': description: Response @@ -49872,7 +49414,7 @@ paths: schema: type: object properties: - enabled: *345 + enabled: *342 allowed_actions: *127 sha_pinning_required: *128 required: @@ -49904,14 +49446,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: + - *323 - *324 - - *325 responses: '200': description: Response content: application/json: - schema: &346 + schema: &343 type: object properties: access_level: @@ -49928,7 +49470,7 @@ paths: required: - access_level examples: - default: &347 + default: &344 value: access_level: organization x-github: @@ -49952,15 +49494,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: + - *323 - *324 - - *325 requestBody: required: true content: application/json: - schema: *346 + schema: *343 examples: - default: *347 + default: *344 responses: '204': description: Response @@ -49984,14 +49526,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: + - *323 - *324 - - *325 responses: '200': description: Response content: application/json: - schema: *348 + schema: *345 examples: default: value: @@ -50015,8 +49557,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: + - *323 - *324 - - *325 responses: '204': description: Empty response for successful settings update @@ -50026,7 +49568,7 @@ paths: required: true content: application/json: - schema: *349 + schema: *346 examples: default: summary: Set retention days @@ -50050,8 +49592,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: + - *323 - *324 - - *325 responses: '200': description: Response @@ -50059,7 +49601,7 @@ paths: application/json: schema: *129 examples: - default: *350 + default: *347 '404': *6 x-github: enabledForGitHubApps: true @@ -50078,8 +49620,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: + - *323 - *324 - - *325 responses: '204': description: Response @@ -50113,14 +49655,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: + - *323 - *324 - - *325 responses: '200': description: Response content: application/json: - schema: *351 + schema: *348 examples: default: *130 '403': *29 @@ -50142,13 +49684,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: + - *323 - *324 - - *325 requestBody: required: true content: application/json: - schema: *352 + schema: *349 examples: default: *130 responses: @@ -50174,8 +49716,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: + - *323 - *324 - - *325 responses: '200': description: Response @@ -50202,8 +49744,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: + - *323 - *324 - - *325 responses: '204': description: Response @@ -50235,14 +49777,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: + - *323 - *324 - - *325 responses: '200': description: Response content: application/json: - schema: *353 + schema: *350 examples: default: *137 x-github: @@ -50265,8 +49807,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: + - *323 - *324 - - *325 responses: '204': description: Success response @@ -50277,7 +49819,7 @@ paths: required: true content: application/json: - schema: *354 + schema: *351 examples: default: *137 x-github: @@ -50306,8 +49848,8 @@ paths: in: query schema: type: string + - *323 - *324 - - *325 - *17 - *19 responses: @@ -50351,8 +49893,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: + - *323 - *324 - - *325 responses: '200': description: Response @@ -50360,9 +49902,9 @@ paths: application/json: schema: type: array - items: *355 + items: *352 examples: - default: *356 + default: *353 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50384,8 +49926,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: + - *323 - *324 - - *325 requestBody: required: true content: @@ -50428,7 +49970,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *357 + '201': *354 '404': *6 '422': *7 '409': *47 @@ -50459,8 +50001,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: + - *323 - *324 - - *325 responses: '201': description: Response @@ -50468,7 +50010,7 @@ paths: application/json: schema: *146 examples: - default: *358 + default: *355 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50496,8 +50038,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: + - *323 - *324 - - *325 responses: '201': description: Response @@ -50505,7 +50047,7 @@ paths: application/json: schema: *146 examples: - default: *359 + default: *356 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50527,8 +50069,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: + - *323 - *324 - - *325 - *143 responses: '200': @@ -50537,7 +50079,7 @@ paths: application/json: schema: *144 examples: - default: *360 + default: *357 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50558,8 +50100,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: + - *323 - *324 - - *325 - *143 responses: '204': @@ -50586,8 +50128,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: + - *323 - *324 - - *325 - *143 responses: '200': *148 @@ -50612,8 +50154,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: + - *323 - *324 - - *325 - *143 requestBody: required: true @@ -50662,8 +50204,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: + - *323 - *324 - - *325 - *143 requestBody: required: true @@ -50713,11 +50255,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: + - *323 - *324 - - *325 - *143 responses: - '200': *361 + '200': *358 '404': *6 x-github: githubCloudOnly: false @@ -50744,10 +50286,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: + - *323 - *324 - - *325 - *143 - - *362 + - *359 responses: '200': *148 '404': *6 @@ -50775,9 +50317,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: + - *323 - *324 - - *325 - - &380 + - &377 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. @@ -50785,7 +50327,7 @@ paths: required: false schema: type: string - - &381 + - &378 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -50793,7 +50335,7 @@ paths: required: false schema: type: string - - &382 + - &379 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -50802,7 +50344,7 @@ paths: required: false schema: type: string - - &383 + - &380 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 @@ -50829,7 +50371,7 @@ paths: - pending - *17 - *19 - - &384 + - &381 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)." @@ -50838,7 +50380,7 @@ paths: schema: type: string format: date-time - - &363 + - &360 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -50847,13 +50389,13 @@ paths: schema: type: boolean default: false - - &385 + - &382 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &386 + - &383 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -50876,7 +50418,7 @@ paths: type: integer workflow_runs: type: array - items: &364 + items: &361 title: Workflow Run description: An invocation of a workflow type: object @@ -50971,7 +50513,7 @@ paths: that triggered the run. type: array nullable: true - items: &405 + items: &402 title: Pull Request Minimal type: object properties: @@ -51090,7 +50632,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &409 + properties: &406 id: type: string description: SHA for the commit @@ -51141,7 +50683,7 @@ paths: - name - email nullable: true - required: &410 + required: &407 - id - tree_id - message @@ -51188,7 +50730,7 @@ paths: - workflow_url - pull_requests examples: - default: &387 + default: &384 value: total_count: 1 workflow_runs: @@ -51424,24 +50966,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: + - *323 - *324 - - *325 - - &365 + - &362 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *363 + - *360 responses: '200': description: Response content: application/json: - schema: *364 + schema: *361 examples: - default: &368 + default: &365 value: id: 30433642 name: Build @@ -51682,9 +51224,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: + - *323 - *324 - - *325 - - *365 + - *362 responses: '204': description: Response @@ -51707,9 +51249,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: + - *323 - *324 - - *325 - - *365 + - *362 responses: '200': description: Response @@ -51828,9 +51370,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: + - *323 - *324 - - *325 - - *365 + - *362 responses: '201': description: Response @@ -51863,12 +51405,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: + - *323 - *324 - - *325 - - *365 + - *362 - *17 - *19 - - *366 + - *363 responses: '200': description: Response @@ -51884,9 +51426,9 @@ paths: type: integer artifacts: type: array - items: *336 + items: *333 examples: - default: *367 + default: *364 headers: Link: *54 x-github: @@ -51910,25 +51452,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: + - *323 - *324 - - *325 - - *365 - - &369 + - *362 + - &366 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *363 + - *360 responses: '200': description: Response content: application/json: - schema: *364 + schema: *361 examples: - default: *368 + default: *365 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51951,10 +51493,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: + - *323 - *324 - - *325 - - *365 - - *369 + - *362 + - *366 - *17 - *19 responses: @@ -51972,9 +51514,9 @@ paths: type: integer jobs: type: array - items: *370 + items: *367 examples: - default: &371 + default: &368 value: total_count: 1 jobs: @@ -52087,10 +51629,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: + - *323 - *324 - - *325 - - *365 - - *369 + - *362 + - *366 responses: '302': description: Response @@ -52118,9 +51660,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: + - *323 - *324 - - *325 - - *365 + - *362 responses: '202': description: Response @@ -52153,9 +51695,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: + - *323 - *324 - - *325 - - *365 + - *362 requestBody: required: true content: @@ -52222,9 +51764,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: + - *323 - *324 - - *325 - - *365 + - *362 responses: '202': description: Response @@ -52257,9 +51799,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: + - *323 - *324 - - *325 - - *365 + - *362 - 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 @@ -52289,9 +51831,9 @@ paths: type: integer jobs: type: array - items: *370 + items: *367 examples: - default: *371 + default: *368 headers: Link: *54 x-github: @@ -52316,9 +51858,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: + - *323 - *324 - - *325 - - *365 + - *362 responses: '302': description: Response @@ -52345,9 +51887,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: + - *323 - *324 - - *325 - - *365 + - *362 responses: '204': description: Response @@ -52374,9 +51916,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: + - *323 - *324 - - *325 - - *365 + - *362 responses: '200': description: Response @@ -52436,7 +51978,7 @@ paths: items: type: object properties: - type: &488 + type: &485 type: string description: The type of reviewer. enum: @@ -52521,9 +52063,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: + - *323 - *324 - - *325 - - *365 + - *362 requestBody: required: true content: @@ -52570,7 +52112,7 @@ paths: application/json: schema: type: array - items: &483 + items: &480 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -52676,7 +52218,7 @@ paths: - created_at - updated_at examples: - default: &484 + default: &481 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -52732,9 +52274,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: + - *323 - *324 - - *325 - - *365 + - *362 requestBody: required: false content: @@ -52778,9 +52320,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: + - *323 - *324 - - *325 - - *365 + - *362 requestBody: required: false content: @@ -52833,9 +52375,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: + - *323 - *324 - - *325 - - *365 + - *362 responses: '200': description: Response @@ -52972,8 +52514,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: + - *323 - *324 - - *325 - *17 - *19 responses: @@ -52991,9 +52533,9 @@ paths: type: integer secrets: type: array - items: *372 + items: *369 examples: - default: *373 + default: *370 headers: Link: *54 x-github: @@ -53018,16 +52560,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: + - *323 - *324 - - *325 responses: '200': description: Response content: application/json: - schema: *374 + schema: *371 examples: - default: *375 + default: *372 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53049,17 +52591,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: + - *323 - *324 - - *325 - *150 responses: '200': description: Response content: application/json: - schema: *372 + schema: *369 examples: - default: &501 + default: &498 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -53085,8 +52627,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: + - *323 - *324 - - *325 - *150 requestBody: required: true @@ -53144,8 +52686,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: + - *323 - *324 - - *325 - *150 responses: '204': @@ -53171,9 +52713,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: + - *323 - *324 - - *325 - - *343 + - *340 - *19 responses: '200': @@ -53190,9 +52732,9 @@ paths: type: integer variables: type: array - items: *376 + items: *373 examples: - default: *377 + default: *374 headers: Link: *54 x-github: @@ -53215,8 +52757,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -53268,17 +52810,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: + - *323 - *324 - - *325 - *153 responses: '200': description: Response content: application/json: - schema: *376 + schema: *373 examples: - default: &502 + default: &499 value: name: USERNAME value: octocat @@ -53304,8 +52846,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: + - *323 - *324 - - *325 - *153 requestBody: required: true @@ -53348,8 +52890,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: + - *323 - *324 - - *325 - *153 responses: '204': @@ -53375,8 +52917,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: + - *323 - *324 - - *325 - *17 - *19 responses: @@ -53394,7 +52936,7 @@ paths: type: integer workflows: type: array - items: &378 + items: &375 title: Workflow description: A GitHub Actions workflow type: object @@ -53501,9 +53043,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: + - *323 - *324 - - *325 - - &379 + - &376 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -53518,7 +53060,7 @@ paths: description: Response content: application/json: - schema: *378 + schema: *375 examples: default: value: @@ -53551,9 +53093,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: + - *323 - *324 - - *325 - - *379 + - *376 responses: '204': description: Response @@ -53578,9 +53120,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: + - *323 - *324 - - *325 - - *379 + - *376 responses: '204': description: Response @@ -53631,9 +53173,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: + - *323 - *324 - - *325 - - *379 + - *376 responses: '204': description: Response @@ -53660,19 +53202,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: + - *323 - *324 - - *325 + - *376 + - *377 + - *378 - *379 - *380 + - *17 + - *19 - *381 + - *360 - *382 - *383 - - *17 - - *19 - - *384 - - *363 - - *385 - - *386 responses: '200': description: Response @@ -53688,9 +53230,9 @@ paths: type: integer workflow_runs: type: array - items: *364 + items: *361 examples: - default: *387 + default: *384 headers: Link: *54 x-github: @@ -53722,9 +53264,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: + - *323 - *324 - - *325 - - *379 + - *376 responses: '200': description: Response @@ -53785,8 +53327,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: + - *323 - *324 - - *325 - *48 - *17 - *40 @@ -53950,8 +53492,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: + - *323 - *324 - - *325 - *17 - *19 responses: @@ -53988,8 +53530,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: + - *323 - *324 - - *325 - name: assignee in: path required: true @@ -54025,8 +53567,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -54138,8 +53680,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: + - *323 - *324 - - *325 - *17 - *40 - *41 @@ -54196,7 +53738,7 @@ paths: initiator: type: string examples: - default: *388 + default: *385 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54216,8 +53758,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: + - *323 - *324 - - *325 responses: '200': description: Response @@ -54225,7 +53767,7 @@ paths: application/json: schema: type: array - items: &389 + items: &386 title: Autolink reference description: An autolink reference. type: object @@ -54279,8 +53821,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -54319,9 +53861,9 @@ paths: description: response content: application/json: - schema: *389 + schema: *386 examples: - default: &390 + default: &387 value: id: 1 key_prefix: TICKET- @@ -54352,9 +53894,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: + - *323 - *324 - - *325 - - &391 + - &388 name: autolink_id description: The unique identifier of the autolink. in: path @@ -54366,9 +53908,9 @@ paths: description: Response content: application/json: - schema: *389 + schema: *386 examples: - default: *390 + default: *387 '404': *6 x-github: githubCloudOnly: false @@ -54388,9 +53930,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: + - *323 - *324 - - *325 - - *391 + - *388 responses: '204': description: Response @@ -54414,8 +53956,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: + - *323 - *324 - - *325 responses: '200': description: Response if Dependabot is enabled @@ -54463,8 +54005,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: + - *323 - *324 - - *325 responses: '204': description: Response @@ -54485,8 +54027,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: + - *323 - *324 - - *325 responses: '204': description: Response @@ -54506,8 +54048,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: + - *323 - *324 - - *325 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -54545,7 +54087,7 @@ paths: - url protected: type: boolean - protection: &393 + protection: &390 title: Branch Protection description: Branch Protection type: object @@ -54587,7 +54129,7 @@ paths: required: - contexts - checks - enforce_admins: &396 + enforce_admins: &393 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -54602,7 +54144,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &398 + required_pull_request_reviews: &395 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -54678,7 +54220,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &395 + restrictions: &392 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -54955,9 +54497,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: + - *323 - *324 - - *325 - - &394 + - &391 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). @@ -54971,14 +54513,14 @@ paths: description: Response content: application/json: - schema: &404 + schema: &401 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &457 + commit: &454 title: Commit description: Commit type: object @@ -55012,7 +54554,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &392 + properties: &389 name: type: string example: '"Chris Wanstrath"' @@ -55027,7 +54569,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *392 + properties: *389 nullable: true message: type: string @@ -55048,7 +54590,7 @@ paths: required: - sha - url - verification: &508 + verification: &505 title: Verification type: object properties: @@ -55118,7 +54660,7 @@ paths: type: integer files: type: array - items: &470 + items: &467 title: Diff Entry description: Diff Entry type: object @@ -55202,7 +54744,7 @@ paths: - self protected: type: boolean - protection: *393 + protection: *390 protection_url: type: string format: uri @@ -55309,7 +54851,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *333 + '301': *330 '404': *6 x-github: githubCloudOnly: false @@ -55331,15 +54873,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: + - *323 - *324 - - *325 - - *394 + - *391 responses: '200': description: Response content: application/json: - schema: *393 + schema: *390 examples: default: value: @@ -55533,9 +55075,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: + - *323 - *324 - - *325 - - *394 + - *391 requestBody: required: true content: @@ -55790,7 +55332,7 @@ paths: url: type: string format: uri - required_status_checks: &401 + required_status_checks: &398 title: Status Check Policy description: Status Check Policy type: object @@ -55942,7 +55484,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *395 + restrictions: *392 required_conversation_resolution: type: object properties: @@ -56054,9 +55596,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: + - *323 - *324 - - *325 - - *394 + - *391 responses: '204': description: Response @@ -56081,17 +55623,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: + - *323 - *324 - - *325 - - *394 + - *391 responses: '200': description: Response content: application/json: - schema: *396 + schema: *393 examples: - default: &397 + default: &394 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -56113,17 +55655,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: + - *323 - *324 - - *325 - - *394 + - *391 responses: '200': description: Response content: application/json: - schema: *396 + schema: *393 examples: - default: *397 + default: *394 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56142,9 +55684,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: + - *323 - *324 - - *325 - - *394 + - *391 responses: '204': description: Response @@ -56169,17 +55711,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: + - *323 - *324 - - *325 - - *394 + - *391 responses: '200': description: Response content: application/json: - schema: *398 + schema: *395 examples: - default: &399 + default: &396 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -56275,9 +55817,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: + - *323 - *324 - - *325 - - *394 + - *391 requestBody: required: false content: @@ -56375,9 +55917,9 @@ paths: description: Response content: application/json: - schema: *398 + schema: *395 examples: - default: *399 + default: *396 '422': *15 x-github: githubCloudOnly: false @@ -56398,9 +55940,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: + - *323 - *324 - - *325 - - *394 + - *391 responses: '204': description: Response @@ -56427,17 +55969,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: + - *323 - *324 - - *325 - - *394 + - *391 responses: '200': description: Response content: application/json: - schema: *396 + schema: *393 examples: - default: &400 + default: &397 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -56460,17 +56002,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: + - *323 - *324 - - *325 - - *394 + - *391 responses: '200': description: Response content: application/json: - schema: *396 + schema: *393 examples: - default: *400 + default: *397 '404': *6 x-github: githubCloudOnly: false @@ -56490,9 +56032,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: + - *323 - *324 - - *325 - - *394 + - *391 responses: '204': description: Response @@ -56517,17 +56059,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: + - *323 - *324 - - *325 - - *394 + - *391 responses: '200': description: Response content: application/json: - schema: *401 + schema: *398 examples: - default: &402 + default: &399 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -56553,9 +56095,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: + - *323 - *324 - - *325 - - *394 + - *391 requestBody: required: false content: @@ -56607,9 +56149,9 @@ paths: description: Response content: application/json: - schema: *401 + schema: *398 examples: - default: *402 + default: *399 '404': *6 '422': *15 x-github: @@ -56631,9 +56173,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: + - *323 - *324 - - *325 - - *394 + - *391 responses: '204': description: Response @@ -56657,9 +56199,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: + - *323 - *324 - - *325 - - *394 + - *391 responses: '200': description: Response @@ -56693,9 +56235,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: + - *323 - *324 - - *325 - - *394 + - *391 requestBody: required: false content: @@ -56762,9 +56304,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: + - *323 - *324 - - *325 - - *394 + - *391 requestBody: required: false content: @@ -56828,9 +56370,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: + - *323 - *324 - - *325 - - *394 + - *391 requestBody: content: application/json: @@ -56896,15 +56438,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: + - *323 - *324 - - *325 - - *394 + - *391 responses: '200': description: Response content: application/json: - schema: *395 + schema: *392 examples: default: value: @@ -56995,9 +56537,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: + - *323 - *324 - - *325 - - *394 + - *391 responses: '204': description: Response @@ -57020,9 +56562,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: + - *323 - *324 - - *325 - - *394 + - *391 responses: '200': description: Response @@ -57032,7 +56574,7 @@ paths: type: array items: *5 examples: - default: &403 + default: &400 value: - id: 1 slug: octoapp @@ -57089,9 +56631,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: + - *323 - *324 - - *325 - - *394 + - *391 requestBody: required: true content: @@ -57125,7 +56667,7 @@ paths: type: array items: *5 examples: - default: *403 + default: *400 '422': *15 x-github: githubCloudOnly: false @@ -57146,9 +56688,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: + - *323 - *324 - - *325 - - *394 + - *391 requestBody: required: true content: @@ -57182,7 +56724,7 @@ paths: type: array items: *5 examples: - default: *403 + default: *400 '422': *15 x-github: githubCloudOnly: false @@ -57203,9 +56745,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: + - *323 - *324 - - *325 - - *394 + - *391 requestBody: required: true content: @@ -57239,7 +56781,7 @@ paths: type: array items: *5 examples: - default: *403 + default: *400 '422': *15 x-github: githubCloudOnly: false @@ -57261,9 +56803,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: + - *323 - *324 - - *325 - - *394 + - *391 responses: '200': description: Response @@ -57293,9 +56835,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: + - *323 - *324 - - *325 - - *394 + - *391 requestBody: required: false content: @@ -57354,9 +56896,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: + - *323 - *324 - - *325 - - *394 + - *391 requestBody: required: false content: @@ -57415,9 +56957,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: + - *323 - *324 - - *325 - - *394 + - *391 requestBody: content: application/json: @@ -57476,9 +57018,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: + - *323 - *324 - - *325 - - *394 + - *391 responses: '200': description: Response @@ -57512,9 +57054,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: + - *323 - *324 - - *325 - - *394 + - *391 requestBody: required: true content: @@ -57572,9 +57114,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: + - *323 - *324 - - *325 - - *394 + - *391 requestBody: required: true content: @@ -57632,9 +57174,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: + - *323 - *324 - - *325 - - *394 + - *391 requestBody: required: true content: @@ -57694,9 +57236,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: + - *323 - *324 - - *325 - - *394 + - *391 requestBody: required: true content: @@ -57718,7 +57260,7 @@ paths: description: Response content: application/json: - schema: *404 + schema: *401 examples: default: value: @@ -57834,8 +57376,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -58114,7 +57656,7 @@ paths: description: Response content: application/json: - schema: &406 + schema: &403 title: CheckRun description: A check performed on the code of a given code change type: object @@ -58233,8 +57775,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *405 - deployment: &719 + items: *402 + deployment: &717 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -58514,9 +58056,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: + - *323 - *324 - - *325 - - &407 + - &404 name: check_run_id description: The unique identifier of the check run. in: path @@ -58528,9 +58070,9 @@ paths: description: Response content: application/json: - schema: *406 + schema: *403 examples: - default: &408 + default: &405 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -58630,9 +58172,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: + - *323 - *324 - - *325 - - *407 + - *404 requestBody: required: true content: @@ -58872,9 +58414,9 @@ paths: description: Response content: application/json: - schema: *406 + schema: *403 examples: - default: *408 + default: *405 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58894,9 +58436,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: + - *323 - *324 - - *325 - - *407 + - *404 - *17 - *19 responses: @@ -58991,9 +58533,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: + - *323 - *324 - - *325 - - *407 + - *404 responses: '201': description: Response @@ -59037,8 +58579,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -59060,7 +58602,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &411 + schema: &408 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -59124,7 +58666,7 @@ paths: nullable: true pull_requests: type: array - items: *405 + items: *402 nullable: true app: title: GitHub app @@ -59146,12 +58688,12 @@ paths: type: string format: date-time nullable: true - head_commit: &745 + head_commit: &743 title: Simple Commit description: A commit. type: object - properties: *409 - required: *410 + properties: *406 + required: *407 latest_check_runs_count: type: integer check_runs_url: @@ -59179,7 +58721,7 @@ paths: - check_runs_url - pull_requests examples: - default: &412 + default: &409 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -59470,9 +59012,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *411 + schema: *408 examples: - default: *412 + default: *409 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59491,8 +59033,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -59801,9 +59343,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: + - *323 - *324 - - *325 - - &413 + - &410 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -59815,9 +59357,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *408 examples: - default: *412 + default: *409 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59840,17 +59382,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: + - *323 - *324 - - *325 - - *413 - - &463 + - *410 + - &460 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &464 + - &461 name: status description: Returns check runs with the specified `status`. in: query @@ -59889,9 +59431,9 @@ paths: type: integer check_runs: type: array - items: *406 + items: *403 examples: - default: &465 + default: &462 value: total_count: 1 check_runs: @@ -59993,9 +59535,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: + - *323 - *324 - - *325 - - *413 + - *410 responses: '201': description: Response @@ -60028,21 +59570,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: + - *323 - *324 - - *325 - - *414 - - *415 + - *411 + - *412 - *19 - *17 - - &432 + - &429 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: *416 - - &433 + schema: *413 + - &430 name: pr description: The number of the pull request for the results you want to list. in: query @@ -60067,13 +59609,13 @@ paths: be returned. in: query required: false - schema: *417 + schema: *414 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *418 + schema: *415 responses: '200': description: Response @@ -60089,7 +59631,7 @@ paths: updated_at: *160 url: *161 html_url: *162 - instances_url: *419 + instances_url: *416 state: *167 fixed_at: *163 dismissed_by: @@ -60100,11 +59642,11 @@ paths: required: *21 nullable: true dismissed_at: *164 - dismissed_reason: *420 - dismissed_comment: *421 - rule: *422 - tool: *423 - most_recent_instance: *424 + dismissed_reason: *417 + dismissed_comment: *418 + rule: *419 + tool: *420 + most_recent_instance: *421 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -60230,7 +59772,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &425 + '403': &422 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -60257,9 +59799,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: + - *323 - *324 - - *325 - - &426 + - &423 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -60273,7 +59815,7 @@ paths: description: Response content: application/json: - schema: &427 + schema: &424 type: object properties: number: *158 @@ -60281,7 +59823,7 @@ paths: updated_at: *160 url: *161 html_url: *162 - instances_url: *419 + instances_url: *416 state: *167 fixed_at: *163 dismissed_by: @@ -60292,8 +59834,8 @@ paths: required: *21 nullable: true dismissed_at: *164 - dismissed_reason: *420 - dismissed_comment: *421 + dismissed_reason: *417 + dismissed_comment: *418 rule: type: object properties: @@ -60347,8 +59889,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *423 - most_recent_instance: *424 + tool: *420 + most_recent_instance: *421 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -60447,7 +59989,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *425 + '403': *422 '404': *6 '503': *104 x-github: @@ -60467,9 +60009,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: + - *323 - *324 - - *325 - - *426 + - *423 requestBody: required: true content: @@ -60484,8 +60026,8 @@ paths: enum: - open - dismissed - dismissed_reason: *420 - dismissed_comment: *421 + dismissed_reason: *417 + dismissed_comment: *418 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -60504,7 +60046,7 @@ paths: description: Response content: application/json: - schema: *427 + schema: *424 examples: default: value: @@ -60580,7 +60122,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &431 + '403': &428 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -60607,15 +60149,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: + - *323 - *324 - - *325 - - *426 + - *423 responses: '200': description: Response content: application/json: - schema: &428 + schema: &425 type: object properties: status: @@ -60641,13 +60183,13 @@ paths: - description - started_at examples: - default: &429 + default: &426 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &430 + '400': &427 description: Bad Request content: application/json: @@ -60658,7 +60200,7 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *425 + '403': *422 '404': *6 '503': *104 x-github: @@ -60683,29 +60225,29 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: + - *323 - *324 - - *325 - - *426 + - *423 responses: '200': description: OK content: application/json: - schema: *428 + schema: *425 examples: - default: *429 + default: *426 '202': description: Accepted content: application/json: - schema: *428 + schema: *425 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *430 + '400': *427 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -60737,9 +60279,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: + - *323 - *324 - - *325 - - *426 + - *423 requestBody: required: false content: @@ -60784,8 +60326,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *430 - '403': *431 + '400': *427 + '403': *428 '404': *6 '422': description: Unprocessable Entity @@ -60809,13 +60351,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: + - *323 - *324 - - *325 - - *426 + - *423 - *19 - *17 - - *432 - - *433 + - *429 + - *430 responses: '200': description: Response @@ -60823,7 +60365,7 @@ paths: application/json: schema: type: array - items: *424 + items: *421 examples: default: value: @@ -60862,7 +60404,7 @@ paths: end_column: 50 classifications: - source - '403': *425 + '403': *422 '404': *6 '503': *104 x-github: @@ -60896,25 +60438,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: + - *323 - *324 - - *325 - - *414 - - *415 + - *411 + - *412 - *19 - *17 - - *433 + - *430 - 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: *416 + schema: *413 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &436 + schema: &433 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -60935,23 +60477,23 @@ paths: application/json: schema: type: array - items: &437 + items: &434 type: object properties: - ref: *416 - commit_sha: &445 + ref: *413 + commit_sha: &442 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: *434 + analysis_key: *431 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *435 + category: *432 error: type: string example: error reading field xyz @@ -60975,8 +60517,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *436 - tool: *423 + sarif_id: *433 + tool: *420 deletable: type: boolean warning: @@ -61037,7 +60579,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *425 + '403': *422 '404': *6 '503': *104 x-github: @@ -61073,8 +60615,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: + - *323 - *324 - - *325 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -61087,7 +60629,7 @@ paths: description: Response content: application/json: - schema: *437 + schema: *434 examples: response: summary: application/json response @@ -61141,7 +60683,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *425 + '403': *422 '404': *6 '422': description: Response if analysis could not be processed @@ -61228,8 +60770,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: + - *323 - *324 - - *325 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -61282,7 +60824,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *431 + '403': *428 '404': *6 '503': *104 x-github: @@ -61304,8 +60846,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: + - *323 - *324 - - *325 responses: '200': description: Response @@ -61313,7 +60855,7 @@ paths: application/json: schema: type: array - items: &438 + items: &435 title: CodeQL Database description: A CodeQL database. type: object @@ -61424,7 +60966,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': *425 + '403': *422 '404': *6 '503': *104 x-github: @@ -61453,8 +60995,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: + - *323 - *324 - - *325 - name: language in: path description: The language of the CodeQL database. @@ -61466,7 +61008,7 @@ paths: description: Response content: application/json: - schema: *438 + schema: *435 examples: default: value: @@ -61498,9 +61040,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': &472 + '302': &469 description: Found - '403': *425 + '403': *422 '404': *6 '503': *104 x-github: @@ -61522,8 +61064,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: + - *323 - *324 - - *325 - name: language in: path description: The language of the CodeQL database. @@ -61533,7 +61075,7 @@ paths: responses: '204': description: Response - '403': *431 + '403': *428 '404': *6 '503': *104 x-github: @@ -61561,8 +61103,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -61571,7 +61113,7 @@ paths: type: object additionalProperties: false properties: - language: &439 + language: &436 type: string description: The language targeted by the CodeQL query enum: @@ -61650,7 +61192,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &443 + schema: &440 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -61660,7 +61202,7 @@ paths: description: The ID of the variant analysis. controller_repo: *53 actor: *4 - query_language: *439 + query_language: *436 query_pack_url: type: string description: The download url for the query pack. @@ -61707,7 +61249,7 @@ paths: items: type: object properties: - repository: &440 + repository: &437 title: Repository Identifier description: Repository Identifier type: object @@ -61743,7 +61285,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &444 + analysis_status: &441 type: string description: The new status of the CodeQL variant analysis repository task. @@ -61775,7 +61317,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &441 + access_mismatch_repos: &438 type: object properties: repository_count: @@ -61789,7 +61331,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: *440 + items: *437 required: - repository_count - repositories @@ -61811,8 +61353,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *441 - over_limit_repos: *441 + no_codeql_db_repos: *438 + over_limit_repos: *438 required: - access_mismatch_repos - not_found_repos @@ -61828,7 +61370,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &442 + value: &439 summary: Default response value: id: 1 @@ -61980,10 +61522,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *442 + value: *439 repository_lists: summary: Response for a successful variant analysis submission - value: *442 + value: *439 '404': *6 '422': description: Unable to process variant analysis submission @@ -62011,8 +61553,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: + - *323 - *324 - - *325 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -62024,9 +61566,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *440 examples: - default: *442 + default: *439 '404': *6 '503': *104 x-github: @@ -62049,7 +61591,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: - - *324 + - *323 - name: repo in: path description: The name of the controller repository. @@ -62084,7 +61626,7 @@ paths: type: object properties: repository: *53 - analysis_status: *444 + analysis_status: *441 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -62209,8 +61751,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: + - *323 - *324 - - *325 responses: '200': description: Response @@ -62295,7 +61837,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *425 + '403': *422 '404': *6 '503': *104 x-github: @@ -62316,8 +61858,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -62409,7 +61951,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *431 + '403': *428 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -62480,8 +62022,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -62489,7 +62031,7 @@ paths: schema: type: object properties: - commit_sha: *445 + commit_sha: *442 ref: type: string description: |- @@ -62547,7 +62089,7 @@ paths: schema: type: object properties: - id: *436 + id: *433 url: type: string description: The REST API URL for checking the status of the upload. @@ -62561,7 +62103,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': *431 + '403': *428 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -62584,8 +62126,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: + - *323 - *324 - - *325 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -62631,7 +62173,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': *425 + '403': *422 '404': description: Not Found if the sarif id does not match any upload '503': *104 @@ -62656,8 +62198,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: + - *323 - *324 - - *325 responses: '200': description: Response @@ -62738,8 +62280,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: + - *323 - *324 - - *325 - 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 @@ -62859,8 +62401,8 @@ paths: parameters: - *17 - *19 + - *323 - *324 - - *325 responses: '200': description: Response @@ -63174,8 +62716,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -63240,7 +62782,7 @@ paths: application/json: schema: *221 examples: - default: *446 + default: *443 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -63248,7 +62790,7 @@ paths: application/json: schema: *221 examples: - default: *446 + default: *443 '400': *14 '401': *25 '403': *29 @@ -63277,8 +62819,8 @@ paths: parameters: - *17 - *19 + - *323 - *324 - - *325 responses: '200': description: Response @@ -63342,8 +62884,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: + - *323 - *324 - - *325 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -63378,14 +62920,14 @@ paths: type: integer machines: type: array - items: &667 + items: &665 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *447 - required: *448 + properties: *444 + required: *445 examples: - default: &668 + default: &666 value: total_count: 2 machines: @@ -63425,8 +62967,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: + - *323 - *324 - - *325 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -63510,8 +63052,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: + - *323 - *324 - - *325 - 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 @@ -63577,8 +63119,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: + - *323 - *324 - - *325 - *17 - *19 responses: @@ -63596,7 +63138,7 @@ paths: type: integer secrets: type: array - items: &452 + items: &449 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -63616,7 +63158,7 @@ paths: - created_at - updated_at examples: - default: *449 + default: *446 headers: Link: *54 x-github: @@ -63639,16 +63181,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: + - *323 - *324 - - *325 responses: '200': description: Response content: application/json: - schema: *450 + schema: *447 examples: - default: *451 + default: *448 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -63668,17 +63210,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: + - *323 - *324 - - *325 - *150 responses: '200': description: Response content: application/json: - schema: *452 + schema: *449 examples: - default: *453 + default: *450 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63698,8 +63240,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: + - *323 - *324 - - *325 - *150 requestBody: required: true @@ -63752,8 +63294,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: + - *323 - *324 - - *325 - *150 responses: '204': @@ -63782,8 +63324,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: + - *323 - *324 - - *325 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -63825,7 +63367,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &454 + properties: &451 login: type: string example: octocat @@ -63918,7 +63460,7 @@ paths: user_view_type: type: string example: public - required: &455 + required: &452 - avatar_url - events_url - followers_url @@ -63992,8 +63534,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: + - *323 - *324 - - *325 - *59 responses: '204': @@ -64040,8 +63582,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: + - *323 - *324 - - *325 - *59 requestBody: required: false @@ -64068,7 +63610,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &521 + schema: &518 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -64297,8 +63839,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: + - *323 - *324 - - *325 - *59 responses: '204': @@ -64330,8 +63872,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: + - *323 - *324 - - *325 - *59 responses: '200': @@ -64352,8 +63894,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *454 - required: *455 + properties: *451 + required: *452 nullable: true required: - permission @@ -64408,8 +63950,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: + - *323 - *324 - - *325 - *17 - *19 responses: @@ -64419,7 +63961,7 @@ paths: application/json: schema: type: array - items: &456 + items: &453 title: Commit Comment description: Commit Comment type: object @@ -64477,7 +64019,7 @@ paths: - created_at - updated_at examples: - default: &459 + default: &456 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -64536,17 +64078,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: + - *323 - *324 - - *325 - *81 responses: '200': description: Response content: application/json: - schema: *456 + schema: *453 examples: - default: &460 + default: &457 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -64603,8 +64145,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: + - *323 - *324 - - *325 - *81 requestBody: required: true @@ -64627,7 +64169,7 @@ paths: description: Response content: application/json: - schema: *456 + schema: *453 examples: default: value: @@ -64678,8 +64220,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: + - *323 - *324 - - *325 - *81 responses: '204': @@ -64701,8 +64243,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: + - *323 - *324 - - *325 - *81 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -64729,9 +64271,9 @@ paths: application/json: schema: type: array - items: *317 + items: *316 examples: - default: *319 + default: *318 headers: Link: *54 '404': *6 @@ -64752,8 +64294,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: + - *323 - *324 - - *325 - *81 requestBody: required: true @@ -64786,16 +64328,16 @@ paths: description: Reaction exists content: application/json: - schema: *317 + schema: *316 examples: - default: *318 + default: *317 '201': description: Reaction created content: application/json: - schema: *317 + schema: *316 examples: - default: *318 + default: *317 '422': *15 x-github: githubCloudOnly: false @@ -64817,10 +64359,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: + - *323 - *324 - - *325 - *81 - - *320 + - *319 responses: '204': description: Response @@ -64869,8 +64411,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: + - *323 - *324 - - *325 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -64926,9 +64468,9 @@ paths: application/json: schema: type: array - items: *457 + items: *454 examples: - default: &573 + default: &571 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -65022,9 +64564,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: + - *323 - *324 - - *325 - - &458 + - &455 name: commit_sha description: The SHA of the commit. in: path @@ -65096,9 +64638,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: + - *323 - *324 - - *325 - - *458 + - *455 - *17 - *19 responses: @@ -65108,9 +64650,9 @@ paths: application/json: schema: type: array - items: *456 + items: *453 examples: - default: *459 + default: *456 headers: Link: *54 x-github: @@ -65138,9 +64680,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: + - *323 - *324 - - *325 - - *458 + - *455 requestBody: required: true content: @@ -65175,9 +64717,9 @@ paths: description: Response content: application/json: - schema: *456 + schema: *453 examples: - default: *460 + default: *457 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -65205,9 +64747,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: + - *323 - *324 - - *325 - - *458 + - *455 - *17 - *19 responses: @@ -65217,9 +64759,9 @@ paths: application/json: schema: type: array - items: *461 + items: *458 examples: - default: &565 + default: &563 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -65756,11 +65298,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: + - *323 - *324 - - *325 - *19 - *17 - - &462 + - &459 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)" @@ -65775,9 +65317,9 @@ paths: description: Response content: application/json: - schema: *457 + schema: *454 examples: - default: &550 + default: &548 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -65890,11 +65432,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: + - *323 - *324 - - *325 - - *462 - - *463 - - *464 + - *459 + - *460 + - *461 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -65928,9 +65470,9 @@ paths: type: integer check_runs: type: array - items: *406 + items: *403 examples: - default: *465 + default: *462 headers: Link: *54 x-github: @@ -65955,9 +65497,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: + - *323 - *324 - - *325 - - *462 + - *459 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -65965,7 +65507,7 @@ paths: schema: type: integer example: 1 - - *463 + - *460 - *17 - *19 responses: @@ -65983,7 +65525,7 @@ paths: type: integer check_suites: type: array - items: *411 + items: *408 examples: default: value: @@ -66183,9 +65725,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: + - *323 - *324 - - *325 - - *462 + - *459 - *17 - *19 responses: @@ -66383,9 +65925,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: + - *323 - *324 - - *325 - - *462 + - *459 - *17 - *19 responses: @@ -66395,7 +65937,7 @@ paths: application/json: schema: type: array - items: &638 + items: &636 title: Status description: The status of a commit. type: object @@ -66476,7 +66018,7 @@ paths: site_admin: false headers: Link: *54 - '301': *333 + '301': *330 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66504,8 +66046,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: + - *323 - *324 - - *325 responses: '200': description: Response @@ -66534,20 +66076,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *466 - required: *467 + properties: *463 + required: *464 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &468 + properties: &465 url: type: string format: uri html_url: type: string format: uri - required: &469 + required: &466 - url - html_url nullable: true @@ -66561,26 +66103,26 @@ paths: contributing: title: Community Health File type: object - properties: *468 - required: *469 + properties: *465 + required: *466 nullable: true readme: title: Community Health File type: object - properties: *468 - required: *469 + properties: *465 + required: *466 nullable: true issue_template: title: Community Health File type: object - properties: *468 - required: *469 + properties: *465 + required: *466 nullable: true pull_request_template: title: Community Health File type: object - properties: *468 - required: *469 + properties: *465 + required: *466 nullable: true required: - code_of_conduct @@ -66707,8 +66249,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: + - *323 - *324 - - *325 - *19 - *17 - name: basehead @@ -66751,8 +66293,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *457 - merge_base_commit: *457 + base_commit: *454 + merge_base_commit: *454 status: type: string enum: @@ -66772,10 +66314,10 @@ paths: example: 6 commits: type: array - items: *457 + items: *454 files: type: array - items: *470 + items: *467 required: - url - html_url @@ -67061,8 +66603,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: + - *323 - *324 - - *325 - name: path description: path parameter in: path @@ -67205,7 +66747,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &471 + response-if-content-is-a-file: &468 summary: Response if content is a file value: type: file @@ -67337,7 +66879,7 @@ paths: - size - type - url - - &578 + - &576 title: Content File description: Content File type: object @@ -67538,7 +67080,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *471 + response-if-content-is-a-file: *468 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -67607,7 +67149,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *472 + '302': *469 '304': *37 x-github: githubCloudOnly: false @@ -67630,8 +67172,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: + - *323 - *324 - - *325 - name: path description: path parameter in: path @@ -67724,7 +67266,7 @@ paths: description: Response content: application/json: - schema: &473 + schema: &470 title: File Commit description: File Commit type: object @@ -67876,7 +67418,7 @@ paths: description: Response content: application/json: - schema: *473 + schema: *470 examples: example-for-creating-a-file: value: @@ -67930,7 +67472,7 @@ paths: schema: oneOf: - *3 - - &503 + - &500 description: Repository rule violation was detected type: object properties: @@ -67951,7 +67493,7 @@ paths: items: type: object properties: - placeholder_id: &630 + placeholder_id: &628 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -67983,8 +67525,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: + - *323 - *324 - - *325 - name: path description: path parameter in: path @@ -68045,7 +67587,7 @@ paths: description: Response content: application/json: - schema: *473 + schema: *470 examples: default: value: @@ -68100,8 +67642,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: + - *323 - *324 - - *325 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -68224,8 +67766,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: + - *323 - *324 - - *325 - *179 - *180 - *181 @@ -68237,7 +67779,7 @@ paths: schema: type: string - *183 - - *474 + - *471 - *184 - *185 - *48 @@ -68258,7 +67800,7 @@ paths: application/json: schema: type: array - items: &477 + items: &474 type: object description: A Dependabot alert. properties: @@ -68304,7 +67846,7 @@ paths: - unknown - direct - transitive - security_advisory: *475 + security_advisory: *472 security_vulnerability: *52 url: *161 html_url: *162 @@ -68335,7 +67877,7 @@ paths: nullable: true maxLength: 280 fixed_at: *163 - auto_dismissed_at: *476 + auto_dismissed_at: *473 required: - number - state @@ -68565,9 +68107,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: + - *323 - *324 - - *325 - - &478 + - &475 name: alert_number in: path description: |- @@ -68582,7 +68124,7 @@ paths: description: Response content: application/json: - schema: *477 + schema: *474 examples: default: value: @@ -68695,9 +68237,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: + - *323 - *324 - - *325 - - *478 + - *475 requestBody: required: true content: @@ -68742,7 +68284,7 @@ paths: description: Response content: application/json: - schema: *477 + schema: *474 examples: default: value: @@ -68871,8 +68413,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: + - *323 - *324 - - *325 - *17 - *19 responses: @@ -68890,7 +68432,7 @@ paths: type: integer secrets: type: array - items: &481 + items: &478 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -68943,16 +68485,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: + - *323 - *324 - - *325 responses: '200': description: Response content: application/json: - schema: *479 + schema: *476 examples: - default: *480 + default: *477 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68972,15 +68514,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: + - *323 - *324 - - *325 - *150 responses: '200': description: Response content: application/json: - schema: *481 + schema: *478 examples: default: value: @@ -69006,8 +68548,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: + - *323 - *324 - - *325 - *150 requestBody: required: true @@ -69060,8 +68602,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: + - *323 - *324 - - *325 - *150 responses: '204': @@ -69084,8 +68626,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: + - *323 - *324 - - *325 - 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 @@ -69245,8 +68787,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: + - *323 - *324 - - *325 responses: '200': description: Response @@ -69485,8 +69027,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: + - *323 - *324 - - *325 requestBody: required: true content: @@ -69561,7 +69103,7 @@ paths: - version - url additionalProperties: false - metadata: &482 + metadata: &479 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -69594,7 +69136,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *482 + metadata: *479 resolved: type: object description: A collection of resolved package dependencies. @@ -69607,7 +69149,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *482 + metadata: *479 relationship: type: string description: A notation of whether a dependency is requested @@ -69736,8 +69278,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: + - *323 - *324 - - *325 - name: sha description: The SHA recorded at creation time. in: query @@ -69777,9 +69319,9 @@ paths: application/json: schema: type: array - items: *483 + items: *480 examples: - default: *484 + default: *481 headers: Link: *54 x-github: @@ -69845,8 +69387,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -69927,7 +69469,7 @@ paths: description: Response content: application/json: - schema: *483 + schema: *480 examples: simple-example: summary: Simple example @@ -70000,9 +69542,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: + - *323 - *324 - - *325 - - &485 + - &482 name: deployment_id description: deployment_id parameter in: path @@ -70014,7 +69556,7 @@ paths: description: Response content: application/json: - schema: *483 + schema: *480 examples: default: value: @@ -70079,9 +69621,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: + - *323 - *324 - - *325 - - *485 + - *482 responses: '204': description: Response @@ -70103,9 +69645,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: + - *323 - *324 - - *325 - - *485 + - *482 - *17 - *19 responses: @@ -70115,7 +69657,7 @@ paths: application/json: schema: type: array - items: &486 + items: &483 title: Deployment Status description: The status of a deployment. type: object @@ -70276,9 +69818,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: + - *323 - *324 - - *325 - - *485 + - *482 requestBody: required: true content: @@ -70353,9 +69895,9 @@ paths: description: Response content: application/json: - schema: *486 + schema: *483 examples: - default: &487 + default: &484 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -70411,9 +69953,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: + - *323 - *324 - - *325 - - *485 + - *482 - name: status_id in: path required: true @@ -70424,9 +69966,9 @@ paths: description: Response content: application/json: - schema: *486 + schema: *483 examples: - default: *487 + default: *484 '404': *6 x-github: githubCloudOnly: false @@ -70451,8 +69993,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -70509,8 +70051,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: + - *323 - *324 - - *325 - *17 - *19 responses: @@ -70527,7 +70069,7 @@ paths: type: integer environments: type: array - items: &489 + items: &486 title: Environment description: Details of a deployment environment type: object @@ -70579,7 +70121,7 @@ paths: type: type: string example: wait_timer - wait_timer: &491 + wait_timer: &488 type: integer example: 30 description: The amount of time to delay a job after @@ -70616,7 +70158,7 @@ paths: items: type: object properties: - type: *488 + type: *485 reviewer: anyOf: - *4 @@ -70640,7 +70182,7 @@ paths: - id - node_id - type - deployment_branch_policy: &492 + deployment_branch_policy: &489 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -70756,9 +70298,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: + - *323 - *324 - - *325 - - &490 + - &487 name: environment_name in: path required: true @@ -70771,9 +70313,9 @@ paths: description: Response content: application/json: - schema: *489 + schema: *486 examples: - default: &493 + default: &490 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -70857,9 +70399,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: + - *323 - *324 - - *325 - - *490 + - *487 requestBody: required: false content: @@ -70868,7 +70410,7 @@ paths: type: object nullable: true properties: - wait_timer: *491 + wait_timer: *488 prevent_self_review: type: boolean example: false @@ -70885,13 +70427,13 @@ paths: items: type: object properties: - type: *488 + type: *485 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *492 + deployment_branch_policy: *489 additionalProperties: false examples: default: @@ -70911,9 +70453,9 @@ paths: description: Response content: application/json: - schema: *489 + schema: *486 examples: - default: *493 + default: *490 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -70937,9 +70479,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: + - *323 - *324 - - *325 - - *490 + - *487 responses: '204': description: Default response @@ -70964,9 +70506,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: + - *323 - *324 - - *325 - - *490 + - *487 - *17 - *19 responses: @@ -70984,7 +70526,7 @@ paths: example: 2 branch_policies: type: array - items: &494 + items: &491 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -71041,9 +70583,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: + - *323 - *324 - - *325 - - *490 + - *487 requestBody: required: true content: @@ -71089,9 +70631,9 @@ paths: description: Response content: application/json: - schema: *494 + schema: *491 examples: - example-wildcard: &495 + example-wildcard: &492 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -71133,10 +70675,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: + - *323 - *324 - - *325 - - *490 - - &496 + - *487 + - &493 name: branch_policy_id in: path required: true @@ -71148,9 +70690,9 @@ paths: description: Response content: application/json: - schema: *494 + schema: *491 examples: - default: *495 + default: *492 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71169,10 +70711,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: + - *323 - *324 - - *325 - - *490 - - *496 + - *487 + - *493 requestBody: required: true content: @@ -71200,9 +70742,9 @@ paths: description: Response content: application/json: - schema: *494 + schema: *491 examples: - default: *495 + default: *492 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71221,10 +70763,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: + - *323 - *324 - - *325 - - *490 - - *496 + - *487 + - *493 responses: '204': description: Response @@ -71249,9 +70791,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *490 - - *325 + - *487 - *324 + - *323 responses: '200': description: List of deployment protection rules @@ -71267,7 +70809,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &497 + items: &494 title: Deployment protection rule description: Deployment protection rule type: object @@ -71286,7 +70828,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &498 + app: &495 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -71385,9 +70927,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: - - *490 - - *325 + - *487 - *324 + - *323 requestBody: content: application/json: @@ -71408,9 +70950,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *497 + schema: *494 examples: - default: &499 + default: &496 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -71445,9 +70987,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: - - *490 - - *325 + - *487 - *324 + - *323 - *19 - *17 responses: @@ -71466,7 +71008,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *498 + items: *495 examples: default: value: @@ -71501,10 +71043,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: + - *323 - *324 - - *325 - - *490 - - &500 + - *487 + - &497 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -71516,9 +71058,9 @@ paths: description: Response content: application/json: - schema: *497 + schema: *494 examples: - default: *499 + default: *496 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71539,10 +71081,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *490 - - *325 + - *487 - *324 - - *500 + - *323 + - *497 responses: '204': description: Response @@ -71568,9 +71110,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: + - *323 - *324 - - *325 - - *490 + - *487 - *17 - *19 responses: @@ -71588,9 +71130,9 @@ paths: type: integer secrets: type: array - items: *372 + items: *369 examples: - default: *373 + default: *370 headers: Link: *54 x-github: @@ -71615,17 +71157,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: + - *323 - *324 - - *325 - - *490 + - *487 responses: '200': description: Response content: application/json: - schema: *374 + schema: *371 examples: - default: *375 + default: *372 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71647,18 +71189,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: + - *323 - *324 - - *325 - - *490 + - *487 - *150 responses: '200': description: Response content: application/json: - schema: *372 + schema: *369 examples: - default: *501 + default: *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71680,9 +71222,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: + - *323 - *324 - - *325 - - *490 + - *487 - *150 requestBody: required: true @@ -71740,9 +71282,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: + - *323 - *324 - - *325 - - *490 + - *487 - *150 responses: '204': @@ -71768,10 +71310,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: + - *323 - *324 - - *325 - - *490 - - *343 + - *487 + - *340 - *19 responses: '200': @@ -71788,9 +71330,9 @@ paths: type: integer variables: type: array - items: *376 + items: *373 examples: - default: *377 + default: *374 headers: Link: *54 x-github: @@ -71813,9 +71355,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: + - *323 - *324 - - *325 - - *490 + - *487 requestBody: required: true content: @@ -71867,18 +71409,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: + - *323 - *324 - - *325 - - *490 + - *487 - *153 responses: '200': description: Response content: application/json: - schema: *376 + schema: *373 examples: - default: *502 + default: *499 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71899,10 +71441,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: + - *323 - *324 - - *325 - *153 - - *490 + - *487 requestBody: required: true content: @@ -71944,10 +71486,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: + - *323 - *324 - - *325 - *153 - - *490 + - *487 responses: '204': description: Response @@ -71969,8 +71511,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: + - *323 - *324 - - *325 - *17 - *19 responses: @@ -72038,8 +71580,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: + - *323 - *324 - - *325 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -72198,8 +71740,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: + - *323 - *324 - - *325 requestBody: required: false content: @@ -72231,9 +71773,9 @@ paths: description: Response content: application/json: - schema: *332 + schema: *329 examples: - default: *334 + default: *331 '400': *14 '422': *15 '403': *29 @@ -72254,8 +71796,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -72315,7 +71857,7 @@ paths: schema: oneOf: - *111 - - *503 + - *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72340,8 +71882,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: + - *323 - *324 - - *325 - name: file_sha in: path required: true @@ -72440,8 +71982,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -72550,7 +72092,7 @@ paths: description: Response content: application/json: - schema: &504 + schema: &501 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -72764,15 +72306,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: + - *323 - *324 - - *325 - - *458 + - *455 responses: '200': description: Response content: application/json: - schema: *504 + schema: *501 examples: default: value: @@ -72828,9 +72370,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: + - *323 - *324 - - *325 - - &505 + - &502 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. @@ -72847,7 +72389,7 @@ paths: application/json: schema: type: array - items: &506 + items: &503 title: Git Reference description: Git references within a repository type: object @@ -72922,17 +72464,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: + - *323 - *324 - - *325 - - *505 + - *502 responses: '200': description: Response content: application/json: - schema: *506 + schema: *503 examples: - default: &507 + default: &504 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -72961,8 +72503,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -72991,9 +72533,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *503 examples: - default: *507 + default: *504 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -73019,9 +72561,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: + - *323 - *324 - - *325 - - *505 + - *502 requestBody: required: true content: @@ -73050,9 +72592,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *503 examples: - default: *507 + default: *504 '422': *15 '409': *47 x-github: @@ -73070,9 +72612,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: + - *323 - *324 - - *325 - - *505 + - *502 responses: '204': description: Response @@ -73127,8 +72669,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -73195,7 +72737,7 @@ paths: description: Response content: application/json: - schema: &509 + schema: &506 title: Git Tag description: Metadata for a Git tag type: object @@ -73246,7 +72788,7 @@ paths: - sha - type - url - verification: *508 + verification: *505 required: - sha - url @@ -73256,7 +72798,7 @@ paths: - tag - message examples: - default: &510 + default: &507 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -73329,8 +72871,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: + - *323 - *324 - - *325 - name: tag_sha in: path required: true @@ -73341,9 +72883,9 @@ paths: description: Response content: application/json: - schema: *509 + schema: *506 examples: - default: *510 + default: *507 '404': *6 '409': *47 x-github: @@ -73367,8 +72909,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -73441,7 +72983,7 @@ paths: description: Response content: application/json: - schema: &511 + schema: &508 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -73537,8 +73079,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: + - *323 - *324 - - *325 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -73561,7 +73103,7 @@ paths: description: Response content: application/json: - schema: *511 + schema: *508 examples: default-response: summary: Default response @@ -73620,8 +73162,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: + - *323 - *324 - - *325 - *17 - *19 responses: @@ -73631,7 +73173,7 @@ paths: application/json: schema: type: array - items: &512 + items: &509 title: Webhook description: Webhooks for repositories. type: object @@ -73685,7 +73227,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &753 + last_response: &751 title: Hook Response type: object properties: @@ -73759,8 +73301,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: + - *323 - *324 - - *325 requestBody: required: false content: @@ -73812,9 +73354,9 @@ paths: description: Response content: application/json: - schema: *512 + schema: *509 examples: - default: &513 + default: &510 value: type: Repository id: 12345678 @@ -73862,17 +73404,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: + - *323 - *324 - - *325 - *193 responses: '200': description: Response content: application/json: - schema: *512 + schema: *509 examples: - default: *513 + default: *510 '404': *6 x-github: githubCloudOnly: false @@ -73892,8 +73434,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: + - *323 - *324 - - *325 - *193 requestBody: required: true @@ -73939,9 +73481,9 @@ paths: description: Response content: application/json: - schema: *512 + schema: *509 examples: - default: *513 + default: *510 '422': *15 '404': *6 x-github: @@ -73962,8 +73504,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: + - *323 - *324 - - *325 - *193 responses: '204': @@ -73988,8 +73530,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: + - *323 - *324 - - *325 - *193 responses: '200': @@ -74017,8 +73559,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: + - *323 - *324 - - *325 - *193 requestBody: required: false @@ -74063,8 +73605,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: + - *323 - *324 - - *325 - *193 - *17 - *194 @@ -74096,8 +73638,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: + - *323 - *324 - - *325 - *193 - *16 responses: @@ -74126,8 +73668,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: + - *323 - *324 - - *325 - *193 - *16 responses: @@ -74151,8 +73693,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: + - *323 - *324 - - *325 - *193 responses: '204': @@ -74178,8 +73720,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: + - *323 - *324 - - *325 - *193 responses: '204': @@ -74203,8 +73745,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: + - *323 - *324 - - *325 responses: '200': description: Response if immutable releases are enabled @@ -74250,8 +73792,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: + - *323 - *324 - - *325 responses: '204': *172 '409': *47 @@ -74271,8 +73813,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: + - *323 - *324 - - *325 responses: '204': *172 '409': *47 @@ -74329,14 +73871,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: + - *323 - *324 - - *325 responses: '200': description: Response content: application/json: - schema: &514 + schema: &511 title: Import description: A repository import from an external source. type: object @@ -74435,7 +73977,7 @@ paths: - html_url - authors_url examples: - default: &517 + default: &514 value: vcs: subversion use_lfs: true @@ -74451,7 +73993,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &515 + '503': &512 description: Unavailable due to service under maintenance. content: application/json: @@ -74480,8 +74022,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -74529,7 +74071,7 @@ paths: description: Response content: application/json: - schema: *514 + schema: *511 examples: default: value: @@ -74554,7 +74096,7 @@ paths: type: string '422': *15 '404': *6 - '503': *515 + '503': *512 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74582,8 +74124,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: + - *323 - *324 - - *325 requestBody: required: false content: @@ -74632,7 +74174,7 @@ paths: description: Response content: application/json: - schema: *514 + schema: *511 examples: example-1: summary: Example 1 @@ -74680,7 +74222,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': *515 + '503': *512 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74703,12 +74245,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: + - *323 - *324 - - *325 responses: '204': description: Response - '503': *515 + '503': *512 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74734,9 +74276,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: + - *323 - *324 - - *325 - - &689 + - &687 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -74750,7 +74292,7 @@ paths: application/json: schema: type: array - items: &516 + items: &513 title: Porter Author description: Porter Author type: object @@ -74804,7 +74346,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *515 + '503': *512 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74829,8 +74371,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: + - *323 - *324 - - *325 - name: author_id in: path required: true @@ -74860,7 +74402,7 @@ paths: description: Response content: application/json: - schema: *516 + schema: *513 examples: default: value: @@ -74873,7 +74415,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *515 + '503': *512 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74897,8 +74439,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: + - *323 - *324 - - *325 responses: '200': description: Response @@ -74939,7 +74481,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *515 + '503': *512 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74967,8 +74509,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -74995,11 +74537,11 @@ paths: description: Response content: application/json: - schema: *514 + schema: *511 examples: - default: *517 + default: *514 '422': *15 - '503': *515 + '503': *512 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75022,8 +74564,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: + - *323 - *324 - - *325 responses: '200': description: Response @@ -75031,8 +74573,8 @@ paths: application/json: schema: *22 examples: - default: *518 - '301': *333 + default: *515 + '301': *330 '404': *6 x-github: githubCloudOnly: false @@ -75052,8 +74594,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: + - *323 - *324 - - *325 responses: '200': description: Response @@ -75066,7 +74608,7 @@ paths: properties: {} additionalProperties: false examples: - default: &520 + default: &517 value: limit: collaborators_only origin: repository @@ -75091,13 +74633,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: + - *323 - *324 - - *325 requestBody: required: true content: application/json: - schema: *519 + schema: *516 examples: default: summary: Example request body @@ -75111,7 +74653,7 @@ paths: application/json: schema: *211 examples: - default: *520 + default: *517 '409': description: Response x-github: @@ -75133,8 +74675,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: + - *323 - *324 - - *325 responses: '204': description: Response @@ -75157,8 +74699,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: + - *323 - *324 - - *325 - *17 - *19 responses: @@ -75168,9 +74710,9 @@ paths: application/json: schema: type: array - items: *521 + items: *518 examples: - default: &682 + default: &680 value: - id: 1 repository: @@ -75301,8 +74843,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: + - *323 - *324 - - *325 - *215 requestBody: required: false @@ -75332,7 +74874,7 @@ paths: description: Response content: application/json: - schema: *521 + schema: *518 examples: default: value: @@ -75463,8 +75005,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: + - *323 - *324 - - *325 - *215 responses: '204': @@ -75496,8 +75038,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: + - *323 - *324 - - *325 - 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 @@ -75570,7 +75112,7 @@ paths: type: array items: *82 examples: - default: &530 + default: &528 value: - id: 1 node_id: MDU6SXNzdWUx @@ -75718,7 +75260,7 @@ paths: state_reason: completed headers: Link: *54 - '301': *333 + '301': *330 '422': *15 '404': *6 x-github: @@ -75747,8 +75289,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -75832,7 +75374,7 @@ paths: application/json: schema: *82 examples: - default: &527 + default: &525 value: id: 1 node_id: MDU6SXNzdWUx @@ -75988,7 +75530,7 @@ paths: '422': *15 '503': *104 '404': *6 - '410': *330 + '410': *519 x-github: triggersNotification: true githubCloudOnly: false @@ -76016,8 +75558,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: + - *323 - *324 - - *325 - *92 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -76038,9 +75580,9 @@ paths: application/json: schema: type: array - items: *522 + items: *520 examples: - default: &529 + default: &527 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -76098,17 +75640,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: + - *323 - *324 - - *325 - *81 responses: '200': description: Response content: application/json: - schema: *522 + schema: *520 examples: - default: &523 + default: &521 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -76162,8 +75704,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: + - *323 - *324 - - *325 - *81 requestBody: required: true @@ -76186,9 +75728,9 @@ paths: description: Response content: application/json: - schema: *522 + schema: *520 examples: - default: *523 + default: *521 '422': *15 x-github: githubCloudOnly: false @@ -76206,8 +75748,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: + - *323 - *324 - - *325 - *81 responses: '204': @@ -76228,8 +75770,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: + - *323 - *324 - - *325 - *81 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -76256,9 +75798,9 @@ paths: application/json: schema: type: array - items: *317 + items: *316 examples: - default: *319 + default: *318 headers: Link: *54 '404': *6 @@ -76279,8 +75821,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: + - *323 - *324 - - *325 - *81 requestBody: required: true @@ -76313,16 +75855,16 @@ paths: description: Reaction exists content: application/json: - schema: *317 + schema: *316 examples: - default: *318 + default: *317 '201': description: Reaction created content: application/json: - schema: *317 + schema: *316 examples: - default: *318 + default: *317 '422': *15 x-github: githubCloudOnly: false @@ -76344,10 +75886,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: + - *323 - *324 - - *325 - *81 - - *320 + - *319 responses: '204': description: Response @@ -76367,8 +75909,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: + - *323 - *324 - - *325 - *17 - *19 responses: @@ -76378,7 +75920,7 @@ paths: application/json: schema: type: array - items: &526 + items: &524 title: Issue Event description: Issue Event type: object @@ -76421,8 +75963,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *524 - required: *525 + properties: *522 + required: *523 nullable: true label: title: Issue Event Label @@ -76729,8 +76271,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: + - *323 - *324 - - *325 - name: event_id in: path required: true @@ -76741,7 +76283,7 @@ paths: description: Response content: application/json: - schema: *526 + schema: *524 examples: default: value: @@ -76934,7 +76476,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *330 + '410': *519 '403': *29 x-github: githubCloudOnly: false @@ -76968,9 +76510,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: + - *323 - *324 - - *325 - - &528 + - &526 name: issue_number description: The number that identifies the issue. in: path @@ -76984,10 +76526,10 @@ paths: application/json: schema: *82 examples: - default: *527 - '301': *333 + default: *525 + '301': *330 '404': *6 - '410': *330 + '410': *519 '304': *37 x-github: githubCloudOnly: false @@ -77012,9 +76554,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: + - *323 - *324 - - *325 - - *528 + - *526 requestBody: required: false content: @@ -77120,13 +76662,13 @@ paths: application/json: schema: *82 examples: - default: *527 + default: *525 '422': *15 '503': *104 '403': *29 - '301': *333 + '301': *330 '404': *6 - '410': *330 + '410': *519 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77144,9 +76686,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: + - *323 - *324 - - *325 - - *528 + - *526 requestBody: required: false content: @@ -77174,7 +76716,7 @@ paths: application/json: schema: *82 examples: - default: *527 + default: *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77190,9 +76732,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: + - *323 - *324 - - *325 - - *528 + - *526 requestBody: content: application/json: @@ -77219,7 +76761,7 @@ paths: application/json: schema: *82 examples: - default: *527 + default: *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77241,9 +76783,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: + - *323 - *324 - - *325 - - *528 + - *526 - name: assignee in: path required: true @@ -77283,9 +76825,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: + - *323 - *324 - - *325 - - *528 + - *526 - *72 - *17 - *19 @@ -77296,13 +76838,13 @@ paths: application/json: schema: type: array - items: *522 + items: *520 examples: - default: *529 + default: *527 headers: Link: *54 '404': *6 - '410': *330 + '410': *519 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77331,9 +76873,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: + - *323 - *324 - - *325 - - *528 + - *526 requestBody: required: true content: @@ -77355,16 +76897,16 @@ paths: description: Response content: application/json: - schema: *522 + schema: *520 examples: - default: *523 + default: *521 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *330 + '410': *519 '422': *15 '404': *6 x-github: @@ -77392,9 +76934,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: + - *323 - *324 - - *325 - - *528 + - *526 - *17 - *19 responses: @@ -77406,12 +76948,12 @@ paths: type: array items: *82 examples: - default: *530 + default: *528 headers: Link: *54 - '301': *333 + '301': *330 '404': *6 - '410': *330 + '410': *519 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77439,9 +76981,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: + - *323 - *324 - - *325 - - *528 + - *526 requestBody: required: true content: @@ -77465,15 +77007,15 @@ paths: application/json: schema: *82 examples: - default: *527 + default: *525 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *333 + '301': *330 '403': *29 - '410': *330 + '410': *519 '422': *15 '404': *6 x-github: @@ -77504,9 +77046,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: + - *323 - *324 - - *325 - - *528 + - *526 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -77520,13 +77062,13 @@ paths: application/json: schema: *82 examples: - default: *527 - '301': *333 + default: *525 + '301': *330 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *330 + '410': *519 x-github: triggersNotification: true githubCloudOnly: false @@ -77552,9 +77094,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: + - *323 - *324 - - *325 - - *528 + - *526 - *17 - *19 responses: @@ -77566,12 +77108,12 @@ paths: type: array items: *82 examples: - default: *530 + default: *528 headers: Link: *54 - '301': *333 + '301': *330 '404': *6 - '410': *330 + '410': *519 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77588,9 +77130,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: + - *323 - *324 - - *325 - - *528 + - *526 - *17 - *19 responses: @@ -77604,7 +77146,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &533 + - &531 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -77658,7 +77200,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &534 + - &532 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -77794,7 +77336,7 @@ paths: - performed_via_github_app - assignee - assigner - - &535 + - &533 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -77845,7 +77387,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &536 + - &534 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -77896,7 +77438,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &537 + - &535 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -77950,7 +77492,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &538 + - &536 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -77997,7 +77539,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &539 + - &537 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -78044,7 +77586,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &540 + - &538 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -78104,7 +77646,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &541 + - &539 title: Locked Issue Event description: Locked Issue Event type: object @@ -78152,7 +77694,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &542 + - &540 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -78218,7 +77760,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &543 + - &541 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -78284,7 +77826,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &544 + - &542 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -78350,7 +77892,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &545 + - &543 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -78441,7 +77983,7 @@ paths: color: red headers: Link: *54 - '410': *330 + '410': *519 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78458,9 +78000,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: + - *323 - *324 - - *325 - - *528 + - *526 - *17 - *19 responses: @@ -78470,7 +78012,7 @@ paths: application/json: schema: type: array - items: &531 + items: &529 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -78517,7 +78059,7 @@ paths: - color - default examples: - default: &532 + default: &530 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -78535,9 +78077,9 @@ paths: default: false headers: Link: *54 - '301': *333 + '301': *330 '404': *6 - '410': *330 + '410': *519 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78554,9 +78096,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: + - *323 - *324 - - *325 - - *528 + - *526 requestBody: required: false content: @@ -78615,12 +78157,12 @@ paths: application/json: schema: type: array - items: *531 + items: *529 examples: - default: *532 - '301': *333 + default: *530 + '301': *330 '404': *6 - '410': *330 + '410': *519 '422': *15 x-github: githubCloudOnly: false @@ -78637,9 +78179,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: + - *323 - *324 - - *325 - - *528 + - *526 requestBody: required: false content: @@ -78699,12 +78241,12 @@ paths: application/json: schema: type: array - items: *531 + items: *529 examples: - default: *532 - '301': *333 + default: *530 + '301': *330 '404': *6 - '410': *330 + '410': *519 '422': *15 x-github: githubCloudOnly: false @@ -78721,15 +78263,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: + - *323 - *324 - - *325 - - *528 + - *526 responses: '204': description: Response - '301': *333 + '301': *330 '404': *6 - '410': *330 + '410': *519 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78748,9 +78290,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: + - *323 - *324 - - *325 - - *528 + - *526 - name: name in: path required: true @@ -78763,7 +78305,7 @@ paths: application/json: schema: type: array - items: *531 + items: *529 examples: default: value: @@ -78774,9 +78316,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *333 + '301': *330 '404': *6 - '410': *330 + '410': *519 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78796,9 +78338,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: + - *323 - *324 - - *325 - - *528 + - *526 requestBody: required: false content: @@ -78826,7 +78368,7 @@ paths: '204': description: Response '403': *29 - '410': *330 + '410': *519 '404': *6 '422': *15 x-github: @@ -78844,9 +78386,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: + - *323 - *324 - - *325 - - *528 + - *526 responses: '204': description: Response @@ -78876,9 +78418,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: + - *323 - *324 - - *325 - - *528 + - *526 responses: '200': description: Response @@ -78886,10 +78428,10 @@ paths: application/json: schema: *82 examples: - default: *527 - '301': *333 + default: *525 + '301': *330 '404': *6 - '410': *330 + '410': *519 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78906,9 +78448,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: + - *323 - *324 - - *325 - - *528 + - *526 - 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. @@ -78934,13 +78476,13 @@ paths: application/json: schema: type: array - items: *317 + items: *316 examples: - default: *319 + default: *318 headers: Link: *54 '404': *6 - '410': *330 + '410': *519 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78958,9 +78500,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: + - *323 - *324 - - *325 - - *528 + - *526 requestBody: required: true content: @@ -78992,16 +78534,16 @@ paths: description: Response content: application/json: - schema: *317 + schema: *316 examples: - default: *318 + default: *317 '201': description: Response content: application/json: - schema: *317 + schema: *316 examples: - default: *318 + default: *317 '422': *15 x-github: githubCloudOnly: false @@ -79023,10 +78565,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: + - *323 - *324 - - *325 - - *528 - - *320 + - *526 + - *319 responses: '204': description: Response @@ -79055,9 +78597,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: + - *323 - *324 - - *325 - - *528 + - *526 requestBody: required: true content: @@ -79081,7 +78623,7 @@ paths: application/json: schema: *82 examples: - default: *527 + default: *525 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -79114,9 +78656,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: + - *323 - *324 - - *325 - - *528 + - *526 - *17 - *19 responses: @@ -79128,11 +78670,11 @@ paths: type: array items: *82 examples: - default: *530 + default: *528 headers: Link: *54 '404': *6 - '410': *330 + '410': *519 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79160,9 +78702,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: + - *323 - *324 - - *325 - - *528 + - *526 requestBody: required: true content: @@ -79191,14 +78733,14 @@ paths: application/json: schema: *82 examples: - default: *527 + default: *525 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *330 + '410': *519 '422': *15 '404': *6 x-github: @@ -79218,9 +78760,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: + - *323 - *324 - - *325 - - *528 + - *526 requestBody: required: true content: @@ -79253,7 +78795,7 @@ paths: application/json: schema: *82 examples: - default: *527 + default: *525 '403': *29 '404': *6 '422': *7 @@ -79275,9 +78817,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: + - *323 - *324 - - *325 - - *528 + - *526 - *17 - *19 responses: @@ -79292,6 +78834,8 @@ paths: description: Timeline Event type: object anyOf: + - *531 + - *532 - *533 - *534 - *535 @@ -79303,8 +78847,6 @@ paths: - *541 - *542 - *543 - - *544 - - *545 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -79613,7 +79155,7 @@ paths: type: string comments: type: array - items: &567 + items: &565 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -79822,7 +79364,7 @@ paths: type: string comments: type: array - items: *456 + items: *453 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -80111,7 +79653,7 @@ paths: headers: Link: *54 '404': *6 - '410': *330 + '410': *519 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80128,8 +79670,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: + - *323 - *324 - - *325 - *17 - *19 responses: @@ -80139,7 +79681,7 @@ paths: application/json: schema: type: array - items: &546 + items: &544 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -80205,8 +79747,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -80242,9 +79784,9 @@ paths: description: Response content: application/json: - schema: *546 + schema: *544 examples: - default: &547 + default: &545 value: id: 1 key: ssh-rsa AAA... @@ -80278,9 +79820,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: + - *323 - *324 - - *325 - - &548 + - &546 name: key_id description: The unique identifier of the key. in: path @@ -80292,9 +79834,9 @@ paths: description: Response content: application/json: - schema: *546 + schema: *544 examples: - default: *547 + default: *545 '404': *6 x-github: githubCloudOnly: false @@ -80312,9 +79854,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: + - *323 - *324 - - *325 - - *548 + - *546 responses: '204': description: Response @@ -80334,8 +79876,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: + - *323 - *324 - - *325 - *17 - *19 responses: @@ -80345,9 +79887,9 @@ paths: application/json: schema: type: array - items: *531 + items: *529 examples: - default: *532 + default: *530 headers: Link: *54 '404': *6 @@ -80368,8 +79910,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -80405,9 +79947,9 @@ paths: description: Response content: application/json: - schema: *531 + schema: *529 examples: - default: &549 + default: &547 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -80439,8 +79981,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: + - *323 - *324 - - *325 - name: name in: path required: true @@ -80451,9 +79993,9 @@ paths: description: Response content: application/json: - schema: *531 + schema: *529 examples: - default: *549 + default: *547 '404': *6 x-github: githubCloudOnly: false @@ -80470,8 +80012,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: + - *323 - *324 - - *325 - name: name in: path required: true @@ -80510,7 +80052,7 @@ paths: description: Response content: application/json: - schema: *531 + schema: *529 examples: default: value: @@ -80536,8 +80078,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: + - *323 - *324 - - *325 - name: name in: path required: true @@ -80563,8 +80105,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: + - *323 - *324 - - *325 responses: '200': description: Response @@ -80603,9 +80145,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: + - *323 - *324 - - *325 - - *432 + - *429 responses: '200': description: Response @@ -80750,8 +80292,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -80816,8 +80358,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -80851,9 +80393,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *457 + schema: *454 examples: - default: *550 + default: *548 '204': description: Response when already merged '404': @@ -80878,8 +80420,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: + - *323 - *324 - - *325 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -80920,12 +80462,12 @@ paths: application/json: schema: type: array - items: &551 + items: &549 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *255 - required: *256 + properties: *254 + required: *255 examples: default: value: @@ -80981,8 +80523,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -81022,9 +80564,9 @@ paths: description: Response content: application/json: - schema: *551 + schema: *549 examples: - default: &552 + default: &550 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -81083,9 +80625,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: + - *323 - *324 - - *325 - - &553 + - &551 name: milestone_number description: The number that identifies the milestone. in: path @@ -81097,9 +80639,9 @@ paths: description: Response content: application/json: - schema: *551 + schema: *549 examples: - default: *552 + default: *550 '404': *6 x-github: githubCloudOnly: false @@ -81116,9 +80658,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: + - *323 - *324 - - *325 - - *553 + - *551 requestBody: required: false content: @@ -81156,9 +80698,9 @@ paths: description: Response content: application/json: - schema: *551 + schema: *549 examples: - default: *552 + default: *550 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81174,9 +80716,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: + - *323 - *324 - - *325 - - *553 + - *551 responses: '204': description: Response @@ -81197,9 +80739,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: + - *323 - *324 - - *325 - - *553 + - *551 - *17 - *19 responses: @@ -81209,9 +80751,9 @@ paths: application/json: schema: type: array - items: *531 + items: *529 examples: - default: *532 + default: *530 headers: Link: *54 x-github: @@ -81230,12 +80772,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: + - *323 - *324 - - *325 - - *554 - - *555 + - *552 + - *553 - *72 - - *556 + - *554 - *17 - *19 responses: @@ -81247,7 +80789,7 @@ paths: type: array items: *95 examples: - default: *557 + default: *555 headers: Link: *54 x-github: @@ -81271,8 +80813,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: + - *323 - *324 - - *325 requestBody: required: false content: @@ -81330,14 +80872,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: + - *323 - *324 - - *325 responses: '200': description: Response content: application/json: - schema: &558 + schema: &556 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -81462,7 +81004,7 @@ paths: - custom_404 - public examples: - default: &559 + default: &557 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -81503,8 +81045,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -81558,9 +81100,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *556 examples: - default: *559 + default: *557 '422': *15 '409': *47 x-github: @@ -81583,8 +81125,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -81683,8 +81225,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: + - *323 - *324 - - *325 responses: '204': description: Response @@ -81710,8 +81252,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: + - *323 - *324 - - *325 - *17 - *19 responses: @@ -81721,7 +81263,7 @@ paths: application/json: schema: type: array - items: &560 + items: &558 title: Page Build description: Page Build type: object @@ -81815,8 +81357,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: + - *323 - *324 - - *325 responses: '201': description: Response @@ -81861,16 +81403,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: + - *323 - *324 - - *325 responses: '200': description: Response content: application/json: - schema: *560 + schema: *558 examples: - default: &561 + default: &559 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -81918,8 +81460,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: + - *323 - *324 - - *325 - name: build_id in: path required: true @@ -81930,9 +81472,9 @@ paths: description: Response content: application/json: - schema: *560 + schema: *558 examples: - default: *561 + default: *559 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81952,8 +81494,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -82058,9 +81600,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: + - *323 - *324 - - *325 - - &562 + - &560 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -82118,9 +81660,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: + - *323 - *324 - - *325 - - *562 + - *560 responses: '204': *172 '404': *6 @@ -82147,8 +81689,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: + - *323 - *324 - - *325 responses: '200': description: Response @@ -82406,8 +81948,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: + - *323 - *324 - - *325 responses: '200': description: Private vulnerability reporting status @@ -82444,8 +81986,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: + - *323 - *324 - - *325 responses: '204': *172 '422': *14 @@ -82466,8 +82008,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: + - *323 - *324 - - *325 responses: '204': *172 '422': *14 @@ -82476,148 +82018,6 @@ paths: enabledForGitHubApps: true category: repos subcategory: repos - "/repos/{owner}/{repo}/projects": - get: - summary: List repository projects - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/list-for-repo - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/projects-classic/projects#list-repository-projects - parameters: - - *324 - - *325 - - name: state - description: Indicates the state of the projects to return. - in: query - required: false - schema: - type: string - enum: - - open - - closed - - all - default: open - - *17 - - *19 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: *250 - examples: - default: - value: - - owner_url: https://api.github.com/repos/api-playground/projects-test - url: https://api.github.com/projects/1002604 - html_url: https://github.com/api-playground/projects-test/projects/1 - columns_url: https://api.github.com/projects/1002604/columns - id: 1002604 - node_id: MDc6UHJvamVjdDEwMDI2MDQ= - name: Projects Documentation - body: Developer documentation project for the developer site. - number: 1 - state: open - creator: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - created_at: '2011-04-10T20:09:31Z' - updated_at: '2014-03-03T18:58:10Z' - headers: - Link: *54 - '401': *25 - '403': *29 - '404': *6 - '410': *330 - '422': *7 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true - post: - summary: Create a repository project - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/create-for-repo - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/projects-classic/projects#create-a-repository-project - parameters: - - *324 - - *325 - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - name: - type: string - description: The name of the project. - body: - type: string - description: The description of the project. - required: - - name - examples: - default: - value: - name: Projects Documentation - body: Developer documentation project for the developer site. - responses: - '201': - description: Response - content: - application/json: - schema: *250 - examples: - default: *329 - '401': *25 - '403': *29 - '404': *6 - '410': *330 - '422': *7 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true "/repos/{owner}/{repo}/properties/values": get: summary: Get all custom property values for a repository @@ -82631,8 +82031,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: + - *323 - *324 - - *325 responses: '200': description: Response @@ -82642,7 +82042,7 @@ paths: type: array items: *102 examples: - default: *563 + default: *561 '403': *29 '404': *6 x-github: @@ -82664,8 +82064,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: + - *323 - *324 - - *325 requestBody: required: true content: @@ -82681,7 +82081,7 @@ paths: required: - properties examples: - default: *564 + default: *562 responses: '204': description: No Content when custom property values are successfully created @@ -82719,8 +82119,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: + - *323 - *324 - - *325 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -82780,9 +82180,9 @@ paths: application/json: schema: type: array - items: *461 + items: *458 examples: - default: *565 + default: *563 headers: Link: *54 '304': *37 @@ -82814,8 +82214,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -82880,7 +82280,7 @@ paths: description: Response content: application/json: - schema: &569 + schema: &567 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -82991,8 +82391,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *255 - required: *256 + properties: *254 + required: *255 nullable: true active_lock_reason: type: string @@ -83037,7 +82437,7 @@ paths: nullable: true requested_teams: type: array - items: *302 + items: *301 nullable: true head: type: object @@ -83076,14 +82476,14 @@ paths: _links: type: object properties: - comments: *257 - commits: *257 - statuses: *257 - html: *257 - issue: *257 - review_comments: *257 - review_comment: *257 - self: *257 + comments: *256 + commits: *256 + statuses: *256 + html: *256 + issue: *256 + review_comments: *256 + review_comment: *256 + self: *256 required: - comments - commits @@ -83094,7 +82494,7 @@ paths: - review_comment - self author_association: *69 - auto_merge: *566 + auto_merge: *564 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -83186,7 +82586,7 @@ paths: - merged_by - review_comments examples: - default: &570 + default: &568 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -83713,8 +83113,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: + - *323 - *324 - - *325 - name: sort in: query required: false @@ -83743,9 +83143,9 @@ paths: application/json: schema: type: array - items: *567 + items: *565 examples: - default: &572 + default: &570 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -83822,17 +83222,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: + - *323 - *324 - - *325 - *81 responses: '200': description: Response content: application/json: - schema: *567 + schema: *565 examples: - default: &568 + default: &566 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -83907,8 +83307,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: + - *323 - *324 - - *325 - *81 requestBody: required: true @@ -83931,9 +83331,9 @@ paths: description: Response content: application/json: - schema: *567 + schema: *565 examples: - default: *568 + default: *566 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83949,8 +83349,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: + - *323 - *324 - - *325 - *81 responses: '204': @@ -83972,8 +83372,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: + - *323 - *324 - - *325 - *81 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -84000,9 +83400,9 @@ paths: application/json: schema: type: array - items: *317 + items: *316 examples: - default: *319 + default: *318 headers: Link: *54 '404': *6 @@ -84023,8 +83423,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: + - *323 - *324 - - *325 - *81 requestBody: required: true @@ -84057,16 +83457,16 @@ paths: description: Reaction exists content: application/json: - schema: *317 + schema: *316 examples: - default: *318 + default: *317 '201': description: Reaction created content: application/json: - schema: *317 + schema: *316 examples: - default: *318 + default: *317 '422': *15 x-github: githubCloudOnly: false @@ -84088,10 +83488,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: + - *323 - *324 - - *325 - *81 - - *320 + - *319 responses: '204': description: Response @@ -84134,9 +83534,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: + - *323 - *324 - - *325 - - &571 + - &569 name: pull_number description: The number that identifies the pull request. in: path @@ -84149,9 +83549,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *569 + schema: *567 examples: - default: *570 + default: *568 '304': *37 '404': *6 '406': @@ -84186,9 +83586,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: + - *323 - *324 - - *325 - - *571 + - *569 requestBody: required: false content: @@ -84230,9 +83630,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *567 examples: - default: *570 + default: *568 '422': *15 '403': *29 x-github: @@ -84254,9 +83654,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: + - *323 - *324 - - *325 - - *571 + - *569 requestBody: required: true content: @@ -84318,7 +83718,7 @@ paths: application/json: schema: *221 examples: - default: *446 + default: *443 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -84326,7 +83726,7 @@ paths: application/json: schema: *221 examples: - default: *446 + default: *443 '401': *25 '403': *29 '404': *6 @@ -84356,9 +83756,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: + - *323 - *324 - - *325 - - *571 + - *569 - *92 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -84379,9 +83779,9 @@ paths: application/json: schema: type: array - items: *567 + items: *565 examples: - default: *572 + default: *570 headers: Link: *54 x-github: @@ -84414,9 +83814,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: + - *323 - *324 - - *325 - - *571 + - *569 requestBody: required: true content: @@ -84521,7 +83921,7 @@ paths: description: Response content: application/json: - schema: *567 + schema: *565 examples: example-for-a-multi-line-comment: value: @@ -84609,9 +84009,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: + - *323 - *324 - - *325 - - *571 + - *569 - *81 requestBody: required: true @@ -84634,7 +84034,7 @@ paths: description: Response content: application/json: - schema: *567 + schema: *565 examples: default: value: @@ -84720,9 +84120,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: + - *323 - *324 - - *325 - - *571 + - *569 - *17 - *19 responses: @@ -84732,9 +84132,9 @@ paths: application/json: schema: type: array - items: *457 + items: *454 examples: - default: *573 + default: *571 headers: Link: *54 x-github: @@ -84764,9 +84164,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: + - *323 - *324 - - *325 - - *571 + - *569 - *17 - *19 responses: @@ -84776,7 +84176,7 @@ paths: application/json: schema: type: array - items: *470 + items: *467 examples: default: value: @@ -84814,9 +84214,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: + - *323 - *324 - - *325 - - *571 + - *569 responses: '204': description: Response if pull request has been merged @@ -84839,9 +84239,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: + - *323 - *324 - - *325 - - *571 + - *569 requestBody: required: false content: @@ -84952,9 +84352,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: + - *323 - *324 - - *325 - - *571 + - *569 responses: '200': description: Response @@ -85029,9 +84429,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: + - *323 - *324 - - *325 - - *571 + - *569 requestBody: required: false content: @@ -85068,7 +84468,7 @@ paths: description: Response content: application/json: - schema: *461 + schema: *458 examples: default: value: @@ -85604,9 +85004,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: + - *323 - *324 - - *325 - - *571 + - *569 requestBody: required: true content: @@ -85640,7 +85040,7 @@ paths: description: Response content: application/json: - schema: *461 + schema: *458 examples: default: value: @@ -86145,9 +85545,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: + - *323 - *324 - - *325 - - *571 + - *569 - *17 - *19 responses: @@ -86157,7 +85557,7 @@ paths: application/json: schema: type: array - items: &574 + items: &572 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -86308,9 +85708,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: + - *323 - *324 - - *325 - - *571 + - *569 requestBody: required: false content: @@ -86396,9 +85796,9 @@ paths: description: Response content: application/json: - schema: *574 + schema: *572 examples: - default: &576 + default: &574 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -86461,10 +85861,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: + - *323 - *324 - - *325 - - *571 - - &575 + - *569 + - &573 name: review_id description: The unique identifier of the review. in: path @@ -86476,9 +85876,9 @@ paths: description: Response content: application/json: - schema: *574 + schema: *572 examples: - default: &577 + default: &575 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -86537,10 +85937,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: + - *323 - *324 - - *325 - - *571 - - *575 + - *569 + - *573 requestBody: required: true content: @@ -86563,7 +85963,7 @@ paths: description: Response content: application/json: - schema: *574 + schema: *572 examples: default: value: @@ -86625,18 +86025,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: + - *323 - *324 - - *325 - - *571 - - *575 + - *569 + - *573 responses: '200': description: Response content: application/json: - schema: *574 + schema: *572 examples: - default: *576 + default: *574 '422': *7 '404': *6 x-github: @@ -86663,10 +86063,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: + - *323 - *324 - - *325 - - *571 - - *575 + - *569 + - *573 - *17 - *19 responses: @@ -86749,9 +86149,9 @@ paths: _links: type: object properties: - self: *257 - html: *257 - pull_request: *257 + self: *256 + html: *256 + pull_request: *256 required: - self - html @@ -86901,10 +86301,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: + - *323 - *324 - - *325 - - *571 - - *575 + - *569 + - *573 requestBody: required: true content: @@ -86932,7 +86332,7 @@ paths: description: Response content: application/json: - schema: *574 + schema: *572 examples: default: value: @@ -86995,10 +86395,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: + - *323 - *324 - - *325 - - *571 - - *575 + - *569 + - *573 requestBody: required: true content: @@ -87033,9 +86433,9 @@ paths: description: Response content: application/json: - schema: *574 + schema: *572 examples: - default: *577 + default: *575 '404': *6 '422': *7 '403': *29 @@ -87057,9 +86457,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: + - *323 - *324 - - *325 - - *571 + - *569 requestBody: required: false content: @@ -87122,8 +86522,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: + - *323 - *324 - - *325 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -87136,9 +86536,9 @@ paths: description: Response content: application/json: - schema: *578 + schema: *576 examples: - default: &579 + default: &577 value: type: file encoding: base64 @@ -87180,8 +86580,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: + - *323 - *324 - - *325 - name: dir description: The alternate path to look for a README file in: path @@ -87201,9 +86601,9 @@ paths: description: Response content: application/json: - schema: *578 + schema: *576 examples: - default: *579 + default: *577 '404': *6 '422': *15 x-github: @@ -87225,8 +86625,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: + - *323 - *324 - - *325 - *17 - *19 responses: @@ -87236,7 +86636,7 @@ paths: application/json: schema: type: array - items: &580 + items: &578 title: Release description: A release. type: object @@ -87307,7 +86707,7 @@ paths: author: *4 assets: type: array - items: &581 + items: &579 title: Release Asset description: Data related to a release. type: object @@ -87494,8 +86894,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -87571,9 +86971,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *578 examples: - default: &584 + default: &582 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -87678,9 +87078,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: + - *323 - *324 - - *325 - - &582 + - &580 name: asset_id description: The unique identifier of the asset. in: path @@ -87692,9 +87092,9 @@ paths: description: Response content: application/json: - schema: *581 + schema: *579 examples: - default: &583 + default: &581 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 @@ -87729,7 +87129,7 @@ paths: type: User site_admin: false '404': *6 - '302': *472 + '302': *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87745,9 +87145,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: + - *323 - *324 - - *325 - - *582 + - *580 requestBody: required: false content: @@ -87775,9 +87175,9 @@ paths: description: Response content: application/json: - schema: *581 + schema: *579 examples: - default: *583 + default: *581 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87793,9 +87193,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: + - *323 - *324 - - *325 - - *582 + - *580 responses: '204': description: Response @@ -87819,8 +87219,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -87905,16 +87305,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: + - *323 - *324 - - *325 responses: '200': description: Response content: application/json: - schema: *580 + schema: *578 examples: - default: *584 + default: *582 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87931,8 +87331,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: + - *323 - *324 - - *325 - name: tag description: tag parameter in: path @@ -87945,9 +87345,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *578 examples: - default: *584 + default: *582 '404': *6 x-github: githubCloudOnly: false @@ -87969,9 +87369,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: + - *323 - *324 - - *325 - - &585 + - &583 name: release_id description: The unique identifier of the release. in: path @@ -87985,9 +87385,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: *580 + schema: *578 examples: - default: *584 + default: *582 '401': description: Unauthorized x-github: @@ -88005,9 +87405,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: + - *323 - *324 - - *325 - - *585 + - *583 requestBody: required: false content: @@ -88071,9 +87471,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *578 examples: - default: *584 + default: *582 '404': description: Not Found if the discussion category name is invalid content: @@ -88094,9 +87494,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: + - *323 - *324 - - *325 - - *585 + - *583 responses: '204': description: Response @@ -88116,9 +87516,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: + - *323 - *324 - - *325 - - *585 + - *583 - *17 - *19 responses: @@ -88128,7 +87528,7 @@ paths: application/json: schema: type: array - items: *581 + items: *579 examples: default: value: @@ -88209,9 +87609,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: + - *323 - *324 - - *325 - - *585 + - *583 - name: name in: query required: true @@ -88237,7 +87637,7 @@ paths: description: Response for successful upload content: application/json: - schema: *581 + schema: *579 examples: response-for-successful-upload: value: @@ -88292,9 +87692,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: + - *323 - *324 - - *325 - - *585 + - *583 - 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. @@ -88318,9 +87718,9 @@ paths: application/json: schema: type: array - items: *317 + items: *316 examples: - default: *319 + default: *318 headers: Link: *54 '404': *6 @@ -88341,9 +87741,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: + - *323 - *324 - - *325 - - *585 + - *583 requestBody: required: true content: @@ -88373,16 +87773,16 @@ paths: description: Reaction exists content: application/json: - schema: *317 + schema: *316 examples: - default: *318 + default: *317 '201': description: Reaction created content: application/json: - schema: *317 + schema: *316 examples: - default: *318 + default: *317 '422': *15 x-github: githubCloudOnly: false @@ -88404,10 +87804,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: + - *323 - *324 - - *325 - - *585 - - *320 + - *583 + - *319 responses: '204': description: Response @@ -88431,9 +87831,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: + - *323 - *324 - - *325 - - *394 + - *391 - *17 - *19 responses: @@ -88449,8 +87849,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *275 - - &586 + - *274 + - &584 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -88469,69 +87869,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. + - allOf: + - *275 + - *584 - allOf: - *276 - - *586 + - *584 - allOf: - *277 - - *586 + - *584 - allOf: - - *278 - - *586 + - *585 + - *584 - allOf: - - *587 - - *586 + - *278 + - *584 - allOf: - *279 - - *586 + - *584 - allOf: - *280 - - *586 + - *584 - allOf: - *281 - - *586 + - *584 - allOf: - *282 - - *586 + - *584 - allOf: - *283 - - *586 + - *584 - allOf: - *284 - - *586 + - *584 - allOf: - *285 - - *586 + - *584 - allOf: - *286 - - *586 + - *584 - allOf: - *287 - - *586 + - *584 - allOf: - *288 - - *586 + - *584 - allOf: - *289 - - *586 + - *584 - allOf: - *290 - - *586 + - *584 - allOf: - *291 - - *586 + - *584 - allOf: - *292 - - *586 + - *584 - allOf: - *293 - - *586 - - allOf: - - *294 - - *586 + - *584 - allOf: - - *588 - *586 + - *584 examples: default: value: @@ -88570,8 +87970,8 @@ paths: category: repos subcategory: rules parameters: + - *323 - *324 - - *325 - *17 - *19 - name: includes_parents @@ -88582,7 +87982,7 @@ paths: schema: type: boolean default: true - - *589 + - *587 responses: '200': description: Response @@ -88590,7 +87990,7 @@ paths: application/json: schema: type: array - items: *295 + items: *294 examples: default: value: @@ -88637,8 +88037,8 @@ paths: category: repos subcategory: rules parameters: + - *323 - *324 - - *325 requestBody: description: Request body required: true @@ -88658,16 +88058,16 @@ paths: - tag - push default: branch - enforcement: *272 + enforcement: *271 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *273 - conditions: *270 + items: *272 + conditions: *269 rules: type: array description: An array of rules within the ruleset. - items: *590 + items: *588 required: - name - enforcement @@ -88698,9 +88098,9 @@ paths: description: Response content: application/json: - schema: *295 + schema: *294 examples: - default: &600 + default: &598 value: id: 42 name: super cool ruleset @@ -88747,12 +88147,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: + - *323 - *324 - - *325 + - *589 + - *590 - *591 - *592 - - *593 - - *594 - *17 - *19 responses: @@ -88760,9 +88160,9 @@ paths: description: Response content: application/json: - schema: *595 + schema: *593 examples: - default: *596 + default: *594 '404': *6 '500': *103 x-github: @@ -88783,17 +88183,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: + - *323 - *324 - - *325 - - *597 + - *595 responses: '200': description: Response content: application/json: - schema: *598 + schema: *596 examples: - default: *599 + default: *597 '404': *6 '500': *103 x-github: @@ -88821,8 +88221,8 @@ paths: category: repos subcategory: rules parameters: + - *323 - *324 - - *325 - name: ruleset_id description: The ID of the ruleset. in: path @@ -88842,9 +88242,9 @@ paths: description: Response content: application/json: - schema: *295 + schema: *294 examples: - default: *600 + default: *598 '404': *6 '500': *103 put: @@ -88862,8 +88262,8 @@ paths: category: repos subcategory: rules parameters: + - *323 - *324 - - *325 - name: ruleset_id description: The ID of the ruleset. in: path @@ -88888,16 +88288,16 @@ paths: - branch - tag - push - enforcement: *272 + enforcement: *271 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *273 - conditions: *270 + items: *272 + conditions: *269 rules: description: An array of rules within the ruleset. type: array - items: *590 + items: *588 examples: default: value: @@ -88925,9 +88325,9 @@ paths: description: Response content: application/json: - schema: *295 + schema: *294 examples: - default: *600 + default: *598 '404': *6 '500': *103 delete: @@ -88945,8 +88345,8 @@ paths: category: repos subcategory: rules parameters: + - *323 - *324 - - *325 - name: ruleset_id description: The ID of the ruleset. in: path @@ -88969,8 +88369,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: + - *323 - *324 - - *325 - *17 - *19 - name: ruleset_id @@ -88986,9 +88386,9 @@ paths: application/json: schema: type: array - items: *298 + items: *297 examples: - default: *601 + default: *599 '404': *6 '500': *103 x-github: @@ -89007,8 +88407,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: + - *323 - *324 - - *325 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89026,7 +88426,7 @@ paths: description: Response content: application/json: - schema: *602 + schema: *600 examples: default: value: @@ -89081,21 +88481,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: + - *323 - *324 - - *325 + - *601 + - *602 - *603 - *604 - - *605 - - *606 - *48 - *19 - *17 + - *605 + - *606 - *607 - *608 - *609 - *610 - - *611 - - *612 responses: '200': description: Response @@ -89103,7 +88503,7 @@ paths: application/json: schema: type: array - items: &616 + items: &614 type: object properties: number: *158 @@ -89122,8 +88522,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *613 - resolution: *614 + state: *611 + resolution: *612 resolved_at: type: string format: date-time @@ -89219,7 +88619,7 @@ paths: pull request. ' - oneOf: *615 + oneOf: *613 nullable: true has_more_locations: type: boolean @@ -89368,16 +88768,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: + - *323 - *324 - - *325 - - *426 - - *612 + - *423 + - *610 responses: '200': description: Response content: application/json: - schema: *616 + schema: *614 examples: default: value: @@ -89429,9 +88829,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: + - *323 - *324 - - *325 - - *426 + - *423 requestBody: required: true content: @@ -89439,8 +88839,8 @@ paths: schema: type: object properties: - state: *613 - resolution: *614 + state: *611 + resolution: *612 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -89458,7 +88858,7 @@ paths: description: Response content: application/json: - schema: *616 + schema: *614 examples: default: value: @@ -89533,9 +88933,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: + - *323 - *324 - - *325 - - *426 + - *423 - *19 - *17 responses: @@ -89546,7 +88946,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &775 + items: &773 type: object properties: type: @@ -89572,6 +88972,8 @@ paths: example: commit details: oneOf: + - *615 + - *616 - *617 - *618 - *619 @@ -89583,8 +88985,6 @@ paths: - *625 - *626 - *627 - - *628 - - *629 examples: default: value: @@ -89670,8 +89070,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -89679,14 +89079,14 @@ paths: schema: type: object properties: - reason: &631 + reason: &629 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *630 + placeholder_id: *628 required: - reason - placeholder_id @@ -89703,7 +89103,7 @@ paths: schema: type: object properties: - reason: *631 + reason: *629 expire_at: type: string format: date-time @@ -89749,8 +89149,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: + - *323 - *324 - - *325 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -89765,7 +89165,7 @@ paths: properties: incremental_scans: type: array - items: &632 + items: &630 description: Information on a single scan performed by secret scanning on the repository type: object @@ -89791,15 +89191,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *632 + items: *630 backfill_scans: type: array - items: *632 + items: *630 custom_pattern_backfill_scans: type: array items: allOf: - - *632 + - *630 - type: object properties: pattern_name: @@ -89869,8 +89269,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: + - *323 - *324 - - *325 - *48 - name: sort description: The property to sort the results by. @@ -89914,9 +89314,9 @@ paths: application/json: schema: type: array - items: *633 + items: *631 examples: - default: *634 + default: *632 '400': *14 '404': *6 x-github: @@ -89939,8 +89339,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -90013,7 +89413,7 @@ paths: login: type: string description: The username of the user credited. - type: *301 + type: *300 required: - login - type @@ -90100,9 +89500,9 @@ paths: description: Response content: application/json: - schema: *633 + schema: *631 examples: - default: &636 + default: &634 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -90335,8 +89735,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -90440,7 +89840,7 @@ paths: description: Response content: application/json: - schema: *633 + schema: *631 examples: default: value: @@ -90587,17 +89987,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: + - *323 - *324 - - *325 - - *635 + - *633 responses: '200': description: Response content: application/json: - schema: *633 + schema: *631 examples: - default: *636 + default: *634 '403': *29 '404': *6 x-github: @@ -90621,9 +90021,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: + - *323 - *324 - - *325 - - *635 + - *633 requestBody: required: true content: @@ -90696,7 +90096,7 @@ paths: login: type: string description: The username of the user credited. - type: *301 + type: *300 required: - login - type @@ -90782,10 +90182,10 @@ paths: description: Response content: application/json: - schema: *633 + schema: *631 examples: - default: *636 - add_credit: *636 + default: *634 + add_credit: *634 '403': *29 '404': *6 '422': @@ -90823,9 +90223,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: + - *323 - *324 - - *325 - - *635 + - *633 responses: '202': *39 '400': *14 @@ -90852,17 +90252,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: + - *323 - *324 - - *325 - - *635 + - *633 responses: '202': description: Response content: application/json: - schema: *332 + schema: *329 examples: - default: *334 + default: *331 '400': *14 '422': *15 '403': *29 @@ -90888,8 +90288,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: + - *323 - *324 - - *325 - *17 - *19 responses: @@ -90988,8 +90388,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: + - *323 - *324 - - *325 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -90998,7 +90398,7 @@ paths: application/json: schema: type: array - items: &637 + items: &635 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -91031,8 +90431,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: + - *323 - *324 - - *325 responses: '200': description: Response @@ -91108,8 +90508,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: + - *323 - *324 - - *325 responses: '200': description: Response @@ -91205,8 +90605,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: + - *323 - *324 - - *325 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -91360,8 +90760,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: + - *323 - *324 - - *325 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -91371,7 +90771,7 @@ paths: application/json: schema: type: array - items: *637 + items: *635 examples: default: value: @@ -91404,8 +90804,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: + - *323 - *324 - - *325 - name: sha in: path required: true @@ -91459,7 +90859,7 @@ paths: description: Response content: application/json: - schema: *638 + schema: *636 examples: default: value: @@ -91513,8 +90913,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: + - *323 - *324 - - *325 - *17 - *19 responses: @@ -91546,14 +90946,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: + - *323 - *324 - - *325 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &639 + schema: &637 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -91621,8 +91021,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: + - *323 - *324 - - *325 requestBody: required: false content: @@ -91648,7 +91048,7 @@ paths: description: Response content: application/json: - schema: *639 + schema: *637 examples: default: value: @@ -91675,8 +91075,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: + - *323 - *324 - - *325 responses: '204': description: Response @@ -91696,8 +91096,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: + - *323 - *324 - - *325 - *17 - *19 responses: @@ -91776,8 +91176,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: + - *323 - *324 - - *325 responses: '200': description: Response @@ -91785,7 +91185,7 @@ paths: application/json: schema: type: array - items: &640 + items: &638 title: Tag protection description: Tag protection type: object @@ -91837,8 +91237,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: + - *323 - *324 - - *325 requestBody: required: true content: @@ -91861,7 +91261,7 @@ paths: description: Response content: application/json: - schema: *640 + schema: *638 examples: default: value: @@ -91892,8 +91292,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: + - *323 - *324 - - *325 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -91930,8 +91330,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: + - *323 - *324 - - *325 - name: ref in: path required: true @@ -91967,8 +91367,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: + - *323 - *324 - - *325 - *17 - *19 responses: @@ -92000,8 +91400,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: + - *323 - *324 - - *325 - *19 - *17 responses: @@ -92009,7 +91409,7 @@ paths: description: Response content: application/json: - schema: &641 + schema: &639 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -92021,7 +91421,7 @@ paths: required: - names examples: - default: &642 + default: &640 value: names: - octocat @@ -92044,8 +91444,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -92076,9 +91476,9 @@ paths: description: Response content: application/json: - schema: *641 + schema: *639 examples: - default: *642 + default: *640 '404': *6 '422': *7 x-github: @@ -92099,9 +91499,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: + - *323 - *324 - - *325 - - &643 + - &641 name: per description: The time frame to display results for. in: query @@ -92130,7 +91530,7 @@ paths: example: 128 clones: type: array - items: &644 + items: &642 title: Traffic type: object properties: @@ -92217,8 +91617,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: + - *323 - *324 - - *325 responses: '200': description: Response @@ -92308,8 +91708,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: + - *323 - *324 - - *325 responses: '200': description: Response @@ -92369,9 +91769,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: + - *323 - *324 - - *325 - - *643 + - *641 responses: '200': description: Response @@ -92390,7 +91790,7 @@ paths: example: 3782 views: type: array - items: *644 + items: *642 required: - uniques - count @@ -92467,8 +91867,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: + - *323 - *324 - - *325 requestBody: required: true content: @@ -92742,8 +92142,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: + - *323 - *324 - - *325 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -92766,8 +92166,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: + - *323 - *324 - - *325 responses: '204': description: Response @@ -92789,8 +92189,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: + - *323 - *324 - - *325 responses: '204': description: Response @@ -92816,8 +92216,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: + - *323 - *324 - - *325 - name: ref in: path required: true @@ -92909,9 +92309,9 @@ paths: description: Response content: application/json: - schema: *332 + schema: *329 examples: - default: *334 + default: *331 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -93159,7 +92559,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &645 + text_matches: &643 title: Search Result Text Matches type: array items: @@ -93321,7 +92721,7 @@ paths: enum: - author-date - committer-date - - &646 + - &644 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 @@ -93392,7 +92792,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *392 + properties: *389 nullable: true comment_count: type: integer @@ -93412,7 +92812,7 @@ paths: url: type: string format: uri - verification: *508 + verification: *505 required: - author - committer @@ -93431,7 +92831,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *392 + properties: *389 nullable: true parents: type: array @@ -93449,7 +92849,7 @@ paths: type: number node_id: type: string - text_matches: *645 + text_matches: *643 required: - sha - node_id @@ -93641,7 +93041,7 @@ paths: - interactions - created - updated - - *646 + - *644 - *17 - *19 - name: advanced_search @@ -93738,11 +93138,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *647 - issue_dependencies_summary: *648 + sub_issues_summary: *645 + issue_dependencies_summary: *646 issue_field_values: type: array - items: *649 + items: *647 state: type: string state_reason: @@ -93759,8 +93159,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *255 - required: *256 + properties: *254 + required: *255 nullable: true comments: type: integer @@ -93774,7 +93174,7 @@ paths: type: string format: date-time nullable: true - text_matches: *645 + text_matches: *643 pull_request: type: object properties: @@ -93999,7 +93399,7 @@ paths: enum: - created - updated - - *646 + - *644 - *17 - *19 responses: @@ -94043,7 +93443,7 @@ paths: nullable: true score: type: number - text_matches: *645 + text_matches: *643 required: - id - node_id @@ -94128,7 +93528,7 @@ paths: - forks - help-wanted-issues - updated - - *646 + - *644 - *17 - *19 responses: @@ -94367,7 +93767,7 @@ paths: - admin - pull - push - text_matches: *645 + text_matches: *643 temp_clone_token: type: string allow_merge_commit: @@ -94667,7 +94067,7 @@ paths: type: string format: uri nullable: true - text_matches: *645 + text_matches: *643 related: type: array nullable: true @@ -94858,7 +94258,7 @@ paths: - followers - repositories - joined - - *646 + - *644 - *17 - *19 responses: @@ -94962,7 +94362,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *645 + text_matches: *643 blog: type: string nullable: true @@ -95041,7 +94441,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &650 + - &648 name: team_id description: The unique identifier of the team. in: path @@ -95053,9 +94453,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *308 examples: - default: *310 + default: *309 '404': *6 x-github: githubCloudOnly: false @@ -95082,7 +94482,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *650 + - *648 requestBody: required: true content: @@ -95145,16 +94545,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *309 + schema: *308 examples: - default: *310 + default: *309 '201': description: Response content: application/json: - schema: *309 + schema: *308 examples: - default: *310 + default: *309 '404': *6 '422': *15 '403': *29 @@ -95182,7 +94582,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *650 + - *648 responses: '204': description: Response @@ -95213,7 +94613,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *650 + - *648 - *48 - *17 - *19 @@ -95224,9 +94624,9 @@ paths: application/json: schema: type: array - items: *311 + items: *310 examples: - default: *651 + default: *649 headers: Link: *54 x-github: @@ -95255,7 +94655,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *650 + - *648 requestBody: required: true content: @@ -95289,9 +94689,9 @@ paths: description: Response content: application/json: - schema: *311 + schema: *310 examples: - default: *312 + default: *311 x-github: triggersNotification: true githubCloudOnly: false @@ -95318,16 +94718,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *650 - - *313 + - *648 + - *312 responses: '200': description: Response content: application/json: - schema: *311 + schema: *310 examples: - default: *312 + default: *311 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95352,8 +94752,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *650 - - *313 + - *648 + - *312 requestBody: required: false content: @@ -95376,9 +94776,9 @@ paths: description: Response content: application/json: - schema: *311 + schema: *310 examples: - default: *652 + default: *650 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95403,8 +94803,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *650 - - *313 + - *648 + - *312 responses: '204': description: Response @@ -95433,8 +94833,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *650 - - *313 + - *648 + - *312 - *48 - *17 - *19 @@ -95445,9 +94845,9 @@ paths: application/json: schema: type: array - items: *314 + items: *313 examples: - default: *653 + default: *651 headers: Link: *54 x-github: @@ -95476,8 +94876,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *650 - - *313 + - *648 + - *312 requestBody: required: true content: @@ -95499,9 +94899,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *313 examples: - default: *315 + default: *314 x-github: triggersNotification: true githubCloudOnly: false @@ -95528,17 +94928,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *650 - - *313 - - *316 + - *648 + - *312 + - *315 responses: '200': description: Response content: application/json: - schema: *314 + schema: *313 examples: - default: *315 + default: *314 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95563,9 +94963,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *650 - - *313 - - *316 + - *648 + - *312 + - *315 requestBody: required: true content: @@ -95587,9 +94987,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *313 examples: - default: *654 + default: *652 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95614,9 +95014,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *650 - - *313 - - *316 + - *648 + - *312 + - *315 responses: '204': description: Response @@ -95645,9 +95045,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *650 - - *313 - - *316 + - *648 + - *312 + - *315 - 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. @@ -95673,9 +95073,9 @@ paths: application/json: schema: type: array - items: *317 + items: *316 examples: - default: *319 + default: *318 headers: Link: *54 x-github: @@ -95704,9 +95104,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *650 - - *313 - - *316 + - *648 + - *312 + - *315 requestBody: required: true content: @@ -95738,9 +95138,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *316 examples: - default: *318 + default: *317 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95766,8 +95166,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *650 - - *313 + - *648 + - *312 - 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. @@ -95793,9 +95193,9 @@ paths: application/json: schema: type: array - items: *317 + items: *316 examples: - default: *319 + default: *318 headers: Link: *54 x-github: @@ -95824,8 +95224,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *650 - - *313 + - *648 + - *312 requestBody: required: true content: @@ -95857,9 +95257,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *316 examples: - default: *318 + default: *317 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -95883,7 +95283,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *650 + - *648 - *17 - *19 responses: @@ -95921,7 +95321,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *650 + - *648 - name: role description: Filters members returned by their role in the team. in: query @@ -95972,7 +95372,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *650 + - *648 - *59 responses: '204': @@ -96009,7 +95409,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *650 + - *648 - *59 responses: '204': @@ -96049,7 +95449,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *650 + - *648 - *59 responses: '204': @@ -96086,16 +95486,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *650 + - *648 - *59 responses: '200': description: Response content: application/json: - schema: *321 + schema: *320 examples: - response-if-user-is-a-team-maintainer: *655 + response-if-user-is-a-team-maintainer: *653 '404': *6 x-github: githubCloudOnly: false @@ -96128,7 +95528,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *650 + - *648 - *59 requestBody: required: false @@ -96154,9 +95554,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *320 examples: - response-if-users-membership-with-team-is-now-pending: *656 + response-if-users-membership-with-team-is-now-pending: *654 '403': description: Forbidden if team synchronization is set up '422': @@ -96190,7 +95590,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *650 + - *648 - *59 responses: '204': @@ -96219,7 +95619,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *650 + - *648 - *17 - *19 responses: @@ -96229,9 +95629,9 @@ paths: application/json: schema: type: array - items: *322 + items: *321 examples: - default: *657 + default: *655 headers: Link: *54 '404': *6 @@ -96257,16 +95657,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *650 - - *323 + - *648 + - *322 responses: '200': description: Response content: application/json: - schema: *322 + schema: *321 examples: - default: *658 + default: *656 '404': description: Not Found if project is not managed by this team x-github: @@ -96290,8 +95690,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *650 - - *323 + - *648 + - *322 requestBody: required: false content: @@ -96358,8 +95758,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *650 - - *323 + - *648 + - *322 responses: '204': description: Response @@ -96386,7 +95786,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *650 + - *648 - *17 - *19 responses: @@ -96428,15 +95828,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *650 + - *648 + - *323 - *324 - - *325 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *659 + schema: *657 examples: alternative-response-with-extra-repository-information: value: @@ -96587,9 +95987,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *650 + - *648 + - *323 - *324 - - *325 requestBody: required: false content: @@ -96639,9 +96039,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *650 + - *648 + - *323 - *324 - - *325 responses: '204': description: Response @@ -96666,7 +96066,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *650 + - *648 - *17 - *19 responses: @@ -96678,7 +96078,7 @@ paths: type: array items: *178 examples: - response-if-child-teams-exist: *660 + response-if-child-teams-exist: *658 headers: Link: *54 '404': *6 @@ -96711,7 +96111,7 @@ paths: application/json: schema: oneOf: - - &662 + - &660 title: Private User description: Private User type: object @@ -96914,7 +96314,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *661 + - *659 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -97067,7 +96467,7 @@ paths: description: Response content: application/json: - schema: *662 + schema: *660 examples: default: value: @@ -97413,7 +96813,7 @@ paths: application/json: schema: *221 examples: - default: *446 + default: *443 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -97421,7 +96821,7 @@ paths: application/json: schema: *221 examples: - default: *446 + default: *443 '401': *25 '403': *29 '404': *6 @@ -97465,7 +96865,7 @@ paths: type: integer secrets: type: array - items: &663 + items: &661 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -97505,7 +96905,7 @@ paths: - visibility - selected_repositories_url examples: - default: *449 + default: *446 headers: Link: *54 x-github: @@ -97581,7 +96981,7 @@ paths: description: Response content: application/json: - schema: *663 + schema: *661 examples: default: value: @@ -97727,7 +97127,7 @@ paths: type: array items: *142 examples: - default: *664 + default: *662 '401': *25 '403': *29 '404': *6 @@ -97879,7 +97279,7 @@ paths: application/json: schema: *221 examples: - default: *446 + default: *443 '304': *37 '500': *103 '401': *25 @@ -97937,7 +97337,7 @@ paths: application/json: schema: *221 examples: - default: *446 + default: *443 '401': *25 '403': *29 '404': *6 @@ -97994,7 +97394,7 @@ paths: description: Response content: application/json: - schema: &665 + schema: &663 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -98035,7 +97435,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &666 + default: &664 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -98080,9 +97480,9 @@ paths: description: Response content: application/json: - schema: *665 + schema: *663 examples: - default: *666 + default: *664 '404': *6 x-github: githubCloudOnly: false @@ -98119,9 +97519,9 @@ paths: type: integer machines: type: array - items: *667 + items: *665 examples: - default: *668 + default: *666 '304': *37 '500': *103 '401': *25 @@ -98200,13 +97600,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *332 + repository: *329 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *447 - required: *448 + properties: *444 + required: *445 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -98988,7 +98388,7 @@ paths: application/json: schema: *221 examples: - default: *446 + default: *443 '304': *37 '500': *103 '400': *14 @@ -99028,7 +98428,7 @@ paths: application/json: schema: *221 examples: - default: *446 + default: *443 '500': *103 '401': *25 '403': *29 @@ -99060,7 +98460,7 @@ paths: type: array items: *234 examples: - default: &679 + default: &677 value: - id: 197 name: hello_docker @@ -99161,7 +98561,7 @@ paths: application/json: schema: type: array - items: &669 + items: &667 title: Email description: Email type: object @@ -99226,9 +98626,9 @@ paths: application/json: schema: type: array - items: *669 + items: *667 examples: - default: &681 + default: &679 value: - email: octocat@github.com verified: true @@ -99303,7 +98703,7 @@ paths: application/json: schema: type: array - items: *669 + items: *667 examples: default: value: @@ -99559,7 +98959,7 @@ paths: application/json: schema: type: array - items: &670 + items: &668 title: GPG Key description: A unique encryption key type: object @@ -99690,7 +99090,7 @@ paths: - subkeys - revoked examples: - default: &695 + default: &693 value: - id: 3 name: Octocat's GPG Key @@ -99775,9 +99175,9 @@ paths: description: Response content: application/json: - schema: *670 + schema: *668 examples: - default: &671 + default: &669 value: id: 3 name: Octocat's GPG Key @@ -99834,7 +99234,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &672 + - &670 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -99846,9 +99246,9 @@ paths: description: Response content: application/json: - schema: *670 + schema: *668 examples: - default: *671 + default: *669 '404': *6 '304': *37 '403': *29 @@ -99871,7 +99271,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *672 + - *670 responses: '204': description: Response @@ -100176,7 +99576,7 @@ paths: required: true content: application/json: - schema: *519 + schema: *516 examples: default: value: @@ -100326,7 +99726,7 @@ paths: application/json: schema: type: array - items: &673 + items: &671 title: Key description: Key type: object @@ -100427,9 +99827,9 @@ paths: description: Response content: application/json: - schema: *673 + schema: *671 examples: - default: &674 + default: &672 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -100462,15 +99862,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *548 + - *546 responses: '200': description: Response content: application/json: - schema: *673 + schema: *671 examples: - default: *674 + default: *672 '404': *6 '304': *37 '403': *29 @@ -100493,7 +99893,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *548 + - *546 responses: '204': description: Response @@ -100526,7 +99926,7 @@ paths: application/json: schema: type: array - items: &675 + items: &673 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -100594,7 +99994,7 @@ paths: - account - plan examples: - default: &676 + default: &674 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -100656,9 +100056,9 @@ paths: application/json: schema: type: array - items: *675 + items: *673 examples: - default: *676 + default: *674 headers: Link: *54 '304': *37 @@ -101653,7 +101053,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *228 - - *677 + - *675 responses: '204': description: Response @@ -101768,7 +101168,7 @@ paths: - docker - nuget - container - - *678 + - *676 - *19 - *17 responses: @@ -101780,8 +101180,8 @@ paths: type: array items: *234 examples: - default: *679 - '400': *680 + default: *677 + '400': *678 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -101810,7 +101210,7 @@ paths: application/json: schema: *234 examples: - default: &696 + default: &694 value: id: 40201 name: octo-name @@ -102147,97 +101547,6 @@ paths: enabledForGitHubApps: false category: packages subcategory: packages - "/user/projects": - post: - summary: Create a user project - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/create-for-authenticated-user - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/projects-classic/projects#create-a-user-project - parameters: [] - requestBody: - required: true - content: - application/json: - schema: - properties: - name: - description: Name of the project - example: Week One Sprint - type: string - body: - description: Body of the project - example: This project represents the sprint of the first week in - January - type: string - nullable: true - required: - - name - type: object - examples: - default: - summary: Create a new project - value: - name: My Projects - body: A board to manage my personal projects. - responses: - '201': - description: Response - content: - application/json: - schema: *250 - examples: - default: - value: - owner_url: https://api.github.com/users/octocat - url: https://api.github.com/projects/1002603 - html_url: https://github.com/users/octocat/projects/1 - columns_url: https://api.github.com/projects/1002603/columns - id: 1002603 - node_id: MDc6UHJvamVjdDEwMDI2MDM= - name: My Projects - body: A board to manage my personal projects. - number: 1 - state: open - creator: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - created_at: '2011-04-10T20:09:31Z' - updated_at: '2014-03-03T18:58:10Z' - '304': *37 - '403': *29 - '401': *25 - '422': *7 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true "/user/public_emails": get: summary: List public email addresses for the authenticated user @@ -102263,9 +101572,9 @@ paths: application/json: schema: type: array - items: *669 + items: *667 examples: - default: *681 + default: *679 headers: Link: *54 '304': *37 @@ -102378,7 +101687,7 @@ paths: type: array items: *66 examples: - default: &688 + default: &686 summary: Default response value: - id: 1296269 @@ -102682,9 +101991,9 @@ paths: description: Response content: application/json: - schema: *332 + schema: *329 examples: - default: *334 + default: *331 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -102722,9 +102031,9 @@ paths: application/json: schema: type: array - items: *521 + items: *518 examples: - default: *682 + default: *680 headers: Link: *54 '304': *37 @@ -102803,7 +102112,7 @@ paths: application/json: schema: type: array - items: &683 + items: &681 title: Social account description: Social media account type: object @@ -102818,7 +102127,7 @@ paths: - provider - url examples: - default: &684 + default: &682 value: - provider: twitter url: https://twitter.com/github @@ -102880,9 +102189,9 @@ paths: application/json: schema: type: array - items: *683 + items: *681 examples: - default: *684 + default: *682 '422': *15 '304': *37 '404': *6 @@ -102969,7 +102278,7 @@ paths: application/json: schema: type: array - items: &685 + items: &683 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -102989,7 +102298,7 @@ paths: - title - created_at examples: - default: &711 + default: &709 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -103055,9 +102364,9 @@ paths: description: Response content: application/json: - schema: *685 + schema: *683 examples: - default: &686 + default: &684 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -103088,7 +102397,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: - - &687 + - &685 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -103100,9 +102409,9 @@ paths: description: Response content: application/json: - schema: *685 + schema: *683 examples: - default: *686 + default: *684 '404': *6 '304': *37 '403': *29 @@ -103125,7 +102434,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: - - *687 + - *685 responses: '204': description: Response @@ -103154,7 +102463,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &712 + - &710 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 @@ -103179,11 +102488,11 @@ paths: type: array items: *66 examples: - default-response: *688 + default-response: *686 application/vnd.github.v3.star+json: schema: type: array - items: &713 + items: &711 title: Starred Repository description: Starred Repository type: object @@ -103339,8 +102648,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: + - *323 - *324 - - *325 responses: '204': description: Response if this repository is starred by you @@ -103368,8 +102677,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: + - *323 - *324 - - *325 responses: '204': description: Response @@ -103393,8 +102702,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: + - *323 - *324 - - *325 responses: '204': description: Response @@ -103466,7 +102775,7 @@ paths: application/json: schema: type: array - items: *309 + items: *308 examples: default: value: @@ -103552,10 +102861,10 @@ paths: application/json: schema: oneOf: - - *662 - - *661 + - *660 + - *659 examples: - default-response: &690 + default-response: &688 summary: Default response value: login: octocat @@ -103590,7 +102899,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &691 + response-with-git-hub-plan-information: &689 summary: Response with GitHub plan information value: login: octocat @@ -103650,7 +102959,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *689 + - *687 - *17 responses: '200': @@ -103699,11 +103008,11 @@ paths: application/json: schema: oneOf: - - *662 - - *661 + - *660 + - *659 examples: - default-response: *690 - response-with-git-hub-plan-information: *691 + default-response: *688 + response-with-git-hub-plan-information: *689 '404': *6 x-github: githubCloudOnly: false @@ -103753,8 +103062,8 @@ paths: required: - subject_digests examples: - default: *692 - withPredicateType: *693 + default: *690 + withPredicateType: *691 responses: '200': description: Response @@ -103807,7 +103116,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *694 + default: *692 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104012,7 +103321,7 @@ paths: initiator: type: string examples: - default: *388 + default: *385 '201': description: Response content: @@ -104053,7 +103362,7 @@ paths: type: array items: *234 examples: - default: *679 + default: *677 '403': *29 '401': *25 x-github: @@ -104437,9 +103746,9 @@ paths: application/json: schema: type: array - items: *670 + items: *668 examples: - default: *695 + default: *693 headers: Link: *54 x-github: @@ -104543,7 +103852,7 @@ paths: application/json: schema: *22 examples: - default: *518 + default: *515 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104667,7 +103976,7 @@ paths: - docker - nuget - container - - *678 + - *676 - *59 - *19 - *17 @@ -104680,10 +103989,10 @@ paths: type: array items: *234 examples: - default: *679 + default: *677 '403': *29 '401': *25 - '400': *680 + '400': *678 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104713,7 +104022,7 @@ paths: application/json: schema: *234 examples: - default: *696 + default: *694 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104964,87 +104273,6 @@ paths: enabledForGitHubApps: false category: packages subcategory: packages - "/users/{username}/projects": - get: - summary: List user projects - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/list-for-user - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/projects-classic/projects#list-user-projects - parameters: - - *59 - - name: state - description: Indicates the state of the projects to return. - in: query - required: false - schema: - type: string - enum: - - open - - closed - - all - default: open - - *17 - - *19 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: *250 - examples: - default: - value: - - owner_url: https://api.github.com/users/octocat - url: https://api.github.com/projects/1002603 - html_url: https://github.com/users/octocat/projects/1 - columns_url: https://api.github.com/projects/1002603/columns - id: 1002603 - node_id: MDc6UHJvamVjdDEwMDI2MDM= - name: My Projects - body: A board to manage my personal projects. - number: 1 - state: open - creator: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - created_at: '2011-04-10T20:09:31Z' - updated_at: '2014-03-03T18:58:10Z' - headers: - Link: *54 - '422': *15 - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true "/users/{username}/projectsV2": get: summary: List projects for user @@ -105074,9 +104302,9 @@ paths: application/json: schema: type: array - items: *251 + items: *250 examples: - default: *252 + default: *251 headers: Link: *54 '304': *37 @@ -105098,16 +104326,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *253 + - *252 - *59 responses: '200': description: Response content: application/json: - schema: *251 + schema: *250 examples: - default: *252 + default: *251 headers: Link: *54 '304': *37 @@ -105129,7 +104357,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *253 + - *252 - *59 - *17 - *40 @@ -105141,9 +104369,9 @@ paths: application/json: schema: type: array - items: *254 + items: *253 examples: - default: *697 + default: *695 headers: Link: *54 '304': *37 @@ -105165,17 +104393,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *253 - - *698 + - *252 + - *696 - *59 responses: '200': description: Response content: application/json: - schema: *254 + schema: *253 examples: - default: *699 + default: *697 headers: Link: *54 '304': *37 @@ -105198,7 +104426,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *253 + - *252 - *59 - *40 - *41 @@ -105231,9 +104459,9 @@ paths: application/json: schema: type: array - items: *260 + items: *259 examples: - default: *261 + default: *260 headers: Link: *54 '304': *37 @@ -105255,7 +104483,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - *59 - - *253 + - *252 requestBody: required: true description: Details of the item to add to the project. @@ -105292,10 +104520,10 @@ paths: description: Response content: application/json: - schema: *700 + schema: *698 examples: - issue: *259 - pull_request: *259 + issue: *258 + pull_request: *258 '304': *37 '403': *29 '401': *25 @@ -105315,9 +104543,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *253 + - *252 - *59 - - *262 + - *261 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -105337,9 +104565,9 @@ paths: description: Response content: application/json: - schema: *260 + schema: *259 examples: - default: *261 + default: *260 headers: Link: *54 '304': *37 @@ -105360,9 +104588,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *253 + - *252 - *59 - - *262 + - *261 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -105432,13 +104660,13 @@ paths: description: Response content: application/json: - schema: *260 + schema: *259 examples: - text_field: *261 - number_field: *261 - date_field: *261 - single_select_field: *261 - iteration_field: *261 + text_field: *260 + number_field: *260 + date_field: *260 + single_select_field: *260 + iteration_field: *260 '401': *25 '403': *29 '404': *6 @@ -105458,9 +104686,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *253 + - *252 - *59 - - *262 + - *261 responses: '204': description: Response @@ -105710,9 +104938,9 @@ paths: description: Response content: application/json: - schema: *701 + schema: *699 examples: - default: *702 + default: *700 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105740,9 +104968,9 @@ paths: description: Response content: application/json: - schema: *703 + schema: *701 examples: - default: *704 + default: *702 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105766,7 +104994,7 @@ paths: - *105 - *107 - *106 - - *705 + - *703 - *108 responses: '200': @@ -105903,9 +105131,9 @@ paths: description: Response content: application/json: - schema: *706 + schema: *704 examples: - default: *707 + default: *705 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105927,7 +105155,7 @@ paths: parameters: - *59 - *105 - - *708 + - *706 - *106 responses: '200': @@ -106026,9 +105254,9 @@ paths: - *105 - *107 - *106 - - *709 + - *707 - *108 - - *710 + - *708 responses: '200': description: Response when getting a billing usage summary report @@ -106162,9 +105390,9 @@ paths: application/json: schema: type: array - items: *683 + items: *681 examples: - default: *684 + default: *682 headers: Link: *54 x-github: @@ -106194,9 +105422,9 @@ paths: application/json: schema: type: array - items: *685 + items: *683 examples: - default: *711 + default: *709 headers: Link: *54 x-github: @@ -106221,7 +105449,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *59 - - *712 + - *710 - *48 - *17 - *19 @@ -106233,11 +105461,11 @@ paths: schema: anyOf: - type: array - items: *713 + items: *711 - type: array items: *66 examples: - default-response: *688 + default-response: *686 headers: Link: *54 x-github: @@ -106396,7 +105624,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &714 + enterprise: &712 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -106454,7 +105682,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &715 + installation: &713 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -106473,7 +105701,7 @@ x-webhooks: required: - id - node_id - organization: &716 + organization: &714 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -106533,13 +105761,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &717 + repository: &715 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: &747 + properties: &745 id: description: Unique identifier of the repository example: 42 @@ -107222,7 +106450,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &748 + required: &746 - archive_url - assignees_url - blobs_url @@ -107373,10 +106601,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -107452,11 +106680,11 @@ x-webhooks: type: string enum: - created - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 - rule: &718 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 + rule: &716 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) @@ -107679,11 +106907,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 - rule: *718 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 + rule: *716 sender: *4 required: - action @@ -107866,11 +107094,11 @@ x-webhooks: - everyone required: - from - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 - rule: *718 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 + rule: *716 sender: *4 required: - action @@ -107954,7 +107182,7 @@ x-webhooks: type: string enum: - completed - check_run: &720 + check_run: &718 title: CheckRun description: A check performed on the code of a given code change type: object @@ -108007,7 +107235,7 @@ x-webhooks: type: string pull_requests: type: array - items: *405 + items: *402 repository: *142 status: example: completed @@ -108045,7 +107273,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *719 + deployment: *717 details_url: example: https://example.com type: string @@ -108095,7 +107323,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *405 + items: *402 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -108130,10 +107358,10 @@ x-webhooks: - output - app - pull_requests - installation: *715 - enterprise: *714 - organization: *716 - repository: *717 + installation: *713 + enterprise: *712 + organization: *714 + repository: *715 sender: *4 required: - check_run @@ -108526,11 +107754,11 @@ x-webhooks: type: string enum: - created - check_run: *720 - installation: *715 - enterprise: *714 - organization: *716 - repository: *717 + check_run: *718 + installation: *713 + enterprise: *712 + organization: *714 + repository: *715 sender: *4 required: - check_run @@ -108926,11 +108154,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *720 - installation: *715 - enterprise: *714 - organization: *716 - repository: *717 + check_run: *718 + installation: *713 + enterprise: *712 + organization: *714 + repository: *715 requested_action: description: The action requested by the user. type: object @@ -109335,11 +108563,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *720 - installation: *715 - enterprise: *714 - organization: *716 - repository: *717 + check_run: *718 + installation: *713 + enterprise: *712 + organization: *714 + repository: *715 sender: *4 required: - check_run @@ -110316,10 +109544,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -110989,10 +110217,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -111656,10 +110884,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -111825,7 +111053,7 @@ x-webhooks: required: - login - id - dismissed_comment: *421 + dismissed_comment: *418 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -111970,20 +111198,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &721 + commit_oid: &719 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: *714 - installation: *715 - organization: *716 - ref: &722 + enterprise: *712 + installation: *713 + organization: *714 + ref: &720 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: *717 + repository: *715 sender: *4 required: - action @@ -112148,7 +111376,7 @@ x-webhooks: required: - login - id - dismissed_comment: *421 + dismissed_comment: *418 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -112378,12 +111606,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *721 - enterprise: *714 - installation: *715 - organization: *716 - ref: *722 - repository: *717 + commit_oid: *719 + enterprise: *712 + installation: *713 + organization: *714 + ref: *720 + repository: *715 sender: *4 required: - action @@ -112478,7 +111706,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *421 + dismissed_comment: *418 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -112649,12 +111877,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *721 - enterprise: *714 - installation: *715 - organization: *716 - ref: *722 - repository: *717 + commit_oid: *719 + enterprise: *712 + installation: *713 + organization: *714 + ref: *720 + repository: *715 sender: *4 required: - action @@ -112820,7 +112048,7 @@ x-webhooks: required: - login - id - dismissed_comment: *421 + dismissed_comment: *418 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -112986,12 +112214,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *721 - enterprise: *714 - installation: *715 - organization: *716 - ref: *722 - repository: *717 + commit_oid: *719 + enterprise: *712 + installation: *713 + organization: *714 + ref: *720 + repository: *715 sender: *4 required: - action @@ -113091,7 +112319,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *421 + dismissed_comment: *418 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -113259,16 +112487,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *714 - installation: *715 - organization: *716 + enterprise: *712 + installation: *713 + organization: *714 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: *717 + repository: *715 sender: *4 required: - action @@ -113365,7 +112593,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *421 + dismissed_comment: *418 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -113505,12 +112733,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *721 - enterprise: *714 - installation: *715 - organization: *716 - ref: *722 - repository: *717 + commit_oid: *719 + enterprise: *712 + installation: *713 + organization: *714 + ref: *720 + repository: *715 sender: *4 required: - action @@ -113767,10 +112995,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -113850,18 +113078,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *714 - installation: *715 + enterprise: *712 + installation: *713 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *716 - pusher_type: &723 + organization: *714 + pusher_type: &721 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &724 + ref: &722 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -113871,7 +113099,7 @@ x-webhooks: enum: - tag - branch - repository: *717 + repository: *715 sender: *4 required: - ref @@ -113953,10 +113181,10 @@ x-webhooks: type: string enum: - created - definition: *263 - enterprise: *714 - installation: *715 - organization: *716 + definition: *262 + enterprise: *712 + installation: *713 + organization: *714 sender: *4 required: - action @@ -114041,9 +113269,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *714 - installation: *715 - organization: *716 + enterprise: *712 + installation: *713 + organization: *714 sender: *4 required: - action @@ -114120,10 +113348,10 @@ x-webhooks: type: string enum: - promote_to_enterprise - definition: *263 - enterprise: *714 - installation: *715 - organization: *716 + definition: *262 + enterprise: *712 + installation: *713 + organization: *714 sender: *4 required: - action @@ -114200,10 +113428,10 @@ x-webhooks: type: string enum: - updated - definition: *263 - enterprise: *714 - installation: *715 - organization: *716 + definition: *262 + enterprise: *712 + installation: *713 + organization: *714 sender: *4 required: - action @@ -114280,10 +113508,10 @@ x-webhooks: type: string enum: - updated - enterprise: *714 - installation: *715 - repository: *717 - organization: *716 + enterprise: *712 + installation: *713 + repository: *715 + organization: *714 sender: *4 new_property_values: type: array @@ -114368,18 +113596,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *714 - installation: *715 - organization: *716 - pusher_type: *723 - ref: *724 + enterprise: *712 + installation: *713 + organization: *714 + pusher_type: *721 + ref: *722 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *717 + repository: *715 sender: *4 required: - ref @@ -114463,11 +113691,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *477 - installation: *715 - organization: *716 - enterprise: *714 - repository: *717 + alert: *474 + installation: *713 + organization: *714 + enterprise: *712 + repository: *715 sender: *4 required: - action @@ -114551,11 +113779,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *477 - installation: *715 - organization: *716 - enterprise: *714 - repository: *717 + alert: *474 + installation: *713 + organization: *714 + enterprise: *712 + repository: *715 sender: *4 required: - action @@ -114639,11 +113867,11 @@ x-webhooks: type: string enum: - created - alert: *477 - installation: *715 - organization: *716 - enterprise: *714 - repository: *717 + alert: *474 + installation: *713 + organization: *714 + enterprise: *712 + repository: *715 sender: *4 required: - action @@ -114725,11 +113953,11 @@ x-webhooks: type: string enum: - dismissed - alert: *477 - installation: *715 - organization: *716 - enterprise: *714 - repository: *717 + alert: *474 + installation: *713 + organization: *714 + enterprise: *712 + repository: *715 sender: *4 required: - action @@ -114811,11 +114039,11 @@ x-webhooks: type: string enum: - fixed - alert: *477 - installation: *715 - organization: *716 - enterprise: *714 - repository: *717 + alert: *474 + installation: *713 + organization: *714 + enterprise: *712 + repository: *715 sender: *4 required: - action @@ -114898,11 +114126,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *477 - installation: *715 - organization: *716 - enterprise: *714 - repository: *717 + alert: *474 + installation: *713 + organization: *714 + enterprise: *712 + repository: *715 sender: *4 required: - action @@ -114984,11 +114212,11 @@ x-webhooks: type: string enum: - reopened - alert: *477 - installation: *715 - organization: *716 - enterprise: *714 - repository: *717 + alert: *474 + installation: *713 + organization: *714 + enterprise: *712 + repository: *715 sender: *4 required: - action @@ -115065,9 +114293,9 @@ x-webhooks: type: string enum: - created - enterprise: *714 - installation: *715 - key: &725 + enterprise: *712 + installation: *713 + key: &723 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -115103,8 +114331,8 @@ x-webhooks: - verified - created_at - read_only - organization: *716 - repository: *717 + organization: *714 + repository: *715 sender: *4 required: - action @@ -115181,11 +114409,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *714 - installation: *715 - key: *725 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + key: *723 + organization: *714 + repository: *715 sender: *4 required: - action @@ -115746,12 +114974,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 - workflow: &729 + workflow: &727 title: Workflow type: object nullable: true @@ -116477,13 +115705,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *483 + deployment: *480 pull_requests: type: array - items: *569 - repository: *717 - organization: *716 - installation: *715 + items: *567 + repository: *715 + organization: *714 + installation: *713 sender: *4 responses: '200': @@ -116554,7 +115782,7 @@ x-webhooks: type: string enum: - approved - approver: &726 + approver: &724 type: object properties: avatar_url: @@ -116597,11 +115825,11 @@ x-webhooks: type: string comment: type: string - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 - reviewers: &727 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 + reviewers: &725 type: array items: type: object @@ -116680,7 +115908,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &728 + workflow_job_run: &726 type: object properties: conclusion: @@ -117411,18 +116639,18 @@ x-webhooks: type: string enum: - rejected - approver: *726 + approver: *724 comment: type: string - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 - reviewers: *727 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 + reviewers: *725 sender: *4 since: type: string - workflow_job_run: *728 + workflow_job_run: *726 workflow_job_runs: type: array items: @@ -118126,13 +117354,13 @@ x-webhooks: type: string enum: - requested - enterprise: *714 + enterprise: *712 environment: type: string - installation: *715 - organization: *716 - repository: *717 - requestor: &734 + installation: *713 + organization: *714 + repository: *715 + requestor: &732 title: User type: object nullable: true @@ -120031,12 +119259,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 - workflow: *729 + workflow: *727 workflow_run: title: Deployment Workflow Run type: object @@ -120716,7 +119944,7 @@ x-webhooks: type: string enum: - answered - answer: &732 + answer: &730 type: object properties: author_association: @@ -120873,7 +120101,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &730 + discussion: &728 title: Discussion description: A Discussion in a repository. type: object @@ -121159,7 +120387,7 @@ x-webhooks: - id labels: type: array - items: *531 + items: *529 required: - repository_url - category @@ -121181,10 +120409,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -121311,11 +120539,11 @@ x-webhooks: - from required: - category - discussion: *730 - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + discussion: *728 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -121398,11 +120626,11 @@ x-webhooks: type: string enum: - closed - discussion: *730 - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + discussion: *728 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -121484,7 +120712,7 @@ x-webhooks: type: string enum: - created - comment: &731 + comment: &729 type: object properties: author_association: @@ -121641,11 +120869,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *730 - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + discussion: *728 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -121728,12 +120956,12 @@ x-webhooks: type: string enum: - deleted - comment: *731 - discussion: *730 - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + comment: *729 + discussion: *728 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -121828,12 +121056,12 @@ x-webhooks: - from required: - body - comment: *731 - discussion: *730 - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + comment: *729 + discussion: *728 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -121917,11 +121145,11 @@ x-webhooks: type: string enum: - created - discussion: *730 - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + discussion: *728 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -122003,11 +121231,11 @@ x-webhooks: type: string enum: - deleted - discussion: *730 - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + discussion: *728 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -122107,11 +121335,11 @@ x-webhooks: type: string required: - from - discussion: *730 - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + discussion: *728 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -122193,10 +121421,10 @@ x-webhooks: type: string enum: - labeled - discussion: *730 - enterprise: *714 - installation: *715 - label: &733 + discussion: *728 + enterprise: *712 + installation: *713 + label: &731 title: Label type: object properties: @@ -122228,8 +121456,8 @@ x-webhooks: - color - default - description - organization: *716 - repository: *717 + organization: *714 + repository: *715 sender: *4 required: - action @@ -122312,11 +121540,11 @@ x-webhooks: type: string enum: - locked - discussion: *730 - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + discussion: *728 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -122398,11 +121626,11 @@ x-webhooks: type: string enum: - pinned - discussion: *730 - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + discussion: *728 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -122484,11 +121712,11 @@ x-webhooks: type: string enum: - reopened - discussion: *730 - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + discussion: *728 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -122573,16 +121801,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *730 - new_repository: *717 + new_discussion: *728 + new_repository: *715 required: - new_discussion - new_repository - discussion: *730 - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + discussion: *728 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -122665,10 +121893,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *730 - old_answer: *732 - organization: *716 - repository: *717 + discussion: *728 + old_answer: *730 + organization: *714 + repository: *715 sender: *4 required: - action @@ -122750,12 +121978,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *730 - enterprise: *714 - installation: *715 - label: *733 - organization: *716 - repository: *717 + discussion: *728 + enterprise: *712 + installation: *713 + label: *731 + organization: *714 + repository: *715 sender: *4 required: - action @@ -122838,11 +122066,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *730 - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + discussion: *728 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -122924,11 +122152,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *730 - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + discussion: *728 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -123001,7 +122229,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *714 + enterprise: *712 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -123661,9 +122889,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *715 - organization: *716 - repository: *717 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - forkee @@ -123809,9 +123037,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *714 - installation: *715 - organization: *716 + enterprise: *712 + installation: *713 + organization: *714 pages: description: The pages that were updated. type: array @@ -123848,7 +123076,7 @@ x-webhooks: - action - sha - html_url - repository: *717 + repository: *715 sender: *4 required: - pages @@ -123924,10 +123152,10 @@ x-webhooks: type: string enum: - created - enterprise: *714 + enterprise: *712 installation: *22 - organization: *716 - repositories: &735 + organization: *714 + repositories: &733 description: An array of repository objects that the installation can access. type: array @@ -123953,8 +123181,8 @@ x-webhooks: - name - full_name - private - repository: *717 - requester: *734 + repository: *715 + requester: *732 sender: *4 required: - action @@ -124029,11 +123257,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *714 + enterprise: *712 installation: *22 - organization: *716 - repositories: *735 - repository: *717 + organization: *714 + repositories: *733 + repository: *715 requester: nullable: true sender: *4 @@ -124109,11 +123337,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *714 + enterprise: *712 installation: *22 - organization: *716 - repositories: *735 - repository: *717 + organization: *714 + repositories: *733 + repository: *715 requester: nullable: true sender: *4 @@ -124189,10 +123417,10 @@ x-webhooks: type: string enum: - added - enterprise: *714 + enterprise: *712 installation: *22 - organization: *716 - repositories_added: &736 + organization: *714 + repositories_added: &734 description: An array of repository objects, which were added to the installation. type: array @@ -124238,15 +123466,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *717 - repository_selection: &737 + repository: *715 + repository_selection: &735 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *734 + requester: *732 sender: *4 required: - action @@ -124325,10 +123553,10 @@ x-webhooks: type: string enum: - removed - enterprise: *714 + enterprise: *712 installation: *22 - organization: *716 - repositories_added: *736 + organization: *714 + repositories_added: *734 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -124355,9 +123583,9 @@ x-webhooks: - name - full_name - private - repository: *717 - repository_selection: *737 - requester: *734 + repository: *715 + repository_selection: *735 + requester: *732 sender: *4 required: - action @@ -124436,11 +123664,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *714 + enterprise: *712 installation: *22 - organization: *716 - repositories: *735 - repository: *717 + organization: *714 + repositories: *733 + repository: *715 requester: nullable: true sender: *4 @@ -124618,10 +123846,10 @@ x-webhooks: type: string required: - from - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 target_type: type: string @@ -124700,11 +123928,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *714 + enterprise: *712 installation: *22 - organization: *716 - repositories: *735 - repository: *717 + organization: *714 + repositories: *733 + repository: *715 requester: nullable: true sender: *4 @@ -124956,8 +124184,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *714 - installation: *715 + enterprise: *712 + installation: *713 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -125751,8 +124979,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *647 - issue_dependencies_summary: *648 + sub_issues_summary: *645 + issue_dependencies_summary: *646 state: description: State of the issue; either 'open' or 'closed' type: string @@ -126101,8 +125329,8 @@ x-webhooks: - state - locked - assignee - organization: *716 - repository: *717 + organization: *714 + repository: *715 sender: *4 required: - action @@ -126182,7 +125410,7 @@ x-webhooks: type: string enum: - deleted - comment: &738 + comment: &736 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -126347,8 +125575,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *714 - installation: *715 + enterprise: *712 + installation: *713 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -127138,8 +126366,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *647 - issue_dependencies_summary: *648 + sub_issues_summary: *645 + issue_dependencies_summary: *646 state: description: State of the issue; either 'open' or 'closed' type: string @@ -127490,8 +126718,8 @@ x-webhooks: - state - locked - assignee - organization: *716 - repository: *717 + organization: *714 + repository: *715 sender: *4 required: - action @@ -127571,7 +126799,7 @@ x-webhooks: type: string enum: - edited - changes: &767 + changes: &765 description: The changes to the comment. type: object properties: @@ -127583,9 +126811,9 @@ x-webhooks: type: string required: - from - comment: *738 - enterprise: *714 - installation: *715 + comment: *736 + enterprise: *712 + installation: *713 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -128378,8 +127606,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *647 - issue_dependencies_summary: *648 + sub_issues_summary: *645 + issue_dependencies_summary: *646 state: description: State of the issue; either 'open' or 'closed' type: string @@ -128728,8 +127956,8 @@ x-webhooks: - state - locked - assignee - organization: *716 - repository: *717 + organization: *714 + repository: *715 sender: *4 required: - action @@ -128819,9 +128047,9 @@ x-webhooks: type: number blocking_issue: *82 blocking_issue_repo: *66 - installation: *715 - organization: *716 - repository: *717 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -128915,9 +128143,9 @@ x-webhooks: type: number blocking_issue: *82 blocking_issue_repo: *66 - installation: *715 - organization: *716 - repository: *717 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -129010,9 +128238,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *82 - installation: *715 - organization: *716 - repository: *717 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -129106,9 +128334,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *82 - installation: *715 - organization: *716 - repository: *717 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -129193,10 +128421,10 @@ x-webhooks: type: string enum: - assigned - assignee: *734 - enterprise: *714 - installation: *715 - issue: &741 + assignee: *732 + enterprise: *712 + installation: *713 + issue: &739 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -129985,11 +129213,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *647 - issue_dependencies_summary: *648 + sub_issues_summary: *645 + issue_dependencies_summary: *646 issue_field_values: type: array - items: *649 + items: *647 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130106,8 +129334,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *716 - repository: *717 + organization: *714 + repository: *715 sender: *4 required: - action @@ -130187,8 +129415,8 @@ x-webhooks: type: string enum: - closed - enterprise: *714 - installation: *715 + enterprise: *712 + installation: *713 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -130982,11 +130210,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *647 - issue_dependencies_summary: *648 + sub_issues_summary: *645 + issue_dependencies_summary: *646 issue_field_values: type: array - items: *649 + items: *647 state: description: State of the issue; either 'open' or 'closed' type: string @@ -131238,8 +130466,8 @@ x-webhooks: required: - state - closed_at - organization: *716 - repository: *717 + organization: *714 + repository: *715 sender: *4 required: - action @@ -131318,8 +130546,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *714 - installation: *715 + enterprise: *712 + installation: *713 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -132104,11 +131332,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *647 - issue_dependencies_summary: *648 + sub_issues_summary: *645 + issue_dependencies_summary: *646 issue_field_values: type: array - items: *649 + items: *647 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132224,8 +131452,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *716 - repository: *717 + organization: *714 + repository: *715 sender: *4 required: - action @@ -132304,8 +131532,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *714 - installation: *715 + enterprise: *712 + installation: *713 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -133112,11 +132340,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *647 - issue_dependencies_summary: *648 + sub_issues_summary: *645 + issue_dependencies_summary: *646 issue_field_values: type: array - items: *649 + items: *647 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133211,7 +132439,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &739 + milestone: &737 title: Milestone description: A collection of related issues and pull requests. type: object @@ -133349,8 +132577,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *716 - repository: *717 + organization: *714 + repository: *715 sender: *4 required: - action @@ -133449,8 +132677,8 @@ x-webhooks: type: string required: - from - enterprise: *714 - installation: *715 + enterprise: *712 + installation: *713 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -134239,11 +133467,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *647 - issue_dependencies_summary: *648 + sub_issues_summary: *645 + issue_dependencies_summary: *646 issue_field_values: type: array - items: *649 + items: *647 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134360,9 +133588,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *733 - organization: *716 - repository: *717 + label: *731 + organization: *714 + repository: *715 sender: *4 required: - action @@ -134442,8 +133670,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *714 - installation: *715 + enterprise: *712 + installation: *713 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135231,11 +134459,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *647 - issue_dependencies_summary: *648 + sub_issues_summary: *645 + issue_dependencies_summary: *646 issue_field_values: type: array - items: *649 + items: *647 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135352,9 +134580,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *733 - organization: *716 - repository: *717 + label: *731 + organization: *714 + repository: *715 sender: *4 required: - action @@ -135434,8 +134662,8 @@ x-webhooks: type: string enum: - locked - enterprise: *714 - installation: *715 + enterprise: *712 + installation: *713 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -136247,11 +135475,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *647 - issue_dependencies_summary: *648 + sub_issues_summary: *645 + issue_dependencies_summary: *646 issue_field_values: type: array - items: *649 + items: *647 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136345,8 +135573,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *716 - repository: *717 + organization: *714 + repository: *715 sender: *4 required: - action @@ -136425,8 +135653,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *714 - installation: *715 + enterprise: *712 + installation: *713 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -137232,11 +136460,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *647 - issue_dependencies_summary: *648 + sub_issues_summary: *645 + issue_dependencies_summary: *646 issue_field_values: type: array - items: *649 + items: *647 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137330,9 +136558,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *739 - organization: *716 - repository: *717 + milestone: *737 + organization: *714 + repository: *715 sender: *4 required: - action @@ -138200,11 +137428,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *647 - issue_dependencies_summary: *648 + sub_issues_summary: *645 + issue_dependencies_summary: *646 issue_field_values: type: array - items: *649 + items: *647 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138766,8 +137994,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *714 - installation: *715 + enterprise: *712 + installation: *713 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -139556,11 +138784,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *647 - issue_dependencies_summary: *648 + sub_issues_summary: *645 + issue_dependencies_summary: *646 issue_field_values: type: array - items: *649 + items: *647 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139676,8 +138904,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *716 - repository: *717 + organization: *714 + repository: *715 sender: *4 required: - action @@ -139757,9 +138985,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *714 - installation: *715 - issue: &740 + enterprise: *712 + installation: *713 + issue: &738 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -140542,11 +139770,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *647 - issue_dependencies_summary: *648 + sub_issues_summary: *645 + issue_dependencies_summary: *646 issue_field_values: type: array - items: *649 + items: *647 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140662,8 +139890,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *716 - repository: *717 + organization: *714 + repository: *715 sender: *4 required: - action @@ -140742,8 +139970,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *714 - installation: *715 + enterprise: *712 + installation: *713 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -141553,11 +140781,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *647 - issue_dependencies_summary: *648 + sub_issues_summary: *645 + issue_dependencies_summary: *646 issue_field_values: type: array - items: *649 + items: *647 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141652,8 +140880,8 @@ x-webhooks: user_view_type: type: string type: *216 - organization: *716 - repository: *717 + organization: *714 + repository: *715 sender: *4 required: - action @@ -142519,11 +141747,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *647 - issue_dependencies_summary: *648 + sub_issues_summary: *645 + issue_dependencies_summary: *646 issue_field_values: type: array - items: *649 + items: *647 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143107,11 +142335,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *714 - installation: *715 - issue: *740 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + issue: *738 + organization: *714 + repository: *715 sender: *4 required: - action @@ -143191,12 +142419,12 @@ x-webhooks: type: string enum: - typed - enterprise: *714 - installation: *715 - issue: *741 + enterprise: *712 + installation: *713 + issue: *739 type: *216 - organization: *716 - repository: *717 + organization: *714 + repository: *715 sender: *4 required: - action @@ -143277,7 +142505,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &770 + assignee: &768 title: User type: object nullable: true @@ -143347,11 +142575,11 @@ x-webhooks: required: - login - id - enterprise: *714 - installation: *715 - issue: *741 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + issue: *739 + organization: *714 + repository: *715 sender: *4 required: - action @@ -143430,12 +142658,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *714 - installation: *715 - issue: *741 - label: *733 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + issue: *739 + label: *731 + organization: *714 + repository: *715 sender: *4 required: - action @@ -143515,8 +142743,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *714 - installation: *715 + enterprise: *712 + installation: *713 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -144326,11 +143554,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *647 - issue_dependencies_summary: *648 + sub_issues_summary: *645 + issue_dependencies_summary: *646 issue_field_values: type: array - items: *649 + items: *647 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144424,8 +143652,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *716 - repository: *717 + organization: *714 + repository: *715 sender: *4 required: - action @@ -144505,11 +143733,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *714 - installation: *715 - issue: *740 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + issue: *738 + organization: *714 + repository: *715 sender: *4 required: - action @@ -144588,12 +143816,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *714 - installation: *715 - issue: *741 + enterprise: *712 + installation: *713 + issue: *739 type: *216 - organization: *716 - repository: *717 + organization: *714 + repository: *715 sender: *4 required: - action @@ -144673,11 +143901,11 @@ x-webhooks: type: string enum: - created - enterprise: *714 - installation: *715 - label: *733 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + label: *731 + organization: *714 + repository: *715 sender: *4 required: - action @@ -144755,11 +143983,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *714 - installation: *715 - label: *733 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + label: *731 + organization: *714 + repository: *715 sender: *4 required: - action @@ -144869,11 +144097,11 @@ x-webhooks: type: string required: - from - enterprise: *714 - installation: *715 - label: *733 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + label: *731 + organization: *714 + repository: *715 sender: *4 required: - action @@ -144955,9 +144183,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *714 - installation: *715 - marketplace_purchase: &742 + enterprise: *712 + installation: *713 + marketplace_purchase: &740 title: Marketplace Purchase type: object required: @@ -145040,8 +144268,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *716 - previous_marketplace_purchase: &743 + organization: *714 + previous_marketplace_purchase: &741 title: Marketplace Purchase type: object properties: @@ -145121,7 +144349,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *717 + repository: *715 sender: *4 required: - action @@ -145201,10 +144429,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *714 - installation: *715 - marketplace_purchase: *742 - organization: *716 + enterprise: *712 + installation: *713 + marketplace_purchase: *740 + organization: *714 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -145287,7 +144515,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *717 + repository: *715 sender: *4 required: - action @@ -145369,10 +144597,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *714 - installation: *715 - marketplace_purchase: *742 - organization: *716 + enterprise: *712 + installation: *713 + marketplace_purchase: *740 + organization: *714 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -145454,7 +144682,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *717 + repository: *715 sender: *4 required: - action @@ -145535,8 +144763,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *714 - installation: *715 + enterprise: *712 + installation: *713 marketplace_purchase: title: Marketplace Purchase type: object @@ -145618,9 +144846,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *716 - previous_marketplace_purchase: *743 - repository: *717 + organization: *714 + previous_marketplace_purchase: *741 + repository: *715 sender: *4 required: - action @@ -145700,12 +144928,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *714 - installation: *715 - marketplace_purchase: *742 - organization: *716 - previous_marketplace_purchase: *743 - repository: *717 + enterprise: *712 + installation: *713 + marketplace_purchase: *740 + organization: *714 + previous_marketplace_purchase: *741 + repository: *715 sender: *4 required: - action @@ -145807,11 +145035,11 @@ x-webhooks: type: string required: - to - enterprise: *714 - installation: *715 - member: *734 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + member: *732 + organization: *714 + repository: *715 sender: *4 required: - action @@ -145911,11 +145139,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *714 - installation: *715 - member: *734 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + member: *732 + organization: *714 + repository: *715 sender: *4 required: - action @@ -145994,11 +145222,11 @@ x-webhooks: type: string enum: - removed - enterprise: *714 - installation: *715 - member: *734 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + member: *732 + organization: *714 + repository: *715 sender: *4 required: - action @@ -146076,11 +145304,11 @@ x-webhooks: type: string enum: - added - enterprise: *714 - installation: *715 - member: *734 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + member: *732 + organization: *714 + repository: *715 scope: description: The scope of the membership. Currently, can only be `team`. @@ -146156,7 +145384,7 @@ x-webhooks: required: - login - id - team: &744 + team: &742 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -146379,11 +145607,11 @@ x-webhooks: type: string enum: - removed - enterprise: *714 - installation: *715 - member: *734 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + member: *732 + organization: *714 + repository: *715 scope: description: The scope of the membership. Currently, can only be `team`. @@ -146460,7 +145688,7 @@ x-webhooks: required: - login - id - team: *744 + team: *742 required: - action - scope @@ -146542,8 +145770,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *715 - merge_group: &746 + installation: *713 + merge_group: &744 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -146562,15 +145790,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *745 + head_commit: *743 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *716 - repository: *717 + organization: *714 + repository: *715 sender: *4 required: - action @@ -146656,10 +145884,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *715 - merge_group: *746 - organization: *716 - repository: *717 + installation: *713 + merge_group: *744 + organization: *714 + repository: *715 sender: *4 required: - action @@ -146732,7 +145960,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *714 + enterprise: *712 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -146841,16 +146069,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *715 - organization: *716 + installation: *713 + organization: *714 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: *747 - required: *748 + properties: *745 + required: *746 nullable: true sender: *4 required: @@ -146931,11 +146159,11 @@ x-webhooks: type: string enum: - closed - enterprise: *714 - installation: *715 - milestone: *739 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + milestone: *737 + organization: *714 + repository: *715 sender: *4 required: - action @@ -147014,9 +146242,9 @@ x-webhooks: type: string enum: - created - enterprise: *714 - installation: *715 - milestone: &749 + enterprise: *712 + installation: *713 + milestone: &747 title: Milestone description: A collection of related issues and pull requests. type: object @@ -147153,8 +146381,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *716 - repository: *717 + organization: *714 + repository: *715 sender: *4 required: - action @@ -147233,11 +146461,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *714 - installation: *715 - milestone: *739 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + milestone: *737 + organization: *714 + repository: *715 sender: *4 required: - action @@ -147347,11 +146575,11 @@ x-webhooks: type: string required: - from - enterprise: *714 - installation: *715 - milestone: *739 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + milestone: *737 + organization: *714 + repository: *715 sender: *4 required: - action @@ -147431,11 +146659,11 @@ x-webhooks: type: string enum: - opened - enterprise: *714 - installation: *715 - milestone: *749 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + milestone: *747 + organization: *714 + repository: *715 sender: *4 required: - action @@ -147514,11 +146742,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *734 - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + blocked_user: *732 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -147597,11 +146825,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *734 - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + blocked_user: *732 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -147680,9 +146908,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *714 - installation: *715 - membership: &750 + enterprise: *712 + installation: *713 + membership: &748 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -147789,8 +147017,8 @@ x-webhooks: - role - organization_url - user - organization: *716 - repository: *717 + organization: *714 + repository: *715 sender: *4 required: - action @@ -147868,11 +147096,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *714 - installation: *715 - membership: *750 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + membership: *748 + organization: *714 + repository: *715 sender: *4 required: - action @@ -147951,8 +147179,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *714 - installation: *715 + enterprise: *712 + installation: *713 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -148068,10 +147296,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *716 - repository: *717 + organization: *714 + repository: *715 sender: *4 - user: *734 + user: *732 required: - action - invitation @@ -148149,11 +147377,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *714 - installation: *715 - membership: *750 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + membership: *748 + organization: *714 + repository: *715 sender: *4 required: - action @@ -148240,11 +147468,11 @@ x-webhooks: properties: from: type: string - enterprise: *714 - installation: *715 - membership: *750 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + membership: *748 + organization: *714 + repository: *715 sender: *4 required: - action @@ -148320,9 +147548,9 @@ x-webhooks: type: string enum: - published - enterprise: *714 - installation: *715 - organization: *716 + enterprise: *712 + installation: *713 + organization: *714 package: description: Information about the package. type: object @@ -148821,7 +148049,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &751 + items: &749 title: Ruby Gems metadata type: object properties: @@ -148916,7 +148144,7 @@ x-webhooks: - owner - package_version - registry - repository: *717 + repository: *715 sender: *4 required: - action @@ -148992,9 +148220,9 @@ x-webhooks: type: string enum: - updated - enterprise: *714 - installation: *715 - organization: *716 + enterprise: *712 + installation: *713 + organization: *714 package: description: Information about the package. type: object @@ -149347,7 +148575,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *751 + items: *749 source_url: type: string format: uri @@ -149417,7 +148645,7 @@ x-webhooks: - owner - package_version - registry - repository: *717 + repository: *715 sender: *4 required: - action @@ -149594,12 +148822,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *714 + enterprise: *712 id: type: integer - installation: *715 - organization: *716 - repository: *717 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - id @@ -149676,7 +148904,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &752 + personal_access_token_request: &750 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -149822,10 +149050,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *714 - organization: *716 + enterprise: *712 + organization: *714 sender: *4 - installation: *715 + installation: *713 required: - action - personal_access_token_request @@ -149902,11 +149130,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *752 - enterprise: *714 - organization: *716 + personal_access_token_request: *750 + enterprise: *712 + organization: *714 sender: *4 - installation: *715 + installation: *713 required: - action - personal_access_token_request @@ -149982,11 +149210,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *752 - enterprise: *714 - organization: *716 + personal_access_token_request: *750 + enterprise: *712 + organization: *714 sender: *4 - installation: *715 + installation: *713 required: - action - personal_access_token_request @@ -150061,11 +149289,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *752 - organization: *716 - enterprise: *714 + personal_access_token_request: *750 + organization: *714 + enterprise: *712 sender: *4 - installation: *715 + installation: *713 required: - action - personal_access_token_request @@ -150170,7 +149398,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *753 + last_response: *751 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -150202,8 +149430,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *716 - repository: *717 + organization: *714 + repository: *715 sender: *4 zen: description: Random string of GitHub zen. @@ -150448,10 +149676,10 @@ x-webhooks: - from required: - note - enterprise: *714 - installation: *715 - organization: *716 - project_card: &754 + enterprise: *712 + installation: *713 + organization: *714 + project_card: &752 title: Project Card type: object properties: @@ -150570,7 +149798,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *717 + repository: *715 sender: *4 required: - action @@ -150651,11 +149879,11 @@ x-webhooks: type: string enum: - created - enterprise: *714 - installation: *715 - organization: *716 - project_card: *754 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + project_card: *752 + repository: *715 sender: *4 required: - action @@ -150735,9 +149963,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *714 - installation: *715 - organization: *716 + enterprise: *712 + installation: *713 + organization: *714 project_card: title: Project Card type: object @@ -150865,8 +150093,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: *747 - required: *748 + properties: *745 + required: *746 nullable: true sender: *4 required: @@ -150960,11 +150188,11 @@ x-webhooks: - from required: - note - enterprise: *714 - installation: *715 - organization: *716 - project_card: *754 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + project_card: *752 + repository: *715 sender: *4 required: - action @@ -151058,9 +150286,9 @@ x-webhooks: - from required: - column_id - enterprise: *714 - installation: *715 - organization: *716 + enterprise: *712 + installation: *713 + organization: *714 project_card: allOf: - title: Project Card @@ -151250,7 +150478,7 @@ x-webhooks: type: string required: - after_id - repository: *717 + repository: *715 sender: *4 required: - action @@ -151330,10 +150558,10 @@ x-webhooks: type: string enum: - closed - enterprise: *714 - installation: *715 - organization: *716 - project: &756 + enterprise: *712 + installation: *713 + organization: *714 + project: &754 title: Project type: object properties: @@ -151457,7 +150685,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *717 + repository: *715 sender: *4 required: - action @@ -151537,10 +150765,10 @@ x-webhooks: type: string enum: - created - enterprise: *714 - installation: *715 - organization: *716 - project_column: &755 + enterprise: *712 + installation: *713 + organization: *714 + project_column: &753 title: Project Column type: object properties: @@ -151579,7 +150807,7 @@ x-webhooks: - name - created_at - updated_at - repository: *717 + repository: *715 sender: *4 required: - action @@ -151658,18 +150886,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *714 - installation: *715 - organization: *716 - project_column: *755 + enterprise: *712 + installation: *713 + organization: *714 + project_column: *753 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: *747 - required: *748 + properties: *745 + required: *746 nullable: true sender: *4 required: @@ -151759,11 +150987,11 @@ x-webhooks: type: string required: - from - enterprise: *714 - installation: *715 - organization: *716 - project_column: *755 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + project_column: *753 + repository: *715 sender: *4 required: - action @@ -151843,11 +151071,11 @@ x-webhooks: type: string enum: - moved - enterprise: *714 - installation: *715 - organization: *716 - project_column: *755 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + project_column: *753 + repository: *715 sender: *4 required: - action @@ -151927,11 +151155,11 @@ x-webhooks: type: string enum: - created - enterprise: *714 - installation: *715 - organization: *716 - project: *756 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + project: *754 + repository: *715 sender: *4 required: - action @@ -152011,18 +151239,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *714 - installation: *715 - organization: *716 - project: *756 + enterprise: *712 + installation: *713 + organization: *714 + project: *754 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: *747 - required: *748 + properties: *745 + required: *746 nullable: true sender: *4 required: @@ -152124,11 +151352,11 @@ x-webhooks: type: string required: - from - enterprise: *714 - installation: *715 - organization: *716 - project: *756 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + project: *754 + repository: *715 sender: *4 required: - action @@ -152207,11 +151435,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *714 - installation: *715 - organization: *716 - project: *756 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + project: *754 + repository: *715 sender: *4 required: - action @@ -152292,9 +151520,9 @@ x-webhooks: type: string enum: - closed - installation: *715 - organization: *716 - projects_v2: *251 + installation: *713 + organization: *714 + projects_v2: *250 sender: *4 required: - action @@ -152375,9 +151603,9 @@ x-webhooks: type: string enum: - created - installation: *715 - organization: *716 - projects_v2: *251 + installation: *713 + organization: *714 + projects_v2: *250 sender: *4 required: - action @@ -152458,9 +151686,9 @@ x-webhooks: type: string enum: - deleted - installation: *715 - organization: *716 - projects_v2: *251 + installation: *713 + organization: *714 + projects_v2: *250 sender: *4 required: - action @@ -152577,9 +151805,9 @@ x-webhooks: type: string to: type: string - installation: *715 - organization: *716 - projects_v2: *251 + installation: *713 + organization: *714 + projects_v2: *250 sender: *4 required: - action @@ -152662,7 +151890,7 @@ x-webhooks: type: string enum: - archived - changes: &760 + changes: &758 type: object properties: archived_at: @@ -152676,9 +151904,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *715 - organization: *716 - projects_v2_item: &757 + installation: *713 + organization: *714 + projects_v2_item: &755 title: Projects v2 Item description: An item belonging to a project type: object @@ -152696,7 +151924,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *258 + content_type: *257 creator: *4 created_at: type: string @@ -152813,9 +152041,9 @@ x-webhooks: nullable: true to: type: string - installation: *715 - organization: *716 - projects_v2_item: *757 + installation: *713 + organization: *714 + projects_v2_item: *755 sender: *4 required: - action @@ -152897,9 +152125,9 @@ x-webhooks: type: string enum: - created - installation: *715 - organization: *716 - projects_v2_item: *757 + installation: *713 + organization: *714 + projects_v2_item: *755 sender: *4 required: - action @@ -152980,9 +152208,9 @@ x-webhooks: type: string enum: - deleted - installation: *715 - organization: *716 - projects_v2_item: *757 + installation: *713 + organization: *714 + projects_v2_item: *755 sender: *4 required: - action @@ -153088,7 +152316,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &758 + - &756 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -153110,7 +152338,7 @@ x-webhooks: required: - id - name - - &759 + - &757 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -153144,8 +152372,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *758 - - *759 + - *756 + - *757 required: - field_value - type: object @@ -153161,9 +152389,9 @@ x-webhooks: nullable: true required: - body - installation: *715 - organization: *716 - projects_v2_item: *757 + installation: *713 + organization: *714 + projects_v2_item: *755 sender: *4 required: - action @@ -153258,9 +152486,9 @@ x-webhooks: to: type: string nullable: true - installation: *715 - organization: *716 - projects_v2_item: *757 + installation: *713 + organization: *714 + projects_v2_item: *755 sender: *4 required: - action @@ -153343,10 +152571,10 @@ x-webhooks: type: string enum: - restored - changes: *760 - installation: *715 - organization: *716 - projects_v2_item: *757 + changes: *758 + installation: *713 + organization: *714 + projects_v2_item: *755 sender: *4 required: - action @@ -153428,9 +152656,9 @@ x-webhooks: type: string enum: - reopened - installation: *715 - organization: *716 - projects_v2: *251 + installation: *713 + organization: *714 + projects_v2: *250 sender: *4 required: - action @@ -153511,14 +152739,14 @@ x-webhooks: type: string enum: - created - installation: *715 - organization: *716 - projects_v2_status_update: &763 + installation: *713 + organization: *714 + projects_v2_status_update: &761 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *761 - required: *762 + properties: *759 + required: *760 sender: *4 required: - action @@ -153599,9 +152827,9 @@ x-webhooks: type: string enum: - deleted - installation: *715 - organization: *716 - projects_v2_status_update: *763 + installation: *713 + organization: *714 + projects_v2_status_update: *761 sender: *4 required: - action @@ -153737,9 +152965,9 @@ x-webhooks: type: string format: date nullable: true - installation: *715 - organization: *716 - projects_v2_status_update: *763 + installation: *713 + organization: *714 + projects_v2_status_update: *761 sender: *4 required: - action @@ -153810,10 +153038,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - repository @@ -153890,13 +153118,13 @@ x-webhooks: type: string enum: - assigned - assignee: *734 - enterprise: *714 - installation: *715 - number: &764 + assignee: *732 + enterprise: *712 + installation: *713 + number: &762 description: The pull request number. type: integer - organization: *716 + organization: *714 pull_request: title: Pull Request type: object @@ -156179,7 +155407,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *717 + repository: *715 sender: *4 required: - action @@ -156261,11 +155489,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *714 - installation: *715 + enterprise: *712 + installation: *713 number: type: integer - organization: *716 + organization: *714 pull_request: title: Pull Request type: object @@ -158543,7 +157771,7 @@ x-webhooks: - draft reason: type: string - repository: *717 + repository: *715 sender: *4 required: - action @@ -158625,11 +157853,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *714 - installation: *715 + enterprise: *712 + installation: *713 number: type: integer - organization: *716 + organization: *714 pull_request: title: Pull Request type: object @@ -160907,7 +160135,7 @@ x-webhooks: - draft reason: type: string - repository: *717 + repository: *715 sender: *4 required: - action @@ -160989,13 +160217,13 @@ x-webhooks: type: string enum: - closed - enterprise: *714 - installation: *715 - number: *764 - organization: *716 - pull_request: &765 + enterprise: *712 + installation: *713 + number: *762 + organization: *714 + pull_request: &763 allOf: - - *569 + - *567 - type: object properties: allow_auto_merge: @@ -161057,7 +160285,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *717 + repository: *715 sender: *4 required: - action @@ -161138,12 +160366,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *714 - installation: *715 - number: *764 - organization: *716 - pull_request: *765 - repository: *717 + enterprise: *712 + installation: *713 + number: *762 + organization: *714 + pull_request: *763 + repository: *715 sender: *4 required: - action @@ -161223,11 +160451,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *714 - milestone: *551 - number: *764 - organization: *716 - pull_request: &766 + enterprise: *712 + milestone: *549 + number: *762 + organization: *714 + pull_request: &764 title: Pull Request type: object properties: @@ -163490,7 +162718,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *717 + repository: *715 sender: *4 required: - action @@ -163569,11 +162797,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *714 - installation: *715 + enterprise: *712 + installation: *713 number: type: integer - organization: *716 + organization: *714 pull_request: title: Pull Request type: object @@ -165855,7 +165083,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *717 + repository: *715 sender: *4 required: - action @@ -165979,12 +165207,12 @@ x-webhooks: type: string required: - from - enterprise: *714 - installation: *715 - number: *764 - organization: *716 - pull_request: *765 - repository: *717 + enterprise: *712 + installation: *713 + number: *762 + organization: *714 + pull_request: *763 + repository: *715 sender: *4 required: - action @@ -166064,11 +165292,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *714 - installation: *715 + enterprise: *712 + installation: *713 number: type: integer - organization: *716 + organization: *714 pull_request: title: Pull Request type: object @@ -168335,7 +167563,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *717 + repository: *715 sender: *4 required: - action @@ -168415,11 +167643,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *714 - installation: *715 - label: *733 - number: *764 - organization: *716 + enterprise: *712 + installation: *713 + label: *731 + number: *762 + organization: *714 pull_request: title: Pull Request type: object @@ -170701,7 +169929,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *717 + repository: *715 sender: *4 required: - action @@ -170782,10 +170010,10 @@ x-webhooks: type: string enum: - locked - enterprise: *714 - installation: *715 - number: *764 - organization: *716 + enterprise: *712 + installation: *713 + number: *762 + organization: *714 pull_request: title: Pull Request type: object @@ -173065,7 +172293,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *717 + repository: *715 sender: *4 required: - action @@ -173145,12 +172373,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *714 - milestone: *551 - number: *764 - organization: *716 - pull_request: *766 - repository: *717 + enterprise: *712 + milestone: *549 + number: *762 + organization: *714 + pull_request: *764 + repository: *715 sender: *4 required: - action @@ -173229,12 +172457,12 @@ x-webhooks: type: string enum: - opened - enterprise: *714 - installation: *715 - number: *764 - organization: *716 - pull_request: *765 - repository: *717 + enterprise: *712 + installation: *713 + number: *762 + organization: *714 + pull_request: *763 + repository: *715 sender: *4 required: - action @@ -173315,12 +172543,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *714 - installation: *715 - number: *764 - organization: *716 - pull_request: *765 - repository: *717 + enterprise: *712 + installation: *713 + number: *762 + organization: *714 + pull_request: *763 + repository: *715 sender: *4 required: - action @@ -173400,12 +172628,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *714 - installation: *715 - number: *764 - organization: *716 - pull_request: *765 - repository: *717 + enterprise: *712 + installation: *713 + number: *762 + organization: *714 + pull_request: *763 + repository: *715 sender: *4 required: - action @@ -173771,9 +172999,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *714 - installation: *715 - organization: *716 + enterprise: *712 + installation: *713 + organization: *714 pull_request: type: object properties: @@ -175943,7 +175171,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *717 + repository: *715 sender: *4 required: - action @@ -176023,7 +175251,7 @@ x-webhooks: type: string enum: - deleted - comment: &768 + comment: &766 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -176308,9 +175536,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *714 - installation: *715 - organization: *716 + enterprise: *712 + installation: *713 + organization: *714 pull_request: type: object properties: @@ -178468,7 +177696,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *717 + repository: *715 sender: *4 required: - action @@ -178548,11 +177776,11 @@ x-webhooks: type: string enum: - edited - changes: *767 - comment: *768 - enterprise: *714 - installation: *715 - organization: *716 + changes: *765 + comment: *766 + enterprise: *712 + installation: *713 + organization: *714 pull_request: type: object properties: @@ -180713,7 +179941,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *717 + repository: *715 sender: *4 required: - action @@ -180794,9 +180022,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *714 - installation: *715 - organization: *716 + enterprise: *712 + installation: *713 + organization: *714 pull_request: title: Simple Pull Request type: object @@ -182969,7 +182197,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *717 + repository: *715 review: description: The review that was affected. type: object @@ -183216,9 +182444,9 @@ x-webhooks: type: string required: - from - enterprise: *714 - installation: *715 - organization: *716 + enterprise: *712 + installation: *713 + organization: *714 pull_request: title: Simple Pull Request type: object @@ -185272,8 +184500,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *717 - review: &769 + repository: *715 + review: &767 description: The review that was affected. type: object properties: @@ -185506,12 +184734,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *714 - installation: *715 + enterprise: *712 + installation: *713 number: description: The pull request number. type: integer - organization: *716 + organization: *714 pull_request: title: Pull Request type: object @@ -187794,7 +187022,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *717 + repository: *715 requested_reviewer: title: User type: object @@ -187878,12 +187106,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *714 - installation: *715 + enterprise: *712 + installation: *713 number: description: The pull request number. type: integer - organization: *716 + organization: *714 pull_request: title: Pull Request type: object @@ -190173,7 +189401,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *717 + repository: *715 requested_team: title: Team description: Groups of organization members that gives permissions @@ -190365,12 +189593,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *714 - installation: *715 + enterprise: *712 + installation: *713 number: description: The pull request number. type: integer - organization: *716 + organization: *714 pull_request: title: Pull Request type: object @@ -192655,7 +191883,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *717 + repository: *715 requested_reviewer: title: User type: object @@ -192740,12 +191968,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *714 - installation: *715 + enterprise: *712 + installation: *713 number: description: The pull request number. type: integer - organization: *716 + organization: *714 pull_request: title: Pull Request type: object @@ -195021,7 +194249,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *717 + repository: *715 requested_team: title: Team description: Groups of organization members that gives permissions @@ -195202,9 +194430,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *714 - installation: *715 - organization: *716 + enterprise: *712 + installation: *713 + organization: *714 pull_request: title: Simple Pull Request type: object @@ -197379,8 +196607,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *717 - review: *769 + repository: *715 + review: *767 sender: *4 required: - action @@ -197460,9 +196688,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *714 - installation: *715 - organization: *716 + enterprise: *712 + installation: *713 + organization: *714 pull_request: title: Simple Pull Request type: object @@ -199532,7 +198760,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *717 + repository: *715 sender: *4 thread: type: object @@ -199919,9 +199147,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *714 - installation: *715 - organization: *716 + enterprise: *712 + installation: *713 + organization: *714 pull_request: title: Simple Pull Request type: object @@ -201977,7 +201205,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *717 + repository: *715 sender: *4 thread: type: object @@ -202367,10 +201595,10 @@ x-webhooks: type: string before: type: string - enterprise: *714 - installation: *715 - number: *764 - organization: *716 + enterprise: *712 + installation: *713 + number: *762 + organization: *714 pull_request: title: Pull Request type: object @@ -204641,7 +203869,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *717 + repository: *715 sender: *4 required: - action @@ -204723,11 +203951,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *770 - enterprise: *714 - installation: *715 - number: *764 - organization: *716 + assignee: *768 + enterprise: *712 + installation: *713 + number: *762 + organization: *714 pull_request: title: Pull Request type: object @@ -207010,7 +206238,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *717 + repository: *715 sender: *4 required: - action @@ -207089,11 +206317,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *714 - installation: *715 - label: *733 - number: *764 - organization: *716 + enterprise: *712 + installation: *713 + label: *731 + number: *762 + organization: *714 pull_request: title: Pull Request type: object @@ -209366,7 +208594,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *717 + repository: *715 sender: *4 required: - action @@ -209447,10 +208675,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *714 - installation: *715 - number: *764 - organization: *716 + enterprise: *712 + installation: *713 + number: *762 + organization: *714 pull_request: title: Pull Request type: object @@ -211715,7 +210943,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *717 + repository: *715 sender: *4 required: - action @@ -211915,7 +211143,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *714 + enterprise: *712 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -212007,8 +211235,8 @@ x-webhooks: - url - author - committer - installation: *715 - organization: *716 + installation: *713 + organization: *714 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -212583,9 +211811,9 @@ x-webhooks: type: string enum: - published - enterprise: *714 - installation: *715 - organization: *716 + enterprise: *712 + installation: *713 + organization: *714 registry_package: type: object properties: @@ -213031,7 +212259,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *751 + items: *749 summary: type: string tag_name: @@ -213085,7 +212313,7 @@ x-webhooks: - owner - package_version - registry - repository: *717 + repository: *715 sender: *4 required: - action @@ -213163,9 +212391,9 @@ x-webhooks: type: string enum: - updated - enterprise: *714 - installation: *715 - organization: *716 + enterprise: *712 + installation: *713 + organization: *714 registry_package: type: object properties: @@ -213473,7 +212701,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *751 + items: *749 summary: type: string tag_name: @@ -213522,7 +212750,7 @@ x-webhooks: - owner - package_version - registry - repository: *717 + repository: *715 sender: *4 required: - action @@ -213599,10 +212827,10 @@ x-webhooks: type: string enum: - created - enterprise: *714 - installation: *715 - organization: *716 - release: &771 + enterprise: *712 + installation: *713 + organization: *714 + release: &769 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -213920,7 +213148,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *717 + repository: *715 sender: *4 required: - action @@ -213997,11 +213225,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *714 - installation: *715 - organization: *716 - release: *771 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + release: *769 + repository: *715 sender: *4 required: - action @@ -214118,11 +213346,11 @@ x-webhooks: type: boolean required: - to - enterprise: *714 - installation: *715 - organization: *716 - release: *771 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + release: *769 + repository: *715 sender: *4 required: - action @@ -214200,9 +213428,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *714 - installation: *715 - organization: *716 + enterprise: *712 + installation: *713 + organization: *714 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -214524,7 +213752,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *717 + repository: *715 sender: *4 required: - action @@ -214600,10 +213828,10 @@ x-webhooks: type: string enum: - published - enterprise: *714 - installation: *715 - organization: *716 - release: &772 + enterprise: *712 + installation: *713 + organization: *714 + release: &770 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -214922,7 +214150,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *717 + repository: *715 sender: *4 required: - action @@ -214998,11 +214226,11 @@ x-webhooks: type: string enum: - released - enterprise: *714 - installation: *715 - organization: *716 - release: *771 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + release: *769 + repository: *715 sender: *4 required: - action @@ -215078,11 +214306,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *714 - installation: *715 - organization: *716 - release: *772 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + release: *770 + repository: *715 sender: *4 required: - action @@ -215158,11 +214386,11 @@ x-webhooks: type: string enum: - published - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 - repository_advisory: *633 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 + repository_advisory: *631 sender: *4 required: - action @@ -215238,11 +214466,11 @@ x-webhooks: type: string enum: - reported - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 - repository_advisory: *633 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 + repository_advisory: *631 sender: *4 required: - action @@ -215318,10 +214546,10 @@ x-webhooks: type: string enum: - archived - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -215398,10 +214626,10 @@ x-webhooks: type: string enum: - created - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -215479,10 +214707,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -215566,10 +214794,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -215681,10 +214909,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -215756,10 +214984,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 status: type: string @@ -215840,10 +215068,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -215920,10 +215148,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -216017,10 +215245,10 @@ x-webhooks: - name required: - repository - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -216100,11 +215328,11 @@ x-webhooks: type: string enum: - created - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 - repository_ruleset: *295 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 + repository_ruleset: *294 sender: *4 required: - action @@ -216182,11 +215410,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 - repository_ruleset: *295 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 + repository_ruleset: *294 sender: *4 required: - action @@ -216264,11 +215492,11 @@ x-webhooks: type: string enum: - edited - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 - repository_ruleset: *295 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 + repository_ruleset: *294 changes: type: object properties: @@ -216287,16 +215515,16 @@ x-webhooks: properties: added: type: array - items: *270 + items: *269 deleted: type: array - items: *270 + items: *269 updated: type: array items: type: object properties: - condition: *270 + condition: *269 changes: type: object properties: @@ -216329,16 +215557,16 @@ x-webhooks: properties: added: type: array - items: *590 + items: *588 deleted: type: array - items: *590 + items: *588 updated: type: array items: type: object properties: - rule: *590 + rule: *588 changes: type: object properties: @@ -216572,10 +215800,10 @@ x-webhooks: - from required: - owner - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -216653,10 +215881,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -216734,7 +215962,7 @@ x-webhooks: type: string enum: - create - alert: &773 + alert: &771 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -216855,10 +216083,10 @@ x-webhooks: type: string enum: - open - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -217064,10 +216292,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -217145,11 +216373,11 @@ x-webhooks: type: string enum: - reopen - alert: *773 - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + alert: *771 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -217348,10 +216576,10 @@ x-webhooks: enum: - fixed - open - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -217429,7 +216657,7 @@ x-webhooks: type: string enum: - created - alert: &774 + alert: &772 type: object properties: number: *158 @@ -217547,10 +216775,10 @@ x-webhooks: properties: *20 required: *21 nullable: true - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -217631,11 +216859,11 @@ x-webhooks: type: string enum: - created - alert: *774 - installation: *715 - location: *775 - organization: *716 - repository: *717 + alert: *772 + installation: *713 + location: *773 + organization: *714 + repository: *715 sender: *4 required: - location @@ -217873,11 +217101,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *774 - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + alert: *772 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -217955,11 +217183,11 @@ x-webhooks: type: string enum: - reopened - alert: *774 - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + alert: *772 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -218037,11 +217265,11 @@ x-webhooks: type: string enum: - resolved - alert: *774 - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + alert: *772 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -218119,11 +217347,11 @@ x-webhooks: type: string enum: - validated - alert: *774 - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + alert: *772 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -218249,10 +217477,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *717 - enterprise: *714 - installation: *715 - organization: *716 + repository: *715 + enterprise: *712 + installation: *713 + organization: *714 sender: *4 required: - action @@ -218330,11 +217558,11 @@ x-webhooks: type: string enum: - published - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 - security_advisory: &776 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 + security_advisory: &774 description: The details of the security advisory, including summary, description, and severity. type: object @@ -218517,11 +217745,11 @@ x-webhooks: type: string enum: - updated - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 - security_advisory: *776 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 + security_advisory: *774 sender: *4 required: - action @@ -218594,10 +217822,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -218781,11 +218009,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *269 - enterprise: *714 - installation: *715 - organization: *716 - repository: *332 + security_and_analysis: *268 + enterprise: *712 + installation: *713 + organization: *714 + repository: *329 sender: *4 required: - changes @@ -218863,12 +218091,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 - sponsorship: &777 + sponsorship: &775 type: object properties: created_at: @@ -219169,12 +218397,12 @@ x-webhooks: type: string enum: - created - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 - sponsorship: *777 + sponsorship: *775 required: - action - sponsorship @@ -219262,12 +218490,12 @@ x-webhooks: type: string required: - from - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 - sponsorship: *777 + sponsorship: *775 required: - action - changes @@ -219344,17 +218572,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &778 + effective_date: &776 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: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 - sponsorship: *777 + sponsorship: *775 required: - action - sponsorship @@ -219428,7 +218656,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &779 + changes: &777 type: object properties: tier: @@ -219472,13 +218700,13 @@ x-webhooks: - from required: - tier - effective_date: *778 - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + effective_date: *776 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 - sponsorship: *777 + sponsorship: *775 required: - action - changes @@ -219555,13 +218783,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *779 - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + changes: *777 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 - sponsorship: *777 + sponsorship: *775 required: - action - changes @@ -219635,10 +218863,10 @@ x-webhooks: type: string enum: - created - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -219721,10 +218949,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -220144,15 +219372,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *714 + enterprise: *712 id: description: The unique identifier of the status. type: integer - installation: *715 + installation: *713 name: type: string - organization: *716 - repository: *717 + organization: *714 + repository: *715 sender: *4 sha: description: The Commit SHA. @@ -220267,9 +219495,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *82 - installation: *715 - organization: *716 - repository: *717 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -220359,9 +219587,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *82 - installation: *715 - organization: *716 - repository: *717 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -220451,9 +219679,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *82 - installation: *715 - organization: *716 - repository: *717 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -220543,9 +219771,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *82 - installation: *715 - organization: *716 - repository: *717 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -220622,12 +219850,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 - team: &780 + team: &778 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -220850,9 +220078,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *714 - installation: *715 - organization: *716 + enterprise: *712 + installation: *713 + organization: *714 repository: title: Repository description: A git repository @@ -221310,7 +220538,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *780 + team: *778 required: - action - team @@ -221386,9 +220614,9 @@ x-webhooks: type: string enum: - created - enterprise: *714 - installation: *715 - organization: *716 + enterprise: *712 + installation: *713 + organization: *714 repository: title: Repository description: A git repository @@ -221846,7 +221074,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *780 + team: *778 required: - action - team @@ -221923,9 +221151,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *714 - installation: *715 - organization: *716 + enterprise: *712 + installation: *713 + organization: *714 repository: title: Repository description: A git repository @@ -222383,7 +221611,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *780 + team: *778 required: - action - team @@ -222527,9 +221755,9 @@ x-webhooks: - from required: - permissions - enterprise: *714 - installation: *715 - organization: *716 + enterprise: *712 + installation: *713 + organization: *714 repository: title: Repository description: A git repository @@ -222987,7 +222215,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *780 + team: *778 required: - action - changes @@ -223065,9 +222293,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *714 - installation: *715 - organization: *716 + enterprise: *712 + installation: *713 + organization: *714 repository: title: Repository description: A git repository @@ -223525,7 +222753,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *780 + team: *778 required: - action - team @@ -223601,10 +222829,10 @@ x-webhooks: type: string enum: - started - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 required: - action @@ -223677,16 +222905,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *714 + enterprise: *712 inputs: type: object nullable: true additionalProperties: true - installation: *715 - organization: *716 + installation: *713 + organization: *714 ref: type: string - repository: *717 + repository: *715 sender: *4 workflow: type: string @@ -223768,10 +222996,10 @@ x-webhooks: type: string enum: - completed - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 workflow_job: allOf: @@ -224008,7 +223236,7 @@ x-webhooks: type: string required: - conclusion - deployment: *483 + deployment: *480 required: - action - repository @@ -224087,10 +223315,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 workflow_job: allOf: @@ -224350,7 +223578,7 @@ x-webhooks: required: - status - steps - deployment: *483 + deployment: *480 required: - action - repository @@ -224429,10 +223657,10 @@ x-webhooks: type: string enum: - queued - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 workflow_job: type: object @@ -224567,7 +223795,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *483 + deployment: *480 required: - action - repository @@ -224646,10 +223874,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 workflow_job: type: object @@ -224785,7 +224013,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *483 + deployment: *480 required: - action - repository @@ -224865,12 +224093,12 @@ x-webhooks: type: string enum: - completed - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 - workflow: *729 + workflow: *727 workflow_run: title: Workflow Run type: object @@ -225869,12 +225097,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 - workflow: *729 + workflow: *727 workflow_run: title: Workflow Run type: object @@ -226858,12 +226086,12 @@ x-webhooks: type: string enum: - requested - enterprise: *714 - installation: *715 - organization: *716 - repository: *717 + enterprise: *712 + installation: *713 + organization: *714 + repository: *715 sender: *4 - workflow: *729 + workflow: *727 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 902af3878..6ed8c88be 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -179050,847 +179050,6 @@ } } }, - "/orgs/{org}/projects": { - "get": { - "summary": "List organization projects", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/list-for-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-organization-projects" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "state", - "description": "Indicates the state of the projects to return.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "open", - "closed", - "all" - ], - "default": "open" - } - }, - { - "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 30 - } - }, - { - "name": "page", - "description": "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 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Project", - "description": "Projects are a way to organize columns and cards of work.", - "type": "object", - "properties": { - "owner_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/api-playground/projects-test" - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/api-playground/projects-test/projects/12" - }, - "columns_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604/columns" - }, - "id": { - "type": "integer", - "example": 1002604 - }, - "node_id": { - "type": "string", - "example": "MDc6UHJvamVjdDEwMDI2MDQ=" - }, - "name": { - "description": "Name of the project", - "example": "Week One Sprint", - "type": "string" - }, - "body": { - "description": "Body of the project", - "example": "This project represents the sprint of the first week in January", - "type": "string", - "nullable": true - }, - "number": { - "type": "integer", - "example": 1 - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "example": "open", - "type": "string" - }, - "creator": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2011-04-10T20:09:31Z" - }, - "updated_at": { - "type": "string", - "format": "date-time", - "example": "2014-03-03T18:58:10Z" - }, - "organization_permission": { - "description": "The baseline permission that all organization members have on this project. Only present if owner is an organization.", - "type": "string", - "enum": [ - "read", - "write", - "admin", - "none" - ] - }, - "private": { - "description": "Whether or not this project can be seen by everyone. Only present if owner is an organization.", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "number", - "name", - "body", - "state", - "url", - "html_url", - "owner_url", - "creator", - "columns_url", - "created_at", - "updated_at" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "owner_url": "https://api.github.com/orgs/octocat", - "url": "https://api.github.com/projects/1002605", - "html_url": "https://github.com/orgs/api-playground/projects/1", - "columns_url": "https://api.github.com/projects/1002605/columns", - "id": 1002605, - "node_id": "MDc6UHJvamVjdDEwMDI2MDU=", - "name": "Organization Roadmap", - "body": "High-level roadmap for the upcoming year.", - "number": 1, - "state": "open", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-11T20:09:31Z", - "updated_at": "2014-03-04T18:58:10Z", - "organization_permission": "write", - "private": true - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } - } - }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error Simple", - "description": "Validation Error Simple", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - }, - "post": { - "summary": "Create an organization project", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/create-for-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#create-an-organization-project" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The name of the project." - }, - "body": { - "type": "string", - "description": "The description of the project." - } - }, - "required": [ - "name" - ] - }, - "examples": { - "default": { - "value": { - "name": "Organization Roadmap", - "body": "High-level roadmap for the upcoming year." - } - } - } - } - } - }, - "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Project", - "description": "Projects are a way to organize columns and cards of work.", - "type": "object", - "properties": { - "owner_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/api-playground/projects-test" - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/api-playground/projects-test/projects/12" - }, - "columns_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604/columns" - }, - "id": { - "type": "integer", - "example": 1002604 - }, - "node_id": { - "type": "string", - "example": "MDc6UHJvamVjdDEwMDI2MDQ=" - }, - "name": { - "description": "Name of the project", - "example": "Week One Sprint", - "type": "string" - }, - "body": { - "description": "Body of the project", - "example": "This project represents the sprint of the first week in January", - "type": "string", - "nullable": true - }, - "number": { - "type": "integer", - "example": 1 - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "example": "open", - "type": "string" - }, - "creator": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2011-04-10T20:09:31Z" - }, - "updated_at": { - "type": "string", - "format": "date-time", - "example": "2014-03-03T18:58:10Z" - }, - "organization_permission": { - "description": "The baseline permission that all organization members have on this project. Only present if owner is an organization.", - "type": "string", - "enum": [ - "read", - "write", - "admin", - "none" - ] - }, - "private": { - "description": "Whether or not this project can be seen by everyone. Only present if owner is an organization.", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "number", - "name", - "body", - "state", - "url", - "html_url", - "owner_url", - "creator", - "columns_url", - "created_at", - "updated_at" - ] - }, - "examples": { - "default": { - "value": { - "owner_url": "https://api.github.com/orgs/octocat", - "url": "https://api.github.com/projects/1002605", - "html_url": "https://github.com/orgs/api-playground/projects/1", - "columns_url": "https://api.github.com/projects/1002605/columns", - "id": 1002605, - "node_id": "MDc6UHJvamVjdDEwMDI2MDU=", - "name": "Organization Roadmap", - "body": "High-level roadmap for the upcoming year.", - "number": 1, - "state": "open", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-11T20:09:31Z", - "updated_at": "2014-03-04T18:58:10Z" - } - } - } - } - } - }, - "401": { - "description": "Requires authentication", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "410": { - "description": "Gone", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error Simple", - "description": "Validation Error Simple", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - } - }, "/orgs/{org}/projectsV2": { "get": { "summary": "List projects for organization", @@ -234497,965 +233656,6 @@ "deprecated": true } }, - "/projects/{project_id}": { - "get": { - "summary": "Get a project", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/get", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#get-a-project" - }, - "parameters": [ - { - "name": "project_id", - "description": "The unique identifier of the project.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Project", - "description": "Projects are a way to organize columns and cards of work.", - "type": "object", - "properties": { - "owner_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/api-playground/projects-test" - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/api-playground/projects-test/projects/12" - }, - "columns_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604/columns" - }, - "id": { - "type": "integer", - "example": 1002604 - }, - "node_id": { - "type": "string", - "example": "MDc6UHJvamVjdDEwMDI2MDQ=" - }, - "name": { - "description": "Name of the project", - "example": "Week One Sprint", - "type": "string" - }, - "body": { - "description": "Body of the project", - "example": "This project represents the sprint of the first week in January", - "type": "string", - "nullable": true - }, - "number": { - "type": "integer", - "example": 1 - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "example": "open", - "type": "string" - }, - "creator": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2011-04-10T20:09:31Z" - }, - "updated_at": { - "type": "string", - "format": "date-time", - "example": "2014-03-03T18:58:10Z" - }, - "organization_permission": { - "description": "The baseline permission that all organization members have on this project. Only present if owner is an organization.", - "type": "string", - "enum": [ - "read", - "write", - "admin", - "none" - ] - }, - "private": { - "description": "Whether or not this project can be seen by everyone. Only present if owner is an organization.", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "number", - "name", - "body", - "state", - "url", - "html_url", - "owner_url", - "creator", - "columns_url", - "created_at", - "updated_at" - ] - }, - "examples": { - "default": { - "value": { - "owner_url": "https://api.github.com/repos/api-playground/projects-test", - "url": "https://api.github.com/projects/1002604", - "html_url": "https://github.com/api-playground/projects-test/projects/1", - "columns_url": "https://api.github.com/projects/1002604/columns", - "id": 1002604, - "node_id": "MDc6UHJvamVjdDEwMDI2MDQ=", - "name": "Projects Documentation", - "body": "Developer documentation project for the developer site.", - "number": 1, - "state": "open", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-10T20:09:31Z", - "updated_at": "2014-03-03T18:58:10Z" - } - } - } - } - } - }, - "304": { - "description": "Not modified" - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "401": { - "description": "Requires authentication", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - }, - "patch": { - "summary": "Update a project", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "operationId": "projects-classic/update", - "tags": [ - "projects-classic" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#update-a-project" - }, - "parameters": [ - { - "name": "project_id", - "description": "The unique identifier of the project.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "properties": { - "name": { - "description": "Name of the project", - "example": "Week One Sprint", - "type": "string" - }, - "body": { - "description": "Body of the project", - "example": "This project represents the sprint of the first week in January", - "type": "string", - "nullable": true - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "example": "open", - "type": "string" - }, - "organization_permission": { - "description": "The baseline permission that all organization members have on this project", - "type": "string", - "enum": [ - "read", - "write", - "admin", - "none" - ] - }, - "private": { - "description": "Whether or not this project can be seen by everyone.", - "type": "boolean" - } - }, - "type": "object" - }, - "examples": { - "default": { - "summary": "Change the name, state, and permissions for a project", - "value": { - "name": "Week One Sprint", - "state": "open", - "organization_permission": "write" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Project", - "description": "Projects are a way to organize columns and cards of work.", - "type": "object", - "properties": { - "owner_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/api-playground/projects-test" - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/api-playground/projects-test/projects/12" - }, - "columns_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604/columns" - }, - "id": { - "type": "integer", - "example": 1002604 - }, - "node_id": { - "type": "string", - "example": "MDc6UHJvamVjdDEwMDI2MDQ=" - }, - "name": { - "description": "Name of the project", - "example": "Week One Sprint", - "type": "string" - }, - "body": { - "description": "Body of the project", - "example": "This project represents the sprint of the first week in January", - "type": "string", - "nullable": true - }, - "number": { - "type": "integer", - "example": 1 - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "example": "open", - "type": "string" - }, - "creator": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2011-04-10T20:09:31Z" - }, - "updated_at": { - "type": "string", - "format": "date-time", - "example": "2014-03-03T18:58:10Z" - }, - "organization_permission": { - "description": "The baseline permission that all organization members have on this project. Only present if owner is an organization.", - "type": "string", - "enum": [ - "read", - "write", - "admin", - "none" - ] - }, - "private": { - "description": "Whether or not this project can be seen by everyone. Only present if owner is an organization.", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "number", - "name", - "body", - "state", - "url", - "html_url", - "owner_url", - "creator", - "columns_url", - "created_at", - "updated_at" - ] - }, - "examples": { - "default": { - "value": { - "owner_url": "https://api.github.com/repos/api-playground/projects-test", - "url": "https://api.github.com/projects/1002604", - "html_url": "https://github.com/api-playground/projects-test/projects/1", - "columns_url": "https://api.github.com/projects/1002604/columns", - "id": 1002604, - "node_id": "MDc6UHJvamVjdDEwMDI2MDQ=", - "name": "Projects Documentation", - "body": "Developer documentation project for the developer site.", - "number": 1, - "state": "open", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-10T20:09:31Z", - "updated_at": "2014-03-03T18:58:10Z" - } - } - } - } - } - }, - "404": { - "description": "Not Found if the authenticated user does not have access to the project" - }, - "304": { - "description": "Not modified" - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "401": { - "description": "Requires authentication", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "410": { - "description": "Gone", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error Simple", - "description": "Validation Error Simple", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - }, - "delete": { - "summary": "Delete a project", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "operationId": "projects-classic/delete", - "tags": [ - "projects-classic" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#delete-a-project" - }, - "parameters": [ - { - "name": "project_id", - "description": "The unique identifier of the project.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "responses": { - "204": { - "description": "Delete Success" - }, - "304": { - "description": "Not modified" - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "401": { - "description": "Requires authentication", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "410": { - "description": "Gone", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - } - }, "/projects/{project_id}/collaborators": { "get": { "summary": "List project collaborators", @@ -465163,967 +463363,6 @@ } } }, - "/repos/{owner}/{repo}/projects": { - "get": { - "summary": "List repository projects", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/list-for-repo", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-repository-projects" - }, - "parameters": [ - { - "name": "owner", - "description": "The account owner of the repository. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "repo", - "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "state", - "description": "Indicates the state of the projects to return.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "open", - "closed", - "all" - ], - "default": "open" - } - }, - { - "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 30 - } - }, - { - "name": "page", - "description": "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 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Project", - "description": "Projects are a way to organize columns and cards of work.", - "type": "object", - "properties": { - "owner_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/api-playground/projects-test" - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/api-playground/projects-test/projects/12" - }, - "columns_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604/columns" - }, - "id": { - "type": "integer", - "example": 1002604 - }, - "node_id": { - "type": "string", - "example": "MDc6UHJvamVjdDEwMDI2MDQ=" - }, - "name": { - "description": "Name of the project", - "example": "Week One Sprint", - "type": "string" - }, - "body": { - "description": "Body of the project", - "example": "This project represents the sprint of the first week in January", - "type": "string", - "nullable": true - }, - "number": { - "type": "integer", - "example": 1 - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "example": "open", - "type": "string" - }, - "creator": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2011-04-10T20:09:31Z" - }, - "updated_at": { - "type": "string", - "format": "date-time", - "example": "2014-03-03T18:58:10Z" - }, - "organization_permission": { - "description": "The baseline permission that all organization members have on this project. Only present if owner is an organization.", - "type": "string", - "enum": [ - "read", - "write", - "admin", - "none" - ] - }, - "private": { - "description": "Whether or not this project can be seen by everyone. Only present if owner is an organization.", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "number", - "name", - "body", - "state", - "url", - "html_url", - "owner_url", - "creator", - "columns_url", - "created_at", - "updated_at" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "owner_url": "https://api.github.com/repos/api-playground/projects-test", - "url": "https://api.github.com/projects/1002604", - "html_url": "https://github.com/api-playground/projects-test/projects/1", - "columns_url": "https://api.github.com/projects/1002604/columns", - "id": 1002604, - "node_id": "MDc6UHJvamVjdDEwMDI2MDQ=", - "name": "Projects Documentation", - "body": "Developer documentation project for the developer site.", - "number": 1, - "state": "open", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-10T20:09:31Z", - "updated_at": "2014-03-03T18:58:10Z" - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } - } - }, - "401": { - "description": "Requires authentication", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "410": { - "description": "Gone", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error Simple", - "description": "Validation Error Simple", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - }, - "post": { - "summary": "Create a repository project", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/create-for-repo", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#create-a-repository-project" - }, - "parameters": [ - { - "name": "owner", - "description": "The account owner of the repository. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "repo", - "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The name of the project." - }, - "body": { - "type": "string", - "description": "The description of the project." - } - }, - "required": [ - "name" - ] - }, - "examples": { - "default": { - "value": { - "name": "Projects Documentation", - "body": "Developer documentation project for the developer site." - } - } - } - } - } - }, - "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Project", - "description": "Projects are a way to organize columns and cards of work.", - "type": "object", - "properties": { - "owner_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/api-playground/projects-test" - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/api-playground/projects-test/projects/12" - }, - "columns_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604/columns" - }, - "id": { - "type": "integer", - "example": 1002604 - }, - "node_id": { - "type": "string", - "example": "MDc6UHJvamVjdDEwMDI2MDQ=" - }, - "name": { - "description": "Name of the project", - "example": "Week One Sprint", - "type": "string" - }, - "body": { - "description": "Body of the project", - "example": "This project represents the sprint of the first week in January", - "type": "string", - "nullable": true - }, - "number": { - "type": "integer", - "example": 1 - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "example": "open", - "type": "string" - }, - "creator": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2011-04-10T20:09:31Z" - }, - "updated_at": { - "type": "string", - "format": "date-time", - "example": "2014-03-03T18:58:10Z" - }, - "organization_permission": { - "description": "The baseline permission that all organization members have on this project. Only present if owner is an organization.", - "type": "string", - "enum": [ - "read", - "write", - "admin", - "none" - ] - }, - "private": { - "description": "Whether or not this project can be seen by everyone. Only present if owner is an organization.", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "number", - "name", - "body", - "state", - "url", - "html_url", - "owner_url", - "creator", - "columns_url", - "created_at", - "updated_at" - ] - }, - "examples": { - "default": { - "value": { - "owner_url": "https://api.github.com/repos/api-playground/projects-test", - "url": "https://api.github.com/projects/1002604", - "html_url": "https://github.com/api-playground/projects-test/projects/1", - "columns_url": "https://api.github.com/projects/1002604/columns", - "id": 1002604, - "node_id": "MDc6UHJvamVjdDEwMDI2MDQ=", - "name": "Projects Documentation", - "body": "Developer documentation project for the developer site.", - "number": 1, - "state": "open", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-10T20:09:31Z", - "updated_at": "2014-03-03T18:58:10Z" - } - } - } - } - } - }, - "401": { - "description": "Requires authentication", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "410": { - "description": "Gone", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error Simple", - "description": "Validation Error Simple", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - } - }, "/repos/{owner}/{repo}/properties/values": { "get": { "summary": "Get all custom property values for a repository", @@ -619796,416 +617035,6 @@ } } }, - "/user/projects": { - "post": { - "summary": "Create a user project", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/create-for-authenticated-user", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#create-a-user-project" - }, - "parameters": [], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "properties": { - "name": { - "description": "Name of the project", - "example": "Week One Sprint", - "type": "string" - }, - "body": { - "description": "Body of the project", - "example": "This project represents the sprint of the first week in January", - "type": "string", - "nullable": true - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "examples": { - "default": { - "summary": "Create a new project", - "value": { - "name": "My Projects", - "body": "A board to manage my personal projects." - } - } - } - } - } - }, - "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Project", - "description": "Projects are a way to organize columns and cards of work.", - "type": "object", - "properties": { - "owner_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/api-playground/projects-test" - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/api-playground/projects-test/projects/12" - }, - "columns_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604/columns" - }, - "id": { - "type": "integer", - "example": 1002604 - }, - "node_id": { - "type": "string", - "example": "MDc6UHJvamVjdDEwMDI2MDQ=" - }, - "name": { - "description": "Name of the project", - "example": "Week One Sprint", - "type": "string" - }, - "body": { - "description": "Body of the project", - "example": "This project represents the sprint of the first week in January", - "type": "string", - "nullable": true - }, - "number": { - "type": "integer", - "example": 1 - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "example": "open", - "type": "string" - }, - "creator": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2011-04-10T20:09:31Z" - }, - "updated_at": { - "type": "string", - "format": "date-time", - "example": "2014-03-03T18:58:10Z" - }, - "organization_permission": { - "description": "The baseline permission that all organization members have on this project. Only present if owner is an organization.", - "type": "string", - "enum": [ - "read", - "write", - "admin", - "none" - ] - }, - "private": { - "description": "Whether or not this project can be seen by everyone. Only present if owner is an organization.", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "number", - "name", - "body", - "state", - "url", - "html_url", - "owner_url", - "creator", - "columns_url", - "created_at", - "updated_at" - ] - }, - "examples": { - "default": { - "value": { - "owner_url": "https://api.github.com/users/octocat", - "url": "https://api.github.com/projects/1002603", - "html_url": "https://github.com/users/octocat/projects/1", - "columns_url": "https://api.github.com/projects/1002603/columns", - "id": 1002603, - "node_id": "MDc6UHJvamVjdDEwMDI2MDM=", - "name": "My Projects", - "body": "A board to manage my personal projects.", - "number": 1, - "state": "open", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-10T20:09:31Z", - "updated_at": "2014-03-03T18:58:10Z" - } - } - } - } - } - }, - "304": { - "description": "Not modified" - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "401": { - "description": "Requires authentication", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error Simple", - "description": "Validation Error Simple", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - } - }, "/user/public_emails": { "get": { "summary": "List public email addresses for the authenticated user", @@ -650975,421 +647804,6 @@ } } }, - "/users/{username}/projects": { - "get": { - "summary": "List user projects", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/list-for-user", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-user-projects" - }, - "parameters": [ - { - "name": "username", - "description": "The handle for the GitHub user account.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "state", - "description": "Indicates the state of the projects to return.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "open", - "closed", - "all" - ], - "default": "open" - } - }, - { - "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 30 - } - }, - { - "name": "page", - "description": "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 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Project", - "description": "Projects are a way to organize columns and cards of work.", - "type": "object", - "properties": { - "owner_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/api-playground/projects-test" - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/api-playground/projects-test/projects/12" - }, - "columns_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604/columns" - }, - "id": { - "type": "integer", - "example": 1002604 - }, - "node_id": { - "type": "string", - "example": "MDc6UHJvamVjdDEwMDI2MDQ=" - }, - "name": { - "description": "Name of the project", - "example": "Week One Sprint", - "type": "string" - }, - "body": { - "description": "Body of the project", - "example": "This project represents the sprint of the first week in January", - "type": "string", - "nullable": true - }, - "number": { - "type": "integer", - "example": 1 - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "example": "open", - "type": "string" - }, - "creator": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2011-04-10T20:09:31Z" - }, - "updated_at": { - "type": "string", - "format": "date-time", - "example": "2014-03-03T18:58:10Z" - }, - "organization_permission": { - "description": "The baseline permission that all organization members have on this project. Only present if owner is an organization.", - "type": "string", - "enum": [ - "read", - "write", - "admin", - "none" - ] - }, - "private": { - "description": "Whether or not this project can be seen by everyone. Only present if owner is an organization.", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "number", - "name", - "body", - "state", - "url", - "html_url", - "owner_url", - "creator", - "columns_url", - "created_at", - "updated_at" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "owner_url": "https://api.github.com/users/octocat", - "url": "https://api.github.com/projects/1002603", - "html_url": "https://github.com/users/octocat/projects/1", - "columns_url": "https://api.github.com/projects/1002603/columns", - "id": 1002603, - "node_id": "MDc6UHJvamVjdDEwMDI2MDM=", - "name": "My Projects", - "body": "A board to manage my personal projects.", - "number": 1, - "state": "open", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-10T20:09:31Z", - "updated_at": "2014-03-03T18:58:10Z" - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } - } - }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error", - "description": "Validation Error", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "required": [ - "code" - ], - "properties": { - "resource": { - "type": "string" - }, - "field": { - "type": "string" - }, - "message": { - "type": "string" - }, - "code": { - "type": "string" - }, - "index": { - "type": "integer" - }, - "value": { - "oneOf": [ - { - "type": "string", - "nullable": true - }, - { - "type": "integer", - "nullable": true - }, - { - "type": "array", - "nullable": true, - "items": { - "type": "string" - } - } - ] - } - } - } - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - } - }, "/users/{username}/projectsV2": { "get": { "summary": "List projects for user", diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml index 9882bdc41..f776f3713 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -865,7 +865,7 @@ paths: - subscriptions_url - type - url - type: &432 + type: &431 type: string description: The type of credit the user is receiving. enum: @@ -1031,7 +1031,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: - - &761 + - &759 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1715,7 +1715,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &771 + schema: &769 title: Scim Error description: Scim Error type: object @@ -2892,7 +2892,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &410 + properties: &409 id: description: Unique identifier of the repository example: 42 @@ -3330,7 +3330,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &411 + required: &410 - archive_url - assignees_url - blobs_url @@ -8719,7 +8719,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &772 + '401': &770 description: Authorization failure '404': *6 x-github: @@ -12922,7 +12922,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &547 + instances_url: &544 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -12957,7 +12957,7 @@ paths: format: date-time readOnly: true nullable: true - dismissed_reason: &548 + dismissed_reason: &545 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -12966,13 +12966,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &549 + dismissed_comment: &546 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &550 + rule: &547 type: object properties: id: @@ -13025,7 +13025,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &551 + tool: &548 type: object properties: name: *107 @@ -13035,15 +13035,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *108 - most_recent_instance: &552 + most_recent_instance: &549 type: object properties: - ref: &545 + ref: &542 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &562 + analysis_key: &559 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -13054,7 +13054,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &563 + category: &560 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -16743,7 +16743,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &602 + - &599 name: has in: query description: |- @@ -16856,7 +16856,7 @@ paths: - unknown - direct - transitive - security_advisory: &603 + security_advisory: &600 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -17088,7 +17088,7 @@ paths: nullable: true maxLength: 280 fixed_at: *133 - auto_dismissed_at: &604 + auto_dismissed_at: &601 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -18226,7 +18226,7 @@ paths: - name - created_on examples: - default: &443 + default: &442 value: total_count: 2 network_configurations: @@ -18449,7 +18449,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise parameters: - *41 - - &444 + - &443 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -18461,7 +18461,7 @@ paths: description: Response content: application/json: - schema: &445 + schema: &444 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -18495,7 +18495,7 @@ paths: - subnet_id - region examples: - default: &446 + default: &445 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -19295,7 +19295,7 @@ paths: required: true content: application/json: - schema: &409 + schema: &408 title: Custom Property Set Payload description: Custom property set payload type: object @@ -20414,7 +20414,7 @@ paths: nullable: true anyOf: - *157 - - &415 + - &414 title: Organization ruleset conditions type: object description: |- @@ -20461,7 +20461,7 @@ paths: - *160 rules: type: array - items: &727 + items: &725 title: Repository Rule type: object description: A repository rule. @@ -20470,7 +20470,7 @@ paths: - *166 - *167 - *168 - - &724 + - &722 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -20564,7 +20564,7 @@ paths: - *182 - *183 - *184 - - &725 + - &723 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code review. @@ -20820,7 +20820,7 @@ paths: type: string format: date-time examples: - default: &418 + default: &417 value: - version_id: 3 actor: @@ -20873,7 +20873,7 @@ paths: description: Response content: application/json: - schema: &419 + schema: &418 allOf: - *189 - type: object @@ -20928,7 +20928,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *41 - - &420 + - &419 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -20939,7 +20939,7 @@ paths: enum: - open - resolved - - &421 + - &420 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -20949,7 +20949,7 @@ paths: required: false schema: type: string - - &422 + - &421 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -20958,7 +20958,7 @@ paths: required: false schema: type: string - - &423 + - &422 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. @@ -20974,7 +20974,7 @@ paths: - *17 - *104 - *105 - - &424 + - &423 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -20983,7 +20983,7 @@ paths: required: false schema: type: string - - &425 + - &424 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -20992,7 +20992,7 @@ paths: schema: type: boolean default: false - - &426 + - &425 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -21001,7 +21001,7 @@ paths: schema: type: boolean default: false - - &427 + - &426 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -21017,7 +21017,7 @@ paths: application/json: schema: type: array - items: &428 + items: &427 type: object properties: number: *123 @@ -21036,14 +21036,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &739 + state: &737 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: &740 + resolution: &738 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -21150,8 +21150,8 @@ paths: pull request. ' - oneOf: &741 - - &743 + oneOf: &739 + - &741 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -21203,7 +21203,7 @@ paths: - blob_url - commit_sha - commit_url - - &744 + - &742 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -21258,7 +21258,7 @@ paths: - page_url - commit_sha - commit_url - - &745 + - &743 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -21272,7 +21272,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &746 + - &744 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -21286,7 +21286,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &747 + - &745 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -21300,7 +21300,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &748 + - &746 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -21314,7 +21314,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &749 + - &747 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -21328,7 +21328,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &750 + - &748 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -21342,7 +21342,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &751 + - &749 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -21356,7 +21356,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &752 + - &750 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -21370,7 +21370,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &753 + - &751 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -21384,7 +21384,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &754 + - &752 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -21398,7 +21398,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &755 + - &753 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -21425,7 +21425,7 @@ paths: required: *21 nullable: true examples: - default: &429 + default: &428 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -21634,7 +21634,7 @@ paths: description: Response content: application/json: - schema: &430 + schema: &429 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. @@ -21717,7 +21717,7 @@ paths: description: Overrides for custom patterns defined by the organization. items: *191 examples: - default: &431 + default: &430 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -21861,7 +21861,7 @@ paths: description: Response content: application/json: - schema: &434 + schema: &433 type: object properties: total_minutes_used: @@ -21931,7 +21931,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &435 + default: &434 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -21962,7 +21962,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *41 - - &436 + - &435 name: advanced_security_product in: query description: | @@ -21982,7 +21982,7 @@ paths: description: Success content: application/json: - schema: &437 + schema: &436 type: object properties: total_advanced_security_committers: @@ -22037,7 +22037,7 @@ paths: required: - repositories examples: - default: &438 + default: &437 value: total_advanced_security_committers: 2 total_count: 2 @@ -22657,7 +22657,7 @@ paths: description: Response content: application/json: - schema: &439 + schema: &438 type: object properties: total_gigabytes_bandwidth_used: @@ -22675,7 +22675,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &440 + default: &439 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -22919,7 +22919,7 @@ paths: description: Response content: application/json: - schema: &441 + schema: &440 type: object properties: days_left_in_billing_cycle: @@ -22937,7 +22937,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &442 + default: &441 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -24169,7 +24169,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &661 + properties: &659 id: type: integer format: int64 @@ -24281,7 +24281,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &401 + properties: &400 url: type: string format: uri @@ -24351,7 +24351,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &402 + required: &401 - closed_issues - creator - description @@ -24541,7 +24541,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &799 + sub_issues_summary: &797 title: Sub-issues Summary type: object properties: @@ -24561,7 +24561,7 @@ paths: type: string format: uri nullable: true - issue_dependencies_summary: &800 + issue_dependencies_summary: &798 title: Issue Dependencies Summary type: object properties: @@ -24580,7 +24580,7 @@ paths: - total_blocking issue_field_values: type: array - items: &801 + items: &799 title: Issue Field Value description: A value assigned to an issue field type: object @@ -24640,7 +24640,7 @@ paths: - node_id - data_type - value - required: &662 + required: &660 - assignee - closed_at - comments @@ -24661,7 +24661,7 @@ paths: - user - created_at - updated_at - comment: &659 + comment: &657 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -25219,7 +25219,7 @@ paths: url: type: string format: uri - user: &813 + user: &811 title: Public User description: Public User type: object @@ -28525,14 +28525,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: - - &466 + - &465 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &467 + - &466 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -28594,7 +28594,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &480 + '301': &477 description: Moved permanently content: application/json: @@ -28616,7 +28616,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &691 + - &689 name: all description: If `true`, show notifications marked as read. in: query @@ -28624,7 +28624,7 @@ paths: schema: type: boolean default: false - - &692 + - &690 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -28634,7 +28634,7 @@ paths: type: boolean default: false - *216 - - &693 + - &691 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: @@ -28946,7 +28946,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &412 + security_and_analysis: &411 nullable: true type: object properties: @@ -29116,7 +29116,7 @@ paths: - url - subscription_url examples: - default: &694 + default: &692 value: - id: '1' repository: @@ -30087,7 +30087,7 @@ paths: type: array items: *151 examples: - default: &700 + default: &698 value: - property_name: environment value: production @@ -30137,7 +30137,7 @@ paths: required: - properties examples: - default: &701 + default: &699 value: properties: - property_name: environment @@ -31256,7 +31256,7 @@ paths: type: integer repository_cache_usages: type: array - items: &485 + items: &482 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -33370,7 +33370,7 @@ paths: type: array items: *280 examples: - default: &816 + default: &814 value: total_count: 1 repositories: @@ -34412,7 +34412,7 @@ paths: description: Response content: application/json: - schema: &505 + schema: &502 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -34441,7 +34441,7 @@ paths: - key_id - key examples: - default: &506 + default: &503 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -34854,7 +34854,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *83 - - &490 + - &487 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)." @@ -35665,12 +35665,12 @@ paths: required: - subject_digests examples: - default: &844 + default: &842 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &845 + withPredicateType: &843 value: subject_digests: - sha256:abc123 @@ -35728,7 +35728,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &846 + default: &844 value: attestations_subject_digests: - sha256:abc: @@ -36077,7 +36077,7 @@ paths: initiator: type: string examples: - default: &519 + default: &516 value: attestations: - bundle: @@ -36994,7 +36994,7 @@ paths: be returned. in: query required: false - schema: &546 + schema: &543 type: string description: Severity of a code scanning alert. enum: @@ -38040,7 +38040,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &575 + properties: &572 name: type: string description: The name of the machine. @@ -38082,7 +38082,7 @@ paths: - ready - in_progress nullable: true - required: &576 + required: &573 - name - display_name - operating_system @@ -38950,7 +38950,7 @@ paths: - updated_at - visibility examples: - default: &577 + default: &574 value: total_count: 2 secrets: @@ -38988,7 +38988,7 @@ paths: description: Response content: application/json: - schema: &578 + schema: &575 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -39017,7 +39017,7 @@ paths: - key_id - key examples: - default: &579 + default: &576 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -39049,7 +39049,7 @@ paths: application/json: schema: *322 examples: - default: &581 + default: &578 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -40758,7 +40758,7 @@ paths: description: Response content: application/json: - schema: &607 + schema: &604 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -40775,7 +40775,7 @@ paths: - key_id - key examples: - default: &608 + default: &605 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -41105,7 +41105,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *83 - - &616 + - &613 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -41113,7 +41113,7 @@ paths: required: false schema: type: string - - &617 + - &614 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -41121,7 +41121,7 @@ paths: required: false schema: type: string - - &618 + - &615 name: time_period description: |- The time period to filter by. @@ -41137,7 +41137,7 @@ paths: - week - month default: month - - &619 + - &616 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -41162,7 +41162,7 @@ paths: application/json: schema: type: array - items: &620 + items: &617 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -41318,7 +41318,7 @@ paths: format: uri example: https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &621 + default: &618 value: - id: 21 number: 42 @@ -41409,7 +41409,7 @@ paths: - *99 - *100 - *101 - - &622 + - &619 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -41435,7 +41435,7 @@ paths: application/json: schema: type: array - items: &623 + items: &620 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -41556,7 +41556,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &624 + default: &621 value: - id: 21 number: 42 @@ -41901,7 +41901,7 @@ paths: description: Response content: application/json: - schema: &461 + schema: &460 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -41982,7 +41982,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &462 + default: &461 value: group_id: '123' group_name: Octocat admins @@ -42037,7 +42037,7 @@ paths: description: Response content: application/json: - schema: &459 + schema: &458 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -42074,7 +42074,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &460 + default: &459 value: groups: - group_id: '123' @@ -42232,7 +42232,7 @@ paths: application/json: schema: type: array - items: &413 + items: &412 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -42246,7 +42246,7 @@ paths: - name - description examples: - default: &414 + default: &413 value: - name: add_assignee description: Assign or remove a user @@ -43376,7 +43376,7 @@ paths: application/json: schema: *22 examples: - default: &655 + default: &652 value: id: 1 account: @@ -43601,7 +43601,7 @@ paths: required: true content: application/json: - schema: &656 + schema: &653 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -44462,7 +44462,7 @@ paths: application/json: schema: *369 examples: - default: &574 + default: &571 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -45707,7 +45707,7 @@ paths: parameters: - *83 - *375 - - &829 + - &827 name: repo_name description: repo_name parameter in: path @@ -46739,7 +46739,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &433 + items: &432 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -47033,7 +47033,7 @@ paths: - nuget - container - *83 - - &830 + - &828 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -47074,7 +47074,7 @@ paths: default: *381 '403': *29 '401': *25 - '400': &832 + '400': &830 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -48767,266 +48767,6 @@ paths: enabledForGitHubApps: true category: private-registries subcategory: organization-configurations - "/orgs/{org}/projects": - get: - summary: List organization projects - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/list-for-org - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-organization-projects - parameters: - - *83 - - name: state - description: Indicates the state of the projects to return. - in: query - required: false - schema: - type: string - enum: - - open - - closed - - all - default: open - - *17 - - *19 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: &396 - title: Project - description: Projects are a way to organize columns and cards of - work. - type: object - properties: - owner_url: - type: string - format: uri - example: https://api.github.com/repos/api-playground/projects-test - url: - type: string - format: uri - example: https://api.github.com/projects/1002604 - html_url: - type: string - format: uri - example: https://github.com/api-playground/projects-test/projects/12 - columns_url: - type: string - format: uri - example: https://api.github.com/projects/1002604/columns - id: - type: integer - example: 1002604 - node_id: - type: string - example: MDc6UHJvamVjdDEwMDI2MDQ= - name: - description: Name of the project - example: Week One Sprint - type: string - body: - description: Body of the project - example: This project represents the sprint of the first week - in January - type: string - nullable: true - number: - type: integer - example: 1 - state: - description: State of the project; either 'open' or 'closed' - example: open - type: string - creator: - title: Simple User - description: A GitHub user. - type: object - properties: *20 - required: *21 - nullable: true - created_at: - type: string - format: date-time - example: '2011-04-10T20:09:31Z' - updated_at: - type: string - format: date-time - example: '2014-03-03T18:58:10Z' - organization_permission: - description: The baseline permission that all organization members - have on this project. Only present if owner is an organization. - type: string - enum: - - read - - write - - admin - - none - private: - description: Whether or not this project can be seen by everyone. - Only present if owner is an organization. - type: boolean - required: - - id - - node_id - - number - - name - - body - - state - - url - - html_url - - owner_url - - creator - - columns_url - - created_at - - updated_at - examples: - default: - value: - - owner_url: https://api.github.com/orgs/octocat - url: https://api.github.com/projects/1002605 - html_url: https://github.com/orgs/api-playground/projects/1 - columns_url: https://api.github.com/projects/1002605/columns - id: 1002605 - node_id: MDc6UHJvamVjdDEwMDI2MDU= - name: Organization Roadmap - body: High-level roadmap for the upcoming year. - number: 1 - state: open - creator: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - created_at: '2011-04-11T20:09:31Z' - updated_at: '2014-03-04T18:58:10Z' - organization_permission: write - private: true - headers: - Link: *43 - '422': *7 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true - post: - summary: Create an organization project - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/create-for-org - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#create-an-organization-project - parameters: - - *83 - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - name: - type: string - description: The name of the project. - body: - type: string - description: The description of the project. - required: - - name - examples: - default: - value: - name: Organization Roadmap - body: High-level roadmap for the upcoming year. - responses: - '201': - description: Response - content: - application/json: - schema: *396 - examples: - default: - value: - owner_url: https://api.github.com/orgs/octocat - url: https://api.github.com/projects/1002605 - html_url: https://github.com/orgs/api-playground/projects/1 - columns_url: https://api.github.com/projects/1002605/columns - id: 1002605 - node_id: MDc6UHJvamVjdDEwMDI2MDU= - name: Organization Roadmap - body: High-level roadmap for the upcoming year. - number: 1 - state: open - creator: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - created_at: '2011-04-11T20:09:31Z' - updated_at: '2014-03-04T18:58:10Z' - '401': *25 - '403': *29 - '404': *6 - '410': &477 - description: Gone - content: - application/json: - schema: *3 - '422': *7 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true "/orgs/{org}/projectsV2": get: summary: List projects for organization @@ -49056,7 +48796,7 @@ paths: application/json: schema: type: array - items: &397 + items: &396 title: Projects v2 Project description: A projects v2 project type: object @@ -49126,7 +48866,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &910 + properties: &908 id: type: number description: The unique identifier of the status update. @@ -49174,7 +48914,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &911 + required: &909 - id - node_id - created_at @@ -49199,7 +48939,7 @@ paths: - deleted_at - deleted_by examples: - default: &398 + default: &397 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -49302,7 +49042,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-organization parameters: - - &399 + - &398 name: project_number description: The project's number. in: path @@ -49315,9 +49055,9 @@ paths: description: Response content: application/json: - schema: *397 + schema: *396 examples: - default: *398 + default: *397 headers: Link: *43 '304': *37 @@ -49339,7 +49079,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-organization parameters: - - *399 + - *398 - *83 - *17 - *104 @@ -49351,7 +49091,7 @@ paths: application/json: schema: type: array - items: &400 + items: &399 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -49498,7 +49238,7 @@ paths: - updated_at - project_url examples: - default: &849 + default: &847 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -49601,8 +49341,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-organization parameters: - - *399 - - &850 + - *398 + - &848 name: field_id description: The unique identifier of the field. in: path @@ -49615,9 +49355,9 @@ paths: description: Response content: application/json: - schema: *400 + schema: *399 examples: - default: &851 + default: &849 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -49661,7 +49401,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *399 + - *398 - *83 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) @@ -49694,7 +49434,7 @@ paths: application/json: schema: type: array - items: &406 + items: &405 title: Projects v2 Item description: An item belonging to a project type: object @@ -49710,7 +49450,7 @@ paths: format: uri example: https://api.github.com/users/monalisa/2/projectsV2/3 description: The API URL of the project that contains this item. - content_type: &404 + content_type: &403 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -49760,7 +49500,7 @@ paths: - updated_at - archived_at examples: - default: &407 + default: &406 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -50455,7 +50195,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-organization-owned-project parameters: - *83 - - *399 + - *398 requestBody: required: true description: Details of the item to add to the project. @@ -50492,7 +50232,7 @@ paths: description: Response content: application/json: - schema: &852 + schema: &850 title: Projects v2 Item description: An item belonging to a project type: object @@ -50506,7 +50246,7 @@ paths: content: oneOf: - *226 - - &589 + - &586 title: Pull Request Simple description: Pull Request Simple type: object @@ -50612,8 +50352,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *401 - required: *402 + properties: *400 + required: *401 nullable: true active_lock_reason: type: string @@ -50709,7 +50449,7 @@ paths: _links: type: object properties: - comments: &403 + comments: &402 title: Link description: Hypermedia Link type: object @@ -50718,13 +50458,13 @@ paths: type: string required: - href - commits: *403 - statuses: *403 - html: *403 - issue: *403 - review_comments: *403 - review_comment: *403 - self: *403 + commits: *402 + statuses: *402 + html: *402 + issue: *402 + review_comments: *402 + review_comment: *402 + self: *402 required: - comments - commits @@ -50735,7 +50475,7 @@ paths: - review_comment - self author_association: *213 - auto_merge: &703 + auto_merge: &701 title: Auto merge description: The status of auto merging a pull request. type: object @@ -50837,7 +50577,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *404 + content_type: *403 creator: *4 created_at: type: string @@ -50870,7 +50610,7 @@ paths: - updated_at - archived_at examples: - issue: &405 + issue: &404 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -50925,7 +50665,7 @@ paths: archived_at: project_url: https://api.github.com/users/octocat/projectsV2/1 item_url: https://api.github.com/users/octocat/projectsV2/items/17 - pull_request: *405 + pull_request: *404 '304': *37 '403': *29 '401': *25 @@ -50945,9 +50685,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *399 + - *398 - *83 - - &408 + - &407 name: item_id description: The unique identifier of the project item. in: path @@ -50973,9 +50713,9 @@ paths: description: Response content: application/json: - schema: *406 + schema: *405 examples: - default: *407 + default: *406 headers: Link: *43 '304': *37 @@ -50996,9 +50736,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-organization parameters: - - *399 + - *398 - *83 - - *408 + - *407 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -51068,13 +50808,13 @@ paths: description: Response content: application/json: - schema: *406 + schema: *405 examples: - text_field: *407 - number_field: *407 - date_field: *407 - single_select_field: *407 - iteration_field: *407 + text_field: *406 + number_field: *406 + date_field: *406 + single_select_field: *406 + iteration_field: *406 '401': *25 '403': *29 '404': *6 @@ -51094,9 +50834,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-organization parameters: - - *399 + - *398 - *83 - - *408 + - *407 responses: '204': description: Response @@ -51259,7 +50999,7 @@ paths: required: true content: application/json: - schema: *409 + schema: *408 examples: default: value: @@ -51827,7 +51567,7 @@ paths: description: Response content: application/json: - schema: &479 + schema: &476 title: Full Repository description: Full Repository type: object @@ -52104,8 +51844,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *410 - required: *411 + properties: *409 + required: *410 nullable: true temp_clone_token: type: string @@ -52220,7 +51960,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &594 + properties: &591 url: type: string format: uri @@ -52236,12 +51976,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &595 + required: &592 - url - key - name - html_url - security_and_analysis: *412 + security_and_analysis: *411 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -52325,7 +52065,7 @@ paths: - network_count - subscribers_count examples: - default: &481 + default: &478 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -52851,9 +52591,9 @@ paths: application/json: schema: type: array - items: *413 + items: *412 examples: - default: *414 + default: *413 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -52878,7 +52618,7 @@ paths: - *83 - *17 - *19 - - &726 + - &724 name: targets description: | A comma-separated list of rule targets to filter by. @@ -52969,11 +52709,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *164 - conditions: *415 + conditions: *414 rules: type: array description: An array of rules within the ruleset. - items: &417 + items: &416 title: Repository Rule type: object description: A repository rule. @@ -53037,7 +52777,7 @@ paths: application/json: schema: *185 examples: - default: &416 + default: &415 value: id: 21 name: super cool ruleset @@ -53092,7 +52832,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *83 - - &728 + - &726 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 @@ -53104,14 +52844,14 @@ paths: x-multi-segment: true - *304 - *101 - - &729 + - &727 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 - - &730 + - &728 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -53131,7 +52871,7 @@ paths: description: Response content: application/json: - schema: &731 + schema: &729 title: Rule Suites description: Response type: array @@ -53186,7 +52926,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &732 + default: &730 value: - id: 21 actor_id: 12 @@ -53230,7 +52970,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *83 - - &733 + - &731 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -53246,7 +52986,7 @@ paths: description: Response content: application/json: - schema: &734 + schema: &732 title: Rule Suite description: Response type: object @@ -53345,7 +53085,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &735 + default: &733 value: id: 21 actor_id: 12 @@ -53420,7 +53160,7 @@ paths: application/json: schema: *185 examples: - default: *416 + default: *415 '404': *6 '500': *40 put: @@ -53469,11 +53209,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *164 - conditions: *415 + conditions: *414 rules: description: An array of rules within the ruleset. type: array - items: *417 + items: *416 examples: default: value: @@ -53510,7 +53250,7 @@ paths: application/json: schema: *185 examples: - default: *416 + default: *415 '404': *6 '500': *40 delete: @@ -53569,7 +53309,7 @@ paths: type: array items: *189 examples: - default: *418 + default: *417 '404': *6 '500': *40 x-github: @@ -53606,7 +53346,7 @@ paths: description: Response content: application/json: - schema: *419 + schema: *418 examples: default: value: @@ -53669,14 +53409,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *83 + - *419 - *420 - *421 - *422 - - *423 - *106 - *19 - *17 - - &737 + - &735 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 @@ -53686,7 +53426,7 @@ paths: required: false schema: type: string - - &738 + - &736 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 @@ -53696,10 +53436,10 @@ paths: required: false schema: type: string + - *423 - *424 - *425 - *426 - - *427 responses: '200': description: Response @@ -53707,9 +53447,9 @@ paths: application/json: schema: type: array - items: *428 + items: *427 examples: - default: *429 + default: *428 headers: Link: *43 '404': *6 @@ -53744,9 +53484,9 @@ paths: description: Response content: application/json: - schema: *430 + schema: *429 examples: - default: *431 + default: *430 '403': *29 '404': *6 patch: @@ -53899,7 +53639,7 @@ paths: application/json: schema: type: array - items: &759 + items: &757 description: A repository security advisory. type: object properties: @@ -54119,7 +53859,7 @@ paths: login: type: string description: The username of the user credited. - type: *432 + type: *431 credits_detailed: type: array nullable: true @@ -54129,7 +53869,7 @@ paths: type: object properties: user: *4 - type: *432 + type: *431 state: type: string description: The state of the user's acceptance of the @@ -54190,7 +53930,7 @@ paths: - private_fork additionalProperties: false examples: - default: &760 + default: &758 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -54577,7 +54317,7 @@ paths: application/json: schema: type: array - items: *433 + items: *432 examples: default: *379 x-github: @@ -54664,9 +54404,9 @@ paths: description: Response content: application/json: - schema: *434 + schema: *433 examples: - default: *435 + default: *434 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -54691,7 +54431,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *83 - - *436 + - *435 - *17 - *19 responses: @@ -54699,9 +54439,9 @@ paths: description: Success content: application/json: - schema: *437 + schema: *436 examples: - default: *438 + default: *437 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -54729,9 +54469,9 @@ paths: description: Response content: application/json: - schema: *439 + schema: *438 examples: - default: *440 + default: *439 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -54759,9 +54499,9 @@ paths: description: Response content: application/json: - schema: *441 + schema: *440 examples: - default: *442 + default: *441 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -55042,7 +54782,7 @@ paths: type: array items: *143 examples: - default: *443 + default: *442 headers: Link: *43 x-github: @@ -55243,15 +54983,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - *83 - - *444 + - *443 responses: '200': description: Response content: application/json: - schema: *445 + schema: *444 examples: - default: *446 + default: *445 headers: Link: *43 x-github: @@ -55289,7 +55029,7 @@ paths: description: Response content: application/json: - schema: &468 + schema: &467 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -55335,7 +55075,7 @@ paths: type: string nullable: true examples: - default: &469 + default: &468 value: groups: - group_id: '123' @@ -55543,7 +55283,7 @@ paths: description: Response content: application/json: - schema: &447 + schema: &446 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -55870,7 +55610,7 @@ paths: - repos_count - organization examples: - default: &448 + default: &447 value: id: 1 node_id: MDQ6VGVhbTE= @@ -55947,9 +55687,9 @@ paths: description: Response content: application/json: - schema: *447 + schema: *446 examples: - default: *448 + default: *447 '404': *6 x-github: githubCloudOnly: false @@ -56033,16 +55773,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *447 + schema: *446 examples: - default: *448 + default: *447 '201': description: Response content: application/json: - schema: *447 + schema: *446 examples: - default: *448 + default: *447 '404': *6 '422': *15 '403': *29 @@ -56112,7 +55852,7 @@ paths: application/json: schema: type: array - items: &449 + items: &448 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -56211,7 +55951,7 @@ paths: - updated_at - url examples: - default: &803 + default: &801 value: - author: login: octocat @@ -56320,9 +56060,9 @@ paths: description: Response content: application/json: - schema: *449 + schema: *448 examples: - default: &450 + default: &449 value: author: login: octocat @@ -56396,7 +56136,7 @@ paths: parameters: - *83 - *209 - - &451 + - &450 name: discussion_number description: The number that identifies the discussion. in: path @@ -56408,9 +56148,9 @@ paths: description: Response content: application/json: - schema: *449 + schema: *448 examples: - default: *450 + default: *449 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56434,7 +56174,7 @@ paths: parameters: - *83 - *209 - - *451 + - *450 requestBody: required: false content: @@ -56457,9 +56197,9 @@ paths: description: Response content: application/json: - schema: *449 + schema: *448 examples: - default: &804 + default: &802 value: author: login: octocat @@ -56531,7 +56271,7 @@ paths: parameters: - *83 - *209 - - *451 + - *450 responses: '204': description: Response @@ -56559,7 +56299,7 @@ paths: parameters: - *83 - *209 - - *451 + - *450 - *106 - *17 - *19 @@ -56570,7 +56310,7 @@ paths: application/json: schema: type: array - items: &452 + items: &451 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -56642,7 +56382,7 @@ paths: - updated_at - url examples: - default: &805 + default: &803 value: - author: login: octocat @@ -56712,7 +56452,7 @@ paths: parameters: - *83 - *209 - - *451 + - *450 requestBody: required: true content: @@ -56734,9 +56474,9 @@ paths: description: Response content: application/json: - schema: *452 + schema: *451 examples: - default: &453 + default: &452 value: author: login: octocat @@ -56804,8 +56544,8 @@ paths: parameters: - *83 - *209 - - *451 - - &454 + - *450 + - &453 name: comment_number description: The number that identifies the comment. in: path @@ -56817,9 +56557,9 @@ paths: description: Response content: application/json: - schema: *452 + schema: *451 examples: - default: *453 + default: *452 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56843,8 +56583,8 @@ paths: parameters: - *83 - *209 - - *451 - - *454 + - *450 + - *453 requestBody: required: true content: @@ -56866,9 +56606,9 @@ paths: description: Response content: application/json: - schema: *452 + schema: *451 examples: - default: &806 + default: &804 value: author: login: octocat @@ -56934,8 +56674,8 @@ paths: parameters: - *83 - *209 - - *451 - - *454 + - *450 + - *453 responses: '204': description: Response @@ -56963,8 +56703,8 @@ paths: parameters: - *83 - *209 - - *451 - - *454 + - *450 + - *453 - 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. @@ -56990,7 +56730,7 @@ paths: application/json: schema: type: array - items: &455 + items: &454 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -57033,7 +56773,7 @@ paths: - content - created_at examples: - default: &457 + default: &456 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -57085,8 +56825,8 @@ paths: parameters: - *83 - *209 - - *451 - - *454 + - *450 + - *453 requestBody: required: true content: @@ -57119,9 +56859,9 @@ paths: team discussion comment content: application/json: - schema: *455 + schema: *454 examples: - default: &456 + default: &455 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -57150,9 +56890,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *454 examples: - default: *456 + default: *455 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57177,9 +56917,9 @@ paths: parameters: - *83 - *209 - - *451 - - *454 - - &458 + - *450 + - *453 + - &457 name: reaction_id description: The unique identifier of the reaction. in: path @@ -57213,7 +56953,7 @@ paths: parameters: - *83 - *209 - - *451 + - *450 - 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. @@ -57239,9 +56979,9 @@ paths: application/json: schema: type: array - items: *455 + items: *454 examples: - default: *457 + default: *456 headers: Link: *43 x-github: @@ -57269,7 +57009,7 @@ paths: parameters: - *83 - *209 - - *451 + - *450 requestBody: required: true content: @@ -57301,16 +57041,16 @@ paths: description: Response content: application/json: - schema: *455 + schema: *454 examples: - default: *456 + default: *455 '201': description: Response content: application/json: - schema: *455 + schema: *454 examples: - default: *456 + default: *455 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -57335,8 +57075,8 @@ paths: parameters: - *83 - *209 - - *451 - - *458 + - *450 + - *457 responses: '204': description: Response @@ -57366,9 +57106,9 @@ paths: description: Response content: application/json: - schema: *459 + schema: *458 examples: - default: *460 + default: *459 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -57411,9 +57151,9 @@ paths: description: Response content: application/json: - schema: *461 + schema: *460 examples: - default: *462 + default: *461 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -57554,7 +57294,7 @@ paths: description: Response content: application/json: - schema: &463 + schema: &462 title: Team Membership description: Team Membership type: object @@ -57581,7 +57321,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &807 + response-if-user-is-a-team-maintainer: &805 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -57644,9 +57384,9 @@ paths: description: Response content: application/json: - schema: *463 + schema: *462 examples: - response-if-users-membership-with-team-is-now-pending: &808 + response-if-users-membership-with-team-is-now-pending: &806 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -57719,7 +57459,7 @@ paths: application/json: schema: type: array - items: &464 + items: &463 title: Team Project description: A team's access to a project. type: object @@ -57787,7 +57527,7 @@ paths: - updated_at - permissions examples: - default: &809 + default: &807 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -57852,7 +57592,7 @@ paths: parameters: - *83 - *209 - - &465 + - &464 name: project_id description: The unique identifier of the project. in: path @@ -57864,9 +57604,9 @@ paths: description: Response content: application/json: - schema: *464 + schema: *463 examples: - default: &810 + default: &808 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -57930,7 +57670,7 @@ paths: parameters: - *83 - *209 - - *465 + - *464 requestBody: required: false content: @@ -57998,7 +57738,7 @@ paths: parameters: - *83 - *209 - - *465 + - *464 responses: '204': description: Response @@ -58069,14 +57809,14 @@ paths: parameters: - *83 - *209 + - *465 - *466 - - *467 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &811 + schema: &809 title: Team Repository description: A team's access to a repository. type: object @@ -58647,8 +58387,8 @@ paths: parameters: - *83 - *209 + - *465 - *466 - - *467 requestBody: required: false content: @@ -58695,8 +58435,8 @@ paths: parameters: - *83 - *209 + - *465 - *466 - - *467 responses: '204': description: Response @@ -58729,9 +58469,9 @@ paths: description: Response content: application/json: - schema: *468 + schema: *467 examples: - default: *469 + default: *468 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -58797,7 +58537,7 @@ paths: description: Response content: application/json: - schema: *468 + schema: *467 examples: default: value: @@ -58842,7 +58582,7 @@ paths: type: array items: *307 examples: - response-if-child-teams-exist: &812 + response-if-child-teams-exist: &810 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -58969,7 +58709,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#get-a-project-card parameters: - - &470 + - &469 name: card_id description: The unique identifier of the card. in: path @@ -58981,7 +58721,7 @@ paths: description: Response content: application/json: - schema: &471 + schema: &470 title: Project Card description: Project cards represent a scope of work. type: object @@ -59048,7 +58788,7 @@ paths: - created_at - updated_at examples: - default: &472 + default: &471 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -59104,7 +58844,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#update-an-existing-project-card parameters: - - *470 + - *469 requestBody: required: false content: @@ -59131,9 +58871,9 @@ paths: description: Response content: application/json: - schema: *471 + schema: *470 examples: - default: *472 + default: *471 '304': *37 '403': *29 '401': *25 @@ -59160,7 +58900,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#delete-a-project-card parameters: - - *470 + - *469 responses: '204': description: Response @@ -59204,7 +58944,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#move-a-project-card parameters: - - *470 + - *469 requestBody: required: true content: @@ -59315,7 +59055,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#get-a-project-column parameters: - - &473 + - &472 name: column_id description: The unique identifier of the column. in: path @@ -59327,7 +59067,7 @@ paths: description: Response content: application/json: - schema: &474 + schema: &473 title: Project Column description: Project columns contain cards of work. type: object @@ -59373,7 +59113,7 @@ paths: - created_at - updated_at examples: - default: &475 + default: &474 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -59408,7 +59148,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#update-an-existing-project-column parameters: - - *473 + - *472 requestBody: required: true content: @@ -59432,9 +59172,9 @@ paths: description: Response content: application/json: - schema: *474 + schema: *473 examples: - default: *475 + default: *474 '304': *37 '403': *29 '401': *25 @@ -59459,7 +59199,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#delete-a-project-column parameters: - - *473 + - *472 responses: '204': description: Response @@ -59488,7 +59228,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#list-project-cards parameters: - - *473 + - *472 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -59509,7 +59249,7 @@ paths: application/json: schema: type: array - items: *471 + items: *470 examples: default: value: @@ -59568,7 +59308,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#create-a-project-card parameters: - - *473 + - *472 requestBody: required: true content: @@ -59608,9 +59348,9 @@ paths: description: Response content: application/json: - schema: *471 + schema: *470 examples: - default: *472 + default: *471 '304': *37 '403': *29 '401': *25 @@ -59666,7 +59406,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#move-a-project-column parameters: - - *473 + - *472 requestBody: required: true content: @@ -59712,208 +59452,6 @@ paths: deprecationDate: '2024-05-23' removalDate: '2025-04-01' deprecated: true - "/projects/{project_id}": - get: - summary: Get a project - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/get - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#get-a-project - parameters: - - *465 - responses: - '200': - description: Response - content: - application/json: - schema: *396 - examples: - default: &476 - value: - owner_url: https://api.github.com/repos/api-playground/projects-test - url: https://api.github.com/projects/1002604 - html_url: https://github.com/api-playground/projects-test/projects/1 - columns_url: https://api.github.com/projects/1002604/columns - id: 1002604 - node_id: MDc6UHJvamVjdDEwMDI2MDQ= - name: Projects Documentation - body: Developer documentation project for the developer site. - number: 1 - state: open - creator: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - created_at: '2011-04-10T20:09:31Z' - updated_at: '2014-03-03T18:58:10Z' - '304': *37 - '403': *29 - '401': *25 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true - patch: - summary: Update a project - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - operationId: projects-classic/update - tags: - - projects-classic - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#update-a-project - parameters: - - *465 - requestBody: - required: false - content: - application/json: - schema: - properties: - name: - description: Name of the project - example: Week One Sprint - type: string - body: - description: Body of the project - example: This project represents the sprint of the first week in - January - type: string - nullable: true - state: - description: State of the project; either 'open' or 'closed' - example: open - type: string - organization_permission: - description: The baseline permission that all organization members - have on this project - type: string - enum: - - read - - write - - admin - - none - private: - description: Whether or not this project can be seen by everyone. - type: boolean - type: object - examples: - default: - summary: Change the name, state, and permissions for a project - value: - name: Week One Sprint - state: open - organization_permission: write - responses: - '200': - description: Response - content: - application/json: - schema: *396 - examples: - default: *476 - '404': - description: Not Found if the authenticated user does not have access to - the project - '304': *37 - '403': - description: Forbidden - content: - application/json: - schema: - type: object - properties: - message: - type: string - documentation_url: - type: string - errors: - type: array - items: - type: string - '401': *25 - '410': *477 - '422': *7 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true - delete: - summary: Delete a project - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - operationId: projects-classic/delete - tags: - - projects-classic - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#delete-a-project - parameters: - - *465 - responses: - '204': - description: Delete Success - '304': *37 - '403': - description: Forbidden - content: - application/json: - schema: - type: object - properties: - message: - type: string - documentation_url: - type: string - errors: - type: array - items: - type: string - '401': *25 - '410': *477 - '404': *6 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true "/projects/{project_id}/collaborators": get: summary: List project collaborators @@ -59928,7 +59466,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#list-project-collaborators parameters: - - *465 + - *464 - 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 @@ -59985,7 +59523,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#add-project-collaborator parameters: - - *465 + - *464 - *138 requestBody: required: false @@ -60038,7 +59576,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *465 + - *464 - *138 responses: '204': @@ -60070,7 +59608,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *465 + - *464 - *138 responses: '200': @@ -60171,7 +59709,7 @@ paths: resources: type: object properties: - core: &478 + core: &475 title: Rate Limit type: object properties: @@ -60188,21 +59726,21 @@ paths: - remaining - reset - used - graphql: *478 - search: *478 - code_search: *478 - source_import: *478 - integration_manifest: *478 - code_scanning_upload: *478 - actions_runner_registration: *478 - scim: *478 - dependency_snapshots: *478 - dependency_sbom: *478 - code_scanning_autofix: *478 + graphql: *475 + search: *475 + code_search: *475 + source_import: *475 + integration_manifest: *475 + code_scanning_upload: *475 + actions_runner_registration: *475 + scim: *475 + dependency_snapshots: *475 + dependency_sbom: *475 + code_scanning_autofix: *475 required: - core - search - rate: *478 + rate: *475 required: - rate - resources @@ -60307,14 +59845,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: + - *465 - *466 - - *467 responses: '200': description: Response content: application/json: - schema: *479 + schema: *476 examples: default-response: summary: Default response @@ -60819,7 +60357,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *480 + '301': *477 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60837,8 +60375,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: + - *465 - *466 - - *467 requestBody: required: false content: @@ -61095,10 +60633,10 @@ paths: description: Response content: application/json: - schema: *479 + schema: *476 examples: - default: *481 - '307': &482 + default: *478 + '307': &479 description: Temporary Redirect content: application/json: @@ -61127,8 +60665,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: + - *465 - *466 - - *467 responses: '204': description: Response @@ -61150,7 +60688,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': *482 + '307': *479 '404': *6 '409': *114 x-github: @@ -61174,11 +60712,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: + - *465 - *466 - - *467 - *17 - *19 - - &497 + - &494 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -61201,7 +60739,7 @@ paths: type: integer artifacts: type: array - items: &483 + items: &480 title: Artifact description: An artifact type: object @@ -61279,7 +60817,7 @@ paths: - expires_at - updated_at examples: - default: &498 + default: &495 value: total_count: 2 artifacts: @@ -61340,9 +60878,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: + - *465 - *466 - - *467 - - &484 + - &481 name: artifact_id description: The unique identifier of the artifact. in: path @@ -61354,7 +60892,7 @@ paths: description: Response content: application/json: - schema: *483 + schema: *480 examples: default: value: @@ -61392,9 +60930,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: + - *465 - *466 - - *467 - - *484 + - *481 responses: '204': description: Response @@ -61418,9 +60956,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: + - *465 - *466 - - *467 - - *484 + - *481 - name: archive_format in: path required: true @@ -61434,7 +60972,11 @@ 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': *477 + '410': &656 + description: Gone + content: + application/json: + schema: *3 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61457,14 +60999,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: + - *465 - *466 - - *467 responses: '200': description: Response content: application/json: - schema: *485 + schema: *482 examples: default: value: @@ -61490,11 +61032,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: + - *465 - *466 - - *467 - *17 - *19 - - &486 + - &483 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 @@ -61528,7 +61070,7 @@ paths: description: Response content: application/json: - schema: &487 + schema: &484 title: Repository actions caches description: Repository actions caches type: object @@ -61570,7 +61112,7 @@ paths: - total_count - actions_caches examples: - default: &488 + default: &485 value: total_count: 1 actions_caches: @@ -61602,23 +61144,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: + - *465 - *466 - - *467 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *486 + - *483 responses: '200': description: Response content: application/json: - schema: *487 + schema: *484 examples: - default: *488 + default: *485 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61638,8 +61180,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: + - *465 - *466 - - *467 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -61670,9 +61212,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: + - *465 - *466 - - *467 - - &489 + - &486 name: job_id description: The unique identifier of the job. in: path @@ -61684,7 +61226,7 @@ paths: description: Response content: application/json: - schema: &501 + schema: &498 title: Job description: Information of a job execution in a workflow run type: object @@ -61991,9 +61533,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: + - *465 - *466 - - *467 - - *489 + - *486 responses: '302': description: Response @@ -62021,9 +61563,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: + - *465 - *466 - - *467 - - *489 + - *486 requestBody: required: false content: @@ -62068,8 +61610,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: + - *465 - *466 - - *467 responses: '200': description: Status response @@ -62119,8 +61661,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: + - *465 - *466 - - *467 requestBody: required: true content: @@ -62183,8 +61725,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: + - *465 - *466 - - *467 - *17 - *19 responses: @@ -62202,7 +61744,7 @@ paths: type: integer secrets: type: array - items: &503 + items: &500 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -62222,7 +61764,7 @@ paths: - created_at - updated_at examples: - default: &504 + default: &501 value: total_count: 2 secrets: @@ -62255,9 +61797,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: + - *465 - *466 - - *467 - - *490 + - *487 - *19 responses: '200': @@ -62274,7 +61816,7 @@ paths: type: integer variables: type: array - items: &507 + items: &504 title: Actions Variable type: object properties: @@ -62304,7 +61846,7 @@ paths: - created_at - updated_at examples: - default: &508 + default: &505 value: total_count: 2 variables: @@ -62337,8 +61879,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: + - *465 - *466 - - *467 responses: '200': description: Response @@ -62347,7 +61889,7 @@ paths: schema: type: object properties: - enabled: &491 + enabled: &488 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *56 @@ -62382,8 +61924,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: + - *465 - *466 - - *467 responses: '204': description: Response @@ -62394,7 +61936,7 @@ paths: schema: type: object properties: - enabled: *491 + enabled: *488 allowed_actions: *56 sha_pinning_required: *57 required: @@ -62427,14 +61969,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: + - *465 - *466 - - *467 responses: '200': description: Response content: application/json: - schema: &492 + schema: &489 type: object properties: access_level: @@ -62452,7 +61994,7 @@ paths: required: - access_level examples: - default: &493 + default: &490 value: access_level: organization x-github: @@ -62477,15 +62019,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: + - *465 - *466 - - *467 requestBody: required: true content: application/json: - schema: *492 + schema: *489 examples: - default: *493 + default: *490 responses: '204': description: Response @@ -62509,8 +62051,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: + - *465 - *466 - - *467 responses: '200': description: Response @@ -62540,8 +62082,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: + - *465 - *466 - - *467 responses: '204': description: Empty response for successful settings update @@ -62575,8 +62117,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: + - *465 - *466 - - *467 responses: '200': description: Response @@ -62603,8 +62145,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: + - *465 - *466 - - *467 responses: '204': description: Response @@ -62638,8 +62180,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: + - *465 - *466 - - *467 responses: '200': description: Response @@ -62667,8 +62209,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: + - *465 - *466 - - *467 requestBody: required: true content: @@ -62699,8 +62241,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: + - *465 - *466 - - *467 responses: '200': description: Response @@ -62731,8 +62273,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: + - *465 - *466 - - *467 responses: '204': description: Response @@ -62764,8 +62306,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: + - *465 - *466 - - *467 responses: '200': description: Response @@ -62794,8 +62336,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: + - *465 - *466 - - *467 responses: '204': description: Success response @@ -62835,8 +62377,8 @@ paths: in: query schema: type: string + - *465 - *466 - - *467 - *17 - *19 responses: @@ -62880,8 +62422,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: + - *465 - *466 - - *467 responses: '200': description: Response @@ -62913,8 +62455,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: + - *465 - *466 - - *467 requestBody: required: true content: @@ -62988,8 +62530,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: + - *465 - *466 - - *467 responses: '201': description: Response @@ -63025,8 +62567,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: + - *465 - *466 - - *467 responses: '201': description: Response @@ -63056,8 +62598,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: + - *465 - *466 - - *467 - *71 responses: '200': @@ -63087,8 +62629,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: + - *465 - *466 - - *467 - *71 responses: '204': @@ -63115,8 +62657,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: + - *465 - *466 - - *467 - *71 responses: '200': *77 @@ -63141,8 +62683,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: + - *465 - *466 - - *467 - *71 requestBody: required: true @@ -63191,8 +62733,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: + - *465 - *466 - - *467 - *71 requestBody: required: true @@ -63242,8 +62784,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: + - *465 - *466 - - *467 - *71 responses: '200': *287 @@ -63273,8 +62815,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: + - *465 - *466 - - *467 - *71 - *288 responses: @@ -63304,9 +62846,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: + - *465 - *466 - - *467 - - &511 + - &508 name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -63314,7 +62856,7 @@ paths: required: false schema: type: string - - &512 + - &509 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -63322,7 +62864,7 @@ paths: required: false schema: type: string - - &513 + - &510 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -63331,7 +62873,7 @@ paths: required: false schema: type: string - - &514 + - &511 name: status description: Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status @@ -63358,7 +62900,7 @@ paths: - pending - *17 - *19 - - &515 + - &512 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/enterprise-cloud@latest//search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -63367,7 +62909,7 @@ paths: schema: type: string format: date-time - - &494 + - &491 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -63376,13 +62918,13 @@ paths: schema: type: boolean default: false - - &516 + - &513 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &517 + - &514 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -63405,7 +62947,7 @@ paths: type: integer workflow_runs: type: array - items: &495 + items: &492 title: Workflow Run description: An invocation of a workflow type: object @@ -63500,7 +63042,7 @@ paths: that triggered the run. type: array nullable: true - items: &536 + items: &533 title: Pull Request Minimal type: object properties: @@ -63619,7 +63161,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &540 + properties: &537 id: type: string description: SHA for the commit @@ -63670,7 +63212,7 @@ paths: - name - email nullable: true - required: &541 + required: &538 - id - tree_id - message @@ -63717,7 +63259,7 @@ paths: - workflow_url - pull_requests examples: - default: &518 + default: &515 value: total_count: 1 workflow_runs: @@ -63953,24 +63495,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: + - *465 - *466 - - *467 - - &496 + - &493 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *494 + - *491 responses: '200': description: Response content: application/json: - schema: *495 + schema: *492 examples: - default: &499 + default: &496 value: id: 30433642 name: Build @@ -64211,9 +63753,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: + - *465 - *466 - - *467 - - *496 + - *493 responses: '204': description: Response @@ -64236,9 +63778,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: + - *465 - *466 - - *467 - - *496 + - *493 responses: '200': description: Response @@ -64357,9 +63899,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: + - *465 - *466 - - *467 - - *496 + - *493 responses: '201': description: Response @@ -64392,12 +63934,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: + - *465 - *466 - - *467 - - *496 + - *493 - *17 - *19 - - *497 + - *494 responses: '200': description: Response @@ -64413,9 +63955,9 @@ paths: type: integer artifacts: type: array - items: *483 + items: *480 examples: - default: *498 + default: *495 headers: Link: *43 x-github: @@ -64439,25 +63981,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: + - *465 - *466 - - *467 - - *496 - - &500 + - *493 + - &497 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *494 + - *491 responses: '200': description: Response content: application/json: - schema: *495 + schema: *492 examples: - default: *499 + default: *496 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64480,10 +64022,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: + - *465 - *466 - - *467 - - *496 - - *500 + - *493 + - *497 - *17 - *19 responses: @@ -64501,9 +64043,9 @@ paths: type: integer jobs: type: array - items: *501 + items: *498 examples: - default: &502 + default: &499 value: total_count: 1 jobs: @@ -64616,10 +64158,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: + - *465 - *466 - - *467 - - *496 - - *500 + - *493 + - *497 responses: '302': description: Response @@ -64647,9 +64189,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: + - *465 - *466 - - *467 - - *496 + - *493 responses: '202': description: Response @@ -64682,9 +64224,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: + - *465 - *466 - - *467 - - *496 + - *493 requestBody: required: true content: @@ -64751,9 +64293,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: + - *465 - *466 - - *467 - - *496 + - *493 responses: '202': description: Response @@ -64786,9 +64328,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: + - *465 - *466 - - *467 - - *496 + - *493 - 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 @@ -64818,9 +64360,9 @@ paths: type: integer jobs: type: array - items: *501 + items: *498 examples: - default: *502 + default: *499 headers: Link: *43 x-github: @@ -64845,9 +64387,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: + - *465 - *466 - - *467 - - *496 + - *493 responses: '302': description: Response @@ -64874,9 +64416,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: + - *465 - *466 - - *467 - - *496 + - *493 responses: '204': description: Response @@ -64903,9 +64445,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: + - *465 - *466 - - *467 - - *496 + - *493 responses: '200': description: Response @@ -64965,7 +64507,7 @@ paths: items: type: object properties: - type: &625 + type: &622 type: string description: The type of reviewer. enum: @@ -65050,9 +64592,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: + - *465 - *466 - - *467 - - *496 + - *493 requestBody: required: true content: @@ -65099,7 +64641,7 @@ paths: application/json: schema: type: array - items: &611 + items: &608 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -65205,7 +64747,7 @@ paths: - created_at - updated_at examples: - default: &612 + default: &609 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -65261,9 +64803,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: + - *465 - *466 - - *467 - - *496 + - *493 requestBody: required: false content: @@ -65307,9 +64849,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: + - *465 - *466 - - *467 - - *496 + - *493 requestBody: required: false content: @@ -65363,9 +64905,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: + - *465 - *466 - - *467 - - *496 + - *493 responses: '200': description: Response @@ -65502,8 +65044,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: + - *465 - *466 - - *467 - *17 - *19 responses: @@ -65521,9 +65063,9 @@ paths: type: integer secrets: type: array - items: *503 + items: *500 examples: - default: *504 + default: *501 headers: Link: *43 x-github: @@ -65548,16 +65090,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: + - *465 - *466 - - *467 responses: '200': description: Response content: application/json: - schema: *505 + schema: *502 examples: - default: *506 + default: *503 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65579,17 +65121,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: + - *465 - *466 - - *467 - *290 responses: '200': description: Response content: application/json: - schema: *503 + schema: *500 examples: - default: &638 + default: &635 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -65615,8 +65157,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: + - *465 - *466 - - *467 - *290 requestBody: required: true @@ -65674,8 +65216,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: + - *465 - *466 - - *467 - *290 responses: '204': @@ -65701,9 +65243,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: + - *465 - *466 - - *467 - - *490 + - *487 - *19 responses: '200': @@ -65720,9 +65262,9 @@ paths: type: integer variables: type: array - items: *507 + items: *504 examples: - default: *508 + default: *505 headers: Link: *43 x-github: @@ -65745,8 +65287,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: + - *465 - *466 - - *467 requestBody: required: true content: @@ -65798,17 +65340,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: + - *465 - *466 - - *467 - *293 responses: '200': description: Response content: application/json: - schema: *507 + schema: *504 examples: - default: &639 + default: &636 value: name: USERNAME value: octocat @@ -65834,8 +65376,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: + - *465 - *466 - - *467 - *293 requestBody: required: true @@ -65878,8 +65420,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: + - *465 - *466 - - *467 - *293 responses: '204': @@ -65905,8 +65447,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: + - *465 - *466 - - *467 - *17 - *19 responses: @@ -65924,7 +65466,7 @@ paths: type: integer workflows: type: array - items: &509 + items: &506 title: Workflow description: A GitHub Actions workflow type: object @@ -66031,9 +65573,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: + - *465 - *466 - - *467 - - &510 + - &507 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -66048,7 +65590,7 @@ paths: description: Response content: application/json: - schema: *509 + schema: *506 examples: default: value: @@ -66081,9 +65623,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: + - *465 - *466 - - *467 - - *510 + - *507 responses: '204': description: Response @@ -66108,9 +65650,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: + - *465 - *466 - - *467 - - *510 + - *507 responses: '204': description: Response @@ -66161,9 +65703,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: + - *465 - *466 - - *467 - - *510 + - *507 responses: '204': description: Response @@ -66190,19 +65732,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: + - *465 - *466 - - *467 + - *507 + - *508 + - *509 - *510 - *511 + - *17 + - *19 - *512 + - *491 - *513 - *514 - - *17 - - *19 - - *515 - - *494 - - *516 - - *517 responses: '200': description: Response @@ -66218,9 +65760,9 @@ paths: type: integer workflow_runs: type: array - items: *495 + items: *492 examples: - default: *518 + default: *515 headers: Link: *43 x-github: @@ -66253,9 +65795,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: + - *465 - *466 - - *467 - - *510 + - *507 responses: '200': description: Response @@ -66316,8 +65858,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: + - *465 - *466 - - *467 - *106 - *17 - *104 @@ -66481,8 +66023,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: + - *465 - *466 - - *467 - *17 - *19 responses: @@ -66519,8 +66061,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: + - *465 - *466 - - *467 - name: assignee in: path required: true @@ -66556,8 +66098,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: + - *465 - *466 - - *467 requestBody: required: true content: @@ -66669,8 +66211,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: + - *465 - *466 - - *467 - *17 - *104 - *105 @@ -66727,7 +66269,7 @@ paths: initiator: type: string examples: - default: *519 + default: *516 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66747,8 +66289,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: + - *465 - *466 - - *467 responses: '200': description: Response @@ -66756,7 +66298,7 @@ paths: application/json: schema: type: array - items: &520 + items: &517 title: Autolink reference description: An autolink reference. type: object @@ -66810,8 +66352,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: + - *465 - *466 - - *467 requestBody: required: true content: @@ -66850,9 +66392,9 @@ paths: description: response content: application/json: - schema: *520 + schema: *517 examples: - default: &521 + default: &518 value: id: 1 key_prefix: TICKET- @@ -66883,9 +66425,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: + - *465 - *466 - - *467 - - &522 + - &519 name: autolink_id description: The unique identifier of the autolink. in: path @@ -66897,9 +66439,9 @@ paths: description: Response content: application/json: - schema: *520 + schema: *517 examples: - default: *521 + default: *518 '404': *6 x-github: githubCloudOnly: false @@ -66919,9 +66461,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: + - *465 - *466 - - *467 - - *522 + - *519 responses: '204': description: Response @@ -66945,8 +66487,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: + - *465 - *466 - - *467 responses: '200': description: Response if Dependabot is enabled @@ -66994,8 +66536,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: + - *465 - *466 - - *467 responses: '204': description: Response @@ -67016,8 +66558,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: + - *465 - *466 - - *467 responses: '204': description: Response @@ -67037,8 +66579,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: + - *465 - *466 - - *467 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -67076,7 +66618,7 @@ paths: - url protected: type: boolean - protection: &524 + protection: &521 title: Branch Protection description: Branch Protection type: object @@ -67118,7 +66660,7 @@ paths: required: - contexts - checks - enforce_admins: &527 + enforce_admins: &524 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -67133,7 +66675,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &529 + required_pull_request_reviews: &526 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -67209,7 +66751,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &526 + restrictions: &523 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -67486,9 +67028,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: + - *465 - *466 - - *467 - - &525 + - &522 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). @@ -67502,14 +67044,14 @@ paths: description: Response content: application/json: - schema: &535 + schema: &532 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &585 + commit: &582 title: Commit description: Commit type: object @@ -67543,7 +67085,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &523 + properties: &520 name: type: string example: '"Chris Wanstrath"' @@ -67558,7 +67100,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *523 + properties: *520 nullable: true message: type: string @@ -67579,7 +67121,7 @@ paths: required: - sha - url - verification: &645 + verification: &642 title: Verification type: object properties: @@ -67649,7 +67191,7 @@ paths: type: integer files: type: array - items: &598 + items: &595 title: Diff Entry description: Diff Entry type: object @@ -67733,7 +67275,7 @@ paths: - self protected: type: boolean - protection: *524 + protection: *521 protection_url: type: string format: uri @@ -67840,7 +67382,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *480 + '301': *477 '404': *6 x-github: githubCloudOnly: false @@ -67862,15 +67404,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: + - *465 - *466 - - *467 - - *525 + - *522 responses: '200': description: Response content: application/json: - schema: *524 + schema: *521 examples: default: value: @@ -68064,9 +67606,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: + - *465 - *466 - - *467 - - *525 + - *522 requestBody: required: true content: @@ -68321,7 +67863,7 @@ paths: url: type: string format: uri - required_status_checks: &532 + required_status_checks: &529 title: Status Check Policy description: Status Check Policy type: object @@ -68473,7 +68015,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *526 + restrictions: *523 required_conversation_resolution: type: object properties: @@ -68585,9 +68127,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: + - *465 - *466 - - *467 - - *525 + - *522 responses: '204': description: Response @@ -68612,17 +68154,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: + - *465 - *466 - - *467 - - *525 + - *522 responses: '200': description: Response content: application/json: - schema: *527 + schema: *524 examples: - default: &528 + default: &525 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -68644,17 +68186,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: + - *465 - *466 - - *467 - - *525 + - *522 responses: '200': description: Response content: application/json: - schema: *527 + schema: *524 examples: - default: *528 + default: *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68673,9 +68215,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: + - *465 - *466 - - *467 - - *525 + - *522 responses: '204': description: Response @@ -68700,17 +68242,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: + - *465 - *466 - - *467 - - *525 + - *522 responses: '200': description: Response content: application/json: - schema: *529 + schema: *526 examples: - default: &530 + default: &527 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -68806,9 +68348,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: + - *465 - *466 - - *467 - - *525 + - *522 requestBody: required: false content: @@ -68906,9 +68448,9 @@ paths: description: Response content: application/json: - schema: *529 + schema: *526 examples: - default: *530 + default: *527 '422': *15 x-github: githubCloudOnly: false @@ -68929,9 +68471,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: + - *465 - *466 - - *467 - - *525 + - *522 responses: '204': description: Response @@ -68958,17 +68500,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: + - *465 - *466 - - *467 - - *525 + - *522 responses: '200': description: Response content: application/json: - schema: *527 + schema: *524 examples: - default: &531 + default: &528 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -68991,17 +68533,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: + - *465 - *466 - - *467 - - *525 + - *522 responses: '200': description: Response content: application/json: - schema: *527 + schema: *524 examples: - default: *531 + default: *528 '404': *6 x-github: githubCloudOnly: false @@ -69021,9 +68563,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: + - *465 - *466 - - *467 - - *525 + - *522 responses: '204': description: Response @@ -69048,17 +68590,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: + - *465 - *466 - - *467 - - *525 + - *522 responses: '200': description: Response content: application/json: - schema: *532 + schema: *529 examples: - default: &533 + default: &530 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -69084,9 +68626,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: + - *465 - *466 - - *467 - - *525 + - *522 requestBody: required: false content: @@ -69138,9 +68680,9 @@ paths: description: Response content: application/json: - schema: *532 + schema: *529 examples: - default: *533 + default: *530 '404': *6 '422': *15 x-github: @@ -69162,9 +68704,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: + - *465 - *466 - - *467 - - *525 + - *522 responses: '204': description: Response @@ -69188,9 +68730,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: + - *465 - *466 - - *467 - - *525 + - *522 responses: '200': description: Response @@ -69224,9 +68766,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: + - *465 - *466 - - *467 - - *525 + - *522 requestBody: required: false content: @@ -69293,9 +68835,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: + - *465 - *466 - - *467 - - *525 + - *522 requestBody: required: false content: @@ -69359,9 +68901,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: + - *465 - *466 - - *467 - - *525 + - *522 requestBody: content: application/json: @@ -69427,15 +68969,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: + - *465 - *466 - - *467 - - *525 + - *522 responses: '200': description: Response content: application/json: - schema: *526 + schema: *523 examples: default: value: @@ -69526,9 +69068,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: + - *465 - *466 - - *467 - - *525 + - *522 responses: '204': description: Response @@ -69551,9 +69093,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: + - *465 - *466 - - *467 - - *525 + - *522 responses: '200': description: Response @@ -69563,7 +69105,7 @@ paths: type: array items: *5 examples: - default: &534 + default: &531 value: - id: 1 slug: octoapp @@ -69620,9 +69162,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: + - *465 - *466 - - *467 - - *525 + - *522 requestBody: required: true content: @@ -69656,7 +69198,7 @@ paths: type: array items: *5 examples: - default: *534 + default: *531 '422': *15 x-github: githubCloudOnly: false @@ -69677,9 +69219,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: + - *465 - *466 - - *467 - - *525 + - *522 requestBody: required: true content: @@ -69713,7 +69255,7 @@ paths: type: array items: *5 examples: - default: *534 + default: *531 '422': *15 x-github: githubCloudOnly: false @@ -69734,9 +69276,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: + - *465 - *466 - - *467 - - *525 + - *522 requestBody: required: true content: @@ -69770,7 +69312,7 @@ paths: type: array items: *5 examples: - default: *534 + default: *531 '422': *15 x-github: githubCloudOnly: false @@ -69792,9 +69334,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: + - *465 - *466 - - *467 - - *525 + - *522 responses: '200': description: Response @@ -69824,9 +69366,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: + - *465 - *466 - - *467 - - *525 + - *522 requestBody: required: false content: @@ -69885,9 +69427,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: + - *465 - *466 - - *467 - - *525 + - *522 requestBody: required: false content: @@ -69946,9 +69488,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: + - *465 - *466 - - *467 - - *525 + - *522 requestBody: content: application/json: @@ -70007,9 +69549,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: + - *465 - *466 - - *467 - - *525 + - *522 responses: '200': description: Response @@ -70043,9 +69585,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: + - *465 - *466 - - *467 - - *525 + - *522 requestBody: required: true content: @@ -70103,9 +69645,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: + - *465 - *466 - - *467 - - *525 + - *522 requestBody: required: true content: @@ -70163,9 +69705,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: + - *465 - *466 - - *467 - - *525 + - *522 requestBody: required: true content: @@ -70225,9 +69767,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: + - *465 - *466 - - *467 - - *525 + - *522 requestBody: required: true content: @@ -70249,7 +69791,7 @@ paths: description: Response content: application/json: - schema: *535 + schema: *532 examples: default: value: @@ -70363,8 +69905,8 @@ paths: category: repos subcategory: bypass-requests parameters: + - *465 - *466 - - *467 - *99 - *100 - *101 @@ -70400,8 +69942,8 @@ paths: category: repos subcategory: bypass-requests parameters: + - *465 - *466 - - *467 - name: bypass_request_number in: path required: true @@ -70474,8 +70016,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: + - *465 - *466 - - *467 - *99 - *100 - *101 @@ -70515,8 +70057,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: + - *465 - *466 - - *467 - name: bypass_request_number in: path required: true @@ -70586,8 +70128,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: + - *465 - *466 - - *467 - name: bypass_request_number in: path required: true @@ -70658,8 +70200,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: + - *465 - *466 - - *467 - name: bypass_response_id in: path required: true @@ -70692,8 +70234,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: + - *465 - *466 - - *467 requestBody: required: true content: @@ -70972,7 +70514,7 @@ paths: description: Response content: application/json: - schema: &537 + schema: &534 title: CheckRun description: A check performed on the code of a given code change type: object @@ -71091,8 +70633,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *536 - deployment: &868 + items: *533 + deployment: &866 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -71372,9 +70914,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: + - *465 - *466 - - *467 - - &538 + - &535 name: check_run_id description: The unique identifier of the check run. in: path @@ -71386,9 +70928,9 @@ paths: description: Response content: application/json: - schema: *537 + schema: *534 examples: - default: &539 + default: &536 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -71488,9 +71030,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: + - *465 - *466 - - *467 - - *538 + - *535 requestBody: required: true content: @@ -71730,9 +71272,9 @@ paths: description: Response content: application/json: - schema: *537 + schema: *534 examples: - default: *539 + default: *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71752,9 +71294,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: + - *465 - *466 - - *467 - - *538 + - *535 - *17 - *19 responses: @@ -71849,9 +71391,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: + - *465 - *466 - - *467 - - *538 + - *535 responses: '201': description: Response @@ -71895,8 +71437,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: + - *465 - *466 - - *467 requestBody: required: true content: @@ -71918,7 +71460,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &542 + schema: &539 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -71982,7 +71524,7 @@ paths: nullable: true pull_requests: type: array - items: *536 + items: *533 nullable: true app: title: GitHub app @@ -72004,12 +71546,12 @@ paths: type: string format: date-time nullable: true - head_commit: &894 + head_commit: &892 title: Simple Commit description: A commit. type: object - properties: *540 - required: *541 + properties: *537 + required: *538 latest_check_runs_count: type: integer check_runs_url: @@ -72037,7 +71579,7 @@ paths: - check_runs_url - pull_requests examples: - default: &543 + default: &540 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -72328,9 +71870,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *542 + schema: *539 examples: - default: *543 + default: *540 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72349,8 +71891,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: + - *465 - *466 - - *467 requestBody: required: true content: @@ -72659,9 +72201,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: + - *465 - *466 - - *467 - - &544 + - &541 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -72673,9 +72215,9 @@ paths: description: Response content: application/json: - schema: *542 + schema: *539 examples: - default: *543 + default: *540 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72698,17 +72240,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: + - *465 - *466 - - *467 - - *544 - - &591 + - *541 + - &588 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &592 + - &589 name: status description: Returns check runs with the specified `status`. in: query @@ -72747,9 +72289,9 @@ paths: type: integer check_runs: type: array - items: *537 + items: *534 examples: - default: &593 + default: &590 value: total_count: 1 check_runs: @@ -72851,9 +72393,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: + - *465 - *466 - - *467 - - *544 + - *541 responses: '201': description: Response @@ -72886,21 +72428,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: + - *465 - *466 - - *467 - *311 - *312 - *19 - *17 - - &560 + - &557 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *545 - - &561 + schema: *542 + - &558 name: pr description: The number of the pull request for the results you want to list. in: query @@ -72931,7 +72473,7 @@ paths: be returned. in: query required: false - schema: *546 + schema: *543 responses: '200': description: Response @@ -72947,7 +72489,7 @@ paths: updated_at: *131 url: *128 html_url: *129 - instances_url: *547 + instances_url: *544 state: *109 fixed_at: *133 dismissed_by: @@ -72958,11 +72500,11 @@ paths: required: *21 nullable: true dismissed_at: *132 - dismissed_reason: *548 - dismissed_comment: *549 - rule: *550 - tool: *551 - most_recent_instance: *552 + dismissed_reason: *545 + dismissed_comment: *546 + rule: *547 + tool: *548 + most_recent_instance: *549 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -73088,7 +72630,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &553 + '403': &550 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -73115,9 +72657,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: + - *465 - *466 - - *467 - - &554 + - &551 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -73131,7 +72673,7 @@ paths: description: Response content: application/json: - schema: &555 + schema: &552 type: object properties: number: *123 @@ -73139,7 +72681,7 @@ paths: updated_at: *131 url: *128 html_url: *129 - instances_url: *547 + instances_url: *544 state: *109 fixed_at: *133 dismissed_by: @@ -73150,8 +72692,8 @@ paths: required: *21 nullable: true dismissed_at: *132 - dismissed_reason: *548 - dismissed_comment: *549 + dismissed_reason: *545 + dismissed_comment: *546 rule: type: object properties: @@ -73205,8 +72747,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *551 - most_recent_instance: *552 + tool: *548 + most_recent_instance: *549 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -73305,7 +72847,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *553 + '403': *550 '404': *6 '503': *190 x-github: @@ -73325,9 +72867,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: + - *465 - *466 - - *467 - - *554 + - *551 requestBody: required: true content: @@ -73342,8 +72884,8 @@ paths: enum: - open - dismissed - dismissed_reason: *548 - dismissed_comment: *549 + dismissed_reason: *545 + dismissed_comment: *546 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -73362,7 +72904,7 @@ paths: description: Response content: application/json: - schema: *555 + schema: *552 examples: default: value: @@ -73438,7 +72980,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &559 + '403': &556 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -73465,15 +73007,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: + - *465 - *466 - - *467 - - *554 + - *551 responses: '200': description: Response content: application/json: - schema: &556 + schema: &553 type: object properties: status: @@ -73499,13 +73041,13 @@ paths: - description - started_at examples: - default: &557 + default: &554 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &558 + '400': &555 description: Bad Request content: application/json: @@ -73516,7 +73058,7 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *553 + '403': *550 '404': *6 '503': *190 x-github: @@ -73541,29 +73083,29 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: + - *465 - *466 - - *467 - - *554 + - *551 responses: '200': description: OK content: application/json: - schema: *556 + schema: *553 examples: - default: *557 + default: *554 '202': description: Accepted content: application/json: - schema: *556 + schema: *553 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *558 + '400': *555 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -73595,9 +73137,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: + - *465 - *466 - - *467 - - *554 + - *551 requestBody: required: false content: @@ -73642,8 +73184,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *558 - '403': *559 + '400': *555 + '403': *556 '404': *6 '422': description: Unprocessable Entity @@ -73667,13 +73209,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: + - *465 - *466 - - *467 - - *554 + - *551 - *19 - *17 - - *560 - - *561 + - *557 + - *558 responses: '200': description: Response @@ -73681,7 +73223,7 @@ paths: application/json: schema: type: array - items: *552 + items: *549 examples: default: value: @@ -73720,7 +73262,7 @@ paths: end_column: 50 classifications: - source - '403': *553 + '403': *550 '404': *6 '503': *190 x-github: @@ -73754,25 +73296,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: + - *465 - *466 - - *467 - *311 - *312 - *19 - *17 - - *561 + - *558 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *545 + schema: *542 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &564 + schema: &561 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -73793,23 +73335,23 @@ paths: application/json: schema: type: array - items: &565 + items: &562 type: object properties: - ref: *545 - commit_sha: &573 + ref: *542 + commit_sha: &570 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: *562 + analysis_key: *559 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *563 + category: *560 error: type: string example: error reading field xyz @@ -73833,8 +73375,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *564 - tool: *551 + sarif_id: *561 + tool: *548 deletable: type: boolean warning: @@ -73895,7 +73437,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *553 + '403': *550 '404': *6 '503': *190 x-github: @@ -73931,8 +73473,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: + - *465 - *466 - - *467 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -73945,7 +73487,7 @@ paths: description: Response content: application/json: - schema: *565 + schema: *562 examples: response: summary: application/json response @@ -73999,7 +73541,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *553 + '403': *550 '404': *6 '422': description: Response if analysis could not be processed @@ -74086,8 +73628,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: + - *465 - *466 - - *467 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -74140,7 +73682,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *559 + '403': *556 '404': *6 '503': *190 x-github: @@ -74162,8 +73704,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: + - *465 - *466 - - *467 responses: '200': description: Response @@ -74171,7 +73713,7 @@ paths: application/json: schema: type: array - items: &566 + items: &563 title: CodeQL Database description: A CodeQL database. type: object @@ -74282,7 +73824,7 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *553 + '403': *550 '404': *6 '503': *190 x-github: @@ -74311,8 +73853,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: + - *465 - *466 - - *467 - name: language in: path description: The language of the CodeQL database. @@ -74324,7 +73866,7 @@ paths: description: Response content: application/json: - schema: *566 + schema: *563 examples: default: value: @@ -74356,9 +73898,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': &600 + '302': &597 description: Found - '403': *553 + '403': *550 '404': *6 '503': *190 x-github: @@ -74380,8 +73922,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: + - *465 - *466 - - *467 - name: language in: path description: The language of the CodeQL database. @@ -74391,7 +73933,7 @@ paths: responses: '204': description: Response - '403': *559 + '403': *556 '404': *6 '503': *190 x-github: @@ -74419,8 +73961,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: + - *465 - *466 - - *467 requestBody: required: true content: @@ -74429,7 +73971,7 @@ paths: type: object additionalProperties: false properties: - language: &567 + language: &564 type: string description: The language targeted by the CodeQL query enum: @@ -74508,7 +74050,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &571 + schema: &568 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -74518,7 +74060,7 @@ paths: description: The ID of the variant analysis. controller_repo: *115 actor: *4 - query_language: *567 + query_language: *564 query_pack_url: type: string description: The download url for the query pack. @@ -74565,7 +74107,7 @@ paths: items: type: object properties: - repository: &568 + repository: &565 title: Repository Identifier description: Repository Identifier type: object @@ -74601,7 +74143,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &572 + analysis_status: &569 type: string description: The new status of the CodeQL variant analysis repository task. @@ -74633,7 +74175,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &569 + access_mismatch_repos: &566 type: object properties: repository_count: @@ -74647,7 +74189,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: *568 + items: *565 required: - repository_count - repositories @@ -74669,8 +74211,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *569 - over_limit_repos: *569 + no_codeql_db_repos: *566 + over_limit_repos: *566 required: - access_mismatch_repos - not_found_repos @@ -74686,7 +74228,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &570 + value: &567 summary: Default response value: id: 1 @@ -74838,10 +74380,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *570 + value: *567 repository_lists: summary: Response for a successful variant analysis submission - value: *570 + value: *567 '404': *6 '422': description: Unable to process variant analysis submission @@ -74869,8 +74411,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: + - *465 - *466 - - *467 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -74882,9 +74424,9 @@ paths: description: Response content: application/json: - schema: *571 + schema: *568 examples: - default: *570 + default: *567 '404': *6 '503': *190 x-github: @@ -74907,7 +74449,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: - - *466 + - *465 - name: repo in: path description: The name of the controller repository. @@ -74942,7 +74484,7 @@ paths: type: object properties: repository: *115 - analysis_status: *572 + analysis_status: *569 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -75067,8 +74609,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: + - *465 - *466 - - *467 responses: '200': description: Response @@ -75153,7 +74695,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *553 + '403': *550 '404': *6 '503': *190 x-github: @@ -75174,8 +74716,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: + - *465 - *466 - - *467 requestBody: required: true content: @@ -75267,7 +74809,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *559 + '403': *556 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -75338,8 +74880,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: + - *465 - *466 - - *467 requestBody: required: true content: @@ -75347,7 +74889,7 @@ paths: schema: type: object properties: - commit_sha: *573 + commit_sha: *570 ref: type: string description: |- @@ -75405,7 +74947,7 @@ paths: schema: type: object properties: - id: *564 + id: *561 url: type: string description: The REST API URL for checking the status of the upload. @@ -75419,7 +74961,7 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *559 + '403': *556 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -75442,8 +74984,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: + - *465 - *466 - - *467 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -75489,7 +75031,7 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *553 + '403': *550 '404': description: Not Found if the sarif id does not match any upload '503': *190 @@ -75514,8 +75056,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: + - *465 - *466 - - *467 responses: '200': description: Response @@ -75596,8 +75138,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: + - *465 - *466 - - *467 - 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 @@ -75717,8 +75259,8 @@ paths: parameters: - *17 - *19 + - *465 - *466 - - *467 responses: '200': description: Response @@ -76032,8 +75574,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: + - *465 - *466 - - *467 requestBody: required: true content: @@ -76098,7 +75640,7 @@ paths: application/json: schema: *369 examples: - default: *574 + default: *571 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -76106,7 +75648,7 @@ paths: application/json: schema: *369 examples: - default: *574 + default: *571 '400': *14 '401': *25 '403': *29 @@ -76135,8 +75677,8 @@ paths: parameters: - *17 - *19 + - *465 - *466 - - *467 responses: '200': description: Response @@ -76200,8 +75742,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: + - *465 - *466 - - *467 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -76236,14 +75778,14 @@ paths: type: integer machines: type: array - items: &819 + items: &817 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *575 - required: *576 + properties: *572 + required: *573 examples: - default: &820 + default: &818 value: total_count: 2 machines: @@ -76283,8 +75825,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: + - *465 - *466 - - *467 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -76368,8 +75910,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: + - *465 - *466 - - *467 - 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 @@ -76435,8 +75977,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: + - *465 - *466 - - *467 - *17 - *19 responses: @@ -76454,7 +75996,7 @@ paths: type: integer secrets: type: array - items: &580 + items: &577 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -76474,7 +76016,7 @@ paths: - created_at - updated_at examples: - default: *577 + default: *574 headers: Link: *43 x-github: @@ -76497,16 +76039,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: + - *465 - *466 - - *467 responses: '200': description: Response content: application/json: - schema: *578 + schema: *575 examples: - default: *579 + default: *576 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -76526,17 +76068,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: + - *465 - *466 - - *467 - *290 responses: '200': description: Response content: application/json: - schema: *580 + schema: *577 examples: - default: *581 + default: *578 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76556,8 +76098,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: + - *465 - *466 - - *467 - *290 requestBody: required: true @@ -76610,8 +76152,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: + - *465 - *466 - - *467 - *290 responses: '204': @@ -76640,8 +76182,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: + - *465 - *466 - - *467 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -76683,7 +76225,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &582 + properties: &579 login: type: string example: octocat @@ -76776,7 +76318,7 @@ paths: user_view_type: type: string example: public - required: &583 + required: &580 - avatar_url - events_url - followers_url @@ -76850,8 +76392,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: + - *465 - *466 - - *467 - *138 responses: '204': @@ -76898,8 +76440,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: + - *465 - *466 - - *467 - *138 requestBody: required: false @@ -76926,7 +76468,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &658 + schema: &655 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -77155,8 +76697,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: + - *465 - *466 - - *467 - *138 responses: '204': @@ -77188,8 +76730,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: + - *465 - *466 - - *467 - *138 responses: '200': @@ -77210,8 +76752,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *582 - required: *583 + properties: *579 + required: *580 nullable: true required: - permission @@ -77266,8 +76808,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: + - *465 - *466 - - *467 - *17 - *19 responses: @@ -77277,7 +76819,7 @@ paths: application/json: schema: type: array - items: &584 + items: &581 title: Commit Comment description: Commit Comment type: object @@ -77335,7 +76877,7 @@ paths: - created_at - updated_at examples: - default: &587 + default: &584 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -77394,17 +76936,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: + - *465 - *466 - - *467 - *225 responses: '200': description: Response content: application/json: - schema: *584 + schema: *581 examples: - default: &588 + default: &585 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -77461,8 +77003,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: + - *465 - *466 - - *467 - *225 requestBody: required: true @@ -77485,7 +77027,7 @@ paths: description: Response content: application/json: - schema: *584 + schema: *581 examples: default: value: @@ -77536,8 +77078,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: + - *465 - *466 - - *467 - *225 responses: '204': @@ -77559,8 +77101,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: + - *465 - *466 - - *467 - *225 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -77587,9 +77129,9 @@ paths: application/json: schema: type: array - items: *455 + items: *454 examples: - default: *457 + default: *456 headers: Link: *43 '404': *6 @@ -77610,8 +77152,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: + - *465 - *466 - - *467 - *225 requestBody: required: true @@ -77644,16 +77186,16 @@ paths: description: Reaction exists content: application/json: - schema: *455 + schema: *454 examples: - default: *456 + default: *455 '201': description: Reaction created content: application/json: - schema: *455 + schema: *454 examples: - default: *456 + default: *455 '422': *15 x-github: githubCloudOnly: false @@ -77675,10 +77217,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: + - *465 - *466 - - *467 - *225 - - *458 + - *457 responses: '204': description: Response @@ -77727,8 +77269,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: + - *465 - *466 - - *467 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -77784,9 +77326,9 @@ paths: application/json: schema: type: array - items: *585 + items: *582 examples: - default: &710 + default: &708 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -77880,9 +77422,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: + - *465 - *466 - - *467 - - &586 + - &583 name: commit_sha description: The SHA of the commit. in: path @@ -77954,9 +77496,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: + - *465 - *466 - - *467 - - *586 + - *583 - *17 - *19 responses: @@ -77966,9 +77508,9 @@ paths: application/json: schema: type: array - items: *584 + items: *581 examples: - default: *587 + default: *584 headers: Link: *43 x-github: @@ -77996,9 +77538,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: + - *465 - *466 - - *467 - - *586 + - *583 requestBody: required: true content: @@ -78033,9 +77575,9 @@ paths: description: Response content: application/json: - schema: *584 + schema: *581 examples: - default: *588 + default: *585 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -78063,9 +77605,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: + - *465 - *466 - - *467 - - *586 + - *583 - *17 - *19 responses: @@ -78075,9 +77617,9 @@ paths: application/json: schema: type: array - items: *589 + items: *586 examples: - default: &702 + default: &700 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -78614,11 +78156,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: + - *465 - *466 - - *467 - *19 - *17 - - &590 + - &587 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)" @@ -78633,9 +78175,9 @@ paths: description: Response content: application/json: - schema: *585 + schema: *582 examples: - default: &687 + default: &685 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -78748,11 +78290,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: + - *465 - *466 - - *467 - - *590 - - *591 - - *592 + - *587 + - *588 + - *589 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -78786,9 +78328,9 @@ paths: type: integer check_runs: type: array - items: *537 + items: *534 examples: - default: *593 + default: *590 headers: Link: *43 x-github: @@ -78813,9 +78355,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: + - *465 - *466 - - *467 - - *590 + - *587 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -78823,7 +78365,7 @@ paths: schema: type: integer example: 1 - - *591 + - *588 - *17 - *19 responses: @@ -78841,7 +78383,7 @@ paths: type: integer check_suites: type: array - items: *542 + items: *539 examples: default: value: @@ -79041,9 +78583,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: + - *465 - *466 - - *467 - - *590 + - *587 - *17 - *19 responses: @@ -79241,9 +78783,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: + - *465 - *466 - - *467 - - *590 + - *587 - *17 - *19 responses: @@ -79253,7 +78795,7 @@ paths: application/json: schema: type: array - items: &764 + items: &762 title: Status description: The status of a commit. type: object @@ -79334,7 +78876,7 @@ paths: site_admin: false headers: Link: *43 - '301': *480 + '301': *477 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79362,8 +78904,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: + - *465 - *466 - - *467 responses: '200': description: Response @@ -79392,20 +78934,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *594 - required: *595 + properties: *591 + required: *592 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &596 + properties: &593 url: type: string format: uri html_url: type: string format: uri - required: &597 + required: &594 - url - html_url nullable: true @@ -79419,26 +78961,26 @@ paths: contributing: title: Community Health File type: object - properties: *596 - required: *597 + properties: *593 + required: *594 nullable: true readme: title: Community Health File type: object - properties: *596 - required: *597 + properties: *593 + required: *594 nullable: true issue_template: title: Community Health File type: object - properties: *596 - required: *597 + properties: *593 + required: *594 nullable: true pull_request_template: title: Community Health File type: object - properties: *596 - required: *597 + properties: *593 + required: *594 nullable: true required: - code_of_conduct @@ -79565,8 +79107,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: + - *465 - *466 - - *467 - *19 - *17 - name: basehead @@ -79609,8 +79151,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *585 - merge_base_commit: *585 + base_commit: *582 + merge_base_commit: *582 status: type: string enum: @@ -79630,10 +79172,10 @@ paths: example: 6 commits: type: array - items: *585 + items: *582 files: type: array - items: *598 + items: *595 required: - url - html_url @@ -79919,8 +79461,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: + - *465 - *466 - - *467 - name: path description: path parameter in: path @@ -80063,7 +79605,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &599 + response-if-content-is-a-file: &596 summary: Response if content is a file value: type: file @@ -80195,7 +79737,7 @@ paths: - size - type - url - - &715 + - &713 title: Content File description: Content File type: object @@ -80396,7 +79938,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *599 + response-if-content-is-a-file: *596 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -80465,7 +80007,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *600 + '302': *597 '304': *37 x-github: githubCloudOnly: false @@ -80488,8 +80030,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: + - *465 - *466 - - *467 - name: path description: path parameter in: path @@ -80582,7 +80124,7 @@ paths: description: Response content: application/json: - schema: &601 + schema: &598 title: File Commit description: File Commit type: object @@ -80734,7 +80276,7 @@ paths: description: Response content: application/json: - schema: *601 + schema: *598 examples: example-for-creating-a-file: value: @@ -80788,7 +80330,7 @@ paths: schema: oneOf: - *3 - - &640 + - &637 description: Repository rule violation was detected type: object properties: @@ -80809,7 +80351,7 @@ paths: items: type: object properties: - placeholder_id: &756 + placeholder_id: &754 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -80841,8 +80383,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: + - *465 - *466 - - *467 - name: path description: path parameter in: path @@ -80903,7 +80445,7 @@ paths: description: Response content: application/json: - schema: *601 + schema: *598 examples: default: value: @@ -80958,8 +80500,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: + - *465 - *466 - - *467 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -81082,8 +80624,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: + - *465 - *466 - - *467 - *327 - *328 - *329 @@ -81095,7 +80637,7 @@ paths: schema: type: string - *331 - - *602 + - *599 - *332 - *333 - *106 @@ -81116,7 +80658,7 @@ paths: application/json: schema: type: array - items: &605 + items: &602 type: object description: A Dependabot alert. properties: @@ -81162,7 +80704,7 @@ paths: - unknown - direct - transitive - security_advisory: *603 + security_advisory: *600 security_vulnerability: *127 url: *128 html_url: *129 @@ -81193,7 +80735,7 @@ paths: nullable: true maxLength: 280 fixed_at: *133 - auto_dismissed_at: *604 + auto_dismissed_at: *601 required: - number - state @@ -81423,9 +80965,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: + - *465 - *466 - - *467 - - &606 + - &603 name: alert_number in: path description: |- @@ -81440,7 +80982,7 @@ paths: description: Response content: application/json: - schema: *605 + schema: *602 examples: default: value: @@ -81553,9 +81095,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: + - *465 - *466 - - *467 - - *606 + - *603 requestBody: required: true content: @@ -81600,7 +81142,7 @@ paths: description: Response content: application/json: - schema: *605 + schema: *602 examples: default: value: @@ -81729,8 +81271,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: + - *465 - *466 - - *467 - *17 - *19 responses: @@ -81748,7 +81290,7 @@ paths: type: integer secrets: type: array - items: &609 + items: &606 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -81801,16 +81343,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: + - *465 - *466 - - *467 responses: '200': description: Response content: application/json: - schema: *607 + schema: *604 examples: - default: *608 + default: *605 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81830,15 +81372,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: + - *465 - *466 - - *467 - *290 responses: '200': description: Response content: application/json: - schema: *609 + schema: *606 examples: default: value: @@ -81864,8 +81406,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: + - *465 - *466 - - *467 - *290 requestBody: required: true @@ -81918,8 +81460,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: + - *465 - *466 - - *467 - *290 responses: '204': @@ -81942,8 +81484,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: + - *465 - *466 - - *467 - 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 @@ -82103,8 +81645,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: + - *465 - *466 - - *467 responses: '200': description: Response @@ -82343,8 +81885,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: + - *465 - *466 - - *467 requestBody: required: true content: @@ -82419,7 +81961,7 @@ paths: - version - url additionalProperties: false - metadata: &610 + metadata: &607 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -82452,7 +81994,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *610 + metadata: *607 resolved: type: object description: A collection of resolved package dependencies. @@ -82465,7 +82007,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *610 + metadata: *607 relationship: type: string description: A notation of whether a dependency is requested @@ -82594,8 +82136,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: + - *465 - *466 - - *467 - name: sha description: The SHA recorded at creation time. in: query @@ -82635,9 +82177,9 @@ paths: application/json: schema: type: array - items: *611 + items: *608 examples: - default: *612 + default: *609 headers: Link: *43 x-github: @@ -82703,8 +82245,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: + - *465 - *466 - - *467 requestBody: required: true content: @@ -82785,7 +82327,7 @@ paths: description: Response content: application/json: - schema: *611 + schema: *608 examples: simple-example: summary: Simple example @@ -82858,9 +82400,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: + - *465 - *466 - - *467 - - &613 + - &610 name: deployment_id description: deployment_id parameter in: path @@ -82872,7 +82414,7 @@ paths: description: Response content: application/json: - schema: *611 + schema: *608 examples: default: value: @@ -82937,9 +82479,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: + - *465 - *466 - - *467 - - *613 + - *610 responses: '204': description: Response @@ -82961,9 +82503,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: + - *465 - *466 - - *467 - - *613 + - *610 - *17 - *19 responses: @@ -82973,7 +82515,7 @@ paths: application/json: schema: type: array - items: &614 + items: &611 title: Deployment Status description: The status of a deployment. type: object @@ -83134,9 +82676,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: + - *465 - *466 - - *467 - - *613 + - *610 requestBody: required: true content: @@ -83211,9 +82753,9 @@ paths: description: Response content: application/json: - schema: *614 + schema: *611 examples: - default: &615 + default: &612 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -83269,9 +82811,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: + - *465 - *466 - - *467 - - *613 + - *610 - name: status_id in: path required: true @@ -83282,9 +82824,9 @@ paths: description: Response content: application/json: - schema: *614 + schema: *611 examples: - default: *615 + default: *612 '404': *6 x-github: githubCloudOnly: false @@ -83311,12 +82853,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: + - *465 - *466 - - *467 + - *613 + - *614 + - *615 - *616 - - *617 - - *618 - - *619 - *17 - *19 responses: @@ -83326,9 +82868,9 @@ paths: application/json: schema: type: array - items: *620 + items: *617 examples: - default: *621 + default: *618 '404': *6 '403': *29 '500': *40 @@ -83352,8 +82894,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: + - *465 - *466 - - *467 - name: alert_number in: path required: true @@ -83365,7 +82907,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *620 + schema: *617 examples: default: value: @@ -83421,8 +82963,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: + - *465 - *466 - - *467 - name: alert_number in: path required: true @@ -83481,12 +83023,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: + - *465 - *466 - - *467 - *99 - *100 - *101 - - *622 + - *619 - *17 - *19 responses: @@ -83496,9 +83038,9 @@ paths: application/json: schema: type: array - items: *623 + items: *620 examples: - default: *624 + default: *621 '404': *6 '403': *29 '500': *40 @@ -83523,8 +83065,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: + - *465 - *466 - - *467 - name: alert_number in: path required: true @@ -83536,7 +83078,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *623 + schema: *620 examples: default: value: @@ -83594,8 +83136,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: + - *465 - *466 - - *467 - name: alert_number in: path required: true @@ -83664,8 +83206,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: + - *465 - *466 - - *467 requestBody: required: true content: @@ -83722,8 +83264,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: + - *465 - *466 - - *467 - *17 - *19 responses: @@ -83740,7 +83282,7 @@ paths: type: integer environments: type: array - items: &626 + items: &623 title: Environment description: Details of a deployment environment type: object @@ -83792,7 +83334,7 @@ paths: type: type: string example: wait_timer - wait_timer: &628 + wait_timer: &625 type: integer example: 30 description: The amount of time to delay a job after @@ -83829,7 +83371,7 @@ paths: items: type: object properties: - type: *625 + type: *622 reviewer: anyOf: - *4 @@ -83853,7 +83395,7 @@ paths: - id - node_id - type - deployment_branch_policy: &629 + deployment_branch_policy: &626 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -83969,9 +83511,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: + - *465 - *466 - - *467 - - &627 + - &624 name: environment_name in: path required: true @@ -83984,9 +83526,9 @@ paths: description: Response content: application/json: - schema: *626 + schema: *623 examples: - default: &630 + default: &627 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -84070,9 +83612,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: + - *465 - *466 - - *467 - - *627 + - *624 requestBody: required: false content: @@ -84081,7 +83623,7 @@ paths: type: object nullable: true properties: - wait_timer: *628 + wait_timer: *625 prevent_self_review: type: boolean example: false @@ -84098,13 +83640,13 @@ paths: items: type: object properties: - type: *625 + type: *622 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *629 + deployment_branch_policy: *626 additionalProperties: false examples: default: @@ -84124,9 +83666,9 @@ paths: description: Response content: application/json: - schema: *626 + schema: *623 examples: - default: *630 + default: *627 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -84150,9 +83692,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: + - *465 - *466 - - *467 - - *627 + - *624 responses: '204': description: Default response @@ -84177,9 +83719,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: + - *465 - *466 - - *467 - - *627 + - *624 - *17 - *19 responses: @@ -84197,7 +83739,7 @@ paths: example: 2 branch_policies: type: array - items: &631 + items: &628 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -84254,9 +83796,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: + - *465 - *466 - - *467 - - *627 + - *624 requestBody: required: true content: @@ -84302,9 +83844,9 @@ paths: description: Response content: application/json: - schema: *631 + schema: *628 examples: - example-wildcard: &632 + example-wildcard: &629 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -84346,10 +83888,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: + - *465 - *466 - - *467 - - *627 - - &633 + - *624 + - &630 name: branch_policy_id in: path required: true @@ -84361,9 +83903,9 @@ paths: description: Response content: application/json: - schema: *631 + schema: *628 examples: - default: *632 + default: *629 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84382,10 +83924,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: + - *465 - *466 - - *467 - - *627 - - *633 + - *624 + - *630 requestBody: required: true content: @@ -84413,9 +83955,9 @@ paths: description: Response content: application/json: - schema: *631 + schema: *628 examples: - default: *632 + default: *629 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84434,10 +83976,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: + - *465 - *466 - - *467 - - *627 - - *633 + - *624 + - *630 responses: '204': description: Response @@ -84462,9 +84004,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: - - *627 - - *467 + - *624 - *466 + - *465 responses: '200': description: List of deployment protection rules @@ -84480,7 +84022,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &634 + items: &631 title: Deployment protection rule description: Deployment protection rule type: object @@ -84499,7 +84041,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &635 + app: &632 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -84598,9 +84140,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: - - *627 - - *467 + - *624 - *466 + - *465 requestBody: content: application/json: @@ -84621,9 +84163,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *634 + schema: *631 examples: - default: &636 + default: &633 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -84658,9 +84200,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: - - *627 - - *467 + - *624 - *466 + - *465 - *19 - *17 responses: @@ -84679,7 +84221,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *635 + items: *632 examples: default: value: @@ -84714,10 +84256,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: + - *465 - *466 - - *467 - - *627 - - &637 + - *624 + - &634 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -84729,9 +84271,9 @@ paths: description: Response content: application/json: - schema: *634 + schema: *631 examples: - default: *636 + default: *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84752,10 +84294,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: - - *627 - - *467 + - *624 - *466 - - *637 + - *465 + - *634 responses: '204': description: Response @@ -84781,9 +84323,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: + - *465 - *466 - - *467 - - *627 + - *624 - *17 - *19 responses: @@ -84801,9 +84343,9 @@ paths: type: integer secrets: type: array - items: *503 + items: *500 examples: - default: *504 + default: *501 headers: Link: *43 x-github: @@ -84828,17 +84370,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: + - *465 - *466 - - *467 - - *627 + - *624 responses: '200': description: Response content: application/json: - schema: *505 + schema: *502 examples: - default: *506 + default: *503 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84860,18 +84402,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: + - *465 - *466 - - *467 - - *627 + - *624 - *290 responses: '200': description: Response content: application/json: - schema: *503 + schema: *500 examples: - default: *638 + default: *635 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84893,9 +84435,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: + - *465 - *466 - - *467 - - *627 + - *624 - *290 requestBody: required: true @@ -84953,9 +84495,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: + - *465 - *466 - - *467 - - *627 + - *624 - *290 responses: '204': @@ -84981,10 +84523,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: + - *465 - *466 - - *467 - - *627 - - *490 + - *624 + - *487 - *19 responses: '200': @@ -85001,9 +84543,9 @@ paths: type: integer variables: type: array - items: *507 + items: *504 examples: - default: *508 + default: *505 headers: Link: *43 x-github: @@ -85026,9 +84568,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: + - *465 - *466 - - *467 - - *627 + - *624 requestBody: required: true content: @@ -85080,18 +84622,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: + - *465 - *466 - - *467 - - *627 + - *624 - *293 responses: '200': description: Response content: application/json: - schema: *507 + schema: *504 examples: - default: *639 + default: *636 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85112,10 +84654,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: + - *465 - *466 - - *467 - *293 - - *627 + - *624 requestBody: required: true content: @@ -85157,10 +84699,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: + - *465 - *466 - - *467 - *293 - - *627 + - *624 responses: '204': description: Response @@ -85182,8 +84724,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: + - *465 - *466 - - *467 - *17 - *19 responses: @@ -85251,8 +84793,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: + - *465 - *466 - - *467 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -85411,8 +84953,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: + - *465 - *466 - - *467 requestBody: required: false content: @@ -85444,9 +84986,9 @@ paths: description: Response content: application/json: - schema: *479 + schema: *476 examples: - default: *481 + default: *478 '400': *14 '422': *15 '403': *29 @@ -85467,8 +85009,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: + - *465 - *466 - - *467 requestBody: required: true content: @@ -85528,7 +85070,7 @@ paths: schema: oneOf: - *255 - - *640 + - *637 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85553,8 +85095,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: + - *465 - *466 - - *467 - name: file_sha in: path required: true @@ -85653,8 +85195,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: + - *465 - *466 - - *467 requestBody: required: true content: @@ -85763,7 +85305,7 @@ paths: description: Response content: application/json: - schema: &641 + schema: &638 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -85977,15 +85519,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: + - *465 - *466 - - *467 - - *586 + - *583 responses: '200': description: Response content: application/json: - schema: *641 + schema: *638 examples: default: value: @@ -86041,9 +85583,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: + - *465 - *466 - - *467 - - &642 + - &639 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. @@ -86060,7 +85602,7 @@ paths: application/json: schema: type: array - items: &643 + items: &640 title: Git Reference description: Git references within a repository type: object @@ -86135,17 +85677,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: + - *465 - *466 - - *467 - - *642 + - *639 responses: '200': description: Response content: application/json: - schema: *643 + schema: *640 examples: - default: &644 + default: &641 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -86174,8 +85716,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: + - *465 - *466 - - *467 requestBody: required: true content: @@ -86204,9 +85746,9 @@ paths: description: Response content: application/json: - schema: *643 + schema: *640 examples: - default: *644 + default: *641 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -86232,9 +85774,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: + - *465 - *466 - - *467 - - *642 + - *639 requestBody: required: true content: @@ -86263,9 +85805,9 @@ paths: description: Response content: application/json: - schema: *643 + schema: *640 examples: - default: *644 + default: *641 '422': *15 '409': *114 x-github: @@ -86283,9 +85825,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: + - *465 - *466 - - *467 - - *642 + - *639 responses: '204': description: Response @@ -86340,8 +85882,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: + - *465 - *466 - - *467 requestBody: required: true content: @@ -86408,7 +85950,7 @@ paths: description: Response content: application/json: - schema: &646 + schema: &643 title: Git Tag description: Metadata for a Git tag type: object @@ -86459,7 +86001,7 @@ paths: - sha - type - url - verification: *645 + verification: *642 required: - sha - url @@ -86469,7 +86011,7 @@ paths: - tag - message examples: - default: &647 + default: &644 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -86542,8 +86084,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: + - *465 - *466 - - *467 - name: tag_sha in: path required: true @@ -86554,9 +86096,9 @@ paths: description: Response content: application/json: - schema: *646 + schema: *643 examples: - default: *647 + default: *644 '404': *6 '409': *114 x-github: @@ -86580,8 +86122,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: + - *465 - *466 - - *467 requestBody: required: true content: @@ -86654,7 +86196,7 @@ paths: description: Response content: application/json: - schema: &648 + schema: &645 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -86750,8 +86292,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: + - *465 - *466 - - *467 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -86774,7 +86316,7 @@ paths: description: Response content: application/json: - schema: *648 + schema: *645 examples: default-response: summary: Default response @@ -86833,8 +86375,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: + - *465 - *466 - - *467 - *17 - *19 responses: @@ -86844,7 +86386,7 @@ paths: application/json: schema: type: array - items: &649 + items: &646 title: Webhook description: Webhooks for repositories. type: object @@ -86898,7 +86440,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &902 + last_response: &900 title: Hook Response type: object properties: @@ -86972,8 +86514,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: + - *465 - *466 - - *467 requestBody: required: false content: @@ -87025,9 +86567,9 @@ paths: description: Response content: application/json: - schema: *649 + schema: *646 examples: - default: &650 + default: &647 value: type: Repository id: 12345678 @@ -87075,17 +86617,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: + - *465 - *466 - - *467 - *341 responses: '200': description: Response content: application/json: - schema: *649 + schema: *646 examples: - default: *650 + default: *647 '404': *6 x-github: githubCloudOnly: false @@ -87105,8 +86647,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: + - *465 - *466 - - *467 - *341 requestBody: required: true @@ -87152,9 +86694,9 @@ paths: description: Response content: application/json: - schema: *649 + schema: *646 examples: - default: *650 + default: *647 '422': *15 '404': *6 x-github: @@ -87175,8 +86717,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: + - *465 - *466 - - *467 - *341 responses: '204': @@ -87201,8 +86743,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: + - *465 - *466 - - *467 - *341 responses: '200': @@ -87230,8 +86772,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: + - *465 - *466 - - *467 - *341 requestBody: required: false @@ -87276,8 +86818,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: + - *465 - *466 - - *467 - *341 - *17 - *342 @@ -87309,8 +86851,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: + - *465 - *466 - - *467 - *341 - *16 responses: @@ -87339,8 +86881,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: + - *465 - *466 - - *467 - *341 - *16 responses: @@ -87364,8 +86906,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: + - *465 - *466 - - *467 - *341 responses: '204': @@ -87391,8 +86933,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: + - *465 - *466 - - *467 - *341 responses: '204': @@ -87416,8 +86958,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: + - *465 - *466 - - *467 responses: '200': description: Response if immutable releases are enabled @@ -87463,8 +87005,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-immutable-releases parameters: + - *465 - *466 - - *467 responses: '204': *150 '409': *114 @@ -87484,8 +87026,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-immutable-releases parameters: + - *465 - *466 - - *467 responses: '204': *150 '409': *114 @@ -87542,14 +87084,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: + - *465 - *466 - - *467 responses: '200': description: Response content: application/json: - schema: &651 + schema: &648 title: Import description: A repository import from an external source. type: object @@ -87648,7 +87190,7 @@ paths: - html_url - authors_url examples: - default: &654 + default: &651 value: vcs: subversion use_lfs: true @@ -87664,7 +87206,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &652 + '503': &649 description: Unavailable due to service under maintenance. content: application/json: @@ -87693,8 +87235,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: + - *465 - *466 - - *467 requestBody: required: true content: @@ -87742,7 +87284,7 @@ paths: description: Response content: application/json: - schema: *651 + schema: *648 examples: default: value: @@ -87767,7 +87309,7 @@ paths: type: string '422': *15 '404': *6 - '503': *652 + '503': *649 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87795,8 +87337,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: + - *465 - *466 - - *467 requestBody: required: false content: @@ -87845,7 +87387,7 @@ paths: description: Response content: application/json: - schema: *651 + schema: *648 examples: example-1: summary: Example 1 @@ -87893,7 +87435,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': *652 + '503': *649 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87916,12 +87458,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: + - *465 - *466 - - *467 responses: '204': description: Response - '503': *652 + '503': *649 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87947,9 +87489,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: + - *465 - *466 - - *467 - - &841 + - &839 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -87963,7 +87505,7 @@ paths: application/json: schema: type: array - items: &653 + items: &650 title: Porter Author description: Porter Author type: object @@ -88017,7 +87559,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *652 + '503': *649 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88042,8 +87584,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: + - *465 - *466 - - *467 - name: author_id in: path required: true @@ -88073,7 +87615,7 @@ paths: description: Response content: application/json: - schema: *653 + schema: *650 examples: default: value: @@ -88086,7 +87628,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *652 + '503': *649 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88110,8 +87652,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: + - *465 - *466 - - *467 responses: '200': description: Response @@ -88152,7 +87694,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *652 + '503': *649 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88180,8 +87722,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: + - *465 - *466 - - *467 requestBody: required: true content: @@ -88208,11 +87750,11 @@ paths: description: Response content: application/json: - schema: *651 + schema: *648 examples: - default: *654 + default: *651 '422': *15 - '503': *652 + '503': *649 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88235,8 +87777,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: + - *465 - *466 - - *467 responses: '200': description: Response @@ -88244,8 +87786,8 @@ paths: application/json: schema: *22 examples: - default: *655 - '301': *480 + default: *652 + '301': *477 '404': *6 x-github: githubCloudOnly: false @@ -88265,8 +87807,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: + - *465 - *466 - - *467 responses: '200': description: Response @@ -88279,7 +87821,7 @@ paths: properties: {} additionalProperties: false examples: - default: &657 + default: &654 value: limit: collaborators_only origin: repository @@ -88304,13 +87846,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: + - *465 - *466 - - *467 requestBody: required: true content: application/json: - schema: *656 + schema: *653 examples: default: summary: Example request body @@ -88324,7 +87866,7 @@ paths: application/json: schema: *359 examples: - default: *657 + default: *654 '409': description: Response x-github: @@ -88346,8 +87888,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: + - *465 - *466 - - *467 responses: '204': description: Response @@ -88370,8 +87912,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: + - *465 - *466 - - *467 - *17 - *19 responses: @@ -88381,9 +87923,9 @@ paths: application/json: schema: type: array - items: *658 + items: *655 examples: - default: &834 + default: &832 value: - id: 1 repository: @@ -88514,8 +88056,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: + - *465 - *466 - - *467 - *363 requestBody: required: false @@ -88545,7 +88087,7 @@ paths: description: Response content: application/json: - schema: *658 + schema: *655 examples: default: value: @@ -88676,8 +88218,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: + - *465 - *466 - - *467 - *363 responses: '204': @@ -88709,8 +88251,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: + - *465 - *466 - - *467 - 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 @@ -88783,7 +88325,7 @@ paths: type: array items: *226 examples: - default: &667 + default: &665 value: - id: 1 node_id: MDU6SXNzdWUx @@ -88931,7 +88473,7 @@ paths: state_reason: completed headers: Link: *43 - '301': *480 + '301': *477 '422': *15 '404': *6 x-github: @@ -88960,8 +88502,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: + - *465 - *466 - - *467 requestBody: required: true content: @@ -89045,7 +88587,7 @@ paths: application/json: schema: *226 examples: - default: &664 + default: &662 value: id: 1 node_id: MDU6SXNzdWUx @@ -89201,7 +88743,7 @@ paths: '422': *15 '503': *190 '404': *6 - '410': *477 + '410': *656 x-github: triggersNotification: true githubCloudOnly: false @@ -89229,8 +88771,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: + - *465 - *466 - - *467 - *236 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -89251,9 +88793,9 @@ paths: application/json: schema: type: array - items: *659 + items: *657 examples: - default: &666 + default: &664 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -89311,17 +88853,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: + - *465 - *466 - - *467 - *225 responses: '200': description: Response content: application/json: - schema: *659 + schema: *657 examples: - default: &660 + default: &658 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -89375,8 +88917,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: + - *465 - *466 - - *467 - *225 requestBody: required: true @@ -89399,9 +88941,9 @@ paths: description: Response content: application/json: - schema: *659 + schema: *657 examples: - default: *660 + default: *658 '422': *15 x-github: githubCloudOnly: false @@ -89419,8 +88961,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: + - *465 - *466 - - *467 - *225 responses: '204': @@ -89441,8 +88983,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: + - *465 - *466 - - *467 - *225 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -89469,9 +89011,9 @@ paths: application/json: schema: type: array - items: *455 + items: *454 examples: - default: *457 + default: *456 headers: Link: *43 '404': *6 @@ -89492,8 +89034,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: + - *465 - *466 - - *467 - *225 requestBody: required: true @@ -89526,16 +89068,16 @@ paths: description: Reaction exists content: application/json: - schema: *455 + schema: *454 examples: - default: *456 + default: *455 '201': description: Reaction created content: application/json: - schema: *455 + schema: *454 examples: - default: *456 + default: *455 '422': *15 x-github: githubCloudOnly: false @@ -89557,10 +89099,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: + - *465 - *466 - - *467 - *225 - - *458 + - *457 responses: '204': description: Response @@ -89580,8 +89122,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: + - *465 - *466 - - *467 - *17 - *19 responses: @@ -89591,7 +89133,7 @@ paths: application/json: schema: type: array - items: &663 + items: &661 title: Issue Event description: Issue Event type: object @@ -89634,8 +89176,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *661 - required: *662 + properties: *659 + required: *660 nullable: true label: title: Issue Event Label @@ -89942,8 +89484,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: + - *465 - *466 - - *467 - name: event_id in: path required: true @@ -89954,7 +89496,7 @@ paths: description: Response content: application/json: - schema: *663 + schema: *661 examples: default: value: @@ -90147,7 +89689,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *477 + '410': *656 '403': *29 x-github: githubCloudOnly: false @@ -90181,9 +89723,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: + - *465 - *466 - - *467 - - &665 + - &663 name: issue_number description: The number that identifies the issue. in: path @@ -90197,10 +89739,10 @@ paths: application/json: schema: *226 examples: - default: *664 - '301': *480 + default: *662 + '301': *477 '404': *6 - '410': *477 + '410': *656 '304': *37 x-github: githubCloudOnly: false @@ -90225,9 +89767,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: + - *465 - *466 - - *467 - - *665 + - *663 requestBody: required: false content: @@ -90333,13 +89875,13 @@ paths: application/json: schema: *226 examples: - default: *664 + default: *662 '422': *15 '503': *190 '403': *29 - '301': *480 + '301': *477 '404': *6 - '410': *477 + '410': *656 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90357,9 +89899,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: + - *465 - *466 - - *467 - - *665 + - *663 requestBody: required: false content: @@ -90387,7 +89929,7 @@ paths: application/json: schema: *226 examples: - default: *664 + default: *662 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90403,9 +89945,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: + - *465 - *466 - - *467 - - *665 + - *663 requestBody: content: application/json: @@ -90432,7 +89974,7 @@ paths: application/json: schema: *226 examples: - default: *664 + default: *662 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90454,9 +89996,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: + - *465 - *466 - - *467 - - *665 + - *663 - name: assignee in: path required: true @@ -90496,9 +90038,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: + - *465 - *466 - - *467 - - *665 + - *663 - *216 - *17 - *19 @@ -90509,13 +90051,13 @@ paths: application/json: schema: type: array - items: *659 + items: *657 examples: - default: *666 + default: *664 headers: Link: *43 '404': *6 - '410': *477 + '410': *656 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90544,9 +90086,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: + - *465 - *466 - - *467 - - *665 + - *663 requestBody: required: true content: @@ -90568,16 +90110,16 @@ paths: description: Response content: application/json: - schema: *659 + schema: *657 examples: - default: *660 + default: *658 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *477 + '410': *656 '422': *15 '404': *6 x-github: @@ -90605,9 +90147,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: + - *465 - *466 - - *467 - - *665 + - *663 - *17 - *19 responses: @@ -90619,12 +90161,12 @@ paths: type: array items: *226 examples: - default: *667 + default: *665 headers: Link: *43 - '301': *480 + '301': *477 '404': *6 - '410': *477 + '410': *656 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90652,9 +90194,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: + - *465 - *466 - - *467 - - *665 + - *663 requestBody: required: true content: @@ -90678,15 +90220,15 @@ paths: application/json: schema: *226 examples: - default: *664 + default: *662 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *480 + '301': *477 '403': *29 - '410': *477 + '410': *656 '422': *15 '404': *6 x-github: @@ -90717,9 +90259,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: + - *465 - *466 - - *467 - - *665 + - *663 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -90733,13 +90275,13 @@ paths: application/json: schema: *226 examples: - default: *664 - '301': *480 + default: *662 + '301': *477 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *477 + '410': *656 x-github: triggersNotification: true githubCloudOnly: false @@ -90765,9 +90307,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: + - *465 - *466 - - *467 - - *665 + - *663 - *17 - *19 responses: @@ -90779,12 +90321,12 @@ paths: type: array items: *226 examples: - default: *667 + default: *665 headers: Link: *43 - '301': *480 + '301': *477 '404': *6 - '410': *477 + '410': *656 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90801,9 +90343,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: + - *465 - *466 - - *467 - - *665 + - *663 - *17 - *19 responses: @@ -90817,7 +90359,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &670 + - &668 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -90871,7 +90413,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &671 + - &669 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -91007,7 +90549,7 @@ paths: - performed_via_github_app - assignee - assigner - - &672 + - &670 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -91058,7 +90600,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &673 + - &671 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -91109,7 +90651,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &674 + - &672 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -91163,7 +90705,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &675 + - &673 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -91210,7 +90752,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &676 + - &674 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -91257,7 +90799,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &677 + - &675 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -91317,7 +90859,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &678 + - &676 title: Locked Issue Event description: Locked Issue Event type: object @@ -91365,7 +90907,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &679 + - &677 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -91431,7 +90973,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &680 + - &678 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -91497,7 +91039,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &681 + - &679 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -91563,7 +91105,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &682 + - &680 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -91654,7 +91196,7 @@ paths: color: red headers: Link: *43 - '410': *477 + '410': *656 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91671,9 +91213,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: + - *465 - *466 - - *467 - - *665 + - *663 - *17 - *19 responses: @@ -91683,7 +91225,7 @@ paths: application/json: schema: type: array - items: &668 + items: &666 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -91730,7 +91272,7 @@ paths: - color - default examples: - default: &669 + default: &667 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -91748,9 +91290,9 @@ paths: default: false headers: Link: *43 - '301': *480 + '301': *477 '404': *6 - '410': *477 + '410': *656 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91767,9 +91309,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: + - *465 - *466 - - *467 - - *665 + - *663 requestBody: required: false content: @@ -91828,12 +91370,12 @@ paths: application/json: schema: type: array - items: *668 + items: *666 examples: - default: *669 - '301': *480 + default: *667 + '301': *477 '404': *6 - '410': *477 + '410': *656 '422': *15 x-github: githubCloudOnly: false @@ -91850,9 +91392,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: + - *465 - *466 - - *467 - - *665 + - *663 requestBody: required: false content: @@ -91912,12 +91454,12 @@ paths: application/json: schema: type: array - items: *668 + items: *666 examples: - default: *669 - '301': *480 + default: *667 + '301': *477 '404': *6 - '410': *477 + '410': *656 '422': *15 x-github: githubCloudOnly: false @@ -91934,15 +91476,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: + - *465 - *466 - - *467 - - *665 + - *663 responses: '204': description: Response - '301': *480 + '301': *477 '404': *6 - '410': *477 + '410': *656 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91961,9 +91503,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: + - *465 - *466 - - *467 - - *665 + - *663 - name: name in: path required: true @@ -91976,7 +91518,7 @@ paths: application/json: schema: type: array - items: *668 + items: *666 examples: default: value: @@ -91987,9 +91529,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *480 + '301': *477 '404': *6 - '410': *477 + '410': *656 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92009,9 +91551,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: + - *465 - *466 - - *467 - - *665 + - *663 requestBody: required: false content: @@ -92039,7 +91581,7 @@ paths: '204': description: Response '403': *29 - '410': *477 + '410': *656 '404': *6 '422': *15 x-github: @@ -92057,9 +91599,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: + - *465 - *466 - - *467 - - *665 + - *663 responses: '204': description: Response @@ -92089,9 +91631,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#get-parent-issue parameters: + - *465 - *466 - - *467 - - *665 + - *663 responses: '200': description: Response @@ -92099,10 +91641,10 @@ paths: application/json: schema: *226 examples: - default: *664 - '301': *480 + default: *662 + '301': *477 '404': *6 - '410': *477 + '410': *656 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92119,9 +91661,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: + - *465 - *466 - - *467 - - *665 + - *663 - 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. @@ -92147,13 +91689,13 @@ paths: application/json: schema: type: array - items: *455 + items: *454 examples: - default: *457 + default: *456 headers: Link: *43 '404': *6 - '410': *477 + '410': *656 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92171,9 +91713,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: + - *465 - *466 - - *467 - - *665 + - *663 requestBody: required: true content: @@ -92205,16 +91747,16 @@ paths: description: Response content: application/json: - schema: *455 + schema: *454 examples: - default: *456 + default: *455 '201': description: Response content: application/json: - schema: *455 + schema: *454 examples: - default: *456 + default: *455 '422': *15 x-github: githubCloudOnly: false @@ -92236,10 +91778,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: + - *465 - *466 - - *467 - - *665 - - *458 + - *663 + - *457 responses: '204': description: Response @@ -92268,9 +91810,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: + - *465 - *466 - - *467 - - *665 + - *663 requestBody: required: true content: @@ -92294,7 +91836,7 @@ paths: application/json: schema: *226 examples: - default: *664 + default: *662 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -92327,9 +91869,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: + - *465 - *466 - - *467 - - *665 + - *663 - *17 - *19 responses: @@ -92341,11 +91883,11 @@ paths: type: array items: *226 examples: - default: *667 + default: *665 headers: Link: *43 '404': *6 - '410': *477 + '410': *656 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92373,9 +91915,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: + - *465 - *466 - - *467 - - *665 + - *663 requestBody: required: true content: @@ -92404,14 +91946,14 @@ paths: application/json: schema: *226 examples: - default: *664 + default: *662 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *477 + '410': *656 '422': *15 '404': *6 x-github: @@ -92431,9 +91973,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: + - *465 - *466 - - *467 - - *665 + - *663 requestBody: required: true content: @@ -92466,7 +92008,7 @@ paths: application/json: schema: *226 examples: - default: *664 + default: *662 '403': *29 '404': *6 '422': *7 @@ -92488,9 +92030,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: + - *465 - *466 - - *467 - - *665 + - *663 - *17 - *19 responses: @@ -92505,6 +92047,8 @@ paths: description: Timeline Event type: object anyOf: + - *668 + - *669 - *670 - *671 - *672 @@ -92516,8 +92060,6 @@ paths: - *678 - *679 - *680 - - *681 - - *682 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -92826,7 +92368,7 @@ paths: type: string comments: type: array - items: &704 + items: &702 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -93035,7 +92577,7 @@ paths: type: string comments: type: array - items: *584 + items: *581 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -93324,7 +92866,7 @@ paths: headers: Link: *43 '404': *6 - '410': *477 + '410': *656 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93341,8 +92883,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: + - *465 - *466 - - *467 - *17 - *19 responses: @@ -93352,7 +92894,7 @@ paths: application/json: schema: type: array - items: &683 + items: &681 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -93418,8 +92960,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: + - *465 - *466 - - *467 requestBody: required: true content: @@ -93455,9 +92997,9 @@ paths: description: Response content: application/json: - schema: *683 + schema: *681 examples: - default: &684 + default: &682 value: id: 1 key: ssh-rsa AAA... @@ -93491,9 +93033,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: + - *465 - *466 - - *467 - - &685 + - &683 name: key_id description: The unique identifier of the key. in: path @@ -93505,9 +93047,9 @@ paths: description: Response content: application/json: - schema: *683 + schema: *681 examples: - default: *684 + default: *682 '404': *6 x-github: githubCloudOnly: false @@ -93525,9 +93067,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: + - *465 - *466 - - *467 - - *685 + - *683 responses: '204': description: Response @@ -93547,8 +93089,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: + - *465 - *466 - - *467 - *17 - *19 responses: @@ -93558,9 +93100,9 @@ paths: application/json: schema: type: array - items: *668 + items: *666 examples: - default: *669 + default: *667 headers: Link: *43 '404': *6 @@ -93581,8 +93123,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: + - *465 - *466 - - *467 requestBody: required: true content: @@ -93618,9 +93160,9 @@ paths: description: Response content: application/json: - schema: *668 + schema: *666 examples: - default: &686 + default: &684 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -93652,8 +93194,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: + - *465 - *466 - - *467 - name: name in: path required: true @@ -93664,9 +93206,9 @@ paths: description: Response content: application/json: - schema: *668 + schema: *666 examples: - default: *686 + default: *684 '404': *6 x-github: githubCloudOnly: false @@ -93683,8 +93225,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: + - *465 - *466 - - *467 - name: name in: path required: true @@ -93723,7 +93265,7 @@ paths: description: Response content: application/json: - schema: *668 + schema: *666 examples: default: value: @@ -93749,8 +93291,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: + - *465 - *466 - - *467 - name: name in: path required: true @@ -93776,8 +93318,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: + - *465 - *466 - - *467 responses: '200': description: Response @@ -93813,8 +93355,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: + - *465 - *466 - - *467 responses: '202': *39 '403': @@ -93842,8 +93384,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: + - *465 - *466 - - *467 responses: '204': description: Response @@ -93869,9 +93411,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: + - *465 - *466 - - *467 - - *560 + - *557 responses: '200': description: Response @@ -94016,8 +93558,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: + - *465 - *466 - - *467 requestBody: required: true content: @@ -94082,8 +93624,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: + - *465 - *466 - - *467 requestBody: required: true content: @@ -94117,9 +93659,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *585 + schema: *582 examples: - default: *687 + default: *685 '204': description: Response when already merged '404': @@ -94144,8 +93686,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: + - *465 - *466 - - *467 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -94186,12 +93728,12 @@ paths: application/json: schema: type: array - items: &688 + items: &686 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *401 - required: *402 + properties: *400 + required: *401 examples: default: value: @@ -94247,8 +93789,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: + - *465 - *466 - - *467 requestBody: required: true content: @@ -94288,9 +93830,9 @@ paths: description: Response content: application/json: - schema: *688 + schema: *686 examples: - default: &689 + default: &687 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -94349,9 +93891,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: + - *465 - *466 - - *467 - - &690 + - &688 name: milestone_number description: The number that identifies the milestone. in: path @@ -94363,9 +93905,9 @@ paths: description: Response content: application/json: - schema: *688 + schema: *686 examples: - default: *689 + default: *687 '404': *6 x-github: githubCloudOnly: false @@ -94382,9 +93924,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: + - *465 - *466 - - *467 - - *690 + - *688 requestBody: required: false content: @@ -94422,9 +93964,9 @@ paths: description: Response content: application/json: - schema: *688 + schema: *686 examples: - default: *689 + default: *687 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94440,9 +93982,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: + - *465 - *466 - - *467 - - *690 + - *688 responses: '204': description: Response @@ -94463,9 +94005,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: + - *465 - *466 - - *467 - - *690 + - *688 - *17 - *19 responses: @@ -94475,9 +94017,9 @@ paths: application/json: schema: type: array - items: *668 + items: *666 examples: - default: *669 + default: *667 headers: Link: *43 x-github: @@ -94496,12 +94038,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: + - *465 - *466 - - *467 - - *691 - - *692 + - *689 + - *690 - *216 - - *693 + - *691 - *17 - *19 responses: @@ -94513,7 +94055,7 @@ paths: type: array items: *239 examples: - default: *694 + default: *692 headers: Link: *43 x-github: @@ -94537,8 +94079,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: + - *465 - *466 - - *467 requestBody: required: false content: @@ -94596,14 +94138,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: + - *465 - *466 - - *467 responses: '200': description: Response content: application/json: - schema: &695 + schema: &693 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -94728,7 +94270,7 @@ paths: - custom_404 - public examples: - default: &696 + default: &694 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -94769,8 +94311,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: + - *465 - *466 - - *467 requestBody: required: true content: @@ -94824,9 +94366,9 @@ paths: description: Response content: application/json: - schema: *695 + schema: *693 examples: - default: *696 + default: *694 '422': *15 '409': *114 x-github: @@ -94849,8 +94391,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: + - *465 - *466 - - *467 requestBody: required: true content: @@ -94957,8 +94499,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: + - *465 - *466 - - *467 responses: '204': description: Response @@ -94984,8 +94526,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: + - *465 - *466 - - *467 - *17 - *19 responses: @@ -94995,7 +94537,7 @@ paths: application/json: schema: type: array - items: &697 + items: &695 title: Page Build description: Page Build type: object @@ -95089,8 +94631,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: + - *465 - *466 - - *467 responses: '201': description: Response @@ -95135,16 +94677,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: + - *465 - *466 - - *467 responses: '200': description: Response content: application/json: - schema: *697 + schema: *695 examples: - default: &698 + default: &696 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -95192,8 +94734,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: + - *465 - *466 - - *467 - name: build_id in: path required: true @@ -95204,9 +94746,9 @@ paths: description: Response content: application/json: - schema: *697 + schema: *695 examples: - default: *698 + default: *696 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95226,8 +94768,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: + - *465 - *466 - - *467 requestBody: required: true content: @@ -95332,9 +94874,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: + - *465 - *466 - - *467 - - &699 + - &697 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -95392,9 +94934,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: + - *465 - *466 - - *467 - - *699 + - *697 responses: '204': *150 '404': *6 @@ -95421,8 +94963,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: + - *465 - *466 - - *467 responses: '200': description: Response @@ -95680,8 +95222,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: + - *465 - *466 - - *467 responses: '200': description: Private vulnerability reporting status @@ -95718,8 +95260,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: + - *465 - *466 - - *467 responses: '204': *150 '422': *14 @@ -95740,8 +95282,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: + - *465 - *466 - - *467 responses: '204': *150 '422': *14 @@ -95750,148 +95292,6 @@ paths: enabledForGitHubApps: true category: repos subcategory: repos - "/repos/{owner}/{repo}/projects": - get: - summary: List repository projects - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/list-for-repo - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-repository-projects - parameters: - - *466 - - *467 - - name: state - description: Indicates the state of the projects to return. - in: query - required: false - schema: - type: string - enum: - - open - - closed - - all - default: open - - *17 - - *19 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: *396 - examples: - default: - value: - - owner_url: https://api.github.com/repos/api-playground/projects-test - url: https://api.github.com/projects/1002604 - html_url: https://github.com/api-playground/projects-test/projects/1 - columns_url: https://api.github.com/projects/1002604/columns - id: 1002604 - node_id: MDc6UHJvamVjdDEwMDI2MDQ= - name: Projects Documentation - body: Developer documentation project for the developer site. - number: 1 - state: open - creator: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - created_at: '2011-04-10T20:09:31Z' - updated_at: '2014-03-03T18:58:10Z' - headers: - Link: *43 - '401': *25 - '403': *29 - '404': *6 - '410': *477 - '422': *7 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true - post: - summary: Create a repository project - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/create-for-repo - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#create-a-repository-project - parameters: - - *466 - - *467 - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - name: - type: string - description: The name of the project. - body: - type: string - description: The description of the project. - required: - - name - examples: - default: - value: - name: Projects Documentation - body: Developer documentation project for the developer site. - responses: - '201': - description: Response - content: - application/json: - schema: *396 - examples: - default: *476 - '401': *25 - '403': *29 - '404': *6 - '410': *477 - '422': *7 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true "/repos/{owner}/{repo}/properties/values": get: summary: Get all custom property values for a repository @@ -95905,8 +95305,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: + - *465 - *466 - - *467 responses: '200': description: Response @@ -95916,7 +95316,7 @@ paths: type: array items: *151 examples: - default: *700 + default: *698 '403': *29 '404': *6 x-github: @@ -95938,8 +95338,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: + - *465 - *466 - - *467 requestBody: required: true content: @@ -95955,7 +95355,7 @@ paths: required: - properties examples: - default: *701 + default: *699 responses: '204': description: No Content when custom property values are successfully created @@ -95993,8 +95393,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: + - *465 - *466 - - *467 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -96054,9 +95454,9 @@ paths: application/json: schema: type: array - items: *589 + items: *586 examples: - default: *702 + default: *700 headers: Link: *43 '304': *37 @@ -96088,8 +95488,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: + - *465 - *466 - - *467 requestBody: required: true content: @@ -96154,7 +95554,7 @@ paths: description: Response content: application/json: - schema: &706 + schema: &704 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -96265,8 +95665,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *401 - required: *402 + properties: *400 + required: *401 nullable: true active_lock_reason: type: string @@ -96311,7 +95711,7 @@ paths: nullable: true requested_teams: type: array - items: *433 + items: *432 nullable: true head: type: object @@ -96350,14 +95750,14 @@ paths: _links: type: object properties: - comments: *403 - commits: *403 - statuses: *403 - html: *403 - issue: *403 - review_comments: *403 - review_comment: *403 - self: *403 + comments: *402 + commits: *402 + statuses: *402 + html: *402 + issue: *402 + review_comments: *402 + review_comment: *402 + self: *402 required: - comments - commits @@ -96368,7 +95768,7 @@ paths: - review_comment - self author_association: *213 - auto_merge: *703 + auto_merge: *701 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -96460,7 +95860,7 @@ paths: - merged_by - review_comments examples: - default: &707 + default: &705 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -96987,8 +96387,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: + - *465 - *466 - - *467 - name: sort in: query required: false @@ -97017,9 +96417,9 @@ paths: application/json: schema: type: array - items: *704 + items: *702 examples: - default: &709 + default: &707 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -97096,17 +96496,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: + - *465 - *466 - - *467 - *225 responses: '200': description: Response content: application/json: - schema: *704 + schema: *702 examples: - default: &705 + default: &703 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -97181,8 +96581,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: + - *465 - *466 - - *467 - *225 requestBody: required: true @@ -97205,9 +96605,9 @@ paths: description: Response content: application/json: - schema: *704 + schema: *702 examples: - default: *705 + default: *703 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97223,8 +96623,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: + - *465 - *466 - - *467 - *225 responses: '204': @@ -97246,8 +96646,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: + - *465 - *466 - - *467 - *225 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -97274,9 +96674,9 @@ paths: application/json: schema: type: array - items: *455 + items: *454 examples: - default: *457 + default: *456 headers: Link: *43 '404': *6 @@ -97297,8 +96697,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: + - *465 - *466 - - *467 - *225 requestBody: required: true @@ -97331,16 +96731,16 @@ paths: description: Reaction exists content: application/json: - schema: *455 + schema: *454 examples: - default: *456 + default: *455 '201': description: Reaction created content: application/json: - schema: *455 + schema: *454 examples: - default: *456 + default: *455 '422': *15 x-github: githubCloudOnly: false @@ -97362,10 +96762,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: + - *465 - *466 - - *467 - *225 - - *458 + - *457 responses: '204': description: Response @@ -97408,9 +96808,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: + - *465 - *466 - - *467 - - &708 + - &706 name: pull_number description: The number that identifies the pull request. in: path @@ -97423,9 +96823,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *706 + schema: *704 examples: - default: *707 + default: *705 '304': *37 '404': *6 '406': @@ -97460,9 +96860,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: + - *465 - *466 - - *467 - - *708 + - *706 requestBody: required: false content: @@ -97504,9 +96904,9 @@ paths: description: Response content: application/json: - schema: *706 + schema: *704 examples: - default: *707 + default: *705 '422': *15 '403': *29 x-github: @@ -97528,9 +96928,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: + - *465 - *466 - - *467 - - *708 + - *706 requestBody: required: true content: @@ -97592,7 +96992,7 @@ paths: application/json: schema: *369 examples: - default: *574 + default: *571 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -97600,7 +97000,7 @@ paths: application/json: schema: *369 examples: - default: *574 + default: *571 '401': *25 '403': *29 '404': *6 @@ -97630,9 +97030,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: + - *465 - *466 - - *467 - - *708 + - *706 - *236 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -97653,9 +97053,9 @@ paths: application/json: schema: type: array - items: *704 + items: *702 examples: - default: *709 + default: *707 headers: Link: *43 x-github: @@ -97688,9 +97088,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: + - *465 - *466 - - *467 - - *708 + - *706 requestBody: required: true content: @@ -97795,7 +97195,7 @@ paths: description: Response content: application/json: - schema: *704 + schema: *702 examples: example-for-a-multi-line-comment: value: @@ -97883,9 +97283,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: + - *465 - *466 - - *467 - - *708 + - *706 - *225 requestBody: required: true @@ -97908,7 +97308,7 @@ paths: description: Response content: application/json: - schema: *704 + schema: *702 examples: default: value: @@ -97994,9 +97394,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: + - *465 - *466 - - *467 - - *708 + - *706 - *17 - *19 responses: @@ -98006,9 +97406,9 @@ paths: application/json: schema: type: array - items: *585 + items: *582 examples: - default: *710 + default: *708 headers: Link: *43 x-github: @@ -98038,9 +97438,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: + - *465 - *466 - - *467 - - *708 + - *706 - *17 - *19 responses: @@ -98050,7 +97450,7 @@ paths: application/json: schema: type: array - items: *598 + items: *595 examples: default: value: @@ -98088,9 +97488,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: + - *465 - *466 - - *467 - - *708 + - *706 responses: '204': description: Response if pull request has been merged @@ -98113,9 +97513,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: + - *465 - *466 - - *467 - - *708 + - *706 requestBody: required: false content: @@ -98226,9 +97626,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: + - *465 - *466 - - *467 - - *708 + - *706 responses: '200': description: Response @@ -98303,9 +97703,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: + - *465 - *466 - - *467 - - *708 + - *706 requestBody: required: false content: @@ -98342,7 +97742,7 @@ paths: description: Response content: application/json: - schema: *589 + schema: *586 examples: default: value: @@ -98878,9 +98278,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: + - *465 - *466 - - *467 - - *708 + - *706 requestBody: required: true content: @@ -98914,7 +98314,7 @@ paths: description: Response content: application/json: - schema: *589 + schema: *586 examples: default: value: @@ -99419,9 +98819,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: + - *465 - *466 - - *467 - - *708 + - *706 - *17 - *19 responses: @@ -99431,7 +98831,7 @@ paths: application/json: schema: type: array - items: &711 + items: &709 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -99582,9 +98982,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: + - *465 - *466 - - *467 - - *708 + - *706 requestBody: required: false content: @@ -99670,9 +99070,9 @@ paths: description: Response content: application/json: - schema: *711 + schema: *709 examples: - default: &713 + default: &711 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -99735,10 +99135,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: + - *465 - *466 - - *467 - - *708 - - &712 + - *706 + - &710 name: review_id description: The unique identifier of the review. in: path @@ -99750,9 +99150,9 @@ paths: description: Response content: application/json: - schema: *711 + schema: *709 examples: - default: &714 + default: &712 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -99811,10 +99211,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: + - *465 - *466 - - *467 - - *708 - - *712 + - *706 + - *710 requestBody: required: true content: @@ -99837,7 +99237,7 @@ paths: description: Response content: application/json: - schema: *711 + schema: *709 examples: default: value: @@ -99899,18 +99299,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: + - *465 - *466 - - *467 - - *708 - - *712 + - *706 + - *710 responses: '200': description: Response content: application/json: - schema: *711 + schema: *709 examples: - default: *713 + default: *711 '422': *7 '404': *6 x-github: @@ -99937,10 +99337,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: + - *465 - *466 - - *467 - - *708 - - *712 + - *706 + - *710 - *17 - *19 responses: @@ -100023,9 +99423,9 @@ paths: _links: type: object properties: - self: *403 - html: *403 - pull_request: *403 + self: *402 + html: *402 + pull_request: *402 required: - self - html @@ -100175,10 +99575,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: + - *465 - *466 - - *467 - - *708 - - *712 + - *706 + - *710 requestBody: required: true content: @@ -100206,7 +99606,7 @@ paths: description: Response content: application/json: - schema: *711 + schema: *709 examples: default: value: @@ -100269,10 +99669,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: + - *465 - *466 - - *467 - - *708 - - *712 + - *706 + - *710 requestBody: required: true content: @@ -100307,9 +99707,9 @@ paths: description: Response content: application/json: - schema: *711 + schema: *709 examples: - default: *714 + default: *712 '404': *6 '422': *7 '403': *29 @@ -100331,9 +99731,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: + - *465 - *466 - - *467 - - *708 + - *706 requestBody: required: false content: @@ -100396,8 +99796,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: + - *465 - *466 - - *467 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -100410,9 +99810,9 @@ paths: description: Response content: application/json: - schema: *715 + schema: *713 examples: - default: &716 + default: &714 value: type: file encoding: base64 @@ -100454,8 +99854,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: + - *465 - *466 - - *467 - name: dir description: The alternate path to look for a README file in: path @@ -100475,9 +99875,9 @@ paths: description: Response content: application/json: - schema: *715 + schema: *713 examples: - default: *716 + default: *714 '404': *6 '422': *15 x-github: @@ -100499,8 +99899,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: + - *465 - *466 - - *467 - *17 - *19 responses: @@ -100510,7 +99910,7 @@ paths: application/json: schema: type: array - items: &717 + items: &715 title: Release description: A release. type: object @@ -100581,7 +99981,7 @@ paths: author: *4 assets: type: array - items: &718 + items: &716 title: Release Asset description: Data related to a release. type: object @@ -100768,8 +100168,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: + - *465 - *466 - - *467 requestBody: required: true content: @@ -100845,9 +100245,9 @@ paths: description: Response content: application/json: - schema: *717 + schema: *715 examples: - default: &721 + default: &719 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -100952,9 +100352,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: + - *465 - *466 - - *467 - - &719 + - &717 name: asset_id description: The unique identifier of the asset. in: path @@ -100966,9 +100366,9 @@ paths: description: Response content: application/json: - schema: *718 + schema: *716 examples: - default: &720 + default: &718 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 @@ -101003,7 +100403,7 @@ paths: type: User site_admin: false '404': *6 - '302': *600 + '302': *597 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101019,9 +100419,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: + - *465 - *466 - - *467 - - *719 + - *717 requestBody: required: false content: @@ -101049,9 +100449,9 @@ paths: description: Response content: application/json: - schema: *718 + schema: *716 examples: - default: *720 + default: *718 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101067,9 +100467,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: + - *465 - *466 - - *467 - - *719 + - *717 responses: '204': description: Response @@ -101093,8 +100493,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: + - *465 - *466 - - *467 requestBody: required: true content: @@ -101179,16 +100579,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: + - *465 - *466 - - *467 responses: '200': description: Response content: application/json: - schema: *717 + schema: *715 examples: - default: *721 + default: *719 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101205,8 +100605,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: + - *465 - *466 - - *467 - name: tag description: tag parameter in: path @@ -101219,9 +100619,9 @@ paths: description: Response content: application/json: - schema: *717 + schema: *715 examples: - default: *721 + default: *719 '404': *6 x-github: githubCloudOnly: false @@ -101243,9 +100643,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: + - *465 - *466 - - *467 - - &722 + - &720 name: release_id description: The unique identifier of the release. in: path @@ -101259,9 +100659,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: *717 + schema: *715 examples: - default: *721 + default: *719 '401': description: Unauthorized x-github: @@ -101279,9 +100679,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: + - *465 - *466 - - *467 - - *722 + - *720 requestBody: required: false content: @@ -101345,9 +100745,9 @@ paths: description: Response content: application/json: - schema: *717 + schema: *715 examples: - default: *721 + default: *719 '404': description: Not Found if the discussion category name is invalid content: @@ -101368,9 +100768,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: + - *465 - *466 - - *467 - - *722 + - *720 responses: '204': description: Response @@ -101390,9 +100790,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: + - *465 - *466 - - *467 - - *722 + - *720 - *17 - *19 responses: @@ -101402,7 +100802,7 @@ paths: application/json: schema: type: array - items: *718 + items: *716 examples: default: value: @@ -101484,9 +100884,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: + - *465 - *466 - - *467 - - *722 + - *720 - name: name in: query required: true @@ -101512,7 +100912,7 @@ paths: description: Response for successful upload content: application/json: - schema: *718 + schema: *716 examples: response-for-successful-upload: value: @@ -101567,9 +100967,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: + - *465 - *466 - - *467 - - *722 + - *720 - 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. @@ -101593,9 +100993,9 @@ paths: application/json: schema: type: array - items: *455 + items: *454 examples: - default: *457 + default: *456 headers: Link: *43 '404': *6 @@ -101616,9 +101016,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: + - *465 - *466 - - *467 - - *722 + - *720 requestBody: required: true content: @@ -101648,16 +101048,16 @@ paths: description: Reaction exists content: application/json: - schema: *455 + schema: *454 examples: - default: *456 + default: *455 '201': description: Reaction created content: application/json: - schema: *455 + schema: *454 examples: - default: *456 + default: *455 '422': *15 x-github: githubCloudOnly: false @@ -101679,10 +101079,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: + - *465 - *466 - - *467 - - *722 - - *458 + - *720 + - *457 responses: '204': description: Response @@ -101706,9 +101106,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: + - *465 - *466 - - *467 - - *525 + - *522 - *17 - *19 responses: @@ -101725,7 +101125,7 @@ paths: oneOf: - allOf: - *165 - - &723 + - &721 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -101746,67 +101146,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *166 - - *723 + - *721 - allOf: - *167 - - *723 + - *721 - allOf: - *168 - - *723 + - *721 - allOf: - - *724 - - *723 + - *722 + - *721 - allOf: - *169 - - *723 + - *721 - allOf: - *170 - - *723 + - *721 - allOf: - *171 - - *723 + - *721 - allOf: - *172 - - *723 + - *721 - allOf: - *173 - - *723 + - *721 - allOf: - *174 - - *723 + - *721 - allOf: - *175 - - *723 + - *721 - allOf: - *176 - - *723 + - *721 - allOf: - *177 - - *723 + - *721 - allOf: - *178 - - *723 + - *721 - allOf: - *179 - - *723 + - *721 - allOf: - *180 - - *723 + - *721 - allOf: - *181 - - *723 + - *721 - allOf: - *182 - - *723 + - *721 - allOf: - *183 - - *723 + - *721 - allOf: - *184 - - *723 + - *721 - allOf: - - *725 - *723 + - *721 examples: default: value: @@ -101845,8 +101245,8 @@ paths: category: repos subcategory: rules parameters: + - *465 - *466 - - *467 - *17 - *19 - name: includes_parents @@ -101857,7 +101257,7 @@ paths: schema: type: boolean default: true - - *726 + - *724 responses: '200': description: Response @@ -101912,8 +101312,8 @@ paths: category: repos subcategory: rules parameters: + - *465 - *466 - - *467 requestBody: description: Request body required: true @@ -101942,7 +101342,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *727 + items: *725 required: - name - enforcement @@ -101975,7 +101375,7 @@ paths: application/json: schema: *185 examples: - default: &736 + default: &734 value: id: 42 name: super cool ruleset @@ -102022,12 +101422,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: + - *465 - *466 - - *467 - - *728 + - *726 - *101 - - *729 - - *730 + - *727 + - *728 - *17 - *19 responses: @@ -102035,9 +101435,9 @@ paths: description: Response content: application/json: - schema: *731 + schema: *729 examples: - default: *732 + default: *730 '404': *6 '500': *40 x-github: @@ -102058,17 +101458,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: + - *465 - *466 - - *467 - - *733 + - *731 responses: '200': description: Response content: application/json: - schema: *734 + schema: *732 examples: - default: *735 + default: *733 '404': *6 '500': *40 x-github: @@ -102096,8 +101496,8 @@ paths: category: repos subcategory: rules parameters: + - *465 - *466 - - *467 - name: ruleset_id description: The ID of the ruleset. in: path @@ -102119,7 +101519,7 @@ paths: application/json: schema: *185 examples: - default: *736 + default: *734 '404': *6 '500': *40 put: @@ -102137,8 +101537,8 @@ paths: category: repos subcategory: rules parameters: + - *465 - *466 - - *467 - name: ruleset_id description: The ID of the ruleset. in: path @@ -102172,7 +101572,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *727 + items: *725 examples: default: value: @@ -102202,7 +101602,7 @@ paths: application/json: schema: *185 examples: - default: *736 + default: *734 '404': *6 '500': *40 delete: @@ -102220,8 +101620,8 @@ paths: category: repos subcategory: rules parameters: + - *465 - *466 - - *467 - name: ruleset_id description: The ID of the ruleset. in: path @@ -102244,8 +101644,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: + - *465 - *466 - - *467 - *17 - *19 - name: ruleset_id @@ -102263,7 +101663,7 @@ paths: type: array items: *189 examples: - default: *418 + default: *417 '404': *6 '500': *40 x-github: @@ -102282,8 +101682,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: + - *465 - *466 - - *467 - name: ruleset_id description: The ID of the ruleset. in: path @@ -102301,7 +101701,7 @@ paths: description: Response content: application/json: - schema: *419 + schema: *418 examples: default: value: @@ -102356,21 +101756,21 @@ 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: + - *465 - *466 - - *467 + - *419 - *420 - *421 - *422 - - *423 - *106 - *19 - *17 - - *737 - - *738 + - *735 + - *736 + - *423 - *424 - *425 - *426 - - *427 responses: '200': description: Response @@ -102378,7 +101778,7 @@ paths: application/json: schema: type: array - items: &742 + items: &740 type: object properties: number: *123 @@ -102397,8 +101797,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *739 - resolution: *740 + state: *737 + resolution: *738 resolved_at: type: string format: date-time @@ -102494,7 +101894,7 @@ paths: pull request. ' - oneOf: *741 + oneOf: *739 nullable: true has_more_locations: type: boolean @@ -102643,16 +102043,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: + - *465 - *466 - - *467 - - *554 - - *427 + - *551 + - *426 responses: '200': description: Response content: application/json: - schema: *742 + schema: *740 examples: default: value: @@ -102704,9 +102104,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: + - *465 - *466 - - *467 - - *554 + - *551 requestBody: required: true content: @@ -102714,8 +102114,8 @@ paths: schema: type: object properties: - state: *739 - resolution: *740 + state: *737 + resolution: *738 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -102733,7 +102133,7 @@ paths: description: Response content: application/json: - schema: *742 + schema: *740 examples: default: value: @@ -102808,9 +102208,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: + - *465 - *466 - - *467 - - *554 + - *551 - *19 - *17 responses: @@ -102821,7 +102221,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &924 + items: &922 type: object properties: type: @@ -102847,6 +102247,8 @@ paths: example: commit details: oneOf: + - *741 + - *742 - *743 - *744 - *745 @@ -102858,8 +102260,6 @@ paths: - *751 - *752 - *753 - - *754 - - *755 examples: default: value: @@ -102945,8 +102345,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: + - *465 - *466 - - *467 requestBody: required: true content: @@ -102954,14 +102354,14 @@ paths: schema: type: object properties: - reason: &757 + reason: &755 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *756 + placeholder_id: *754 required: - reason - placeholder_id @@ -102978,7 +102378,7 @@ paths: schema: type: object properties: - reason: *757 + reason: *755 expire_at: type: string format: date-time @@ -103024,8 +102424,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: + - *465 - *466 - - *467 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -103040,7 +102440,7 @@ paths: properties: incremental_scans: type: array - items: &758 + items: &756 description: Information on a single scan performed by secret scanning on the repository type: object @@ -103066,15 +102466,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *758 + items: *756 backfill_scans: type: array - items: *758 + items: *756 custom_pattern_backfill_scans: type: array items: allOf: - - *758 + - *756 - type: object properties: pattern_name: @@ -103144,8 +102544,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: + - *465 - *466 - - *467 - *106 - name: sort description: The property to sort the results by. @@ -103189,9 +102589,9 @@ paths: application/json: schema: type: array - items: *759 + items: *757 examples: - default: *760 + default: *758 '400': *14 '404': *6 x-github: @@ -103214,8 +102614,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: + - *465 - *466 - - *467 requestBody: required: true content: @@ -103288,7 +102688,7 @@ paths: login: type: string description: The username of the user credited. - type: *432 + type: *431 required: - login - type @@ -103375,9 +102775,9 @@ paths: description: Response content: application/json: - schema: *759 + schema: *757 examples: - default: &762 + default: &760 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -103610,8 +103010,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: + - *465 - *466 - - *467 requestBody: required: true content: @@ -103715,7 +103115,7 @@ paths: description: Response content: application/json: - schema: *759 + schema: *757 examples: default: value: @@ -103862,17 +103262,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: + - *465 - *466 - - *467 - - *761 + - *759 responses: '200': description: Response content: application/json: - schema: *759 + schema: *757 examples: - default: *762 + default: *760 '403': *29 '404': *6 x-github: @@ -103896,9 +103296,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: + - *465 - *466 - - *467 - - *761 + - *759 requestBody: required: true content: @@ -103971,7 +103371,7 @@ paths: login: type: string description: The username of the user credited. - type: *432 + type: *431 required: - login - type @@ -104057,10 +103457,10 @@ paths: description: Response content: application/json: - schema: *759 + schema: *757 examples: - default: *762 - add_credit: *762 + default: *760 + add_credit: *760 '403': *29 '404': *6 '422': @@ -104098,9 +103498,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: + - *465 - *466 - - *467 - - *761 + - *759 responses: '202': *39 '400': *14 @@ -104127,17 +103527,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: + - *465 - *466 - - *467 - - *761 + - *759 responses: '202': description: Response content: application/json: - schema: *479 + schema: *476 examples: - default: *481 + default: *478 '400': *14 '422': *15 '403': *29 @@ -104163,8 +103563,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: + - *465 - *466 - - *467 - *17 - *19 responses: @@ -104263,8 +103663,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: + - *465 - *466 - - *467 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -104273,7 +103673,7 @@ paths: application/json: schema: type: array - items: &763 + items: &761 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -104306,8 +103706,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: + - *465 - *466 - - *467 responses: '200': description: Response @@ -104383,8 +103783,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: + - *465 - *466 - - *467 responses: '200': description: Response @@ -104480,8 +103880,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: + - *465 - *466 - - *467 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -104635,8 +104035,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: + - *465 - *466 - - *467 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -104646,7 +104046,7 @@ paths: application/json: schema: type: array - items: *763 + items: *761 examples: default: value: @@ -104679,8 +104079,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: + - *465 - *466 - - *467 - name: sha in: path required: true @@ -104734,7 +104134,7 @@ paths: description: Response content: application/json: - schema: *764 + schema: *762 examples: default: value: @@ -104788,8 +104188,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: + - *465 - *466 - - *467 - *17 - *19 responses: @@ -104821,14 +104221,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: + - *465 - *466 - - *467 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &765 + schema: &763 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -104896,8 +104296,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: + - *465 - *466 - - *467 requestBody: required: false content: @@ -104923,7 +104323,7 @@ paths: description: Response content: application/json: - schema: *765 + schema: *763 examples: default: value: @@ -104950,8 +104350,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: + - *465 - *466 - - *467 responses: '204': description: Response @@ -104971,8 +104371,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: + - *465 - *466 - - *467 - *17 - *19 responses: @@ -105051,8 +104451,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: + - *465 - *466 - - *467 responses: '200': description: Response @@ -105060,7 +104460,7 @@ paths: application/json: schema: type: array - items: &766 + items: &764 title: Tag protection description: Tag protection type: object @@ -105112,8 +104512,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: + - *465 - *466 - - *467 requestBody: required: true content: @@ -105136,7 +104536,7 @@ paths: description: Response content: application/json: - schema: *766 + schema: *764 examples: default: value: @@ -105167,8 +104567,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: + - *465 - *466 - - *467 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -105205,8 +104605,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: + - *465 - *466 - - *467 - name: ref in: path required: true @@ -105242,8 +104642,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: + - *465 - *466 - - *467 - *17 - *19 responses: @@ -105275,8 +104675,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: + - *465 - *466 - - *467 - *19 - *17 responses: @@ -105284,7 +104684,7 @@ paths: description: Response content: application/json: - schema: &767 + schema: &765 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -105296,7 +104696,7 @@ paths: required: - names examples: - default: &768 + default: &766 value: names: - octocat @@ -105319,8 +104719,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: + - *465 - *466 - - *467 requestBody: required: true content: @@ -105351,9 +104751,9 @@ paths: description: Response content: application/json: - schema: *767 + schema: *765 examples: - default: *768 + default: *766 '404': *6 '422': *7 x-github: @@ -105374,9 +104774,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: + - *465 - *466 - - *467 - - &769 + - &767 name: per description: The time frame to display results for. in: query @@ -105405,7 +104805,7 @@ paths: example: 128 clones: type: array - items: &770 + items: &768 title: Traffic type: object properties: @@ -105492,8 +104892,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: + - *465 - *466 - - *467 responses: '200': description: Response @@ -105583,8 +104983,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: + - *465 - *466 - - *467 responses: '200': description: Response @@ -105644,9 +105044,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: + - *465 - *466 - - *467 - - *769 + - *767 responses: '200': description: Response @@ -105665,7 +105065,7 @@ paths: example: 3782 views: type: array - items: *770 + items: *768 required: - uniques - count @@ -105742,8 +105142,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: + - *465 - *466 - - *467 requestBody: required: true content: @@ -106017,8 +105417,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: + - *465 - *466 - - *467 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -106041,8 +105441,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: + - *465 - *466 - - *467 responses: '204': description: Response @@ -106064,8 +105464,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: + - *465 - *466 - - *467 responses: '204': description: Response @@ -106091,8 +105491,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: + - *465 - *466 - - *467 - name: ref in: path required: true @@ -106184,9 +105584,9 @@ paths: description: Response content: application/json: - schema: *479 + schema: *476 examples: - default: *481 + default: *478 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -106337,7 +105737,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &778 + - &776 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -106346,7 +105746,7 @@ paths: schema: type: string example: members - - &783 + - &781 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -106357,7 +105757,7 @@ paths: default: 1 format: int32 example: 1 - - &784 + - &782 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -106399,7 +105799,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &773 + items: &771 allOf: - type: object required: @@ -106474,7 +105874,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: &785 + meta: &783 type: object description: The metadata associated with the creation/updates to the user. @@ -106534,30 +105934,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &774 + '400': &772 description: Bad request content: application/json: - schema: *771 + schema: *769 application/scim+json: - schema: *771 - '401': *772 - '403': &775 + schema: *769 + '401': *770 + '403': &773 description: Permission denied - '429': &776 + '429': &774 description: Too many requests content: application/json: - schema: *771 + schema: *769 application/scim+json: - schema: *771 - '500': &777 + schema: *769 + '500': &775 description: Internal server error content: application/json: - schema: *771 + schema: *769 application/scim+json: - schema: *771 + schema: *769 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -106581,7 +105981,7 @@ paths: required: true content: application/json: - schema: &781 + schema: &779 type: object required: - schemas @@ -106641,9 +106041,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *773 + schema: *771 examples: - group: &779 + group: &777 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -106662,13 +106062,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 - '400': *774 - '401': *772 - '403': *775 - '409': &782 + '400': *772 + '401': *770 + '403': *773 + '409': &780 description: Duplicate record detected - '429': *776 - '500': *777 + '429': *774 + '500': *775 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -106685,7 +106085,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: - - &780 + - &778 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -106693,22 +106093,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *778 + - *776 - *41 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *773 + schema: *771 examples: - default: *779 - '400': *774 - '401': *772 - '403': *775 + default: *777 + '400': *772 + '401': *770 + '403': *773 '404': *6 - '429': *776 - '500': *777 + '429': *774 + '500': *775 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -106727,13 +106127,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: - - *780 + - *778 - *41 requestBody: required: true content: application/json: - schema: *781 + schema: *779 examples: group: summary: Group @@ -106759,17 +106159,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *773 + schema: *771 examples: - group: *779 - groupWithMembers: *779 - '400': *774 - '401': *772 - '403': *775 + group: *777 + groupWithMembers: *777 + '400': *772 + '401': *770 + '403': *773 '404': *6 - '409': *782 - '429': *776 - '500': *777 + '409': *780 + '429': *774 + '500': *775 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -106793,13 +106193,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: - - *780 + - *778 - *41 requestBody: required: true content: application/json: - schema: &792 + schema: &790 type: object required: - Operations @@ -106859,17 +106259,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *773 + schema: *771 examples: - updateGroup: *779 - addMembers: *779 - '400': *774 - '401': *772 - '403': *775 + updateGroup: *777 + addMembers: *777 + '400': *772 + '401': *770 + '403': *773 '404': *6 - '409': *782 - '429': *776 - '500': *777 + '409': *780 + '429': *774 + '500': *775 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -106885,17 +106285,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: - - *780 + - *778 - *41 responses: '204': description: Group was deleted, no content - '400': *774 - '401': *772 - '403': *775 + '400': *772 + '401': *770 + '403': *773 '404': *6 - '429': *776 - '500': *777 + '429': *774 + '500': *775 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -106929,8 +106329,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *783 - - *784 + - *781 + - *782 - *41 responses: '200': @@ -106963,7 +106363,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &787 + items: &785 allOf: - type: object required: @@ -107042,7 +106442,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &786 + roles: &784 type: array description: The roles assigned to the user. items: @@ -107098,7 +106498,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *785 + meta: *783 startIndex: type: integer description: A starting index for the returned page @@ -107135,11 +106535,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *774 - '401': *772 - '403': *775 - '429': *776 - '500': *777 + '400': *772 + '401': *770 + '403': *773 + '429': *774 + '500': *775 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107163,7 +106563,7 @@ paths: required: true content: application/json: - schema: &790 + schema: &788 type: object required: - schemas @@ -107245,9 +106645,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *786 + roles: *784 examples: - user: &791 + user: &789 summary: User value: schemas: @@ -107294,9 +106694,9 @@ paths: description: User has been created content: application/scim+json: - schema: *787 + schema: *785 examples: - user: &788 + user: &786 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -107322,13 +106722,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: *788 - '400': *774 - '401': *772 - '403': *775 - '409': *782 - '429': *776 - '500': *777 + enterpriseOwner: *786 + '400': *772 + '401': *770 + '403': *773 + '409': *780 + '429': *774 + '500': *775 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107345,7 +106745,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: - - &789 + - &787 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -107358,15 +106758,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *787 + schema: *785 examples: - default: *788 - '400': *774 - '401': *772 - '403': *775 + default: *786 + '400': *772 + '401': *770 + '403': *773 '404': *6 - '429': *776 - '500': *777 + '429': *774 + '500': *775 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107388,30 +106788,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: - - *789 + - *787 - *41 requestBody: required: true content: application/json: - schema: *790 + schema: *788 examples: - user: *791 + user: *789 responses: '200': description: User was updated content: application/scim+json: - schema: *787 + schema: *785 examples: - user: *788 - '400': *774 - '401': *772 - '403': *775 + user: *786 + '400': *772 + '401': *770 + '403': *773 '404': *6 - '409': *782 - '429': *776 - '500': *777 + '409': *780 + '429': *774 + '500': *775 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107446,13 +106846,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: - - *789 + - *787 - *41 requestBody: required: true content: application/json: - schema: *792 + schema: *790 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -107492,18 +106892,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *787 + schema: *785 examples: - userMultiValuedProperties: *788 - userSingleValuedProperties: *788 - disableUser: *788 - '400': *774 - '401': *772 - '403': *775 + userMultiValuedProperties: *786 + userSingleValuedProperties: *786 + disableUser: *786 + '400': *772 + '401': *770 + '403': *773 '404': *6 - '409': *782 - '429': *776 - '500': *777 + '409': *780 + '429': *774 + '500': *775 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107523,17 +106923,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: - - *789 + - *787 - *41 responses: '204': description: User was deleted, no content - '400': *774 - '401': *772 - '403': *775 + '400': *772 + '401': *770 + '403': *773 '404': *6 - '429': *776 - '500': *777 + '429': *774 + '500': *775 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107620,7 +107020,7 @@ paths: example: 1 Resources: type: array - items: &793 + items: &791 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -107851,22 +107251,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': &794 + '404': &792 description: Resource not found content: application/json: - schema: *771 + schema: *769 application/scim+json: - schema: *771 - '403': &795 + schema: *769 + '403': &793 description: Forbidden content: application/json: - schema: *771 + schema: *769 application/scim+json: - schema: *771 - '400': *774 - '429': *776 + schema: *769 + '400': *772 + '429': *774 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -107892,9 +107292,9 @@ paths: description: Response content: application/scim+json: - schema: *793 + schema: *791 examples: - default: &796 + default: &794 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -107917,17 +107317,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': *794 - '403': *795 - '500': *777 + '404': *792 + '403': *793 + '500': *775 '409': description: Conflict content: application/json: - schema: *771 + schema: *769 application/scim+json: - schema: *771 - '400': *774 + schema: *769 + '400': *772 requestBody: required: true content: @@ -108025,17 +107425,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *83 - - *789 + - *787 responses: '200': description: Response content: application/scim+json: - schema: *793 + schema: *791 examples: - default: *796 - '404': *794 - '403': *795 + default: *794 + '404': *792 + '403': *793 '304': *37 x-github: githubCloudOnly: true @@ -108059,18 +107459,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *83 - - *789 + - *787 responses: '200': description: Response content: application/scim+json: - schema: *793 + schema: *791 examples: - default: *796 + default: *794 '304': *37 - '404': *794 - '403': *795 + '404': *792 + '403': *793 requestBody: required: true content: @@ -108183,19 +107583,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *83 - - *789 + - *787 responses: '200': description: Response content: application/scim+json: - schema: *793 + schema: *791 examples: - default: *796 + default: *794 '304': *37 - '404': *794 - '403': *795 - '400': *774 + '404': *792 + '403': *793 + '400': *772 '429': description: Response content: @@ -108286,12 +107686,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *83 - - *789 + - *787 responses: '204': description: Response - '404': *794 - '403': *795 + '404': *792 + '403': *793 '304': *37 x-github: githubCloudOnly: true @@ -108424,7 +107824,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &797 + text_matches: &795 title: Search Result Text Matches type: array items: @@ -108587,7 +107987,7 @@ paths: enum: - author-date - committer-date - - &798 + - &796 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 @@ -108658,7 +108058,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *523 + properties: *520 nullable: true comment_count: type: integer @@ -108678,7 +108078,7 @@ paths: url: type: string format: uri - verification: *645 + verification: *642 required: - author - committer @@ -108697,7 +108097,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *523 + properties: *520 nullable: true parents: type: array @@ -108715,7 +108115,7 @@ paths: type: number node_id: type: string - text_matches: *797 + text_matches: *795 required: - sha - node_id @@ -108908,7 +108308,7 @@ paths: - interactions - created - updated - - *798 + - *796 - *17 - *19 - name: advanced_search @@ -109005,11 +108405,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *799 - issue_dependencies_summary: *800 + sub_issues_summary: *797 + issue_dependencies_summary: *798 issue_field_values: type: array - items: *801 + items: *799 state: type: string state_reason: @@ -109026,8 +108426,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *401 - required: *402 + properties: *400 + required: *401 nullable: true comments: type: integer @@ -109041,7 +108441,7 @@ paths: type: string format: date-time nullable: true - text_matches: *797 + text_matches: *795 pull_request: type: object properties: @@ -109266,7 +108666,7 @@ paths: enum: - created - updated - - *798 + - *796 - *17 - *19 responses: @@ -109310,7 +108710,7 @@ paths: nullable: true score: type: number - text_matches: *797 + text_matches: *795 required: - id - node_id @@ -109396,7 +108796,7 @@ paths: - forks - help-wanted-issues - updated - - *798 + - *796 - *17 - *19 responses: @@ -109635,7 +109035,7 @@ paths: - admin - pull - push - text_matches: *797 + text_matches: *795 temp_clone_token: type: string allow_merge_commit: @@ -109936,7 +109336,7 @@ paths: type: string format: uri nullable: true - text_matches: *797 + text_matches: *795 related: type: array nullable: true @@ -110129,7 +109529,7 @@ paths: - followers - repositories - joined - - *798 + - *796 - *17 - *19 responses: @@ -110233,7 +109633,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *797 + text_matches: *795 blog: type: string nullable: true @@ -110312,7 +109712,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &802 + - &800 name: team_id description: The unique identifier of the team. in: path @@ -110324,9 +109724,9 @@ paths: description: Response content: application/json: - schema: *447 + schema: *446 examples: - default: *448 + default: *447 '404': *6 x-github: githubCloudOnly: false @@ -110353,7 +109753,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *802 + - *800 requestBody: required: true content: @@ -110416,16 +109816,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *447 + schema: *446 examples: - default: *448 + default: *447 '201': description: Response content: application/json: - schema: *447 + schema: *446 examples: - default: *448 + default: *447 '404': *6 '422': *15 '403': *29 @@ -110453,7 +109853,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *802 + - *800 responses: '204': description: Response @@ -110484,7 +109884,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *802 + - *800 - *106 - *17 - *19 @@ -110495,9 +109895,9 @@ paths: application/json: schema: type: array - items: *449 + items: *448 examples: - default: *803 + default: *801 headers: Link: *43 x-github: @@ -110526,7 +109926,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *802 + - *800 requestBody: required: true content: @@ -110560,9 +109960,9 @@ paths: description: Response content: application/json: - schema: *449 + schema: *448 examples: - default: *450 + default: *449 x-github: triggersNotification: true githubCloudOnly: false @@ -110589,16 +109989,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *802 - - *451 + - *800 + - *450 responses: '200': description: Response content: application/json: - schema: *449 + schema: *448 examples: - default: *450 + default: *449 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110623,8 +110023,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *802 - - *451 + - *800 + - *450 requestBody: required: false content: @@ -110647,9 +110047,9 @@ paths: description: Response content: application/json: - schema: *449 + schema: *448 examples: - default: *804 + default: *802 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110674,8 +110074,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *802 - - *451 + - *800 + - *450 responses: '204': description: Response @@ -110704,8 +110104,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *802 - - *451 + - *800 + - *450 - *106 - *17 - *19 @@ -110716,9 +110116,9 @@ paths: application/json: schema: type: array - items: *452 + items: *451 examples: - default: *805 + default: *803 headers: Link: *43 x-github: @@ -110747,8 +110147,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *802 - - *451 + - *800 + - *450 requestBody: required: true content: @@ -110770,9 +110170,9 @@ paths: description: Response content: application/json: - schema: *452 + schema: *451 examples: - default: *453 + default: *452 x-github: triggersNotification: true githubCloudOnly: false @@ -110799,17 +110199,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *802 - - *451 - - *454 + - *800 + - *450 + - *453 responses: '200': description: Response content: application/json: - schema: *452 + schema: *451 examples: - default: *453 + default: *452 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110834,9 +110234,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *802 - - *451 - - *454 + - *800 + - *450 + - *453 requestBody: required: true content: @@ -110858,9 +110258,9 @@ paths: description: Response content: application/json: - schema: *452 + schema: *451 examples: - default: *806 + default: *804 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110885,9 +110285,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *802 - - *451 - - *454 + - *800 + - *450 + - *453 responses: '204': description: Response @@ -110916,9 +110316,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: - - *802 - - *451 - - *454 + - *800 + - *450 + - *453 - 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. @@ -110944,9 +110344,9 @@ paths: application/json: schema: type: array - items: *455 + items: *454 examples: - default: *457 + default: *456 headers: Link: *43 x-github: @@ -110975,9 +110375,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: - - *802 - - *451 - - *454 + - *800 + - *450 + - *453 requestBody: required: true content: @@ -111009,9 +110409,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *454 examples: - default: *456 + default: *455 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111037,8 +110437,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: - - *802 - - *451 + - *800 + - *450 - 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. @@ -111064,9 +110464,9 @@ paths: application/json: schema: type: array - items: *455 + items: *454 examples: - default: *457 + default: *456 headers: Link: *43 x-github: @@ -111095,8 +110495,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: - - *802 - - *451 + - *800 + - *450 requestBody: required: true content: @@ -111128,9 +110528,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *454 examples: - default: *456 + default: *455 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111154,7 +110554,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *802 + - *800 - *17 - *19 responses: @@ -111192,7 +110592,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *802 + - *800 - name: role description: Filters members returned by their role in the team. in: query @@ -111243,7 +110643,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *802 + - *800 - *138 responses: '204': @@ -111280,7 +110680,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *802 + - *800 - *138 responses: '204': @@ -111320,7 +110720,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *802 + - *800 - *138 responses: '204': @@ -111357,16 +110757,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: - - *802 + - *800 - *138 responses: '200': description: Response content: application/json: - schema: *463 + schema: *462 examples: - response-if-user-is-a-team-maintainer: *807 + response-if-user-is-a-team-maintainer: *805 '404': *6 x-github: githubCloudOnly: false @@ -111399,7 +110799,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: - - *802 + - *800 - *138 requestBody: required: false @@ -111425,9 +110825,9 @@ paths: description: Response content: application/json: - schema: *463 + schema: *462 examples: - response-if-users-membership-with-team-is-now-pending: *808 + response-if-users-membership-with-team-is-now-pending: *806 '403': description: Forbidden if team synchronization is set up '422': @@ -111461,7 +110861,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: - - *802 + - *800 - *138 responses: '204': @@ -111490,7 +110890,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *802 + - *800 - *17 - *19 responses: @@ -111500,9 +110900,9 @@ paths: application/json: schema: type: array - items: *464 + items: *463 examples: - default: *809 + default: *807 headers: Link: *43 '404': *6 @@ -111528,16 +110928,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: - - *802 - - *465 + - *800 + - *464 responses: '200': description: Response content: application/json: - schema: *464 + schema: *463 examples: - default: *810 + default: *808 '404': description: Not Found if project is not managed by this team x-github: @@ -111561,8 +110961,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: - - *802 - - *465 + - *800 + - *464 requestBody: required: false content: @@ -111629,8 +111029,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: - - *802 - - *465 + - *800 + - *464 responses: '204': description: Response @@ -111657,7 +111057,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *802 + - *800 - *17 - *19 responses: @@ -111699,15 +111099,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: - - *802 + - *800 + - *465 - *466 - - *467 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *811 + schema: *809 examples: alternative-response-with-extra-repository-information: value: @@ -111858,9 +111258,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: - - *802 + - *800 + - *465 - *466 - - *467 requestBody: required: false content: @@ -111910,9 +111310,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: - - *802 + - *800 + - *465 - *466 - - *467 responses: '204': description: Response @@ -111941,15 +111341,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: - - *802 + - *800 responses: '200': description: Response content: application/json: - schema: *468 + schema: *467 examples: - default: *469 + default: *468 '403': *29 '404': *6 x-github: @@ -111976,7 +111376,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: - - *802 + - *800 requestBody: required: true content: @@ -112033,7 +111433,7 @@ paths: description: Response content: application/json: - schema: *468 + schema: *467 examples: default: value: @@ -112064,7 +111464,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *802 + - *800 - *17 - *19 responses: @@ -112076,7 +111476,7 @@ paths: type: array items: *307 examples: - response-if-child-teams-exist: *812 + response-if-child-teams-exist: *810 headers: Link: *43 '404': *6 @@ -112109,7 +111509,7 @@ paths: application/json: schema: oneOf: - - &814 + - &812 title: Private User description: Private User type: object @@ -112312,7 +111712,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *813 + - *811 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -112465,7 +111865,7 @@ paths: description: Response content: application/json: - schema: *814 + schema: *812 examples: default: value: @@ -112811,7 +112211,7 @@ paths: application/json: schema: *369 examples: - default: *574 + default: *571 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -112819,7 +112219,7 @@ paths: application/json: schema: *369 examples: - default: *574 + default: *571 '401': *25 '403': *29 '404': *6 @@ -112863,7 +112263,7 @@ paths: type: integer secrets: type: array - items: &815 + items: &813 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -112903,7 +112303,7 @@ paths: - visibility - selected_repositories_url examples: - default: *577 + default: *574 headers: Link: *43 x-github: @@ -112979,7 +112379,7 @@ paths: description: Response content: application/json: - schema: *815 + schema: *813 examples: default: value: @@ -113125,7 +112525,7 @@ paths: type: array items: *280 examples: - default: *816 + default: *814 '401': *25 '403': *29 '404': *6 @@ -113277,7 +112677,7 @@ paths: application/json: schema: *369 examples: - default: *574 + default: *571 '304': *37 '500': *40 '401': *25 @@ -113335,7 +112735,7 @@ paths: application/json: schema: *369 examples: - default: *574 + default: *571 '401': *25 '403': *29 '404': *6 @@ -113392,7 +112792,7 @@ paths: description: Response content: application/json: - schema: &817 + schema: &815 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -113433,7 +112833,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &818 + default: &816 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -113478,9 +112878,9 @@ paths: description: Response content: application/json: - schema: *817 + schema: *815 examples: - default: *818 + default: *816 '404': *6 x-github: githubCloudOnly: false @@ -113517,9 +112917,9 @@ paths: type: integer machines: type: array - items: *819 + items: *817 examples: - default: *820 + default: *818 '304': *37 '500': *40 '401': *25 @@ -113598,13 +112998,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *479 + repository: *476 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *575 - required: *576 + properties: *572 + required: *573 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -114386,7 +113786,7 @@ paths: application/json: schema: *369 examples: - default: *574 + default: *571 '304': *37 '500': *40 '400': *14 @@ -114426,7 +113826,7 @@ paths: application/json: schema: *369 examples: - default: *574 + default: *571 '500': *40 '401': *25 '403': *29 @@ -114458,7 +113858,7 @@ paths: type: array items: *380 examples: - default: &831 + default: &829 value: - id: 197 name: hello_docker @@ -114559,7 +113959,7 @@ paths: application/json: schema: type: array - items: &821 + items: &819 title: Email description: Email type: object @@ -114624,9 +114024,9 @@ paths: application/json: schema: type: array - items: *821 + items: *819 examples: - default: &833 + default: &831 value: - email: octocat@github.com verified: true @@ -114701,7 +114101,7 @@ paths: application/json: schema: type: array - items: *821 + items: *819 examples: default: value: @@ -114957,7 +114357,7 @@ paths: application/json: schema: type: array - items: &822 + items: &820 title: GPG Key description: A unique encryption key type: object @@ -115088,7 +114488,7 @@ paths: - subkeys - revoked examples: - default: &847 + default: &845 value: - id: 3 name: Octocat's GPG Key @@ -115173,9 +114573,9 @@ paths: description: Response content: application/json: - schema: *822 + schema: *820 examples: - default: &823 + default: &821 value: id: 3 name: Octocat's GPG Key @@ -115232,7 +114632,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: - - &824 + - &822 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -115244,9 +114644,9 @@ paths: description: Response content: application/json: - schema: *822 + schema: *820 examples: - default: *823 + default: *821 '404': *6 '304': *37 '403': *29 @@ -115269,7 +114669,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: - - *824 + - *822 responses: '204': description: Response @@ -115574,7 +114974,7 @@ paths: required: true content: application/json: - schema: *656 + schema: *653 examples: default: value: @@ -115724,7 +115124,7 @@ paths: application/json: schema: type: array - items: &825 + items: &823 title: Key description: Key type: object @@ -115825,9 +115225,9 @@ paths: description: Response content: application/json: - schema: *825 + schema: *823 examples: - default: &826 + default: &824 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -115860,15 +115260,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: - - *685 + - *683 responses: '200': description: Response content: application/json: - schema: *825 + schema: *823 examples: - default: *826 + default: *824 '404': *6 '304': *37 '403': *29 @@ -115891,7 +115291,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: - - *685 + - *683 responses: '204': description: Response @@ -115924,7 +115324,7 @@ paths: application/json: schema: type: array - items: &827 + items: &825 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -115992,7 +115392,7 @@ paths: - account - plan examples: - default: &828 + default: &826 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -116054,9 +115454,9 @@ paths: application/json: schema: type: array - items: *827 + items: *825 examples: - default: *828 + default: *826 headers: Link: *43 '304': *37 @@ -117051,7 +116451,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - *375 - - *829 + - *827 responses: '204': description: Response @@ -117166,7 +116566,7 @@ paths: - docker - nuget - container - - *830 + - *828 - *19 - *17 responses: @@ -117178,8 +116578,8 @@ paths: type: array items: *380 examples: - default: *831 - '400': *832 + default: *829 + '400': *830 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -117208,7 +116608,7 @@ paths: application/json: schema: *380 examples: - default: &848 + default: &846 value: id: 40201 name: octo-name @@ -117545,97 +116945,6 @@ paths: enabledForGitHubApps: false category: packages subcategory: packages - "/user/projects": - post: - summary: Create a user project - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/create-for-authenticated-user - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#create-a-user-project - parameters: [] - requestBody: - required: true - content: - application/json: - schema: - properties: - name: - description: Name of the project - example: Week One Sprint - type: string - body: - description: Body of the project - example: This project represents the sprint of the first week in - January - type: string - nullable: true - required: - - name - type: object - examples: - default: - summary: Create a new project - value: - name: My Projects - body: A board to manage my personal projects. - responses: - '201': - description: Response - content: - application/json: - schema: *396 - examples: - default: - value: - owner_url: https://api.github.com/users/octocat - url: https://api.github.com/projects/1002603 - html_url: https://github.com/users/octocat/projects/1 - columns_url: https://api.github.com/projects/1002603/columns - id: 1002603 - node_id: MDc6UHJvamVjdDEwMDI2MDM= - name: My Projects - body: A board to manage my personal projects. - number: 1 - state: open - creator: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - created_at: '2011-04-10T20:09:31Z' - updated_at: '2014-03-03T18:58:10Z' - '304': *37 - '403': *29 - '401': *25 - '422': *7 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true "/user/public_emails": get: summary: List public email addresses for the authenticated user @@ -117661,9 +116970,9 @@ paths: application/json: schema: type: array - items: *821 + items: *819 examples: - default: *833 + default: *831 headers: Link: *43 '304': *37 @@ -117776,7 +117085,7 @@ paths: type: array items: *74 examples: - default: &840 + default: &838 summary: Default response value: - id: 1296269 @@ -118080,9 +117389,9 @@ paths: description: Response content: application/json: - schema: *479 + schema: *476 examples: - default: *481 + default: *478 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -118120,9 +117429,9 @@ paths: application/json: schema: type: array - items: *658 + items: *655 examples: - default: *834 + default: *832 headers: Link: *43 '304': *37 @@ -118201,7 +117510,7 @@ paths: application/json: schema: type: array - items: &835 + items: &833 title: Social account description: Social media account type: object @@ -118216,7 +117525,7 @@ paths: - provider - url examples: - default: &836 + default: &834 value: - provider: twitter url: https://twitter.com/github @@ -118278,9 +117587,9 @@ paths: application/json: schema: type: array - items: *835 + items: *833 examples: - default: *836 + default: *834 '422': *15 '304': *37 '404': *6 @@ -118367,7 +117676,7 @@ paths: application/json: schema: type: array - items: &837 + items: &835 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -118387,7 +117696,7 @@ paths: - title - created_at examples: - default: &853 + default: &851 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -118453,9 +117762,9 @@ paths: description: Response content: application/json: - schema: *837 + schema: *835 examples: - default: &838 + default: &836 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -118486,7 +117795,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: - - &839 + - &837 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -118498,9 +117807,9 @@ paths: description: Response content: application/json: - schema: *837 + schema: *835 examples: - default: *838 + default: *836 '404': *6 '304': *37 '403': *29 @@ -118523,7 +117832,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: - - *839 + - *837 responses: '204': description: Response @@ -118552,7 +117861,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: - - &854 + - &852 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 @@ -118577,11 +117886,11 @@ paths: type: array items: *74 examples: - default-response: *840 + default-response: *838 application/vnd.github.v3.star+json: schema: type: array - items: &855 + items: &853 title: Starred Repository description: Starred Repository type: object @@ -118737,8 +118046,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: + - *465 - *466 - - *467 responses: '204': description: Response if this repository is starred by you @@ -118766,8 +118075,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: + - *465 - *466 - - *467 responses: '204': description: Response @@ -118791,8 +118100,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: + - *465 - *466 - - *467 responses: '204': description: Response @@ -118864,7 +118173,7 @@ paths: application/json: schema: type: array - items: *447 + items: *446 examples: default: value: @@ -118950,10 +118259,10 @@ paths: application/json: schema: oneOf: - - *814 - - *813 + - *812 + - *811 examples: - default-response: &842 + default-response: &840 summary: Default response value: login: octocat @@ -118988,7 +118297,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &843 + response-with-git-hub-plan-information: &841 summary: Response with GitHub plan information value: login: octocat @@ -119048,7 +118357,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *841 + - *839 - *17 responses: '200': @@ -119097,11 +118406,11 @@ paths: application/json: schema: oneOf: - - *814 - - *813 + - *812 + - *811 examples: - default-response: *842 - response-with-git-hub-plan-information: *843 + default-response: *840 + response-with-git-hub-plan-information: *841 '404': *6 x-github: githubCloudOnly: false @@ -119151,8 +118460,8 @@ paths: required: - subject_digests examples: - default: *844 - withPredicateType: *845 + default: *842 + withPredicateType: *843 responses: '200': description: Response @@ -119205,7 +118514,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *846 + default: *844 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -119410,7 +118719,7 @@ paths: initiator: type: string examples: - default: *519 + default: *516 '201': description: Response content: @@ -119451,7 +118760,7 @@ paths: type: array items: *380 examples: - default: *831 + default: *829 '403': *29 '401': *25 x-github: @@ -119835,9 +119144,9 @@ paths: application/json: schema: type: array - items: *822 + items: *820 examples: - default: *847 + default: *845 headers: Link: *43 x-github: @@ -119941,7 +119250,7 @@ paths: application/json: schema: *22 examples: - default: *655 + default: *652 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120065,7 +119374,7 @@ paths: - docker - nuget - container - - *830 + - *828 - *138 - *19 - *17 @@ -120078,10 +119387,10 @@ paths: type: array items: *380 examples: - default: *831 + default: *829 '403': *29 '401': *25 - '400': *832 + '400': *830 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120111,7 +119420,7 @@ paths: application/json: schema: *380 examples: - default: *848 + default: *846 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120362,87 +119671,6 @@ paths: enabledForGitHubApps: false category: packages subcategory: packages - "/users/{username}/projects": - get: - summary: List user projects - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/list-for-user - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-user-projects - parameters: - - *138 - - name: state - description: Indicates the state of the projects to return. - in: query - required: false - schema: - type: string - enum: - - open - - closed - - all - default: open - - *17 - - *19 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: *396 - examples: - default: - value: - - owner_url: https://api.github.com/users/octocat - url: https://api.github.com/projects/1002603 - html_url: https://github.com/users/octocat/projects/1 - columns_url: https://api.github.com/projects/1002603/columns - id: 1002603 - node_id: MDc6UHJvamVjdDEwMDI2MDM= - name: My Projects - body: A board to manage my personal projects. - number: 1 - state: open - creator: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - created_at: '2011-04-10T20:09:31Z' - updated_at: '2014-03-03T18:58:10Z' - headers: - Link: *43 - '422': *15 - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true "/users/{username}/projectsV2": get: summary: List projects for user @@ -120472,9 +119700,9 @@ paths: application/json: schema: type: array - items: *397 + items: *396 examples: - default: *398 + default: *397 headers: Link: *43 '304': *37 @@ -120496,16 +119724,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-user parameters: - - *399 + - *398 - *138 responses: '200': description: Response content: application/json: - schema: *397 + schema: *396 examples: - default: *398 + default: *397 headers: Link: *43 '304': *37 @@ -120527,7 +119755,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-user parameters: - - *399 + - *398 - *138 - *17 - *104 @@ -120539,9 +119767,9 @@ paths: application/json: schema: type: array - items: *400 + items: *399 examples: - default: *849 + default: *847 headers: Link: *43 '304': *37 @@ -120563,17 +119791,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-user parameters: - - *399 - - *850 + - *398 + - *848 - *138 responses: '200': description: Response content: application/json: - schema: *400 + schema: *399 examples: - default: *851 + default: *849 headers: Link: *43 '304': *37 @@ -120596,7 +119824,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-a-user-owned-project parameters: - - *399 + - *398 - *138 - *104 - *105 @@ -120629,9 +119857,9 @@ paths: application/json: schema: type: array - items: *406 + items: *405 examples: - default: *407 + default: *406 headers: Link: *43 '304': *37 @@ -120653,7 +119881,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-user-owned-project parameters: - *138 - - *399 + - *398 requestBody: required: true description: Details of the item to add to the project. @@ -120690,10 +119918,10 @@ paths: description: Response content: application/json: - schema: *852 + schema: *850 examples: - issue: *405 - pull_request: *405 + issue: *404 + pull_request: *404 '304': *37 '403': *29 '401': *25 @@ -120713,9 +119941,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *399 + - *398 - *138 - - *408 + - *407 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -120735,9 +119963,9 @@ paths: description: Response content: application/json: - schema: *406 + schema: *405 examples: - default: *407 + default: *406 headers: Link: *43 '304': *37 @@ -120758,9 +119986,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-user parameters: - - *399 + - *398 - *138 - - *408 + - *407 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -120830,13 +120058,13 @@ paths: description: Response content: application/json: - schema: *406 + schema: *405 examples: - text_field: *407 - number_field: *407 - date_field: *407 - single_select_field: *407 - iteration_field: *407 + text_field: *406 + number_field: *406 + date_field: *406 + single_select_field: *406 + iteration_field: *406 '401': *25 '403': *29 '404': *6 @@ -120856,9 +120084,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-user parameters: - - *399 + - *398 - *138 - - *408 + - *407 responses: '204': description: Response @@ -121108,9 +120336,9 @@ paths: description: Response content: application/json: - schema: *434 + schema: *433 examples: - default: *435 + default: *434 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -121138,9 +120366,9 @@ paths: description: Response content: application/json: - schema: *439 + schema: *438 examples: - default: *440 + default: *439 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -121301,9 +120529,9 @@ paths: description: Response content: application/json: - schema: *441 + schema: *440 examples: - default: *442 + default: *441 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -121560,9 +120788,9 @@ paths: application/json: schema: type: array - items: *835 + items: *833 examples: - default: *836 + default: *834 headers: Link: *43 x-github: @@ -121592,9 +120820,9 @@ paths: application/json: schema: type: array - items: *837 + items: *835 examples: - default: *853 + default: *851 headers: Link: *43 x-github: @@ -121619,7 +120847,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - *138 - - *854 + - *852 - *106 - *17 - *19 @@ -121631,11 +120859,11 @@ paths: schema: anyOf: - type: array - items: *855 + items: *853 - type: array items: *74 examples: - default-response: *840 + default-response: *838 headers: Link: *43 x-github: @@ -121794,7 +121022,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &856 + enterprise: &854 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -121852,7 +121080,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &857 + installation: &855 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -121871,7 +121099,7 @@ x-webhooks: required: - id - node_id - organization: &858 + organization: &856 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -121931,13 +121159,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &859 + repository: &857 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: &896 + properties: &894 id: description: Unique identifier of the repository example: 42 @@ -122620,7 +121848,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &897 + required: &895 - archive_url - assignees_url - blobs_url @@ -122771,10 +121999,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -122850,11 +122078,11 @@ x-webhooks: type: string enum: - created - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 - rule: &860 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 + rule: &858 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) @@ -123077,11 +122305,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 - rule: *860 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 + rule: *858 sender: *4 required: - action @@ -123264,11 +122492,11 @@ x-webhooks: - everyone required: - from - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 - rule: *860 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 + rule: *858 sender: *4 required: - action @@ -123339,7 +122567,7 @@ x-webhooks: required: true content: application/json: - schema: &863 + schema: &861 title: Exemption request cancellation event type: object properties: @@ -123347,11 +122575,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 - exemption_request: &861 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 + exemption_request: &859 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -123584,7 +122812,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &862 + items: &860 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -123692,7 +122920,7 @@ x-webhooks: required: true content: application/json: - schema: &864 + schema: &862 title: Exemption request completed event type: object properties: @@ -123700,11 +122928,11 @@ x-webhooks: type: string enum: - completed - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 - exemption_request: *861 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 + exemption_request: *859 sender: *4 required: - action @@ -123774,7 +123002,7 @@ x-webhooks: required: true content: application/json: - schema: &865 + schema: &863 title: Exemption request created event type: object properties: @@ -123782,11 +123010,11 @@ x-webhooks: type: string enum: - created - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 - exemption_request: *861 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 + exemption_request: *859 sender: *4 required: - action @@ -123856,7 +123084,7 @@ x-webhooks: required: true content: application/json: - schema: &866 + schema: &864 title: Exemption response dismissed event type: object properties: @@ -123864,12 +123092,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 - exemption_request: *861 - exemption_response: *862 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 + exemption_request: *859 + exemption_response: *860 sender: *4 required: - action @@ -123941,7 +123169,7 @@ x-webhooks: required: true content: application/json: - schema: &867 + schema: &865 title: Exemption response submitted event type: object properties: @@ -123949,12 +123177,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 - exemption_request: *861 - exemption_response: *862 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 + exemption_request: *859 + exemption_response: *860 sender: *4 required: - action @@ -124027,7 +123255,7 @@ x-webhooks: required: true content: application/json: - schema: *863 + schema: *861 responses: '200': description: Return a 200 status to indicate that the data was received @@ -124094,7 +123322,7 @@ x-webhooks: required: true content: application/json: - schema: *864 + schema: *862 responses: '200': description: Return a 200 status to indicate that the data was received @@ -124161,7 +123389,7 @@ x-webhooks: required: true content: application/json: - schema: *865 + schema: *863 responses: '200': description: Return a 200 status to indicate that the data was received @@ -124228,7 +123456,7 @@ x-webhooks: required: true content: application/json: - schema: *866 + schema: *864 responses: '200': description: Return a 200 status to indicate that the data was received @@ -124296,7 +123524,7 @@ x-webhooks: required: true content: application/json: - schema: *867 + schema: *865 responses: '200': description: Return a 200 status to indicate that the data was received @@ -124374,7 +123602,7 @@ x-webhooks: type: string enum: - completed - check_run: &869 + check_run: &867 title: CheckRun description: A check performed on the code of a given code change type: object @@ -124427,7 +123655,7 @@ x-webhooks: type: string pull_requests: type: array - items: *536 + items: *533 repository: *280 status: example: completed @@ -124465,7 +123693,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *868 + deployment: *866 details_url: example: https://example.com type: string @@ -124515,7 +123743,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *536 + items: *533 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -124550,10 +123778,10 @@ x-webhooks: - output - app - pull_requests - installation: *857 - enterprise: *856 - organization: *858 - repository: *859 + installation: *855 + enterprise: *854 + organization: *856 + repository: *857 sender: *4 required: - check_run @@ -124946,11 +124174,11 @@ x-webhooks: type: string enum: - created - check_run: *869 - installation: *857 - enterprise: *856 - organization: *858 - repository: *859 + check_run: *867 + installation: *855 + enterprise: *854 + organization: *856 + repository: *857 sender: *4 required: - check_run @@ -125346,11 +124574,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *869 - installation: *857 - enterprise: *856 - organization: *858 - repository: *859 + check_run: *867 + installation: *855 + enterprise: *854 + organization: *856 + repository: *857 requested_action: description: The action requested by the user. type: object @@ -125755,11 +124983,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *869 - installation: *857 - enterprise: *856 - organization: *858 - repository: *859 + check_run: *867 + installation: *855 + enterprise: *854 + organization: *856 + repository: *857 sender: *4 required: - check_run @@ -126736,10 +125964,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -127409,10 +126637,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -128076,10 +127304,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -128245,7 +127473,7 @@ x-webhooks: required: - login - id - dismissed_comment: *549 + dismissed_comment: *546 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -128390,20 +127618,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &870 + commit_oid: &868 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *856 - installation: *857 - organization: *858 - ref: &871 + enterprise: *854 + installation: *855 + organization: *856 + ref: &869 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *859 + repository: *857 sender: *4 required: - action @@ -128568,7 +127796,7 @@ x-webhooks: required: - login - id - dismissed_comment: *549 + dismissed_comment: *546 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -128798,12 +128026,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *870 - enterprise: *856 - installation: *857 - organization: *858 - ref: *871 - repository: *859 + commit_oid: *868 + enterprise: *854 + installation: *855 + organization: *856 + ref: *869 + repository: *857 sender: *4 required: - action @@ -128898,7 +128126,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *549 + dismissed_comment: *546 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -129069,12 +128297,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *870 - enterprise: *856 - installation: *857 - organization: *858 - ref: *871 - repository: *859 + commit_oid: *868 + enterprise: *854 + installation: *855 + organization: *856 + ref: *869 + repository: *857 sender: *4 required: - action @@ -129240,7 +128468,7 @@ x-webhooks: required: - login - id - dismissed_comment: *549 + dismissed_comment: *546 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -129406,12 +128634,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *870 - enterprise: *856 - installation: *857 - organization: *858 - ref: *871 - repository: *859 + commit_oid: *868 + enterprise: *854 + installation: *855 + organization: *856 + ref: *869 + repository: *857 sender: *4 required: - action @@ -129511,7 +128739,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *549 + dismissed_comment: *546 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -129679,16 +128907,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *856 - installation: *857 - organization: *858 + enterprise: *854 + installation: *855 + organization: *856 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: *859 + repository: *857 sender: *4 required: - action @@ -129785,7 +129013,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *549 + dismissed_comment: *546 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -129925,12 +129153,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *870 - enterprise: *856 - installation: *857 - organization: *858 - ref: *871 - repository: *859 + commit_oid: *868 + enterprise: *854 + installation: *855 + organization: *856 + ref: *869 + repository: *857 sender: *4 required: - action @@ -130187,10 +129415,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -130270,18 +129498,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *856 - installation: *857 + enterprise: *854 + installation: *855 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *858 - pusher_type: &872 + organization: *856 + pusher_type: &870 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &873 + ref: &871 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -130291,7 +129519,7 @@ x-webhooks: enum: - tag - branch - repository: *859 + repository: *857 sender: *4 required: - ref @@ -130374,9 +129602,9 @@ x-webhooks: enum: - created definition: *152 - enterprise: *856 - installation: *857 - organization: *858 + enterprise: *854 + installation: *855 + organization: *856 sender: *4 required: - action @@ -130461,9 +129689,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *856 - installation: *857 - organization: *858 + enterprise: *854 + installation: *855 + organization: *856 sender: *4 required: - action @@ -130541,9 +129769,9 @@ x-webhooks: enum: - promote_to_enterprise definition: *152 - enterprise: *856 - installation: *857 - organization: *858 + enterprise: *854 + installation: *855 + organization: *856 sender: *4 required: - action @@ -130621,9 +129849,9 @@ x-webhooks: enum: - updated definition: *152 - enterprise: *856 - installation: *857 - organization: *858 + enterprise: *854 + installation: *855 + organization: *856 sender: *4 required: - action @@ -130700,10 +129928,10 @@ x-webhooks: type: string enum: - updated - enterprise: *856 - installation: *857 - repository: *859 - organization: *858 + enterprise: *854 + installation: *855 + repository: *857 + organization: *856 sender: *4 new_property_values: type: array @@ -130788,18 +130016,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *856 - installation: *857 - organization: *858 - pusher_type: *872 - ref: *873 + enterprise: *854 + installation: *855 + organization: *856 + pusher_type: *870 + ref: *871 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *859 + repository: *857 sender: *4 required: - ref @@ -130883,11 +130111,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *605 - installation: *857 - organization: *858 - enterprise: *856 - repository: *859 + alert: *602 + installation: *855 + organization: *856 + enterprise: *854 + repository: *857 sender: *4 required: - action @@ -130971,11 +130199,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *605 - installation: *857 - organization: *858 - enterprise: *856 - repository: *859 + alert: *602 + installation: *855 + organization: *856 + enterprise: *854 + repository: *857 sender: *4 required: - action @@ -131059,11 +130287,11 @@ x-webhooks: type: string enum: - created - alert: *605 - installation: *857 - organization: *858 - enterprise: *856 - repository: *859 + alert: *602 + installation: *855 + organization: *856 + enterprise: *854 + repository: *857 sender: *4 required: - action @@ -131145,11 +130373,11 @@ x-webhooks: type: string enum: - dismissed - alert: *605 - installation: *857 - organization: *858 - enterprise: *856 - repository: *859 + alert: *602 + installation: *855 + organization: *856 + enterprise: *854 + repository: *857 sender: *4 required: - action @@ -131231,11 +130459,11 @@ x-webhooks: type: string enum: - fixed - alert: *605 - installation: *857 - organization: *858 - enterprise: *856 - repository: *859 + alert: *602 + installation: *855 + organization: *856 + enterprise: *854 + repository: *857 sender: *4 required: - action @@ -131318,11 +130546,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *605 - installation: *857 - organization: *858 - enterprise: *856 - repository: *859 + alert: *602 + installation: *855 + organization: *856 + enterprise: *854 + repository: *857 sender: *4 required: - action @@ -131404,11 +130632,11 @@ x-webhooks: type: string enum: - reopened - alert: *605 - installation: *857 - organization: *858 - enterprise: *856 - repository: *859 + alert: *602 + installation: *855 + organization: *856 + enterprise: *854 + repository: *857 sender: *4 required: - action @@ -131485,9 +130713,9 @@ x-webhooks: type: string enum: - created - enterprise: *856 - installation: *857 - key: &874 + enterprise: *854 + installation: *855 + key: &872 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -131523,8 +130751,8 @@ x-webhooks: - verified - created_at - read_only - organization: *858 - repository: *859 + organization: *856 + repository: *857 sender: *4 required: - action @@ -131601,11 +130829,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *856 - installation: *857 - key: *874 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + key: *872 + organization: *856 + repository: *857 sender: *4 required: - action @@ -132166,12 +131394,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 - workflow: &878 + workflow: &876 title: Workflow type: object nullable: true @@ -132897,13 +132125,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *611 + deployment: *608 pull_requests: type: array - items: *706 - repository: *859 - organization: *858 - installation: *857 + items: *704 + repository: *857 + organization: *856 + installation: *855 sender: *4 responses: '200': @@ -132974,7 +132202,7 @@ x-webhooks: type: string enum: - approved - approver: &875 + approver: &873 type: object properties: avatar_url: @@ -133017,11 +132245,11 @@ x-webhooks: type: string comment: type: string - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 - reviewers: &876 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 + reviewers: &874 type: array items: type: object @@ -133100,7 +132328,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &877 + workflow_job_run: &875 type: object properties: conclusion: @@ -133831,18 +133059,18 @@ x-webhooks: type: string enum: - rejected - approver: *875 + approver: *873 comment: type: string - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 - reviewers: *876 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 + reviewers: *874 sender: *4 since: type: string - workflow_job_run: *877 + workflow_job_run: *875 workflow_job_runs: type: array items: @@ -134546,13 +133774,13 @@ x-webhooks: type: string enum: - requested - enterprise: *856 + enterprise: *854 environment: type: string - installation: *857 - organization: *858 - repository: *859 - requestor: &883 + installation: *855 + organization: *856 + repository: *857 + requestor: &881 title: User type: object nullable: true @@ -136451,12 +135679,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 - workflow: *878 + workflow: *876 workflow_run: title: Deployment Workflow Run type: object @@ -137136,7 +136364,7 @@ x-webhooks: type: string enum: - answered - answer: &881 + answer: &879 type: object properties: author_association: @@ -137293,7 +136521,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &879 + discussion: &877 title: Discussion description: A Discussion in a repository. type: object @@ -137579,7 +136807,7 @@ x-webhooks: - id labels: type: array - items: *668 + items: *666 required: - repository_url - category @@ -137601,10 +136829,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -137731,11 +136959,11 @@ x-webhooks: - from required: - category - discussion: *879 - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + discussion: *877 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -137818,11 +137046,11 @@ x-webhooks: type: string enum: - closed - discussion: *879 - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + discussion: *877 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -137904,7 +137132,7 @@ x-webhooks: type: string enum: - created - comment: &880 + comment: &878 type: object properties: author_association: @@ -138061,11 +137289,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *879 - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + discussion: *877 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -138148,12 +137376,12 @@ x-webhooks: type: string enum: - deleted - comment: *880 - discussion: *879 - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + comment: *878 + discussion: *877 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -138248,12 +137476,12 @@ x-webhooks: - from required: - body - comment: *880 - discussion: *879 - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + comment: *878 + discussion: *877 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -138337,11 +137565,11 @@ x-webhooks: type: string enum: - created - discussion: *879 - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + discussion: *877 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -138423,11 +137651,11 @@ x-webhooks: type: string enum: - deleted - discussion: *879 - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + discussion: *877 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -138527,11 +137755,11 @@ x-webhooks: type: string required: - from - discussion: *879 - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + discussion: *877 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -138613,10 +137841,10 @@ x-webhooks: type: string enum: - labeled - discussion: *879 - enterprise: *856 - installation: *857 - label: &882 + discussion: *877 + enterprise: *854 + installation: *855 + label: &880 title: Label type: object properties: @@ -138648,8 +137876,8 @@ x-webhooks: - color - default - description - organization: *858 - repository: *859 + organization: *856 + repository: *857 sender: *4 required: - action @@ -138732,11 +137960,11 @@ x-webhooks: type: string enum: - locked - discussion: *879 - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + discussion: *877 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -138818,11 +138046,11 @@ x-webhooks: type: string enum: - pinned - discussion: *879 - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + discussion: *877 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -138904,11 +138132,11 @@ x-webhooks: type: string enum: - reopened - discussion: *879 - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + discussion: *877 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -138993,16 +138221,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *879 - new_repository: *859 + new_discussion: *877 + new_repository: *857 required: - new_discussion - new_repository - discussion: *879 - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + discussion: *877 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -139085,10 +138313,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *879 - old_answer: *881 - organization: *858 - repository: *859 + discussion: *877 + old_answer: *879 + organization: *856 + repository: *857 sender: *4 required: - action @@ -139170,12 +138398,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *879 - enterprise: *856 - installation: *857 - label: *882 - organization: *858 - repository: *859 + discussion: *877 + enterprise: *854 + installation: *855 + label: *880 + organization: *856 + repository: *857 sender: *4 required: - action @@ -139258,11 +138486,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *879 - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + discussion: *877 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -139344,11 +138572,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *879 - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + discussion: *877 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -139417,7 +138645,7 @@ x-webhooks: required: true content: application/json: - schema: *865 + schema: *863 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139480,7 +138708,7 @@ x-webhooks: required: true content: application/json: - schema: *867 + schema: *865 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139546,7 +138774,7 @@ x-webhooks: required: true content: application/json: - schema: *863 + schema: *861 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139612,7 +138840,7 @@ x-webhooks: required: true content: application/json: - schema: *864 + schema: *862 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139678,7 +138906,7 @@ x-webhooks: required: true content: application/json: - schema: *865 + schema: *863 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139744,7 +138972,7 @@ x-webhooks: required: true content: application/json: - schema: *866 + schema: *864 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139810,7 +139038,7 @@ x-webhooks: required: true content: application/json: - schema: *867 + schema: *865 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139877,7 +139105,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *856 + enterprise: *854 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -140537,9 +139765,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *857 - organization: *858 - repository: *859 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - forkee @@ -140685,9 +139913,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *856 - installation: *857 - organization: *858 + enterprise: *854 + installation: *855 + organization: *856 pages: description: The pages that were updated. type: array @@ -140724,7 +139952,7 @@ x-webhooks: - action - sha - html_url - repository: *859 + repository: *857 sender: *4 required: - pages @@ -140800,10 +140028,10 @@ x-webhooks: type: string enum: - created - enterprise: *856 + enterprise: *854 installation: *22 - organization: *858 - repositories: &884 + organization: *856 + repositories: &882 description: An array of repository objects that the installation can access. type: array @@ -140829,8 +140057,8 @@ x-webhooks: - name - full_name - private - repository: *859 - requester: *883 + repository: *857 + requester: *881 sender: *4 required: - action @@ -140905,11 +140133,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *856 + enterprise: *854 installation: *22 - organization: *858 - repositories: *884 - repository: *859 + organization: *856 + repositories: *882 + repository: *857 requester: nullable: true sender: *4 @@ -140985,11 +140213,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *856 + enterprise: *854 installation: *22 - organization: *858 - repositories: *884 - repository: *859 + organization: *856 + repositories: *882 + repository: *857 requester: nullable: true sender: *4 @@ -141065,10 +140293,10 @@ x-webhooks: type: string enum: - added - enterprise: *856 + enterprise: *854 installation: *22 - organization: *858 - repositories_added: &885 + organization: *856 + repositories_added: &883 description: An array of repository objects, which were added to the installation. type: array @@ -141114,15 +140342,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *859 - repository_selection: &886 + repository: *857 + repository_selection: &884 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *883 + requester: *881 sender: *4 required: - action @@ -141201,10 +140429,10 @@ x-webhooks: type: string enum: - removed - enterprise: *856 + enterprise: *854 installation: *22 - organization: *858 - repositories_added: *885 + organization: *856 + repositories_added: *883 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -141231,9 +140459,9 @@ x-webhooks: - name - full_name - private - repository: *859 - repository_selection: *886 - requester: *883 + repository: *857 + repository_selection: *884 + requester: *881 sender: *4 required: - action @@ -141312,11 +140540,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *856 + enterprise: *854 installation: *22 - organization: *858 - repositories: *884 - repository: *859 + organization: *856 + repositories: *882 + repository: *857 requester: nullable: true sender: *4 @@ -141495,10 +140723,10 @@ x-webhooks: type: string required: - from - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 target_type: type: string @@ -141577,11 +140805,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *856 + enterprise: *854 installation: *22 - organization: *858 - repositories: *884 - repository: *859 + organization: *856 + repositories: *882 + repository: *857 requester: nullable: true sender: *4 @@ -141833,8 +141061,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *856 - installation: *857 + enterprise: *854 + installation: *855 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -142628,8 +141856,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *799 - issue_dependencies_summary: *800 + sub_issues_summary: *797 + issue_dependencies_summary: *798 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142978,8 +142206,8 @@ x-webhooks: - state - locked - assignee - organization: *858 - repository: *859 + organization: *856 + repository: *857 sender: *4 required: - action @@ -143059,7 +142287,7 @@ x-webhooks: type: string enum: - deleted - comment: &887 + comment: &885 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -143224,8 +142452,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *856 - installation: *857 + enterprise: *854 + installation: *855 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -144015,8 +143243,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *799 - issue_dependencies_summary: *800 + sub_issues_summary: *797 + issue_dependencies_summary: *798 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144367,8 +143595,8 @@ x-webhooks: - state - locked - assignee - organization: *858 - repository: *859 + organization: *856 + repository: *857 sender: *4 required: - action @@ -144448,7 +143676,7 @@ x-webhooks: type: string enum: - edited - changes: &916 + changes: &914 description: The changes to the comment. type: object properties: @@ -144460,9 +143688,9 @@ x-webhooks: type: string required: - from - comment: *887 - enterprise: *856 - installation: *857 + comment: *885 + enterprise: *854 + installation: *855 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -145255,8 +144483,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *799 - issue_dependencies_summary: *800 + sub_issues_summary: *797 + issue_dependencies_summary: *798 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145605,8 +144833,8 @@ x-webhooks: - state - locked - assignee - organization: *858 - repository: *859 + organization: *856 + repository: *857 sender: *4 required: - action @@ -145696,9 +144924,9 @@ x-webhooks: type: number blocking_issue: *226 blocking_issue_repo: *74 - installation: *857 - organization: *858 - repository: *859 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -145792,9 +145020,9 @@ x-webhooks: type: number blocking_issue: *226 blocking_issue_repo: *74 - installation: *857 - organization: *858 - repository: *859 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -145887,9 +145115,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *226 - installation: *857 - organization: *858 - repository: *859 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -145983,9 +145211,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *226 - installation: *857 - organization: *858 - repository: *859 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -146070,10 +145298,10 @@ x-webhooks: type: string enum: - assigned - assignee: *883 - enterprise: *856 - installation: *857 - issue: &890 + assignee: *881 + enterprise: *854 + installation: *855 + issue: &888 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -146862,11 +146090,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *799 - issue_dependencies_summary: *800 + sub_issues_summary: *797 + issue_dependencies_summary: *798 issue_field_values: type: array - items: *801 + items: *799 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146983,8 +146211,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *858 - repository: *859 + organization: *856 + repository: *857 sender: *4 required: - action @@ -147064,8 +146292,8 @@ x-webhooks: type: string enum: - closed - enterprise: *856 - installation: *857 + enterprise: *854 + installation: *855 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -147859,11 +147087,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *799 - issue_dependencies_summary: *800 + sub_issues_summary: *797 + issue_dependencies_summary: *798 issue_field_values: type: array - items: *801 + items: *799 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148115,8 +147343,8 @@ x-webhooks: required: - state - closed_at - organization: *858 - repository: *859 + organization: *856 + repository: *857 sender: *4 required: - action @@ -148195,8 +147423,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *856 - installation: *857 + enterprise: *854 + installation: *855 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -148981,11 +148209,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *799 - issue_dependencies_summary: *800 + sub_issues_summary: *797 + issue_dependencies_summary: *798 issue_field_values: type: array - items: *801 + items: *799 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149101,8 +148329,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *858 - repository: *859 + organization: *856 + repository: *857 sender: *4 required: - action @@ -149181,8 +148409,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *856 - installation: *857 + enterprise: *854 + installation: *855 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -149989,11 +149217,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *799 - issue_dependencies_summary: *800 + sub_issues_summary: *797 + issue_dependencies_summary: *798 issue_field_values: type: array - items: *801 + items: *799 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150088,7 +149316,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &888 + milestone: &886 title: Milestone description: A collection of related issues and pull requests. type: object @@ -150226,8 +149454,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *858 - repository: *859 + organization: *856 + repository: *857 sender: *4 required: - action @@ -150326,8 +149554,8 @@ x-webhooks: type: string required: - from - enterprise: *856 - installation: *857 + enterprise: *854 + installation: *855 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -151116,11 +150344,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *799 - issue_dependencies_summary: *800 + sub_issues_summary: *797 + issue_dependencies_summary: *798 issue_field_values: type: array - items: *801 + items: *799 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151237,9 +150465,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *882 - organization: *858 - repository: *859 + label: *880 + organization: *856 + repository: *857 sender: *4 required: - action @@ -151319,8 +150547,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *856 - installation: *857 + enterprise: *854 + installation: *855 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -152108,11 +151336,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *799 - issue_dependencies_summary: *800 + sub_issues_summary: *797 + issue_dependencies_summary: *798 issue_field_values: type: array - items: *801 + items: *799 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152229,9 +151457,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *882 - organization: *858 - repository: *859 + label: *880 + organization: *856 + repository: *857 sender: *4 required: - action @@ -152311,8 +151539,8 @@ x-webhooks: type: string enum: - locked - enterprise: *856 - installation: *857 + enterprise: *854 + installation: *855 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -153124,11 +152352,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *799 - issue_dependencies_summary: *800 + sub_issues_summary: *797 + issue_dependencies_summary: *798 issue_field_values: type: array - items: *801 + items: *799 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153222,8 +152450,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *858 - repository: *859 + organization: *856 + repository: *857 sender: *4 required: - action @@ -153302,8 +152530,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *856 - installation: *857 + enterprise: *854 + installation: *855 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -154109,11 +153337,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *799 - issue_dependencies_summary: *800 + sub_issues_summary: *797 + issue_dependencies_summary: *798 issue_field_values: type: array - items: *801 + items: *799 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154207,9 +153435,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *888 - organization: *858 - repository: *859 + milestone: *886 + organization: *856 + repository: *857 sender: *4 required: - action @@ -155077,11 +154305,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *799 - issue_dependencies_summary: *800 + sub_issues_summary: *797 + issue_dependencies_summary: *798 issue_field_values: type: array - items: *801 + items: *799 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155643,8 +154871,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *856 - installation: *857 + enterprise: *854 + installation: *855 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -156433,11 +155661,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *799 - issue_dependencies_summary: *800 + sub_issues_summary: *797 + issue_dependencies_summary: *798 issue_field_values: type: array - items: *801 + items: *799 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156553,8 +155781,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *858 - repository: *859 + organization: *856 + repository: *857 sender: *4 required: - action @@ -156634,9 +155862,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *856 - installation: *857 - issue: &889 + enterprise: *854 + installation: *855 + issue: &887 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -157419,11 +156647,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *799 - issue_dependencies_summary: *800 + sub_issues_summary: *797 + issue_dependencies_summary: *798 issue_field_values: type: array - items: *801 + items: *799 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157539,8 +156767,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *858 - repository: *859 + organization: *856 + repository: *857 sender: *4 required: - action @@ -157619,8 +156847,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *856 - installation: *857 + enterprise: *854 + installation: *855 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -158430,11 +157658,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *799 - issue_dependencies_summary: *800 + sub_issues_summary: *797 + issue_dependencies_summary: *798 issue_field_values: type: array - items: *801 + items: *799 state: description: State of the issue; either 'open' or 'closed' type: string @@ -158529,8 +157757,8 @@ x-webhooks: user_view_type: type: string type: *364 - organization: *858 - repository: *859 + organization: *856 + repository: *857 sender: *4 required: - action @@ -159396,11 +158624,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *799 - issue_dependencies_summary: *800 + sub_issues_summary: *797 + issue_dependencies_summary: *798 issue_field_values: type: array - items: *801 + items: *799 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159984,11 +159212,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *856 - installation: *857 - issue: *889 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + issue: *887 + organization: *856 + repository: *857 sender: *4 required: - action @@ -160068,12 +159296,12 @@ x-webhooks: type: string enum: - typed - enterprise: *856 - installation: *857 - issue: *890 + enterprise: *854 + installation: *855 + issue: *888 type: *364 - organization: *858 - repository: *859 + organization: *856 + repository: *857 sender: *4 required: - action @@ -160154,7 +159382,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &919 + assignee: &917 title: User type: object nullable: true @@ -160224,11 +159452,11 @@ x-webhooks: required: - login - id - enterprise: *856 - installation: *857 - issue: *890 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + issue: *888 + organization: *856 + repository: *857 sender: *4 required: - action @@ -160307,12 +159535,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *856 - installation: *857 - issue: *890 - label: *882 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + issue: *888 + label: *880 + organization: *856 + repository: *857 sender: *4 required: - action @@ -160392,8 +159620,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *856 - installation: *857 + enterprise: *854 + installation: *855 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -161203,11 +160431,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *799 - issue_dependencies_summary: *800 + sub_issues_summary: *797 + issue_dependencies_summary: *798 issue_field_values: type: array - items: *801 + items: *799 state: description: State of the issue; either 'open' or 'closed' type: string @@ -161301,8 +160529,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *858 - repository: *859 + organization: *856 + repository: *857 sender: *4 required: - action @@ -161382,11 +160610,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *856 - installation: *857 - issue: *889 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + issue: *887 + organization: *856 + repository: *857 sender: *4 required: - action @@ -161465,12 +160693,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *856 - installation: *857 - issue: *890 + enterprise: *854 + installation: *855 + issue: *888 type: *364 - organization: *858 - repository: *859 + organization: *856 + repository: *857 sender: *4 required: - action @@ -161550,11 +160778,11 @@ x-webhooks: type: string enum: - created - enterprise: *856 - installation: *857 - label: *882 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + label: *880 + organization: *856 + repository: *857 sender: *4 required: - action @@ -161632,11 +160860,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *856 - installation: *857 - label: *882 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + label: *880 + organization: *856 + repository: *857 sender: *4 required: - action @@ -161746,11 +160974,11 @@ x-webhooks: type: string required: - from - enterprise: *856 - installation: *857 - label: *882 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + label: *880 + organization: *856 + repository: *857 sender: *4 required: - action @@ -161832,9 +161060,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *856 - installation: *857 - marketplace_purchase: &891 + enterprise: *854 + installation: *855 + marketplace_purchase: &889 title: Marketplace Purchase type: object required: @@ -161917,8 +161145,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *858 - previous_marketplace_purchase: &892 + organization: *856 + previous_marketplace_purchase: &890 title: Marketplace Purchase type: object properties: @@ -161998,7 +161226,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *859 + repository: *857 sender: *4 required: - action @@ -162078,10 +161306,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *856 - installation: *857 - marketplace_purchase: *891 - organization: *858 + enterprise: *854 + installation: *855 + marketplace_purchase: *889 + organization: *856 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -162164,7 +161392,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *859 + repository: *857 sender: *4 required: - action @@ -162246,10 +161474,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *856 - installation: *857 - marketplace_purchase: *891 - organization: *858 + enterprise: *854 + installation: *855 + marketplace_purchase: *889 + organization: *856 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -162331,7 +161559,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *859 + repository: *857 sender: *4 required: - action @@ -162412,8 +161640,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *856 - installation: *857 + enterprise: *854 + installation: *855 marketplace_purchase: title: Marketplace Purchase type: object @@ -162495,9 +161723,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *858 - previous_marketplace_purchase: *892 - repository: *859 + organization: *856 + previous_marketplace_purchase: *890 + repository: *857 sender: *4 required: - action @@ -162577,12 +161805,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *856 - installation: *857 - marketplace_purchase: *891 - organization: *858 - previous_marketplace_purchase: *892 - repository: *859 + enterprise: *854 + installation: *855 + marketplace_purchase: *889 + organization: *856 + previous_marketplace_purchase: *890 + repository: *857 sender: *4 required: - action @@ -162684,11 +161912,11 @@ x-webhooks: type: string required: - to - enterprise: *856 - installation: *857 - member: *883 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + member: *881 + organization: *856 + repository: *857 sender: *4 required: - action @@ -162788,11 +162016,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *856 - installation: *857 - member: *883 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + member: *881 + organization: *856 + repository: *857 sender: *4 required: - action @@ -162871,11 +162099,11 @@ x-webhooks: type: string enum: - removed - enterprise: *856 - installation: *857 - member: *883 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + member: *881 + organization: *856 + repository: *857 sender: *4 required: - action @@ -162953,11 +162181,11 @@ x-webhooks: type: string enum: - added - enterprise: *856 - installation: *857 - member: *883 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + member: *881 + organization: *856 + repository: *857 scope: description: The scope of the membership. Currently, can only be `team`. @@ -163033,7 +162261,7 @@ x-webhooks: required: - login - id - team: &893 + team: &891 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -163256,11 +162484,11 @@ x-webhooks: type: string enum: - removed - enterprise: *856 - installation: *857 - member: *883 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + member: *881 + organization: *856 + repository: *857 scope: description: The scope of the membership. Currently, can only be `team`. @@ -163337,7 +162565,7 @@ x-webhooks: required: - login - id - team: *893 + team: *891 required: - action - scope @@ -163419,8 +162647,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *857 - merge_group: &895 + installation: *855 + merge_group: &893 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -163439,15 +162667,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *894 + head_commit: *892 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *858 - repository: *859 + organization: *856 + repository: *857 sender: *4 required: - action @@ -163533,10 +162761,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *857 - merge_group: *895 - organization: *858 - repository: *859 + installation: *855 + merge_group: *893 + organization: *856 + repository: *857 sender: *4 required: - action @@ -163609,7 +162837,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *856 + enterprise: *854 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -163718,16 +162946,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *857 - organization: *858 + installation: *855 + organization: *856 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: *896 - required: *897 + properties: *894 + required: *895 nullable: true sender: *4 required: @@ -163808,11 +163036,11 @@ x-webhooks: type: string enum: - closed - enterprise: *856 - installation: *857 - milestone: *888 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + milestone: *886 + organization: *856 + repository: *857 sender: *4 required: - action @@ -163891,9 +163119,9 @@ x-webhooks: type: string enum: - created - enterprise: *856 - installation: *857 - milestone: &898 + enterprise: *854 + installation: *855 + milestone: &896 title: Milestone description: A collection of related issues and pull requests. type: object @@ -164030,8 +163258,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *858 - repository: *859 + organization: *856 + repository: *857 sender: *4 required: - action @@ -164110,11 +163338,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *856 - installation: *857 - milestone: *888 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + milestone: *886 + organization: *856 + repository: *857 sender: *4 required: - action @@ -164224,11 +163452,11 @@ x-webhooks: type: string required: - from - enterprise: *856 - installation: *857 - milestone: *888 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + milestone: *886 + organization: *856 + repository: *857 sender: *4 required: - action @@ -164308,11 +163536,11 @@ x-webhooks: type: string enum: - opened - enterprise: *856 - installation: *857 - milestone: *898 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + milestone: *896 + organization: *856 + repository: *857 sender: *4 required: - action @@ -164391,11 +163619,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *883 - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + blocked_user: *881 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -164474,11 +163702,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *883 - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + blocked_user: *881 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -164554,7 +163782,7 @@ x-webhooks: enum: - created definition: *146 - enterprise: *856 + enterprise: *854 sender: *4 required: - action @@ -164634,8 +163862,8 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *856 - installation: *857 + enterprise: *854 + installation: *855 sender: *4 required: - action @@ -164708,8 +163936,8 @@ x-webhooks: enum: - updated definition: *146 - enterprise: *856 - installation: *857 + enterprise: *854 + installation: *855 sender: *4 required: - action @@ -164781,9 +164009,9 @@ x-webhooks: type: string enum: - updated - enterprise: *856 - installation: *857 - organization: *858 + enterprise: *854 + installation: *855 + organization: *856 sender: *4 new_property_values: type: array @@ -164871,9 +164099,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *856 - installation: *857 - membership: &899 + enterprise: *854 + installation: *855 + membership: &897 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -164980,8 +164208,8 @@ x-webhooks: - role - organization_url - user - organization: *858 - repository: *859 + organization: *856 + repository: *857 sender: *4 required: - action @@ -165059,11 +164287,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *856 - installation: *857 - membership: *899 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + membership: *897 + organization: *856 + repository: *857 sender: *4 required: - action @@ -165142,8 +164370,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *856 - installation: *857 + enterprise: *854 + installation: *855 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -165259,10 +164487,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *858 - repository: *859 + organization: *856 + repository: *857 sender: *4 - user: *883 + user: *881 required: - action - invitation @@ -165340,11 +164568,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *856 - installation: *857 - membership: *899 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + membership: *897 + organization: *856 + repository: *857 sender: *4 required: - action @@ -165431,11 +164659,11 @@ x-webhooks: properties: from: type: string - enterprise: *856 - installation: *857 - membership: *899 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + membership: *897 + organization: *856 + repository: *857 sender: *4 required: - action @@ -165511,9 +164739,9 @@ x-webhooks: type: string enum: - published - enterprise: *856 - installation: *857 - organization: *858 + enterprise: *854 + installation: *855 + organization: *856 package: description: Information about the package. type: object @@ -166012,7 +165240,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &900 + items: &898 title: Ruby Gems metadata type: object properties: @@ -166107,7 +165335,7 @@ x-webhooks: - owner - package_version - registry - repository: *859 + repository: *857 sender: *4 required: - action @@ -166183,9 +165411,9 @@ x-webhooks: type: string enum: - updated - enterprise: *856 - installation: *857 - organization: *858 + enterprise: *854 + installation: *855 + organization: *856 package: description: Information about the package. type: object @@ -166538,7 +165766,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *900 + items: *898 source_url: type: string format: uri @@ -166608,7 +165836,7 @@ x-webhooks: - owner - package_version - registry - repository: *859 + repository: *857 sender: *4 required: - action @@ -166785,12 +166013,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *856 + enterprise: *854 id: type: integer - installation: *857 - organization: *858 - repository: *859 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - id @@ -166867,7 +166095,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &901 + personal_access_token_request: &899 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -167013,10 +166241,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *856 - organization: *858 + enterprise: *854 + organization: *856 sender: *4 - installation: *857 + installation: *855 required: - action - personal_access_token_request @@ -167093,11 +166321,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *901 - enterprise: *856 - organization: *858 + personal_access_token_request: *899 + enterprise: *854 + organization: *856 sender: *4 - installation: *857 + installation: *855 required: - action - personal_access_token_request @@ -167173,11 +166401,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *901 - enterprise: *856 - organization: *858 + personal_access_token_request: *899 + enterprise: *854 + organization: *856 sender: *4 - installation: *857 + installation: *855 required: - action - personal_access_token_request @@ -167252,11 +166480,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *901 - organization: *858 - enterprise: *856 + personal_access_token_request: *899 + organization: *856 + enterprise: *854 sender: *4 - installation: *857 + installation: *855 required: - action - personal_access_token_request @@ -167361,7 +166589,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *902 + last_response: *900 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -167393,8 +166621,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *858 - repository: *859 + organization: *856 + repository: *857 sender: *4 zen: description: Random string of GitHub zen. @@ -167639,10 +166867,10 @@ x-webhooks: - from required: - note - enterprise: *856 - installation: *857 - organization: *858 - project_card: &903 + enterprise: *854 + installation: *855 + organization: *856 + project_card: &901 title: Project Card type: object properties: @@ -167761,7 +166989,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *859 + repository: *857 sender: *4 required: - action @@ -167842,11 +167070,11 @@ x-webhooks: type: string enum: - created - enterprise: *856 - installation: *857 - organization: *858 - project_card: *903 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + project_card: *901 + repository: *857 sender: *4 required: - action @@ -167926,9 +167154,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *856 - installation: *857 - organization: *858 + enterprise: *854 + installation: *855 + organization: *856 project_card: title: Project Card type: object @@ -168056,8 +167284,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: *896 - required: *897 + properties: *894 + required: *895 nullable: true sender: *4 required: @@ -168151,11 +167379,11 @@ x-webhooks: - from required: - note - enterprise: *856 - installation: *857 - organization: *858 - project_card: *903 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + project_card: *901 + repository: *857 sender: *4 required: - action @@ -168249,9 +167477,9 @@ x-webhooks: - from required: - column_id - enterprise: *856 - installation: *857 - organization: *858 + enterprise: *854 + installation: *855 + organization: *856 project_card: allOf: - title: Project Card @@ -168441,7 +167669,7 @@ x-webhooks: type: string required: - after_id - repository: *859 + repository: *857 sender: *4 required: - action @@ -168521,10 +167749,10 @@ x-webhooks: type: string enum: - closed - enterprise: *856 - installation: *857 - organization: *858 - project: &905 + enterprise: *854 + installation: *855 + organization: *856 + project: &903 title: Project type: object properties: @@ -168648,7 +167876,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *859 + repository: *857 sender: *4 required: - action @@ -168728,10 +167956,10 @@ x-webhooks: type: string enum: - created - enterprise: *856 - installation: *857 - organization: *858 - project_column: &904 + enterprise: *854 + installation: *855 + organization: *856 + project_column: &902 title: Project Column type: object properties: @@ -168770,7 +167998,7 @@ x-webhooks: - name - created_at - updated_at - repository: *859 + repository: *857 sender: *4 required: - action @@ -168849,18 +168077,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *856 - installation: *857 - organization: *858 - project_column: *904 + enterprise: *854 + installation: *855 + organization: *856 + project_column: *902 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: *896 - required: *897 + properties: *894 + required: *895 nullable: true sender: *4 required: @@ -168950,11 +168178,11 @@ x-webhooks: type: string required: - from - enterprise: *856 - installation: *857 - organization: *858 - project_column: *904 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + project_column: *902 + repository: *857 sender: *4 required: - action @@ -169034,11 +168262,11 @@ x-webhooks: type: string enum: - moved - enterprise: *856 - installation: *857 - organization: *858 - project_column: *904 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + project_column: *902 + repository: *857 sender: *4 required: - action @@ -169118,11 +168346,11 @@ x-webhooks: type: string enum: - created - enterprise: *856 - installation: *857 - organization: *858 - project: *905 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + project: *903 + repository: *857 sender: *4 required: - action @@ -169202,18 +168430,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *856 - installation: *857 - organization: *858 - project: *905 + enterprise: *854 + installation: *855 + organization: *856 + project: *903 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: *896 - required: *897 + properties: *894 + required: *895 nullable: true sender: *4 required: @@ -169315,11 +168543,11 @@ x-webhooks: type: string required: - from - enterprise: *856 - installation: *857 - organization: *858 - project: *905 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + project: *903 + repository: *857 sender: *4 required: - action @@ -169398,11 +168626,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *856 - installation: *857 - organization: *858 - project: *905 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + project: *903 + repository: *857 sender: *4 required: - action @@ -169483,9 +168711,9 @@ x-webhooks: type: string enum: - closed - installation: *857 - organization: *858 - projects_v2: *397 + installation: *855 + organization: *856 + projects_v2: *396 sender: *4 required: - action @@ -169566,9 +168794,9 @@ x-webhooks: type: string enum: - created - installation: *857 - organization: *858 - projects_v2: *397 + installation: *855 + organization: *856 + projects_v2: *396 sender: *4 required: - action @@ -169649,9 +168877,9 @@ x-webhooks: type: string enum: - deleted - installation: *857 - organization: *858 - projects_v2: *397 + installation: *855 + organization: *856 + projects_v2: *396 sender: *4 required: - action @@ -169768,9 +168996,9 @@ x-webhooks: type: string to: type: string - installation: *857 - organization: *858 - projects_v2: *397 + installation: *855 + organization: *856 + projects_v2: *396 sender: *4 required: - action @@ -169853,7 +169081,7 @@ x-webhooks: type: string enum: - archived - changes: &909 + changes: &907 type: object properties: archived_at: @@ -169867,9 +169095,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *857 - organization: *858 - projects_v2_item: &906 + installation: *855 + organization: *856 + projects_v2_item: &904 title: Projects v2 Item description: An item belonging to a project type: object @@ -169887,7 +169115,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *404 + content_type: *403 creator: *4 created_at: type: string @@ -170004,9 +169232,9 @@ x-webhooks: nullable: true to: type: string - installation: *857 - organization: *858 - projects_v2_item: *906 + installation: *855 + organization: *856 + projects_v2_item: *904 sender: *4 required: - action @@ -170088,9 +169316,9 @@ x-webhooks: type: string enum: - created - installation: *857 - organization: *858 - projects_v2_item: *906 + installation: *855 + organization: *856 + projects_v2_item: *904 sender: *4 required: - action @@ -170171,9 +169399,9 @@ x-webhooks: type: string enum: - deleted - installation: *857 - organization: *858 - projects_v2_item: *906 + installation: *855 + organization: *856 + projects_v2_item: *904 sender: *4 required: - action @@ -170279,7 +169507,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &907 + - &905 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -170301,7 +169529,7 @@ x-webhooks: required: - id - name - - &908 + - &906 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -170335,8 +169563,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *907 - - *908 + - *905 + - *906 required: - field_value - type: object @@ -170352,9 +169580,9 @@ x-webhooks: nullable: true required: - body - installation: *857 - organization: *858 - projects_v2_item: *906 + installation: *855 + organization: *856 + projects_v2_item: *904 sender: *4 required: - action @@ -170449,9 +169677,9 @@ x-webhooks: to: type: string nullable: true - installation: *857 - organization: *858 - projects_v2_item: *906 + installation: *855 + organization: *856 + projects_v2_item: *904 sender: *4 required: - action @@ -170534,10 +169762,10 @@ x-webhooks: type: string enum: - restored - changes: *909 - installation: *857 - organization: *858 - projects_v2_item: *906 + changes: *907 + installation: *855 + organization: *856 + projects_v2_item: *904 sender: *4 required: - action @@ -170619,9 +169847,9 @@ x-webhooks: type: string enum: - reopened - installation: *857 - organization: *858 - projects_v2: *397 + installation: *855 + organization: *856 + projects_v2: *396 sender: *4 required: - action @@ -170702,14 +169930,14 @@ x-webhooks: type: string enum: - created - installation: *857 - organization: *858 - projects_v2_status_update: &912 + installation: *855 + organization: *856 + projects_v2_status_update: &910 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *910 - required: *911 + properties: *908 + required: *909 sender: *4 required: - action @@ -170790,9 +170018,9 @@ x-webhooks: type: string enum: - deleted - installation: *857 - organization: *858 - projects_v2_status_update: *912 + installation: *855 + organization: *856 + projects_v2_status_update: *910 sender: *4 required: - action @@ -170928,9 +170156,9 @@ x-webhooks: type: string format: date nullable: true - installation: *857 - organization: *858 - projects_v2_status_update: *912 + installation: *855 + organization: *856 + projects_v2_status_update: *910 sender: *4 required: - action @@ -171001,10 +170229,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - repository @@ -171081,13 +170309,13 @@ x-webhooks: type: string enum: - assigned - assignee: *883 - enterprise: *856 - installation: *857 - number: &913 + assignee: *881 + enterprise: *854 + installation: *855 + number: &911 description: The pull request number. type: integer - organization: *858 + organization: *856 pull_request: title: Pull Request type: object @@ -173370,7 +172598,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *859 + repository: *857 sender: *4 required: - action @@ -173452,11 +172680,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *856 - installation: *857 + enterprise: *854 + installation: *855 number: type: integer - organization: *858 + organization: *856 pull_request: title: Pull Request type: object @@ -175734,7 +174962,7 @@ x-webhooks: - draft reason: type: string - repository: *859 + repository: *857 sender: *4 required: - action @@ -175816,11 +175044,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *856 - installation: *857 + enterprise: *854 + installation: *855 number: type: integer - organization: *858 + organization: *856 pull_request: title: Pull Request type: object @@ -178098,7 +177326,7 @@ x-webhooks: - draft reason: type: string - repository: *859 + repository: *857 sender: *4 required: - action @@ -178180,13 +177408,13 @@ x-webhooks: type: string enum: - closed - enterprise: *856 - installation: *857 - number: *913 - organization: *858 - pull_request: &914 + enterprise: *854 + installation: *855 + number: *911 + organization: *856 + pull_request: &912 allOf: - - *706 + - *704 - type: object properties: allow_auto_merge: @@ -178248,7 +177476,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *859 + repository: *857 sender: *4 required: - action @@ -178329,12 +177557,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *856 - installation: *857 - number: *913 - organization: *858 - pull_request: *914 - repository: *859 + enterprise: *854 + installation: *855 + number: *911 + organization: *856 + pull_request: *912 + repository: *857 sender: *4 required: - action @@ -178414,11 +177642,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *856 - milestone: *688 - number: *913 - organization: *858 - pull_request: &915 + enterprise: *854 + milestone: *686 + number: *911 + organization: *856 + pull_request: &913 title: Pull Request type: object properties: @@ -180681,7 +179909,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *859 + repository: *857 sender: *4 required: - action @@ -180760,11 +179988,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *856 - installation: *857 + enterprise: *854 + installation: *855 number: type: integer - organization: *858 + organization: *856 pull_request: title: Pull Request type: object @@ -183046,7 +182274,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *859 + repository: *857 sender: *4 required: - action @@ -183170,12 +182398,12 @@ x-webhooks: type: string required: - from - enterprise: *856 - installation: *857 - number: *913 - organization: *858 - pull_request: *914 - repository: *859 + enterprise: *854 + installation: *855 + number: *911 + organization: *856 + pull_request: *912 + repository: *857 sender: *4 required: - action @@ -183255,11 +182483,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *856 - installation: *857 + enterprise: *854 + installation: *855 number: type: integer - organization: *858 + organization: *856 pull_request: title: Pull Request type: object @@ -185526,7 +184754,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *859 + repository: *857 sender: *4 required: - action @@ -185606,11 +184834,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *856 - installation: *857 - label: *882 - number: *913 - organization: *858 + enterprise: *854 + installation: *855 + label: *880 + number: *911 + organization: *856 pull_request: title: Pull Request type: object @@ -187892,7 +187120,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *859 + repository: *857 sender: *4 required: - action @@ -187973,10 +187201,10 @@ x-webhooks: type: string enum: - locked - enterprise: *856 - installation: *857 - number: *913 - organization: *858 + enterprise: *854 + installation: *855 + number: *911 + organization: *856 pull_request: title: Pull Request type: object @@ -190256,7 +189484,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *859 + repository: *857 sender: *4 required: - action @@ -190336,12 +189564,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *856 - milestone: *688 - number: *913 - organization: *858 - pull_request: *915 - repository: *859 + enterprise: *854 + milestone: *686 + number: *911 + organization: *856 + pull_request: *913 + repository: *857 sender: *4 required: - action @@ -190420,12 +189648,12 @@ x-webhooks: type: string enum: - opened - enterprise: *856 - installation: *857 - number: *913 - organization: *858 - pull_request: *914 - repository: *859 + enterprise: *854 + installation: *855 + number: *911 + organization: *856 + pull_request: *912 + repository: *857 sender: *4 required: - action @@ -190506,12 +189734,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *856 - installation: *857 - number: *913 - organization: *858 - pull_request: *914 - repository: *859 + enterprise: *854 + installation: *855 + number: *911 + organization: *856 + pull_request: *912 + repository: *857 sender: *4 required: - action @@ -190591,12 +189819,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *856 - installation: *857 - number: *913 - organization: *858 - pull_request: *914 - repository: *859 + enterprise: *854 + installation: *855 + number: *911 + organization: *856 + pull_request: *912 + repository: *857 sender: *4 required: - action @@ -190962,9 +190190,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *856 - installation: *857 - organization: *858 + enterprise: *854 + installation: *855 + organization: *856 pull_request: type: object properties: @@ -193134,7 +192362,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *859 + repository: *857 sender: *4 required: - action @@ -193214,7 +192442,7 @@ x-webhooks: type: string enum: - deleted - comment: &917 + comment: &915 title: Pull Request Review Comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -193499,9 +192727,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *856 - installation: *857 - organization: *858 + enterprise: *854 + installation: *855 + organization: *856 pull_request: type: object properties: @@ -195659,7 +194887,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *859 + repository: *857 sender: *4 required: - action @@ -195739,11 +194967,11 @@ x-webhooks: type: string enum: - edited - changes: *916 - comment: *917 - enterprise: *856 - installation: *857 - organization: *858 + changes: *914 + comment: *915 + enterprise: *854 + installation: *855 + organization: *856 pull_request: type: object properties: @@ -197904,7 +197132,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *859 + repository: *857 sender: *4 required: - action @@ -197985,9 +197213,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *856 - installation: *857 - organization: *858 + enterprise: *854 + installation: *855 + organization: *856 pull_request: title: Simple Pull Request type: object @@ -200160,7 +199388,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *859 + repository: *857 review: description: The review that was affected. type: object @@ -200407,9 +199635,9 @@ x-webhooks: type: string required: - from - enterprise: *856 - installation: *857 - organization: *858 + enterprise: *854 + installation: *855 + organization: *856 pull_request: title: Simple Pull Request type: object @@ -202463,8 +201691,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *859 - review: &918 + repository: *857 + review: &916 description: The review that was affected. type: object properties: @@ -202697,12 +201925,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *856 - installation: *857 + enterprise: *854 + installation: *855 number: description: The pull request number. type: integer - organization: *858 + organization: *856 pull_request: title: Pull Request type: object @@ -204985,7 +204213,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *859 + repository: *857 requested_reviewer: title: User type: object @@ -205069,12 +204297,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *856 - installation: *857 + enterprise: *854 + installation: *855 number: description: The pull request number. type: integer - organization: *858 + organization: *856 pull_request: title: Pull Request type: object @@ -207364,7 +206592,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *859 + repository: *857 requested_team: title: Team description: Groups of organization members that gives permissions @@ -207556,12 +206784,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *856 - installation: *857 + enterprise: *854 + installation: *855 number: description: The pull request number. type: integer - organization: *858 + organization: *856 pull_request: title: Pull Request type: object @@ -209846,7 +209074,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *859 + repository: *857 requested_reviewer: title: User type: object @@ -209931,12 +209159,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *856 - installation: *857 + enterprise: *854 + installation: *855 number: description: The pull request number. type: integer - organization: *858 + organization: *856 pull_request: title: Pull Request type: object @@ -212212,7 +211440,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *859 + repository: *857 requested_team: title: Team description: Groups of organization members that gives permissions @@ -212393,9 +211621,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *856 - installation: *857 - organization: *858 + enterprise: *854 + installation: *855 + organization: *856 pull_request: title: Simple Pull Request type: object @@ -214570,8 +213798,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *859 - review: *918 + repository: *857 + review: *916 sender: *4 required: - action @@ -214651,9 +213879,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *856 - installation: *857 - organization: *858 + enterprise: *854 + installation: *855 + organization: *856 pull_request: title: Simple Pull Request type: object @@ -216723,7 +215951,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *859 + repository: *857 sender: *4 thread: type: object @@ -217110,9 +216338,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *856 - installation: *857 - organization: *858 + enterprise: *854 + installation: *855 + organization: *856 pull_request: title: Simple Pull Request type: object @@ -219168,7 +218396,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *859 + repository: *857 sender: *4 thread: type: object @@ -219558,10 +218786,10 @@ x-webhooks: type: string before: type: string - enterprise: *856 - installation: *857 - number: *913 - organization: *858 + enterprise: *854 + installation: *855 + number: *911 + organization: *856 pull_request: title: Pull Request type: object @@ -221832,7 +221060,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *859 + repository: *857 sender: *4 required: - action @@ -221914,11 +221142,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *919 - enterprise: *856 - installation: *857 - number: *913 - organization: *858 + assignee: *917 + enterprise: *854 + installation: *855 + number: *911 + organization: *856 pull_request: title: Pull Request type: object @@ -224201,7 +223429,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *859 + repository: *857 sender: *4 required: - action @@ -224280,11 +223508,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *856 - installation: *857 - label: *882 - number: *913 - organization: *858 + enterprise: *854 + installation: *855 + label: *880 + number: *911 + organization: *856 pull_request: title: Pull Request type: object @@ -226557,7 +225785,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *859 + repository: *857 sender: *4 required: - action @@ -226638,10 +225866,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *856 - installation: *857 - number: *913 - organization: *858 + enterprise: *854 + installation: *855 + number: *911 + organization: *856 pull_request: title: Pull Request type: object @@ -228906,7 +228134,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *859 + repository: *857 sender: *4 required: - action @@ -229106,7 +228334,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *856 + enterprise: *854 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -229198,8 +228426,8 @@ x-webhooks: - url - author - committer - installation: *857 - organization: *858 + installation: *855 + organization: *856 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -229774,9 +229002,9 @@ x-webhooks: type: string enum: - published - enterprise: *856 - installation: *857 - organization: *858 + enterprise: *854 + installation: *855 + organization: *856 registry_package: type: object properties: @@ -230222,7 +229450,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *900 + items: *898 summary: type: string tag_name: @@ -230276,7 +229504,7 @@ x-webhooks: - owner - package_version - registry - repository: *859 + repository: *857 sender: *4 required: - action @@ -230354,9 +229582,9 @@ x-webhooks: type: string enum: - updated - enterprise: *856 - installation: *857 - organization: *858 + enterprise: *854 + installation: *855 + organization: *856 registry_package: type: object properties: @@ -230664,7 +229892,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *900 + items: *898 summary: type: string tag_name: @@ -230713,7 +229941,7 @@ x-webhooks: - owner - package_version - registry - repository: *859 + repository: *857 sender: *4 required: - action @@ -230790,10 +230018,10 @@ x-webhooks: type: string enum: - created - enterprise: *856 - installation: *857 - organization: *858 - release: &920 + enterprise: *854 + installation: *855 + organization: *856 + release: &918 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -231111,7 +230339,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *859 + repository: *857 sender: *4 required: - action @@ -231188,11 +230416,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *856 - installation: *857 - organization: *858 - release: *920 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + release: *918 + repository: *857 sender: *4 required: - action @@ -231309,11 +230537,11 @@ x-webhooks: type: boolean required: - to - enterprise: *856 - installation: *857 - organization: *858 - release: *920 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + release: *918 + repository: *857 sender: *4 required: - action @@ -231391,9 +230619,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *856 - installation: *857 - organization: *858 + enterprise: *854 + installation: *855 + organization: *856 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -231715,7 +230943,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *859 + repository: *857 sender: *4 required: - action @@ -231791,10 +231019,10 @@ x-webhooks: type: string enum: - published - enterprise: *856 - installation: *857 - organization: *858 - release: &921 + enterprise: *854 + installation: *855 + organization: *856 + release: &919 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -232113,7 +231341,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *859 + repository: *857 sender: *4 required: - action @@ -232189,11 +231417,11 @@ x-webhooks: type: string enum: - released - enterprise: *856 - installation: *857 - organization: *858 - release: *920 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + release: *918 + repository: *857 sender: *4 required: - action @@ -232269,11 +231497,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *856 - installation: *857 - organization: *858 - release: *921 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + release: *919 + repository: *857 sender: *4 required: - action @@ -232349,11 +231577,11 @@ x-webhooks: type: string enum: - published - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 - repository_advisory: *759 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 + repository_advisory: *757 sender: *4 required: - action @@ -232429,11 +231657,11 @@ x-webhooks: type: string enum: - reported - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 - repository_advisory: *759 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 + repository_advisory: *757 sender: *4 required: - action @@ -232509,10 +231737,10 @@ x-webhooks: type: string enum: - archived - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -232589,10 +231817,10 @@ x-webhooks: type: string enum: - created - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -232670,10 +231898,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -232757,10 +231985,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -232872,10 +232100,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -232947,10 +232175,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 status: type: string @@ -233031,10 +232259,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -233111,10 +232339,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -233208,10 +232436,10 @@ x-webhooks: - name required: - repository - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -233291,10 +232519,10 @@ x-webhooks: type: string enum: - created - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 repository_ruleset: *185 sender: *4 required: @@ -233373,10 +232601,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 repository_ruleset: *185 sender: *4 required: @@ -233455,10 +232683,10 @@ x-webhooks: type: string enum: - edited - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 repository_ruleset: *185 changes: type: object @@ -233520,16 +232748,16 @@ x-webhooks: properties: added: type: array - items: *727 + items: *725 deleted: type: array - items: *727 + items: *725 updated: type: array items: type: object properties: - rule: *727 + rule: *725 changes: type: object properties: @@ -233763,10 +232991,10 @@ x-webhooks: - from required: - owner - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -233844,10 +233072,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -233925,7 +233153,7 @@ x-webhooks: type: string enum: - create - alert: &922 + alert: &920 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -234046,10 +233274,10 @@ x-webhooks: type: string enum: - open - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -234255,10 +233483,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -234336,11 +233564,11 @@ x-webhooks: type: string enum: - reopen - alert: *922 - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + alert: *920 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -234539,10 +233767,10 @@ x-webhooks: enum: - fixed - open - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -234620,7 +233848,7 @@ x-webhooks: type: string enum: - created - alert: &923 + alert: &921 type: object properties: number: *123 @@ -234738,10 +233966,10 @@ x-webhooks: properties: *20 required: *21 nullable: true - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -234822,11 +234050,11 @@ x-webhooks: type: string enum: - created - alert: *923 - installation: *857 - location: *924 - organization: *858 - repository: *859 + alert: *921 + installation: *855 + location: *922 + organization: *856 + repository: *857 sender: *4 required: - location @@ -235064,11 +234292,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *923 - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + alert: *921 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -235146,11 +234374,11 @@ x-webhooks: type: string enum: - reopened - alert: *923 - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + alert: *921 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -235228,11 +234456,11 @@ x-webhooks: type: string enum: - resolved - alert: *923 - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + alert: *921 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -235310,11 +234538,11 @@ x-webhooks: type: string enum: - validated - alert: *923 - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + alert: *921 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -235440,10 +234668,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *859 - enterprise: *856 - installation: *857 - organization: *858 + repository: *857 + enterprise: *854 + installation: *855 + organization: *856 sender: *4 required: - action @@ -235521,11 +234749,11 @@ x-webhooks: type: string enum: - published - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 - security_advisory: &925 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 + security_advisory: &923 description: The details of the security advisory, including summary, description, and severity. type: object @@ -235708,11 +234936,11 @@ x-webhooks: type: string enum: - updated - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 - security_advisory: *925 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 + security_advisory: *923 sender: *4 required: - action @@ -235785,10 +235013,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -235972,11 +235200,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *412 - enterprise: *856 - installation: *857 - organization: *858 - repository: *479 + security_and_analysis: *411 + enterprise: *854 + installation: *855 + organization: *856 + repository: *476 sender: *4 required: - changes @@ -236054,12 +235282,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 - sponsorship: &926 + sponsorship: &924 type: object properties: created_at: @@ -236360,12 +235588,12 @@ x-webhooks: type: string enum: - created - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 - sponsorship: *926 + sponsorship: *924 required: - action - sponsorship @@ -236453,12 +235681,12 @@ x-webhooks: type: string required: - from - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 - sponsorship: *926 + sponsorship: *924 required: - action - changes @@ -236535,17 +235763,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &927 + effective_date: &925 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 - sponsorship: *926 + sponsorship: *924 required: - action - sponsorship @@ -236619,7 +235847,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &928 + changes: &926 type: object properties: tier: @@ -236663,13 +235891,13 @@ x-webhooks: - from required: - tier - effective_date: *927 - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + effective_date: *925 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 - sponsorship: *926 + sponsorship: *924 required: - action - changes @@ -236746,13 +235974,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *928 - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + changes: *926 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 - sponsorship: *926 + sponsorship: *924 required: - action - changes @@ -236826,10 +236054,10 @@ x-webhooks: type: string enum: - created - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -236912,10 +236140,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -237335,15 +236563,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *856 + enterprise: *854 id: description: The unique identifier of the status. type: integer - installation: *857 + installation: *855 name: type: string - organization: *858 - repository: *859 + organization: *856 + repository: *857 sender: *4 sha: description: The Commit SHA. @@ -237458,9 +236686,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *226 - installation: *857 - organization: *858 - repository: *859 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -237550,9 +236778,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *226 - installation: *857 - organization: *858 - repository: *859 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -237642,9 +236870,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *226 - installation: *857 - organization: *858 - repository: *859 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -237734,9 +236962,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *226 - installation: *857 - organization: *858 - repository: *859 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -237813,12 +237041,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 - team: &929 + team: &927 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -238041,9 +237269,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *856 - installation: *857 - organization: *858 + enterprise: *854 + installation: *855 + organization: *856 repository: title: Repository description: A git repository @@ -238501,7 +237729,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *929 + team: *927 required: - action - team @@ -238577,9 +237805,9 @@ x-webhooks: type: string enum: - created - enterprise: *856 - installation: *857 - organization: *858 + enterprise: *854 + installation: *855 + organization: *856 repository: title: Repository description: A git repository @@ -239037,7 +238265,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *929 + team: *927 required: - action - team @@ -239114,9 +238342,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *856 - installation: *857 - organization: *858 + enterprise: *854 + installation: *855 + organization: *856 repository: title: Repository description: A git repository @@ -239574,7 +238802,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *929 + team: *927 required: - action - team @@ -239718,9 +238946,9 @@ x-webhooks: - from required: - permissions - enterprise: *856 - installation: *857 - organization: *858 + enterprise: *854 + installation: *855 + organization: *856 repository: title: Repository description: A git repository @@ -240178,7 +239406,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *929 + team: *927 required: - action - changes @@ -240256,9 +239484,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *856 - installation: *857 - organization: *858 + enterprise: *854 + installation: *855 + organization: *856 repository: title: Repository description: A git repository @@ -240716,7 +239944,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *929 + team: *927 required: - action - team @@ -240792,10 +240020,10 @@ x-webhooks: type: string enum: - started - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -240868,16 +240096,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *856 + enterprise: *854 inputs: type: object nullable: true additionalProperties: true - installation: *857 - organization: *858 + installation: *855 + organization: *856 ref: type: string - repository: *859 + repository: *857 sender: *4 workflow: type: string @@ -240959,10 +240187,10 @@ x-webhooks: type: string enum: - completed - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 workflow_job: allOf: @@ -241199,7 +240427,7 @@ x-webhooks: type: string required: - conclusion - deployment: *611 + deployment: *608 required: - action - repository @@ -241278,10 +240506,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 workflow_job: allOf: @@ -241541,7 +240769,7 @@ x-webhooks: required: - status - steps - deployment: *611 + deployment: *608 required: - action - repository @@ -241620,10 +240848,10 @@ x-webhooks: type: string enum: - queued - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 workflow_job: type: object @@ -241758,7 +240986,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *611 + deployment: *608 required: - action - repository @@ -241837,10 +241065,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 workflow_job: type: object @@ -241976,7 +241204,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *611 + deployment: *608 required: - action - repository @@ -242056,12 +241284,12 @@ x-webhooks: type: string enum: - completed - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 - workflow: *878 + workflow: *876 workflow_run: title: Workflow Run type: object @@ -243060,12 +242288,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 - workflow: *878 + workflow: *876 workflow_run: title: Workflow Run type: object @@ -244049,12 +243277,12 @@ x-webhooks: type: string enum: - requested - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 - workflow: *878 + workflow: *876 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/dereferenced/ghec.deref.json b/descriptions/ghec/dereferenced/ghec.deref.json index 902af3878..6ed8c88be 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.json +++ b/descriptions/ghec/dereferenced/ghec.deref.json @@ -179050,847 +179050,6 @@ } } }, - "/orgs/{org}/projects": { - "get": { - "summary": "List organization projects", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/list-for-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-organization-projects" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "state", - "description": "Indicates the state of the projects to return.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "open", - "closed", - "all" - ], - "default": "open" - } - }, - { - "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 30 - } - }, - { - "name": "page", - "description": "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 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Project", - "description": "Projects are a way to organize columns and cards of work.", - "type": "object", - "properties": { - "owner_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/api-playground/projects-test" - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/api-playground/projects-test/projects/12" - }, - "columns_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604/columns" - }, - "id": { - "type": "integer", - "example": 1002604 - }, - "node_id": { - "type": "string", - "example": "MDc6UHJvamVjdDEwMDI2MDQ=" - }, - "name": { - "description": "Name of the project", - "example": "Week One Sprint", - "type": "string" - }, - "body": { - "description": "Body of the project", - "example": "This project represents the sprint of the first week in January", - "type": "string", - "nullable": true - }, - "number": { - "type": "integer", - "example": 1 - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "example": "open", - "type": "string" - }, - "creator": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2011-04-10T20:09:31Z" - }, - "updated_at": { - "type": "string", - "format": "date-time", - "example": "2014-03-03T18:58:10Z" - }, - "organization_permission": { - "description": "The baseline permission that all organization members have on this project. Only present if owner is an organization.", - "type": "string", - "enum": [ - "read", - "write", - "admin", - "none" - ] - }, - "private": { - "description": "Whether or not this project can be seen by everyone. Only present if owner is an organization.", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "number", - "name", - "body", - "state", - "url", - "html_url", - "owner_url", - "creator", - "columns_url", - "created_at", - "updated_at" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "owner_url": "https://api.github.com/orgs/octocat", - "url": "https://api.github.com/projects/1002605", - "html_url": "https://github.com/orgs/api-playground/projects/1", - "columns_url": "https://api.github.com/projects/1002605/columns", - "id": 1002605, - "node_id": "MDc6UHJvamVjdDEwMDI2MDU=", - "name": "Organization Roadmap", - "body": "High-level roadmap for the upcoming year.", - "number": 1, - "state": "open", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-11T20:09:31Z", - "updated_at": "2014-03-04T18:58:10Z", - "organization_permission": "write", - "private": true - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } - } - }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error Simple", - "description": "Validation Error Simple", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - }, - "post": { - "summary": "Create an organization project", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/create-for-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#create-an-organization-project" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The name of the project." - }, - "body": { - "type": "string", - "description": "The description of the project." - } - }, - "required": [ - "name" - ] - }, - "examples": { - "default": { - "value": { - "name": "Organization Roadmap", - "body": "High-level roadmap for the upcoming year." - } - } - } - } - } - }, - "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Project", - "description": "Projects are a way to organize columns and cards of work.", - "type": "object", - "properties": { - "owner_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/api-playground/projects-test" - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/api-playground/projects-test/projects/12" - }, - "columns_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604/columns" - }, - "id": { - "type": "integer", - "example": 1002604 - }, - "node_id": { - "type": "string", - "example": "MDc6UHJvamVjdDEwMDI2MDQ=" - }, - "name": { - "description": "Name of the project", - "example": "Week One Sprint", - "type": "string" - }, - "body": { - "description": "Body of the project", - "example": "This project represents the sprint of the first week in January", - "type": "string", - "nullable": true - }, - "number": { - "type": "integer", - "example": 1 - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "example": "open", - "type": "string" - }, - "creator": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2011-04-10T20:09:31Z" - }, - "updated_at": { - "type": "string", - "format": "date-time", - "example": "2014-03-03T18:58:10Z" - }, - "organization_permission": { - "description": "The baseline permission that all organization members have on this project. Only present if owner is an organization.", - "type": "string", - "enum": [ - "read", - "write", - "admin", - "none" - ] - }, - "private": { - "description": "Whether or not this project can be seen by everyone. Only present if owner is an organization.", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "number", - "name", - "body", - "state", - "url", - "html_url", - "owner_url", - "creator", - "columns_url", - "created_at", - "updated_at" - ] - }, - "examples": { - "default": { - "value": { - "owner_url": "https://api.github.com/orgs/octocat", - "url": "https://api.github.com/projects/1002605", - "html_url": "https://github.com/orgs/api-playground/projects/1", - "columns_url": "https://api.github.com/projects/1002605/columns", - "id": 1002605, - "node_id": "MDc6UHJvamVjdDEwMDI2MDU=", - "name": "Organization Roadmap", - "body": "High-level roadmap for the upcoming year.", - "number": 1, - "state": "open", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-11T20:09:31Z", - "updated_at": "2014-03-04T18:58:10Z" - } - } - } - } - } - }, - "401": { - "description": "Requires authentication", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "410": { - "description": "Gone", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error Simple", - "description": "Validation Error Simple", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - } - }, "/orgs/{org}/projectsV2": { "get": { "summary": "List projects for organization", @@ -234497,965 +233656,6 @@ "deprecated": true } }, - "/projects/{project_id}": { - "get": { - "summary": "Get a project", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/get", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#get-a-project" - }, - "parameters": [ - { - "name": "project_id", - "description": "The unique identifier of the project.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Project", - "description": "Projects are a way to organize columns and cards of work.", - "type": "object", - "properties": { - "owner_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/api-playground/projects-test" - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/api-playground/projects-test/projects/12" - }, - "columns_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604/columns" - }, - "id": { - "type": "integer", - "example": 1002604 - }, - "node_id": { - "type": "string", - "example": "MDc6UHJvamVjdDEwMDI2MDQ=" - }, - "name": { - "description": "Name of the project", - "example": "Week One Sprint", - "type": "string" - }, - "body": { - "description": "Body of the project", - "example": "This project represents the sprint of the first week in January", - "type": "string", - "nullable": true - }, - "number": { - "type": "integer", - "example": 1 - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "example": "open", - "type": "string" - }, - "creator": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2011-04-10T20:09:31Z" - }, - "updated_at": { - "type": "string", - "format": "date-time", - "example": "2014-03-03T18:58:10Z" - }, - "organization_permission": { - "description": "The baseline permission that all organization members have on this project. Only present if owner is an organization.", - "type": "string", - "enum": [ - "read", - "write", - "admin", - "none" - ] - }, - "private": { - "description": "Whether or not this project can be seen by everyone. Only present if owner is an organization.", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "number", - "name", - "body", - "state", - "url", - "html_url", - "owner_url", - "creator", - "columns_url", - "created_at", - "updated_at" - ] - }, - "examples": { - "default": { - "value": { - "owner_url": "https://api.github.com/repos/api-playground/projects-test", - "url": "https://api.github.com/projects/1002604", - "html_url": "https://github.com/api-playground/projects-test/projects/1", - "columns_url": "https://api.github.com/projects/1002604/columns", - "id": 1002604, - "node_id": "MDc6UHJvamVjdDEwMDI2MDQ=", - "name": "Projects Documentation", - "body": "Developer documentation project for the developer site.", - "number": 1, - "state": "open", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-10T20:09:31Z", - "updated_at": "2014-03-03T18:58:10Z" - } - } - } - } - } - }, - "304": { - "description": "Not modified" - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "401": { - "description": "Requires authentication", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - }, - "patch": { - "summary": "Update a project", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "operationId": "projects-classic/update", - "tags": [ - "projects-classic" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#update-a-project" - }, - "parameters": [ - { - "name": "project_id", - "description": "The unique identifier of the project.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "properties": { - "name": { - "description": "Name of the project", - "example": "Week One Sprint", - "type": "string" - }, - "body": { - "description": "Body of the project", - "example": "This project represents the sprint of the first week in January", - "type": "string", - "nullable": true - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "example": "open", - "type": "string" - }, - "organization_permission": { - "description": "The baseline permission that all organization members have on this project", - "type": "string", - "enum": [ - "read", - "write", - "admin", - "none" - ] - }, - "private": { - "description": "Whether or not this project can be seen by everyone.", - "type": "boolean" - } - }, - "type": "object" - }, - "examples": { - "default": { - "summary": "Change the name, state, and permissions for a project", - "value": { - "name": "Week One Sprint", - "state": "open", - "organization_permission": "write" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Project", - "description": "Projects are a way to organize columns and cards of work.", - "type": "object", - "properties": { - "owner_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/api-playground/projects-test" - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/api-playground/projects-test/projects/12" - }, - "columns_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604/columns" - }, - "id": { - "type": "integer", - "example": 1002604 - }, - "node_id": { - "type": "string", - "example": "MDc6UHJvamVjdDEwMDI2MDQ=" - }, - "name": { - "description": "Name of the project", - "example": "Week One Sprint", - "type": "string" - }, - "body": { - "description": "Body of the project", - "example": "This project represents the sprint of the first week in January", - "type": "string", - "nullable": true - }, - "number": { - "type": "integer", - "example": 1 - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "example": "open", - "type": "string" - }, - "creator": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2011-04-10T20:09:31Z" - }, - "updated_at": { - "type": "string", - "format": "date-time", - "example": "2014-03-03T18:58:10Z" - }, - "organization_permission": { - "description": "The baseline permission that all organization members have on this project. Only present if owner is an organization.", - "type": "string", - "enum": [ - "read", - "write", - "admin", - "none" - ] - }, - "private": { - "description": "Whether or not this project can be seen by everyone. Only present if owner is an organization.", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "number", - "name", - "body", - "state", - "url", - "html_url", - "owner_url", - "creator", - "columns_url", - "created_at", - "updated_at" - ] - }, - "examples": { - "default": { - "value": { - "owner_url": "https://api.github.com/repos/api-playground/projects-test", - "url": "https://api.github.com/projects/1002604", - "html_url": "https://github.com/api-playground/projects-test/projects/1", - "columns_url": "https://api.github.com/projects/1002604/columns", - "id": 1002604, - "node_id": "MDc6UHJvamVjdDEwMDI2MDQ=", - "name": "Projects Documentation", - "body": "Developer documentation project for the developer site.", - "number": 1, - "state": "open", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-10T20:09:31Z", - "updated_at": "2014-03-03T18:58:10Z" - } - } - } - } - } - }, - "404": { - "description": "Not Found if the authenticated user does not have access to the project" - }, - "304": { - "description": "Not modified" - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "401": { - "description": "Requires authentication", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "410": { - "description": "Gone", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error Simple", - "description": "Validation Error Simple", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - }, - "delete": { - "summary": "Delete a project", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "operationId": "projects-classic/delete", - "tags": [ - "projects-classic" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#delete-a-project" - }, - "parameters": [ - { - "name": "project_id", - "description": "The unique identifier of the project.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "responses": { - "204": { - "description": "Delete Success" - }, - "304": { - "description": "Not modified" - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "401": { - "description": "Requires authentication", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "410": { - "description": "Gone", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - } - }, "/projects/{project_id}/collaborators": { "get": { "summary": "List project collaborators", @@ -465163,967 +463363,6 @@ } } }, - "/repos/{owner}/{repo}/projects": { - "get": { - "summary": "List repository projects", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/list-for-repo", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-repository-projects" - }, - "parameters": [ - { - "name": "owner", - "description": "The account owner of the repository. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "repo", - "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "state", - "description": "Indicates the state of the projects to return.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "open", - "closed", - "all" - ], - "default": "open" - } - }, - { - "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 30 - } - }, - { - "name": "page", - "description": "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 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Project", - "description": "Projects are a way to organize columns and cards of work.", - "type": "object", - "properties": { - "owner_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/api-playground/projects-test" - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/api-playground/projects-test/projects/12" - }, - "columns_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604/columns" - }, - "id": { - "type": "integer", - "example": 1002604 - }, - "node_id": { - "type": "string", - "example": "MDc6UHJvamVjdDEwMDI2MDQ=" - }, - "name": { - "description": "Name of the project", - "example": "Week One Sprint", - "type": "string" - }, - "body": { - "description": "Body of the project", - "example": "This project represents the sprint of the first week in January", - "type": "string", - "nullable": true - }, - "number": { - "type": "integer", - "example": 1 - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "example": "open", - "type": "string" - }, - "creator": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2011-04-10T20:09:31Z" - }, - "updated_at": { - "type": "string", - "format": "date-time", - "example": "2014-03-03T18:58:10Z" - }, - "organization_permission": { - "description": "The baseline permission that all organization members have on this project. Only present if owner is an organization.", - "type": "string", - "enum": [ - "read", - "write", - "admin", - "none" - ] - }, - "private": { - "description": "Whether or not this project can be seen by everyone. Only present if owner is an organization.", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "number", - "name", - "body", - "state", - "url", - "html_url", - "owner_url", - "creator", - "columns_url", - "created_at", - "updated_at" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "owner_url": "https://api.github.com/repos/api-playground/projects-test", - "url": "https://api.github.com/projects/1002604", - "html_url": "https://github.com/api-playground/projects-test/projects/1", - "columns_url": "https://api.github.com/projects/1002604/columns", - "id": 1002604, - "node_id": "MDc6UHJvamVjdDEwMDI2MDQ=", - "name": "Projects Documentation", - "body": "Developer documentation project for the developer site.", - "number": 1, - "state": "open", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-10T20:09:31Z", - "updated_at": "2014-03-03T18:58:10Z" - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } - } - }, - "401": { - "description": "Requires authentication", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "410": { - "description": "Gone", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error Simple", - "description": "Validation Error Simple", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - }, - "post": { - "summary": "Create a repository project", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/create-for-repo", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#create-a-repository-project" - }, - "parameters": [ - { - "name": "owner", - "description": "The account owner of the repository. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "repo", - "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The name of the project." - }, - "body": { - "type": "string", - "description": "The description of the project." - } - }, - "required": [ - "name" - ] - }, - "examples": { - "default": { - "value": { - "name": "Projects Documentation", - "body": "Developer documentation project for the developer site." - } - } - } - } - } - }, - "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Project", - "description": "Projects are a way to organize columns and cards of work.", - "type": "object", - "properties": { - "owner_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/api-playground/projects-test" - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/api-playground/projects-test/projects/12" - }, - "columns_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604/columns" - }, - "id": { - "type": "integer", - "example": 1002604 - }, - "node_id": { - "type": "string", - "example": "MDc6UHJvamVjdDEwMDI2MDQ=" - }, - "name": { - "description": "Name of the project", - "example": "Week One Sprint", - "type": "string" - }, - "body": { - "description": "Body of the project", - "example": "This project represents the sprint of the first week in January", - "type": "string", - "nullable": true - }, - "number": { - "type": "integer", - "example": 1 - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "example": "open", - "type": "string" - }, - "creator": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2011-04-10T20:09:31Z" - }, - "updated_at": { - "type": "string", - "format": "date-time", - "example": "2014-03-03T18:58:10Z" - }, - "organization_permission": { - "description": "The baseline permission that all organization members have on this project. Only present if owner is an organization.", - "type": "string", - "enum": [ - "read", - "write", - "admin", - "none" - ] - }, - "private": { - "description": "Whether or not this project can be seen by everyone. Only present if owner is an organization.", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "number", - "name", - "body", - "state", - "url", - "html_url", - "owner_url", - "creator", - "columns_url", - "created_at", - "updated_at" - ] - }, - "examples": { - "default": { - "value": { - "owner_url": "https://api.github.com/repos/api-playground/projects-test", - "url": "https://api.github.com/projects/1002604", - "html_url": "https://github.com/api-playground/projects-test/projects/1", - "columns_url": "https://api.github.com/projects/1002604/columns", - "id": 1002604, - "node_id": "MDc6UHJvamVjdDEwMDI2MDQ=", - "name": "Projects Documentation", - "body": "Developer documentation project for the developer site.", - "number": 1, - "state": "open", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-10T20:09:31Z", - "updated_at": "2014-03-03T18:58:10Z" - } - } - } - } - } - }, - "401": { - "description": "Requires authentication", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "410": { - "description": "Gone", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error Simple", - "description": "Validation Error Simple", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - } - }, "/repos/{owner}/{repo}/properties/values": { "get": { "summary": "Get all custom property values for a repository", @@ -619796,416 +617035,6 @@ } } }, - "/user/projects": { - "post": { - "summary": "Create a user project", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/create-for-authenticated-user", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#create-a-user-project" - }, - "parameters": [], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "properties": { - "name": { - "description": "Name of the project", - "example": "Week One Sprint", - "type": "string" - }, - "body": { - "description": "Body of the project", - "example": "This project represents the sprint of the first week in January", - "type": "string", - "nullable": true - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "examples": { - "default": { - "summary": "Create a new project", - "value": { - "name": "My Projects", - "body": "A board to manage my personal projects." - } - } - } - } - } - }, - "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Project", - "description": "Projects are a way to organize columns and cards of work.", - "type": "object", - "properties": { - "owner_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/api-playground/projects-test" - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/api-playground/projects-test/projects/12" - }, - "columns_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604/columns" - }, - "id": { - "type": "integer", - "example": 1002604 - }, - "node_id": { - "type": "string", - "example": "MDc6UHJvamVjdDEwMDI2MDQ=" - }, - "name": { - "description": "Name of the project", - "example": "Week One Sprint", - "type": "string" - }, - "body": { - "description": "Body of the project", - "example": "This project represents the sprint of the first week in January", - "type": "string", - "nullable": true - }, - "number": { - "type": "integer", - "example": 1 - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "example": "open", - "type": "string" - }, - "creator": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2011-04-10T20:09:31Z" - }, - "updated_at": { - "type": "string", - "format": "date-time", - "example": "2014-03-03T18:58:10Z" - }, - "organization_permission": { - "description": "The baseline permission that all organization members have on this project. Only present if owner is an organization.", - "type": "string", - "enum": [ - "read", - "write", - "admin", - "none" - ] - }, - "private": { - "description": "Whether or not this project can be seen by everyone. Only present if owner is an organization.", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "number", - "name", - "body", - "state", - "url", - "html_url", - "owner_url", - "creator", - "columns_url", - "created_at", - "updated_at" - ] - }, - "examples": { - "default": { - "value": { - "owner_url": "https://api.github.com/users/octocat", - "url": "https://api.github.com/projects/1002603", - "html_url": "https://github.com/users/octocat/projects/1", - "columns_url": "https://api.github.com/projects/1002603/columns", - "id": 1002603, - "node_id": "MDc6UHJvamVjdDEwMDI2MDM=", - "name": "My Projects", - "body": "A board to manage my personal projects.", - "number": 1, - "state": "open", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-10T20:09:31Z", - "updated_at": "2014-03-03T18:58:10Z" - } - } - } - } - } - }, - "304": { - "description": "Not modified" - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "401": { - "description": "Requires authentication", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error Simple", - "description": "Validation Error Simple", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - } - }, "/user/public_emails": { "get": { "summary": "List public email addresses for the authenticated user", @@ -650975,421 +647804,6 @@ } } }, - "/users/{username}/projects": { - "get": { - "summary": "List user projects", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/list-for-user", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-user-projects" - }, - "parameters": [ - { - "name": "username", - "description": "The handle for the GitHub user account.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "state", - "description": "Indicates the state of the projects to return.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "open", - "closed", - "all" - ], - "default": "open" - } - }, - { - "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 30 - } - }, - { - "name": "page", - "description": "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 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Project", - "description": "Projects are a way to organize columns and cards of work.", - "type": "object", - "properties": { - "owner_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/api-playground/projects-test" - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/api-playground/projects-test/projects/12" - }, - "columns_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604/columns" - }, - "id": { - "type": "integer", - "example": 1002604 - }, - "node_id": { - "type": "string", - "example": "MDc6UHJvamVjdDEwMDI2MDQ=" - }, - "name": { - "description": "Name of the project", - "example": "Week One Sprint", - "type": "string" - }, - "body": { - "description": "Body of the project", - "example": "This project represents the sprint of the first week in January", - "type": "string", - "nullable": true - }, - "number": { - "type": "integer", - "example": 1 - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "example": "open", - "type": "string" - }, - "creator": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ], - "nullable": true - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2011-04-10T20:09:31Z" - }, - "updated_at": { - "type": "string", - "format": "date-time", - "example": "2014-03-03T18:58:10Z" - }, - "organization_permission": { - "description": "The baseline permission that all organization members have on this project. Only present if owner is an organization.", - "type": "string", - "enum": [ - "read", - "write", - "admin", - "none" - ] - }, - "private": { - "description": "Whether or not this project can be seen by everyone. Only present if owner is an organization.", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "number", - "name", - "body", - "state", - "url", - "html_url", - "owner_url", - "creator", - "columns_url", - "created_at", - "updated_at" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "owner_url": "https://api.github.com/users/octocat", - "url": "https://api.github.com/projects/1002603", - "html_url": "https://github.com/users/octocat/projects/1", - "columns_url": "https://api.github.com/projects/1002603/columns", - "id": 1002603, - "node_id": "MDc6UHJvamVjdDEwMDI2MDM=", - "name": "My Projects", - "body": "A board to manage my personal projects.", - "number": 1, - "state": "open", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-10T20:09:31Z", - "updated_at": "2014-03-03T18:58:10Z" - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } - } - }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error", - "description": "Validation Error", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "required": [ - "code" - ], - "properties": { - "resource": { - "type": "string" - }, - "field": { - "type": "string" - }, - "message": { - "type": "string" - }, - "code": { - "type": "string" - }, - "index": { - "type": "integer" - }, - "value": { - "oneOf": [ - { - "type": "string", - "nullable": true - }, - { - "type": "integer", - "nullable": true - }, - { - "type": "array", - "nullable": true, - "items": { - "type": "string" - } - } - ] - } - } - } - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - } - }, "/users/{username}/projectsV2": { "get": { "summary": "List projects for user", diff --git a/descriptions/ghec/dereferenced/ghec.deref.yaml b/descriptions/ghec/dereferenced/ghec.deref.yaml index 9882bdc41..f776f3713 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.deref.yaml @@ -865,7 +865,7 @@ paths: - subscriptions_url - type - url - type: &432 + type: &431 type: string description: The type of credit the user is receiving. enum: @@ -1031,7 +1031,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: - - &761 + - &759 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1715,7 +1715,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &771 + schema: &769 title: Scim Error description: Scim Error type: object @@ -2892,7 +2892,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &410 + properties: &409 id: description: Unique identifier of the repository example: 42 @@ -3330,7 +3330,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &411 + required: &410 - archive_url - assignees_url - blobs_url @@ -8719,7 +8719,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &772 + '401': &770 description: Authorization failure '404': *6 x-github: @@ -12922,7 +12922,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &547 + instances_url: &544 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -12957,7 +12957,7 @@ paths: format: date-time readOnly: true nullable: true - dismissed_reason: &548 + dismissed_reason: &545 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -12966,13 +12966,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &549 + dismissed_comment: &546 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &550 + rule: &547 type: object properties: id: @@ -13025,7 +13025,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &551 + tool: &548 type: object properties: name: *107 @@ -13035,15 +13035,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *108 - most_recent_instance: &552 + most_recent_instance: &549 type: object properties: - ref: &545 + ref: &542 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &562 + analysis_key: &559 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -13054,7 +13054,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &563 + category: &560 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -16743,7 +16743,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &602 + - &599 name: has in: query description: |- @@ -16856,7 +16856,7 @@ paths: - unknown - direct - transitive - security_advisory: &603 + security_advisory: &600 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -17088,7 +17088,7 @@ paths: nullable: true maxLength: 280 fixed_at: *133 - auto_dismissed_at: &604 + auto_dismissed_at: &601 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -18226,7 +18226,7 @@ paths: - name - created_on examples: - default: &443 + default: &442 value: total_count: 2 network_configurations: @@ -18449,7 +18449,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise parameters: - *41 - - &444 + - &443 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -18461,7 +18461,7 @@ paths: description: Response content: application/json: - schema: &445 + schema: &444 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -18495,7 +18495,7 @@ paths: - subnet_id - region examples: - default: &446 + default: &445 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -19295,7 +19295,7 @@ paths: required: true content: application/json: - schema: &409 + schema: &408 title: Custom Property Set Payload description: Custom property set payload type: object @@ -20414,7 +20414,7 @@ paths: nullable: true anyOf: - *157 - - &415 + - &414 title: Organization ruleset conditions type: object description: |- @@ -20461,7 +20461,7 @@ paths: - *160 rules: type: array - items: &727 + items: &725 title: Repository Rule type: object description: A repository rule. @@ -20470,7 +20470,7 @@ paths: - *166 - *167 - *168 - - &724 + - &722 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -20564,7 +20564,7 @@ paths: - *182 - *183 - *184 - - &725 + - &723 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code review. @@ -20820,7 +20820,7 @@ paths: type: string format: date-time examples: - default: &418 + default: &417 value: - version_id: 3 actor: @@ -20873,7 +20873,7 @@ paths: description: Response content: application/json: - schema: &419 + schema: &418 allOf: - *189 - type: object @@ -20928,7 +20928,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *41 - - &420 + - &419 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -20939,7 +20939,7 @@ paths: enum: - open - resolved - - &421 + - &420 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -20949,7 +20949,7 @@ paths: required: false schema: type: string - - &422 + - &421 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -20958,7 +20958,7 @@ paths: required: false schema: type: string - - &423 + - &422 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. @@ -20974,7 +20974,7 @@ paths: - *17 - *104 - *105 - - &424 + - &423 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -20983,7 +20983,7 @@ paths: required: false schema: type: string - - &425 + - &424 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -20992,7 +20992,7 @@ paths: schema: type: boolean default: false - - &426 + - &425 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -21001,7 +21001,7 @@ paths: schema: type: boolean default: false - - &427 + - &426 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -21017,7 +21017,7 @@ paths: application/json: schema: type: array - items: &428 + items: &427 type: object properties: number: *123 @@ -21036,14 +21036,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &739 + state: &737 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: &740 + resolution: &738 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -21150,8 +21150,8 @@ paths: pull request. ' - oneOf: &741 - - &743 + oneOf: &739 + - &741 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -21203,7 +21203,7 @@ paths: - blob_url - commit_sha - commit_url - - &744 + - &742 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -21258,7 +21258,7 @@ paths: - page_url - commit_sha - commit_url - - &745 + - &743 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -21272,7 +21272,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &746 + - &744 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -21286,7 +21286,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &747 + - &745 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -21300,7 +21300,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &748 + - &746 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -21314,7 +21314,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &749 + - &747 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -21328,7 +21328,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &750 + - &748 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -21342,7 +21342,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &751 + - &749 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -21356,7 +21356,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &752 + - &750 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -21370,7 +21370,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &753 + - &751 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -21384,7 +21384,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &754 + - &752 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -21398,7 +21398,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &755 + - &753 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -21425,7 +21425,7 @@ paths: required: *21 nullable: true examples: - default: &429 + default: &428 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -21634,7 +21634,7 @@ paths: description: Response content: application/json: - schema: &430 + schema: &429 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. @@ -21717,7 +21717,7 @@ paths: description: Overrides for custom patterns defined by the organization. items: *191 examples: - default: &431 + default: &430 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -21861,7 +21861,7 @@ paths: description: Response content: application/json: - schema: &434 + schema: &433 type: object properties: total_minutes_used: @@ -21931,7 +21931,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &435 + default: &434 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -21962,7 +21962,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *41 - - &436 + - &435 name: advanced_security_product in: query description: | @@ -21982,7 +21982,7 @@ paths: description: Success content: application/json: - schema: &437 + schema: &436 type: object properties: total_advanced_security_committers: @@ -22037,7 +22037,7 @@ paths: required: - repositories examples: - default: &438 + default: &437 value: total_advanced_security_committers: 2 total_count: 2 @@ -22657,7 +22657,7 @@ paths: description: Response content: application/json: - schema: &439 + schema: &438 type: object properties: total_gigabytes_bandwidth_used: @@ -22675,7 +22675,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &440 + default: &439 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -22919,7 +22919,7 @@ paths: description: Response content: application/json: - schema: &441 + schema: &440 type: object properties: days_left_in_billing_cycle: @@ -22937,7 +22937,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &442 + default: &441 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -24169,7 +24169,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &661 + properties: &659 id: type: integer format: int64 @@ -24281,7 +24281,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &401 + properties: &400 url: type: string format: uri @@ -24351,7 +24351,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &402 + required: &401 - closed_issues - creator - description @@ -24541,7 +24541,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &799 + sub_issues_summary: &797 title: Sub-issues Summary type: object properties: @@ -24561,7 +24561,7 @@ paths: type: string format: uri nullable: true - issue_dependencies_summary: &800 + issue_dependencies_summary: &798 title: Issue Dependencies Summary type: object properties: @@ -24580,7 +24580,7 @@ paths: - total_blocking issue_field_values: type: array - items: &801 + items: &799 title: Issue Field Value description: A value assigned to an issue field type: object @@ -24640,7 +24640,7 @@ paths: - node_id - data_type - value - required: &662 + required: &660 - assignee - closed_at - comments @@ -24661,7 +24661,7 @@ paths: - user - created_at - updated_at - comment: &659 + comment: &657 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -25219,7 +25219,7 @@ paths: url: type: string format: uri - user: &813 + user: &811 title: Public User description: Public User type: object @@ -28525,14 +28525,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: - - &466 + - &465 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &467 + - &466 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -28594,7 +28594,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &480 + '301': &477 description: Moved permanently content: application/json: @@ -28616,7 +28616,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &691 + - &689 name: all description: If `true`, show notifications marked as read. in: query @@ -28624,7 +28624,7 @@ paths: schema: type: boolean default: false - - &692 + - &690 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -28634,7 +28634,7 @@ paths: type: boolean default: false - *216 - - &693 + - &691 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: @@ -28946,7 +28946,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &412 + security_and_analysis: &411 nullable: true type: object properties: @@ -29116,7 +29116,7 @@ paths: - url - subscription_url examples: - default: &694 + default: &692 value: - id: '1' repository: @@ -30087,7 +30087,7 @@ paths: type: array items: *151 examples: - default: &700 + default: &698 value: - property_name: environment value: production @@ -30137,7 +30137,7 @@ paths: required: - properties examples: - default: &701 + default: &699 value: properties: - property_name: environment @@ -31256,7 +31256,7 @@ paths: type: integer repository_cache_usages: type: array - items: &485 + items: &482 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -33370,7 +33370,7 @@ paths: type: array items: *280 examples: - default: &816 + default: &814 value: total_count: 1 repositories: @@ -34412,7 +34412,7 @@ paths: description: Response content: application/json: - schema: &505 + schema: &502 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -34441,7 +34441,7 @@ paths: - key_id - key examples: - default: &506 + default: &503 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -34854,7 +34854,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *83 - - &490 + - &487 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)." @@ -35665,12 +35665,12 @@ paths: required: - subject_digests examples: - default: &844 + default: &842 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &845 + withPredicateType: &843 value: subject_digests: - sha256:abc123 @@ -35728,7 +35728,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &846 + default: &844 value: attestations_subject_digests: - sha256:abc: @@ -36077,7 +36077,7 @@ paths: initiator: type: string examples: - default: &519 + default: &516 value: attestations: - bundle: @@ -36994,7 +36994,7 @@ paths: be returned. in: query required: false - schema: &546 + schema: &543 type: string description: Severity of a code scanning alert. enum: @@ -38040,7 +38040,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &575 + properties: &572 name: type: string description: The name of the machine. @@ -38082,7 +38082,7 @@ paths: - ready - in_progress nullable: true - required: &576 + required: &573 - name - display_name - operating_system @@ -38950,7 +38950,7 @@ paths: - updated_at - visibility examples: - default: &577 + default: &574 value: total_count: 2 secrets: @@ -38988,7 +38988,7 @@ paths: description: Response content: application/json: - schema: &578 + schema: &575 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -39017,7 +39017,7 @@ paths: - key_id - key examples: - default: &579 + default: &576 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -39049,7 +39049,7 @@ paths: application/json: schema: *322 examples: - default: &581 + default: &578 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -40758,7 +40758,7 @@ paths: description: Response content: application/json: - schema: &607 + schema: &604 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -40775,7 +40775,7 @@ paths: - key_id - key examples: - default: &608 + default: &605 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -41105,7 +41105,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *83 - - &616 + - &613 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -41113,7 +41113,7 @@ paths: required: false schema: type: string - - &617 + - &614 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -41121,7 +41121,7 @@ paths: required: false schema: type: string - - &618 + - &615 name: time_period description: |- The time period to filter by. @@ -41137,7 +41137,7 @@ paths: - week - month default: month - - &619 + - &616 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -41162,7 +41162,7 @@ paths: application/json: schema: type: array - items: &620 + items: &617 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -41318,7 +41318,7 @@ paths: format: uri example: https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &621 + default: &618 value: - id: 21 number: 42 @@ -41409,7 +41409,7 @@ paths: - *99 - *100 - *101 - - &622 + - &619 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -41435,7 +41435,7 @@ paths: application/json: schema: type: array - items: &623 + items: &620 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -41556,7 +41556,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &624 + default: &621 value: - id: 21 number: 42 @@ -41901,7 +41901,7 @@ paths: description: Response content: application/json: - schema: &461 + schema: &460 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -41982,7 +41982,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &462 + default: &461 value: group_id: '123' group_name: Octocat admins @@ -42037,7 +42037,7 @@ paths: description: Response content: application/json: - schema: &459 + schema: &458 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -42074,7 +42074,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &460 + default: &459 value: groups: - group_id: '123' @@ -42232,7 +42232,7 @@ paths: application/json: schema: type: array - items: &413 + items: &412 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -42246,7 +42246,7 @@ paths: - name - description examples: - default: &414 + default: &413 value: - name: add_assignee description: Assign or remove a user @@ -43376,7 +43376,7 @@ paths: application/json: schema: *22 examples: - default: &655 + default: &652 value: id: 1 account: @@ -43601,7 +43601,7 @@ paths: required: true content: application/json: - schema: &656 + schema: &653 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -44462,7 +44462,7 @@ paths: application/json: schema: *369 examples: - default: &574 + default: &571 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -45707,7 +45707,7 @@ paths: parameters: - *83 - *375 - - &829 + - &827 name: repo_name description: repo_name parameter in: path @@ -46739,7 +46739,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &433 + items: &432 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -47033,7 +47033,7 @@ paths: - nuget - container - *83 - - &830 + - &828 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -47074,7 +47074,7 @@ paths: default: *381 '403': *29 '401': *25 - '400': &832 + '400': &830 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -48767,266 +48767,6 @@ paths: enabledForGitHubApps: true category: private-registries subcategory: organization-configurations - "/orgs/{org}/projects": - get: - summary: List organization projects - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/list-for-org - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-organization-projects - parameters: - - *83 - - name: state - description: Indicates the state of the projects to return. - in: query - required: false - schema: - type: string - enum: - - open - - closed - - all - default: open - - *17 - - *19 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: &396 - title: Project - description: Projects are a way to organize columns and cards of - work. - type: object - properties: - owner_url: - type: string - format: uri - example: https://api.github.com/repos/api-playground/projects-test - url: - type: string - format: uri - example: https://api.github.com/projects/1002604 - html_url: - type: string - format: uri - example: https://github.com/api-playground/projects-test/projects/12 - columns_url: - type: string - format: uri - example: https://api.github.com/projects/1002604/columns - id: - type: integer - example: 1002604 - node_id: - type: string - example: MDc6UHJvamVjdDEwMDI2MDQ= - name: - description: Name of the project - example: Week One Sprint - type: string - body: - description: Body of the project - example: This project represents the sprint of the first week - in January - type: string - nullable: true - number: - type: integer - example: 1 - state: - description: State of the project; either 'open' or 'closed' - example: open - type: string - creator: - title: Simple User - description: A GitHub user. - type: object - properties: *20 - required: *21 - nullable: true - created_at: - type: string - format: date-time - example: '2011-04-10T20:09:31Z' - updated_at: - type: string - format: date-time - example: '2014-03-03T18:58:10Z' - organization_permission: - description: The baseline permission that all organization members - have on this project. Only present if owner is an organization. - type: string - enum: - - read - - write - - admin - - none - private: - description: Whether or not this project can be seen by everyone. - Only present if owner is an organization. - type: boolean - required: - - id - - node_id - - number - - name - - body - - state - - url - - html_url - - owner_url - - creator - - columns_url - - created_at - - updated_at - examples: - default: - value: - - owner_url: https://api.github.com/orgs/octocat - url: https://api.github.com/projects/1002605 - html_url: https://github.com/orgs/api-playground/projects/1 - columns_url: https://api.github.com/projects/1002605/columns - id: 1002605 - node_id: MDc6UHJvamVjdDEwMDI2MDU= - name: Organization Roadmap - body: High-level roadmap for the upcoming year. - number: 1 - state: open - creator: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - created_at: '2011-04-11T20:09:31Z' - updated_at: '2014-03-04T18:58:10Z' - organization_permission: write - private: true - headers: - Link: *43 - '422': *7 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true - post: - summary: Create an organization project - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/create-for-org - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#create-an-organization-project - parameters: - - *83 - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - name: - type: string - description: The name of the project. - body: - type: string - description: The description of the project. - required: - - name - examples: - default: - value: - name: Organization Roadmap - body: High-level roadmap for the upcoming year. - responses: - '201': - description: Response - content: - application/json: - schema: *396 - examples: - default: - value: - owner_url: https://api.github.com/orgs/octocat - url: https://api.github.com/projects/1002605 - html_url: https://github.com/orgs/api-playground/projects/1 - columns_url: https://api.github.com/projects/1002605/columns - id: 1002605 - node_id: MDc6UHJvamVjdDEwMDI2MDU= - name: Organization Roadmap - body: High-level roadmap for the upcoming year. - number: 1 - state: open - creator: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - created_at: '2011-04-11T20:09:31Z' - updated_at: '2014-03-04T18:58:10Z' - '401': *25 - '403': *29 - '404': *6 - '410': &477 - description: Gone - content: - application/json: - schema: *3 - '422': *7 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true "/orgs/{org}/projectsV2": get: summary: List projects for organization @@ -49056,7 +48796,7 @@ paths: application/json: schema: type: array - items: &397 + items: &396 title: Projects v2 Project description: A projects v2 project type: object @@ -49126,7 +48866,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &910 + properties: &908 id: type: number description: The unique identifier of the status update. @@ -49174,7 +48914,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &911 + required: &909 - id - node_id - created_at @@ -49199,7 +48939,7 @@ paths: - deleted_at - deleted_by examples: - default: &398 + default: &397 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -49302,7 +49042,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-organization parameters: - - &399 + - &398 name: project_number description: The project's number. in: path @@ -49315,9 +49055,9 @@ paths: description: Response content: application/json: - schema: *397 + schema: *396 examples: - default: *398 + default: *397 headers: Link: *43 '304': *37 @@ -49339,7 +49079,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-organization parameters: - - *399 + - *398 - *83 - *17 - *104 @@ -49351,7 +49091,7 @@ paths: application/json: schema: type: array - items: &400 + items: &399 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -49498,7 +49238,7 @@ paths: - updated_at - project_url examples: - default: &849 + default: &847 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -49601,8 +49341,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-organization parameters: - - *399 - - &850 + - *398 + - &848 name: field_id description: The unique identifier of the field. in: path @@ -49615,9 +49355,9 @@ paths: description: Response content: application/json: - schema: *400 + schema: *399 examples: - default: &851 + default: &849 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -49661,7 +49401,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *399 + - *398 - *83 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) @@ -49694,7 +49434,7 @@ paths: application/json: schema: type: array - items: &406 + items: &405 title: Projects v2 Item description: An item belonging to a project type: object @@ -49710,7 +49450,7 @@ paths: format: uri example: https://api.github.com/users/monalisa/2/projectsV2/3 description: The API URL of the project that contains this item. - content_type: &404 + content_type: &403 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -49760,7 +49500,7 @@ paths: - updated_at - archived_at examples: - default: &407 + default: &406 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -50455,7 +50195,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-organization-owned-project parameters: - *83 - - *399 + - *398 requestBody: required: true description: Details of the item to add to the project. @@ -50492,7 +50232,7 @@ paths: description: Response content: application/json: - schema: &852 + schema: &850 title: Projects v2 Item description: An item belonging to a project type: object @@ -50506,7 +50246,7 @@ paths: content: oneOf: - *226 - - &589 + - &586 title: Pull Request Simple description: Pull Request Simple type: object @@ -50612,8 +50352,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *401 - required: *402 + properties: *400 + required: *401 nullable: true active_lock_reason: type: string @@ -50709,7 +50449,7 @@ paths: _links: type: object properties: - comments: &403 + comments: &402 title: Link description: Hypermedia Link type: object @@ -50718,13 +50458,13 @@ paths: type: string required: - href - commits: *403 - statuses: *403 - html: *403 - issue: *403 - review_comments: *403 - review_comment: *403 - self: *403 + commits: *402 + statuses: *402 + html: *402 + issue: *402 + review_comments: *402 + review_comment: *402 + self: *402 required: - comments - commits @@ -50735,7 +50475,7 @@ paths: - review_comment - self author_association: *213 - auto_merge: &703 + auto_merge: &701 title: Auto merge description: The status of auto merging a pull request. type: object @@ -50837,7 +50577,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *404 + content_type: *403 creator: *4 created_at: type: string @@ -50870,7 +50610,7 @@ paths: - updated_at - archived_at examples: - issue: &405 + issue: &404 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -50925,7 +50665,7 @@ paths: archived_at: project_url: https://api.github.com/users/octocat/projectsV2/1 item_url: https://api.github.com/users/octocat/projectsV2/items/17 - pull_request: *405 + pull_request: *404 '304': *37 '403': *29 '401': *25 @@ -50945,9 +50685,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *399 + - *398 - *83 - - &408 + - &407 name: item_id description: The unique identifier of the project item. in: path @@ -50973,9 +50713,9 @@ paths: description: Response content: application/json: - schema: *406 + schema: *405 examples: - default: *407 + default: *406 headers: Link: *43 '304': *37 @@ -50996,9 +50736,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-organization parameters: - - *399 + - *398 - *83 - - *408 + - *407 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -51068,13 +50808,13 @@ paths: description: Response content: application/json: - schema: *406 + schema: *405 examples: - text_field: *407 - number_field: *407 - date_field: *407 - single_select_field: *407 - iteration_field: *407 + text_field: *406 + number_field: *406 + date_field: *406 + single_select_field: *406 + iteration_field: *406 '401': *25 '403': *29 '404': *6 @@ -51094,9 +50834,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-organization parameters: - - *399 + - *398 - *83 - - *408 + - *407 responses: '204': description: Response @@ -51259,7 +50999,7 @@ paths: required: true content: application/json: - schema: *409 + schema: *408 examples: default: value: @@ -51827,7 +51567,7 @@ paths: description: Response content: application/json: - schema: &479 + schema: &476 title: Full Repository description: Full Repository type: object @@ -52104,8 +51844,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *410 - required: *411 + properties: *409 + required: *410 nullable: true temp_clone_token: type: string @@ -52220,7 +51960,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &594 + properties: &591 url: type: string format: uri @@ -52236,12 +51976,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &595 + required: &592 - url - key - name - html_url - security_and_analysis: *412 + security_and_analysis: *411 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -52325,7 +52065,7 @@ paths: - network_count - subscribers_count examples: - default: &481 + default: &478 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -52851,9 +52591,9 @@ paths: application/json: schema: type: array - items: *413 + items: *412 examples: - default: *414 + default: *413 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -52878,7 +52618,7 @@ paths: - *83 - *17 - *19 - - &726 + - &724 name: targets description: | A comma-separated list of rule targets to filter by. @@ -52969,11 +52709,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *164 - conditions: *415 + conditions: *414 rules: type: array description: An array of rules within the ruleset. - items: &417 + items: &416 title: Repository Rule type: object description: A repository rule. @@ -53037,7 +52777,7 @@ paths: application/json: schema: *185 examples: - default: &416 + default: &415 value: id: 21 name: super cool ruleset @@ -53092,7 +52832,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *83 - - &728 + - &726 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 @@ -53104,14 +52844,14 @@ paths: x-multi-segment: true - *304 - *101 - - &729 + - &727 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 - - &730 + - &728 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -53131,7 +52871,7 @@ paths: description: Response content: application/json: - schema: &731 + schema: &729 title: Rule Suites description: Response type: array @@ -53186,7 +52926,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &732 + default: &730 value: - id: 21 actor_id: 12 @@ -53230,7 +52970,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *83 - - &733 + - &731 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -53246,7 +52986,7 @@ paths: description: Response content: application/json: - schema: &734 + schema: &732 title: Rule Suite description: Response type: object @@ -53345,7 +53085,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &735 + default: &733 value: id: 21 actor_id: 12 @@ -53420,7 +53160,7 @@ paths: application/json: schema: *185 examples: - default: *416 + default: *415 '404': *6 '500': *40 put: @@ -53469,11 +53209,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *164 - conditions: *415 + conditions: *414 rules: description: An array of rules within the ruleset. type: array - items: *417 + items: *416 examples: default: value: @@ -53510,7 +53250,7 @@ paths: application/json: schema: *185 examples: - default: *416 + default: *415 '404': *6 '500': *40 delete: @@ -53569,7 +53309,7 @@ paths: type: array items: *189 examples: - default: *418 + default: *417 '404': *6 '500': *40 x-github: @@ -53606,7 +53346,7 @@ paths: description: Response content: application/json: - schema: *419 + schema: *418 examples: default: value: @@ -53669,14 +53409,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *83 + - *419 - *420 - *421 - *422 - - *423 - *106 - *19 - *17 - - &737 + - &735 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 @@ -53686,7 +53426,7 @@ paths: required: false schema: type: string - - &738 + - &736 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 @@ -53696,10 +53436,10 @@ paths: required: false schema: type: string + - *423 - *424 - *425 - *426 - - *427 responses: '200': description: Response @@ -53707,9 +53447,9 @@ paths: application/json: schema: type: array - items: *428 + items: *427 examples: - default: *429 + default: *428 headers: Link: *43 '404': *6 @@ -53744,9 +53484,9 @@ paths: description: Response content: application/json: - schema: *430 + schema: *429 examples: - default: *431 + default: *430 '403': *29 '404': *6 patch: @@ -53899,7 +53639,7 @@ paths: application/json: schema: type: array - items: &759 + items: &757 description: A repository security advisory. type: object properties: @@ -54119,7 +53859,7 @@ paths: login: type: string description: The username of the user credited. - type: *432 + type: *431 credits_detailed: type: array nullable: true @@ -54129,7 +53869,7 @@ paths: type: object properties: user: *4 - type: *432 + type: *431 state: type: string description: The state of the user's acceptance of the @@ -54190,7 +53930,7 @@ paths: - private_fork additionalProperties: false examples: - default: &760 + default: &758 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -54577,7 +54317,7 @@ paths: application/json: schema: type: array - items: *433 + items: *432 examples: default: *379 x-github: @@ -54664,9 +54404,9 @@ paths: description: Response content: application/json: - schema: *434 + schema: *433 examples: - default: *435 + default: *434 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -54691,7 +54431,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *83 - - *436 + - *435 - *17 - *19 responses: @@ -54699,9 +54439,9 @@ paths: description: Success content: application/json: - schema: *437 + schema: *436 examples: - default: *438 + default: *437 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -54729,9 +54469,9 @@ paths: description: Response content: application/json: - schema: *439 + schema: *438 examples: - default: *440 + default: *439 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -54759,9 +54499,9 @@ paths: description: Response content: application/json: - schema: *441 + schema: *440 examples: - default: *442 + default: *441 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -55042,7 +54782,7 @@ paths: type: array items: *143 examples: - default: *443 + default: *442 headers: Link: *43 x-github: @@ -55243,15 +54983,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - *83 - - *444 + - *443 responses: '200': description: Response content: application/json: - schema: *445 + schema: *444 examples: - default: *446 + default: *445 headers: Link: *43 x-github: @@ -55289,7 +55029,7 @@ paths: description: Response content: application/json: - schema: &468 + schema: &467 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -55335,7 +55075,7 @@ paths: type: string nullable: true examples: - default: &469 + default: &468 value: groups: - group_id: '123' @@ -55543,7 +55283,7 @@ paths: description: Response content: application/json: - schema: &447 + schema: &446 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -55870,7 +55610,7 @@ paths: - repos_count - organization examples: - default: &448 + default: &447 value: id: 1 node_id: MDQ6VGVhbTE= @@ -55947,9 +55687,9 @@ paths: description: Response content: application/json: - schema: *447 + schema: *446 examples: - default: *448 + default: *447 '404': *6 x-github: githubCloudOnly: false @@ -56033,16 +55773,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *447 + schema: *446 examples: - default: *448 + default: *447 '201': description: Response content: application/json: - schema: *447 + schema: *446 examples: - default: *448 + default: *447 '404': *6 '422': *15 '403': *29 @@ -56112,7 +55852,7 @@ paths: application/json: schema: type: array - items: &449 + items: &448 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -56211,7 +55951,7 @@ paths: - updated_at - url examples: - default: &803 + default: &801 value: - author: login: octocat @@ -56320,9 +56060,9 @@ paths: description: Response content: application/json: - schema: *449 + schema: *448 examples: - default: &450 + default: &449 value: author: login: octocat @@ -56396,7 +56136,7 @@ paths: parameters: - *83 - *209 - - &451 + - &450 name: discussion_number description: The number that identifies the discussion. in: path @@ -56408,9 +56148,9 @@ paths: description: Response content: application/json: - schema: *449 + schema: *448 examples: - default: *450 + default: *449 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56434,7 +56174,7 @@ paths: parameters: - *83 - *209 - - *451 + - *450 requestBody: required: false content: @@ -56457,9 +56197,9 @@ paths: description: Response content: application/json: - schema: *449 + schema: *448 examples: - default: &804 + default: &802 value: author: login: octocat @@ -56531,7 +56271,7 @@ paths: parameters: - *83 - *209 - - *451 + - *450 responses: '204': description: Response @@ -56559,7 +56299,7 @@ paths: parameters: - *83 - *209 - - *451 + - *450 - *106 - *17 - *19 @@ -56570,7 +56310,7 @@ paths: application/json: schema: type: array - items: &452 + items: &451 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -56642,7 +56382,7 @@ paths: - updated_at - url examples: - default: &805 + default: &803 value: - author: login: octocat @@ -56712,7 +56452,7 @@ paths: parameters: - *83 - *209 - - *451 + - *450 requestBody: required: true content: @@ -56734,9 +56474,9 @@ paths: description: Response content: application/json: - schema: *452 + schema: *451 examples: - default: &453 + default: &452 value: author: login: octocat @@ -56804,8 +56544,8 @@ paths: parameters: - *83 - *209 - - *451 - - &454 + - *450 + - &453 name: comment_number description: The number that identifies the comment. in: path @@ -56817,9 +56557,9 @@ paths: description: Response content: application/json: - schema: *452 + schema: *451 examples: - default: *453 + default: *452 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56843,8 +56583,8 @@ paths: parameters: - *83 - *209 - - *451 - - *454 + - *450 + - *453 requestBody: required: true content: @@ -56866,9 +56606,9 @@ paths: description: Response content: application/json: - schema: *452 + schema: *451 examples: - default: &806 + default: &804 value: author: login: octocat @@ -56934,8 +56674,8 @@ paths: parameters: - *83 - *209 - - *451 - - *454 + - *450 + - *453 responses: '204': description: Response @@ -56963,8 +56703,8 @@ paths: parameters: - *83 - *209 - - *451 - - *454 + - *450 + - *453 - 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. @@ -56990,7 +56730,7 @@ paths: application/json: schema: type: array - items: &455 + items: &454 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -57033,7 +56773,7 @@ paths: - content - created_at examples: - default: &457 + default: &456 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -57085,8 +56825,8 @@ paths: parameters: - *83 - *209 - - *451 - - *454 + - *450 + - *453 requestBody: required: true content: @@ -57119,9 +56859,9 @@ paths: team discussion comment content: application/json: - schema: *455 + schema: *454 examples: - default: &456 + default: &455 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -57150,9 +56890,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *454 examples: - default: *456 + default: *455 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57177,9 +56917,9 @@ paths: parameters: - *83 - *209 - - *451 - - *454 - - &458 + - *450 + - *453 + - &457 name: reaction_id description: The unique identifier of the reaction. in: path @@ -57213,7 +56953,7 @@ paths: parameters: - *83 - *209 - - *451 + - *450 - 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. @@ -57239,9 +56979,9 @@ paths: application/json: schema: type: array - items: *455 + items: *454 examples: - default: *457 + default: *456 headers: Link: *43 x-github: @@ -57269,7 +57009,7 @@ paths: parameters: - *83 - *209 - - *451 + - *450 requestBody: required: true content: @@ -57301,16 +57041,16 @@ paths: description: Response content: application/json: - schema: *455 + schema: *454 examples: - default: *456 + default: *455 '201': description: Response content: application/json: - schema: *455 + schema: *454 examples: - default: *456 + default: *455 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -57335,8 +57075,8 @@ paths: parameters: - *83 - *209 - - *451 - - *458 + - *450 + - *457 responses: '204': description: Response @@ -57366,9 +57106,9 @@ paths: description: Response content: application/json: - schema: *459 + schema: *458 examples: - default: *460 + default: *459 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -57411,9 +57151,9 @@ paths: description: Response content: application/json: - schema: *461 + schema: *460 examples: - default: *462 + default: *461 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -57554,7 +57294,7 @@ paths: description: Response content: application/json: - schema: &463 + schema: &462 title: Team Membership description: Team Membership type: object @@ -57581,7 +57321,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &807 + response-if-user-is-a-team-maintainer: &805 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -57644,9 +57384,9 @@ paths: description: Response content: application/json: - schema: *463 + schema: *462 examples: - response-if-users-membership-with-team-is-now-pending: &808 + response-if-users-membership-with-team-is-now-pending: &806 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -57719,7 +57459,7 @@ paths: application/json: schema: type: array - items: &464 + items: &463 title: Team Project description: A team's access to a project. type: object @@ -57787,7 +57527,7 @@ paths: - updated_at - permissions examples: - default: &809 + default: &807 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -57852,7 +57592,7 @@ paths: parameters: - *83 - *209 - - &465 + - &464 name: project_id description: The unique identifier of the project. in: path @@ -57864,9 +57604,9 @@ paths: description: Response content: application/json: - schema: *464 + schema: *463 examples: - default: &810 + default: &808 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -57930,7 +57670,7 @@ paths: parameters: - *83 - *209 - - *465 + - *464 requestBody: required: false content: @@ -57998,7 +57738,7 @@ paths: parameters: - *83 - *209 - - *465 + - *464 responses: '204': description: Response @@ -58069,14 +57809,14 @@ paths: parameters: - *83 - *209 + - *465 - *466 - - *467 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &811 + schema: &809 title: Team Repository description: A team's access to a repository. type: object @@ -58647,8 +58387,8 @@ paths: parameters: - *83 - *209 + - *465 - *466 - - *467 requestBody: required: false content: @@ -58695,8 +58435,8 @@ paths: parameters: - *83 - *209 + - *465 - *466 - - *467 responses: '204': description: Response @@ -58729,9 +58469,9 @@ paths: description: Response content: application/json: - schema: *468 + schema: *467 examples: - default: *469 + default: *468 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -58797,7 +58537,7 @@ paths: description: Response content: application/json: - schema: *468 + schema: *467 examples: default: value: @@ -58842,7 +58582,7 @@ paths: type: array items: *307 examples: - response-if-child-teams-exist: &812 + response-if-child-teams-exist: &810 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -58969,7 +58709,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#get-a-project-card parameters: - - &470 + - &469 name: card_id description: The unique identifier of the card. in: path @@ -58981,7 +58721,7 @@ paths: description: Response content: application/json: - schema: &471 + schema: &470 title: Project Card description: Project cards represent a scope of work. type: object @@ -59048,7 +58788,7 @@ paths: - created_at - updated_at examples: - default: &472 + default: &471 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -59104,7 +58844,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#update-an-existing-project-card parameters: - - *470 + - *469 requestBody: required: false content: @@ -59131,9 +58871,9 @@ paths: description: Response content: application/json: - schema: *471 + schema: *470 examples: - default: *472 + default: *471 '304': *37 '403': *29 '401': *25 @@ -59160,7 +58900,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#delete-a-project-card parameters: - - *470 + - *469 responses: '204': description: Response @@ -59204,7 +58944,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#move-a-project-card parameters: - - *470 + - *469 requestBody: required: true content: @@ -59315,7 +59055,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#get-a-project-column parameters: - - &473 + - &472 name: column_id description: The unique identifier of the column. in: path @@ -59327,7 +59067,7 @@ paths: description: Response content: application/json: - schema: &474 + schema: &473 title: Project Column description: Project columns contain cards of work. type: object @@ -59373,7 +59113,7 @@ paths: - created_at - updated_at examples: - default: &475 + default: &474 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -59408,7 +59148,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#update-an-existing-project-column parameters: - - *473 + - *472 requestBody: required: true content: @@ -59432,9 +59172,9 @@ paths: description: Response content: application/json: - schema: *474 + schema: *473 examples: - default: *475 + default: *474 '304': *37 '403': *29 '401': *25 @@ -59459,7 +59199,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#delete-a-project-column parameters: - - *473 + - *472 responses: '204': description: Response @@ -59488,7 +59228,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#list-project-cards parameters: - - *473 + - *472 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -59509,7 +59249,7 @@ paths: application/json: schema: type: array - items: *471 + items: *470 examples: default: value: @@ -59568,7 +59308,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#create-a-project-card parameters: - - *473 + - *472 requestBody: required: true content: @@ -59608,9 +59348,9 @@ paths: description: Response content: application/json: - schema: *471 + schema: *470 examples: - default: *472 + default: *471 '304': *37 '403': *29 '401': *25 @@ -59666,7 +59406,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#move-a-project-column parameters: - - *473 + - *472 requestBody: required: true content: @@ -59712,208 +59452,6 @@ paths: deprecationDate: '2024-05-23' removalDate: '2025-04-01' deprecated: true - "/projects/{project_id}": - get: - summary: Get a project - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/get - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#get-a-project - parameters: - - *465 - responses: - '200': - description: Response - content: - application/json: - schema: *396 - examples: - default: &476 - value: - owner_url: https://api.github.com/repos/api-playground/projects-test - url: https://api.github.com/projects/1002604 - html_url: https://github.com/api-playground/projects-test/projects/1 - columns_url: https://api.github.com/projects/1002604/columns - id: 1002604 - node_id: MDc6UHJvamVjdDEwMDI2MDQ= - name: Projects Documentation - body: Developer documentation project for the developer site. - number: 1 - state: open - creator: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - created_at: '2011-04-10T20:09:31Z' - updated_at: '2014-03-03T18:58:10Z' - '304': *37 - '403': *29 - '401': *25 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true - patch: - summary: Update a project - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - operationId: projects-classic/update - tags: - - projects-classic - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#update-a-project - parameters: - - *465 - requestBody: - required: false - content: - application/json: - schema: - properties: - name: - description: Name of the project - example: Week One Sprint - type: string - body: - description: Body of the project - example: This project represents the sprint of the first week in - January - type: string - nullable: true - state: - description: State of the project; either 'open' or 'closed' - example: open - type: string - organization_permission: - description: The baseline permission that all organization members - have on this project - type: string - enum: - - read - - write - - admin - - none - private: - description: Whether or not this project can be seen by everyone. - type: boolean - type: object - examples: - default: - summary: Change the name, state, and permissions for a project - value: - name: Week One Sprint - state: open - organization_permission: write - responses: - '200': - description: Response - content: - application/json: - schema: *396 - examples: - default: *476 - '404': - description: Not Found if the authenticated user does not have access to - the project - '304': *37 - '403': - description: Forbidden - content: - application/json: - schema: - type: object - properties: - message: - type: string - documentation_url: - type: string - errors: - type: array - items: - type: string - '401': *25 - '410': *477 - '422': *7 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true - delete: - summary: Delete a project - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - operationId: projects-classic/delete - tags: - - projects-classic - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#delete-a-project - parameters: - - *465 - responses: - '204': - description: Delete Success - '304': *37 - '403': - description: Forbidden - content: - application/json: - schema: - type: object - properties: - message: - type: string - documentation_url: - type: string - errors: - type: array - items: - type: string - '401': *25 - '410': *477 - '404': *6 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true "/projects/{project_id}/collaborators": get: summary: List project collaborators @@ -59928,7 +59466,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#list-project-collaborators parameters: - - *465 + - *464 - 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 @@ -59985,7 +59523,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#add-project-collaborator parameters: - - *465 + - *464 - *138 requestBody: required: false @@ -60038,7 +59576,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *465 + - *464 - *138 responses: '204': @@ -60070,7 +59608,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *465 + - *464 - *138 responses: '200': @@ -60171,7 +59709,7 @@ paths: resources: type: object properties: - core: &478 + core: &475 title: Rate Limit type: object properties: @@ -60188,21 +59726,21 @@ paths: - remaining - reset - used - graphql: *478 - search: *478 - code_search: *478 - source_import: *478 - integration_manifest: *478 - code_scanning_upload: *478 - actions_runner_registration: *478 - scim: *478 - dependency_snapshots: *478 - dependency_sbom: *478 - code_scanning_autofix: *478 + graphql: *475 + search: *475 + code_search: *475 + source_import: *475 + integration_manifest: *475 + code_scanning_upload: *475 + actions_runner_registration: *475 + scim: *475 + dependency_snapshots: *475 + dependency_sbom: *475 + code_scanning_autofix: *475 required: - core - search - rate: *478 + rate: *475 required: - rate - resources @@ -60307,14 +59845,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: + - *465 - *466 - - *467 responses: '200': description: Response content: application/json: - schema: *479 + schema: *476 examples: default-response: summary: Default response @@ -60819,7 +60357,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *480 + '301': *477 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60837,8 +60375,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: + - *465 - *466 - - *467 requestBody: required: false content: @@ -61095,10 +60633,10 @@ paths: description: Response content: application/json: - schema: *479 + schema: *476 examples: - default: *481 - '307': &482 + default: *478 + '307': &479 description: Temporary Redirect content: application/json: @@ -61127,8 +60665,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: + - *465 - *466 - - *467 responses: '204': description: Response @@ -61150,7 +60688,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': *482 + '307': *479 '404': *6 '409': *114 x-github: @@ -61174,11 +60712,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: + - *465 - *466 - - *467 - *17 - *19 - - &497 + - &494 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -61201,7 +60739,7 @@ paths: type: integer artifacts: type: array - items: &483 + items: &480 title: Artifact description: An artifact type: object @@ -61279,7 +60817,7 @@ paths: - expires_at - updated_at examples: - default: &498 + default: &495 value: total_count: 2 artifacts: @@ -61340,9 +60878,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: + - *465 - *466 - - *467 - - &484 + - &481 name: artifact_id description: The unique identifier of the artifact. in: path @@ -61354,7 +60892,7 @@ paths: description: Response content: application/json: - schema: *483 + schema: *480 examples: default: value: @@ -61392,9 +60930,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: + - *465 - *466 - - *467 - - *484 + - *481 responses: '204': description: Response @@ -61418,9 +60956,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: + - *465 - *466 - - *467 - - *484 + - *481 - name: archive_format in: path required: true @@ -61434,7 +60972,11 @@ 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': *477 + '410': &656 + description: Gone + content: + application/json: + schema: *3 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61457,14 +60999,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: + - *465 - *466 - - *467 responses: '200': description: Response content: application/json: - schema: *485 + schema: *482 examples: default: value: @@ -61490,11 +61032,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: + - *465 - *466 - - *467 - *17 - *19 - - &486 + - &483 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 @@ -61528,7 +61070,7 @@ paths: description: Response content: application/json: - schema: &487 + schema: &484 title: Repository actions caches description: Repository actions caches type: object @@ -61570,7 +61112,7 @@ paths: - total_count - actions_caches examples: - default: &488 + default: &485 value: total_count: 1 actions_caches: @@ -61602,23 +61144,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: + - *465 - *466 - - *467 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *486 + - *483 responses: '200': description: Response content: application/json: - schema: *487 + schema: *484 examples: - default: *488 + default: *485 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61638,8 +61180,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: + - *465 - *466 - - *467 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -61670,9 +61212,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: + - *465 - *466 - - *467 - - &489 + - &486 name: job_id description: The unique identifier of the job. in: path @@ -61684,7 +61226,7 @@ paths: description: Response content: application/json: - schema: &501 + schema: &498 title: Job description: Information of a job execution in a workflow run type: object @@ -61991,9 +61533,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: + - *465 - *466 - - *467 - - *489 + - *486 responses: '302': description: Response @@ -62021,9 +61563,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: + - *465 - *466 - - *467 - - *489 + - *486 requestBody: required: false content: @@ -62068,8 +61610,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: + - *465 - *466 - - *467 responses: '200': description: Status response @@ -62119,8 +61661,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: + - *465 - *466 - - *467 requestBody: required: true content: @@ -62183,8 +61725,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: + - *465 - *466 - - *467 - *17 - *19 responses: @@ -62202,7 +61744,7 @@ paths: type: integer secrets: type: array - items: &503 + items: &500 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -62222,7 +61764,7 @@ paths: - created_at - updated_at examples: - default: &504 + default: &501 value: total_count: 2 secrets: @@ -62255,9 +61797,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: + - *465 - *466 - - *467 - - *490 + - *487 - *19 responses: '200': @@ -62274,7 +61816,7 @@ paths: type: integer variables: type: array - items: &507 + items: &504 title: Actions Variable type: object properties: @@ -62304,7 +61846,7 @@ paths: - created_at - updated_at examples: - default: &508 + default: &505 value: total_count: 2 variables: @@ -62337,8 +61879,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: + - *465 - *466 - - *467 responses: '200': description: Response @@ -62347,7 +61889,7 @@ paths: schema: type: object properties: - enabled: &491 + enabled: &488 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *56 @@ -62382,8 +61924,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: + - *465 - *466 - - *467 responses: '204': description: Response @@ -62394,7 +61936,7 @@ paths: schema: type: object properties: - enabled: *491 + enabled: *488 allowed_actions: *56 sha_pinning_required: *57 required: @@ -62427,14 +61969,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: + - *465 - *466 - - *467 responses: '200': description: Response content: application/json: - schema: &492 + schema: &489 type: object properties: access_level: @@ -62452,7 +61994,7 @@ paths: required: - access_level examples: - default: &493 + default: &490 value: access_level: organization x-github: @@ -62477,15 +62019,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: + - *465 - *466 - - *467 requestBody: required: true content: application/json: - schema: *492 + schema: *489 examples: - default: *493 + default: *490 responses: '204': description: Response @@ -62509,8 +62051,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: + - *465 - *466 - - *467 responses: '200': description: Response @@ -62540,8 +62082,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: + - *465 - *466 - - *467 responses: '204': description: Empty response for successful settings update @@ -62575,8 +62117,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: + - *465 - *466 - - *467 responses: '200': description: Response @@ -62603,8 +62145,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: + - *465 - *466 - - *467 responses: '204': description: Response @@ -62638,8 +62180,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: + - *465 - *466 - - *467 responses: '200': description: Response @@ -62667,8 +62209,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: + - *465 - *466 - - *467 requestBody: required: true content: @@ -62699,8 +62241,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: + - *465 - *466 - - *467 responses: '200': description: Response @@ -62731,8 +62273,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: + - *465 - *466 - - *467 responses: '204': description: Response @@ -62764,8 +62306,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: + - *465 - *466 - - *467 responses: '200': description: Response @@ -62794,8 +62336,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: + - *465 - *466 - - *467 responses: '204': description: Success response @@ -62835,8 +62377,8 @@ paths: in: query schema: type: string + - *465 - *466 - - *467 - *17 - *19 responses: @@ -62880,8 +62422,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: + - *465 - *466 - - *467 responses: '200': description: Response @@ -62913,8 +62455,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: + - *465 - *466 - - *467 requestBody: required: true content: @@ -62988,8 +62530,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: + - *465 - *466 - - *467 responses: '201': description: Response @@ -63025,8 +62567,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: + - *465 - *466 - - *467 responses: '201': description: Response @@ -63056,8 +62598,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: + - *465 - *466 - - *467 - *71 responses: '200': @@ -63087,8 +62629,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: + - *465 - *466 - - *467 - *71 responses: '204': @@ -63115,8 +62657,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: + - *465 - *466 - - *467 - *71 responses: '200': *77 @@ -63141,8 +62683,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: + - *465 - *466 - - *467 - *71 requestBody: required: true @@ -63191,8 +62733,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: + - *465 - *466 - - *467 - *71 requestBody: required: true @@ -63242,8 +62784,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: + - *465 - *466 - - *467 - *71 responses: '200': *287 @@ -63273,8 +62815,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: + - *465 - *466 - - *467 - *71 - *288 responses: @@ -63304,9 +62846,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: + - *465 - *466 - - *467 - - &511 + - &508 name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -63314,7 +62856,7 @@ paths: required: false schema: type: string - - &512 + - &509 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -63322,7 +62864,7 @@ paths: required: false schema: type: string - - &513 + - &510 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -63331,7 +62873,7 @@ paths: required: false schema: type: string - - &514 + - &511 name: status description: Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status @@ -63358,7 +62900,7 @@ paths: - pending - *17 - *19 - - &515 + - &512 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/enterprise-cloud@latest//search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -63367,7 +62909,7 @@ paths: schema: type: string format: date-time - - &494 + - &491 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -63376,13 +62918,13 @@ paths: schema: type: boolean default: false - - &516 + - &513 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &517 + - &514 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -63405,7 +62947,7 @@ paths: type: integer workflow_runs: type: array - items: &495 + items: &492 title: Workflow Run description: An invocation of a workflow type: object @@ -63500,7 +63042,7 @@ paths: that triggered the run. type: array nullable: true - items: &536 + items: &533 title: Pull Request Minimal type: object properties: @@ -63619,7 +63161,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &540 + properties: &537 id: type: string description: SHA for the commit @@ -63670,7 +63212,7 @@ paths: - name - email nullable: true - required: &541 + required: &538 - id - tree_id - message @@ -63717,7 +63259,7 @@ paths: - workflow_url - pull_requests examples: - default: &518 + default: &515 value: total_count: 1 workflow_runs: @@ -63953,24 +63495,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: + - *465 - *466 - - *467 - - &496 + - &493 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *494 + - *491 responses: '200': description: Response content: application/json: - schema: *495 + schema: *492 examples: - default: &499 + default: &496 value: id: 30433642 name: Build @@ -64211,9 +63753,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: + - *465 - *466 - - *467 - - *496 + - *493 responses: '204': description: Response @@ -64236,9 +63778,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: + - *465 - *466 - - *467 - - *496 + - *493 responses: '200': description: Response @@ -64357,9 +63899,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: + - *465 - *466 - - *467 - - *496 + - *493 responses: '201': description: Response @@ -64392,12 +63934,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: + - *465 - *466 - - *467 - - *496 + - *493 - *17 - *19 - - *497 + - *494 responses: '200': description: Response @@ -64413,9 +63955,9 @@ paths: type: integer artifacts: type: array - items: *483 + items: *480 examples: - default: *498 + default: *495 headers: Link: *43 x-github: @@ -64439,25 +63981,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: + - *465 - *466 - - *467 - - *496 - - &500 + - *493 + - &497 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *494 + - *491 responses: '200': description: Response content: application/json: - schema: *495 + schema: *492 examples: - default: *499 + default: *496 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64480,10 +64022,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: + - *465 - *466 - - *467 - - *496 - - *500 + - *493 + - *497 - *17 - *19 responses: @@ -64501,9 +64043,9 @@ paths: type: integer jobs: type: array - items: *501 + items: *498 examples: - default: &502 + default: &499 value: total_count: 1 jobs: @@ -64616,10 +64158,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: + - *465 - *466 - - *467 - - *496 - - *500 + - *493 + - *497 responses: '302': description: Response @@ -64647,9 +64189,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: + - *465 - *466 - - *467 - - *496 + - *493 responses: '202': description: Response @@ -64682,9 +64224,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: + - *465 - *466 - - *467 - - *496 + - *493 requestBody: required: true content: @@ -64751,9 +64293,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: + - *465 - *466 - - *467 - - *496 + - *493 responses: '202': description: Response @@ -64786,9 +64328,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: + - *465 - *466 - - *467 - - *496 + - *493 - 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 @@ -64818,9 +64360,9 @@ paths: type: integer jobs: type: array - items: *501 + items: *498 examples: - default: *502 + default: *499 headers: Link: *43 x-github: @@ -64845,9 +64387,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: + - *465 - *466 - - *467 - - *496 + - *493 responses: '302': description: Response @@ -64874,9 +64416,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: + - *465 - *466 - - *467 - - *496 + - *493 responses: '204': description: Response @@ -64903,9 +64445,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: + - *465 - *466 - - *467 - - *496 + - *493 responses: '200': description: Response @@ -64965,7 +64507,7 @@ paths: items: type: object properties: - type: &625 + type: &622 type: string description: The type of reviewer. enum: @@ -65050,9 +64592,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: + - *465 - *466 - - *467 - - *496 + - *493 requestBody: required: true content: @@ -65099,7 +64641,7 @@ paths: application/json: schema: type: array - items: &611 + items: &608 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -65205,7 +64747,7 @@ paths: - created_at - updated_at examples: - default: &612 + default: &609 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -65261,9 +64803,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: + - *465 - *466 - - *467 - - *496 + - *493 requestBody: required: false content: @@ -65307,9 +64849,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: + - *465 - *466 - - *467 - - *496 + - *493 requestBody: required: false content: @@ -65363,9 +64905,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: + - *465 - *466 - - *467 - - *496 + - *493 responses: '200': description: Response @@ -65502,8 +65044,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: + - *465 - *466 - - *467 - *17 - *19 responses: @@ -65521,9 +65063,9 @@ paths: type: integer secrets: type: array - items: *503 + items: *500 examples: - default: *504 + default: *501 headers: Link: *43 x-github: @@ -65548,16 +65090,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: + - *465 - *466 - - *467 responses: '200': description: Response content: application/json: - schema: *505 + schema: *502 examples: - default: *506 + default: *503 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65579,17 +65121,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: + - *465 - *466 - - *467 - *290 responses: '200': description: Response content: application/json: - schema: *503 + schema: *500 examples: - default: &638 + default: &635 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -65615,8 +65157,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: + - *465 - *466 - - *467 - *290 requestBody: required: true @@ -65674,8 +65216,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: + - *465 - *466 - - *467 - *290 responses: '204': @@ -65701,9 +65243,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: + - *465 - *466 - - *467 - - *490 + - *487 - *19 responses: '200': @@ -65720,9 +65262,9 @@ paths: type: integer variables: type: array - items: *507 + items: *504 examples: - default: *508 + default: *505 headers: Link: *43 x-github: @@ -65745,8 +65287,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: + - *465 - *466 - - *467 requestBody: required: true content: @@ -65798,17 +65340,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: + - *465 - *466 - - *467 - *293 responses: '200': description: Response content: application/json: - schema: *507 + schema: *504 examples: - default: &639 + default: &636 value: name: USERNAME value: octocat @@ -65834,8 +65376,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: + - *465 - *466 - - *467 - *293 requestBody: required: true @@ -65878,8 +65420,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: + - *465 - *466 - - *467 - *293 responses: '204': @@ -65905,8 +65447,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: + - *465 - *466 - - *467 - *17 - *19 responses: @@ -65924,7 +65466,7 @@ paths: type: integer workflows: type: array - items: &509 + items: &506 title: Workflow description: A GitHub Actions workflow type: object @@ -66031,9 +65573,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: + - *465 - *466 - - *467 - - &510 + - &507 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -66048,7 +65590,7 @@ paths: description: Response content: application/json: - schema: *509 + schema: *506 examples: default: value: @@ -66081,9 +65623,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: + - *465 - *466 - - *467 - - *510 + - *507 responses: '204': description: Response @@ -66108,9 +65650,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: + - *465 - *466 - - *467 - - *510 + - *507 responses: '204': description: Response @@ -66161,9 +65703,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: + - *465 - *466 - - *467 - - *510 + - *507 responses: '204': description: Response @@ -66190,19 +65732,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: + - *465 - *466 - - *467 + - *507 + - *508 + - *509 - *510 - *511 + - *17 + - *19 - *512 + - *491 - *513 - *514 - - *17 - - *19 - - *515 - - *494 - - *516 - - *517 responses: '200': description: Response @@ -66218,9 +65760,9 @@ paths: type: integer workflow_runs: type: array - items: *495 + items: *492 examples: - default: *518 + default: *515 headers: Link: *43 x-github: @@ -66253,9 +65795,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: + - *465 - *466 - - *467 - - *510 + - *507 responses: '200': description: Response @@ -66316,8 +65858,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: + - *465 - *466 - - *467 - *106 - *17 - *104 @@ -66481,8 +66023,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: + - *465 - *466 - - *467 - *17 - *19 responses: @@ -66519,8 +66061,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: + - *465 - *466 - - *467 - name: assignee in: path required: true @@ -66556,8 +66098,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: + - *465 - *466 - - *467 requestBody: required: true content: @@ -66669,8 +66211,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: + - *465 - *466 - - *467 - *17 - *104 - *105 @@ -66727,7 +66269,7 @@ paths: initiator: type: string examples: - default: *519 + default: *516 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66747,8 +66289,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: + - *465 - *466 - - *467 responses: '200': description: Response @@ -66756,7 +66298,7 @@ paths: application/json: schema: type: array - items: &520 + items: &517 title: Autolink reference description: An autolink reference. type: object @@ -66810,8 +66352,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: + - *465 - *466 - - *467 requestBody: required: true content: @@ -66850,9 +66392,9 @@ paths: description: response content: application/json: - schema: *520 + schema: *517 examples: - default: &521 + default: &518 value: id: 1 key_prefix: TICKET- @@ -66883,9 +66425,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: + - *465 - *466 - - *467 - - &522 + - &519 name: autolink_id description: The unique identifier of the autolink. in: path @@ -66897,9 +66439,9 @@ paths: description: Response content: application/json: - schema: *520 + schema: *517 examples: - default: *521 + default: *518 '404': *6 x-github: githubCloudOnly: false @@ -66919,9 +66461,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: + - *465 - *466 - - *467 - - *522 + - *519 responses: '204': description: Response @@ -66945,8 +66487,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: + - *465 - *466 - - *467 responses: '200': description: Response if Dependabot is enabled @@ -66994,8 +66536,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: + - *465 - *466 - - *467 responses: '204': description: Response @@ -67016,8 +66558,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: + - *465 - *466 - - *467 responses: '204': description: Response @@ -67037,8 +66579,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: + - *465 - *466 - - *467 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -67076,7 +66618,7 @@ paths: - url protected: type: boolean - protection: &524 + protection: &521 title: Branch Protection description: Branch Protection type: object @@ -67118,7 +66660,7 @@ paths: required: - contexts - checks - enforce_admins: &527 + enforce_admins: &524 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -67133,7 +66675,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &529 + required_pull_request_reviews: &526 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -67209,7 +66751,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &526 + restrictions: &523 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -67486,9 +67028,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: + - *465 - *466 - - *467 - - &525 + - &522 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). @@ -67502,14 +67044,14 @@ paths: description: Response content: application/json: - schema: &535 + schema: &532 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &585 + commit: &582 title: Commit description: Commit type: object @@ -67543,7 +67085,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &523 + properties: &520 name: type: string example: '"Chris Wanstrath"' @@ -67558,7 +67100,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *523 + properties: *520 nullable: true message: type: string @@ -67579,7 +67121,7 @@ paths: required: - sha - url - verification: &645 + verification: &642 title: Verification type: object properties: @@ -67649,7 +67191,7 @@ paths: type: integer files: type: array - items: &598 + items: &595 title: Diff Entry description: Diff Entry type: object @@ -67733,7 +67275,7 @@ paths: - self protected: type: boolean - protection: *524 + protection: *521 protection_url: type: string format: uri @@ -67840,7 +67382,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *480 + '301': *477 '404': *6 x-github: githubCloudOnly: false @@ -67862,15 +67404,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: + - *465 - *466 - - *467 - - *525 + - *522 responses: '200': description: Response content: application/json: - schema: *524 + schema: *521 examples: default: value: @@ -68064,9 +67606,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: + - *465 - *466 - - *467 - - *525 + - *522 requestBody: required: true content: @@ -68321,7 +67863,7 @@ paths: url: type: string format: uri - required_status_checks: &532 + required_status_checks: &529 title: Status Check Policy description: Status Check Policy type: object @@ -68473,7 +68015,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *526 + restrictions: *523 required_conversation_resolution: type: object properties: @@ -68585,9 +68127,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: + - *465 - *466 - - *467 - - *525 + - *522 responses: '204': description: Response @@ -68612,17 +68154,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: + - *465 - *466 - - *467 - - *525 + - *522 responses: '200': description: Response content: application/json: - schema: *527 + schema: *524 examples: - default: &528 + default: &525 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -68644,17 +68186,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: + - *465 - *466 - - *467 - - *525 + - *522 responses: '200': description: Response content: application/json: - schema: *527 + schema: *524 examples: - default: *528 + default: *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68673,9 +68215,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: + - *465 - *466 - - *467 - - *525 + - *522 responses: '204': description: Response @@ -68700,17 +68242,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: + - *465 - *466 - - *467 - - *525 + - *522 responses: '200': description: Response content: application/json: - schema: *529 + schema: *526 examples: - default: &530 + default: &527 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -68806,9 +68348,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: + - *465 - *466 - - *467 - - *525 + - *522 requestBody: required: false content: @@ -68906,9 +68448,9 @@ paths: description: Response content: application/json: - schema: *529 + schema: *526 examples: - default: *530 + default: *527 '422': *15 x-github: githubCloudOnly: false @@ -68929,9 +68471,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: + - *465 - *466 - - *467 - - *525 + - *522 responses: '204': description: Response @@ -68958,17 +68500,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: + - *465 - *466 - - *467 - - *525 + - *522 responses: '200': description: Response content: application/json: - schema: *527 + schema: *524 examples: - default: &531 + default: &528 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -68991,17 +68533,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: + - *465 - *466 - - *467 - - *525 + - *522 responses: '200': description: Response content: application/json: - schema: *527 + schema: *524 examples: - default: *531 + default: *528 '404': *6 x-github: githubCloudOnly: false @@ -69021,9 +68563,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: + - *465 - *466 - - *467 - - *525 + - *522 responses: '204': description: Response @@ -69048,17 +68590,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: + - *465 - *466 - - *467 - - *525 + - *522 responses: '200': description: Response content: application/json: - schema: *532 + schema: *529 examples: - default: &533 + default: &530 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -69084,9 +68626,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: + - *465 - *466 - - *467 - - *525 + - *522 requestBody: required: false content: @@ -69138,9 +68680,9 @@ paths: description: Response content: application/json: - schema: *532 + schema: *529 examples: - default: *533 + default: *530 '404': *6 '422': *15 x-github: @@ -69162,9 +68704,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: + - *465 - *466 - - *467 - - *525 + - *522 responses: '204': description: Response @@ -69188,9 +68730,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: + - *465 - *466 - - *467 - - *525 + - *522 responses: '200': description: Response @@ -69224,9 +68766,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: + - *465 - *466 - - *467 - - *525 + - *522 requestBody: required: false content: @@ -69293,9 +68835,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: + - *465 - *466 - - *467 - - *525 + - *522 requestBody: required: false content: @@ -69359,9 +68901,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: + - *465 - *466 - - *467 - - *525 + - *522 requestBody: content: application/json: @@ -69427,15 +68969,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: + - *465 - *466 - - *467 - - *525 + - *522 responses: '200': description: Response content: application/json: - schema: *526 + schema: *523 examples: default: value: @@ -69526,9 +69068,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: + - *465 - *466 - - *467 - - *525 + - *522 responses: '204': description: Response @@ -69551,9 +69093,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: + - *465 - *466 - - *467 - - *525 + - *522 responses: '200': description: Response @@ -69563,7 +69105,7 @@ paths: type: array items: *5 examples: - default: &534 + default: &531 value: - id: 1 slug: octoapp @@ -69620,9 +69162,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: + - *465 - *466 - - *467 - - *525 + - *522 requestBody: required: true content: @@ -69656,7 +69198,7 @@ paths: type: array items: *5 examples: - default: *534 + default: *531 '422': *15 x-github: githubCloudOnly: false @@ -69677,9 +69219,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: + - *465 - *466 - - *467 - - *525 + - *522 requestBody: required: true content: @@ -69713,7 +69255,7 @@ paths: type: array items: *5 examples: - default: *534 + default: *531 '422': *15 x-github: githubCloudOnly: false @@ -69734,9 +69276,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: + - *465 - *466 - - *467 - - *525 + - *522 requestBody: required: true content: @@ -69770,7 +69312,7 @@ paths: type: array items: *5 examples: - default: *534 + default: *531 '422': *15 x-github: githubCloudOnly: false @@ -69792,9 +69334,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: + - *465 - *466 - - *467 - - *525 + - *522 responses: '200': description: Response @@ -69824,9 +69366,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: + - *465 - *466 - - *467 - - *525 + - *522 requestBody: required: false content: @@ -69885,9 +69427,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: + - *465 - *466 - - *467 - - *525 + - *522 requestBody: required: false content: @@ -69946,9 +69488,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: + - *465 - *466 - - *467 - - *525 + - *522 requestBody: content: application/json: @@ -70007,9 +69549,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: + - *465 - *466 - - *467 - - *525 + - *522 responses: '200': description: Response @@ -70043,9 +69585,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: + - *465 - *466 - - *467 - - *525 + - *522 requestBody: required: true content: @@ -70103,9 +69645,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: + - *465 - *466 - - *467 - - *525 + - *522 requestBody: required: true content: @@ -70163,9 +69705,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: + - *465 - *466 - - *467 - - *525 + - *522 requestBody: required: true content: @@ -70225,9 +69767,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: + - *465 - *466 - - *467 - - *525 + - *522 requestBody: required: true content: @@ -70249,7 +69791,7 @@ paths: description: Response content: application/json: - schema: *535 + schema: *532 examples: default: value: @@ -70363,8 +69905,8 @@ paths: category: repos subcategory: bypass-requests parameters: + - *465 - *466 - - *467 - *99 - *100 - *101 @@ -70400,8 +69942,8 @@ paths: category: repos subcategory: bypass-requests parameters: + - *465 - *466 - - *467 - name: bypass_request_number in: path required: true @@ -70474,8 +70016,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: + - *465 - *466 - - *467 - *99 - *100 - *101 @@ -70515,8 +70057,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: + - *465 - *466 - - *467 - name: bypass_request_number in: path required: true @@ -70586,8 +70128,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: + - *465 - *466 - - *467 - name: bypass_request_number in: path required: true @@ -70658,8 +70200,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: + - *465 - *466 - - *467 - name: bypass_response_id in: path required: true @@ -70692,8 +70234,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: + - *465 - *466 - - *467 requestBody: required: true content: @@ -70972,7 +70514,7 @@ paths: description: Response content: application/json: - schema: &537 + schema: &534 title: CheckRun description: A check performed on the code of a given code change type: object @@ -71091,8 +70633,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *536 - deployment: &868 + items: *533 + deployment: &866 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -71372,9 +70914,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: + - *465 - *466 - - *467 - - &538 + - &535 name: check_run_id description: The unique identifier of the check run. in: path @@ -71386,9 +70928,9 @@ paths: description: Response content: application/json: - schema: *537 + schema: *534 examples: - default: &539 + default: &536 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -71488,9 +71030,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: + - *465 - *466 - - *467 - - *538 + - *535 requestBody: required: true content: @@ -71730,9 +71272,9 @@ paths: description: Response content: application/json: - schema: *537 + schema: *534 examples: - default: *539 + default: *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71752,9 +71294,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: + - *465 - *466 - - *467 - - *538 + - *535 - *17 - *19 responses: @@ -71849,9 +71391,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: + - *465 - *466 - - *467 - - *538 + - *535 responses: '201': description: Response @@ -71895,8 +71437,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: + - *465 - *466 - - *467 requestBody: required: true content: @@ -71918,7 +71460,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &542 + schema: &539 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -71982,7 +71524,7 @@ paths: nullable: true pull_requests: type: array - items: *536 + items: *533 nullable: true app: title: GitHub app @@ -72004,12 +71546,12 @@ paths: type: string format: date-time nullable: true - head_commit: &894 + head_commit: &892 title: Simple Commit description: A commit. type: object - properties: *540 - required: *541 + properties: *537 + required: *538 latest_check_runs_count: type: integer check_runs_url: @@ -72037,7 +71579,7 @@ paths: - check_runs_url - pull_requests examples: - default: &543 + default: &540 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -72328,9 +71870,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *542 + schema: *539 examples: - default: *543 + default: *540 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72349,8 +71891,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: + - *465 - *466 - - *467 requestBody: required: true content: @@ -72659,9 +72201,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: + - *465 - *466 - - *467 - - &544 + - &541 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -72673,9 +72215,9 @@ paths: description: Response content: application/json: - schema: *542 + schema: *539 examples: - default: *543 + default: *540 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72698,17 +72240,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: + - *465 - *466 - - *467 - - *544 - - &591 + - *541 + - &588 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &592 + - &589 name: status description: Returns check runs with the specified `status`. in: query @@ -72747,9 +72289,9 @@ paths: type: integer check_runs: type: array - items: *537 + items: *534 examples: - default: &593 + default: &590 value: total_count: 1 check_runs: @@ -72851,9 +72393,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: + - *465 - *466 - - *467 - - *544 + - *541 responses: '201': description: Response @@ -72886,21 +72428,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: + - *465 - *466 - - *467 - *311 - *312 - *19 - *17 - - &560 + - &557 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *545 - - &561 + schema: *542 + - &558 name: pr description: The number of the pull request for the results you want to list. in: query @@ -72931,7 +72473,7 @@ paths: be returned. in: query required: false - schema: *546 + schema: *543 responses: '200': description: Response @@ -72947,7 +72489,7 @@ paths: updated_at: *131 url: *128 html_url: *129 - instances_url: *547 + instances_url: *544 state: *109 fixed_at: *133 dismissed_by: @@ -72958,11 +72500,11 @@ paths: required: *21 nullable: true dismissed_at: *132 - dismissed_reason: *548 - dismissed_comment: *549 - rule: *550 - tool: *551 - most_recent_instance: *552 + dismissed_reason: *545 + dismissed_comment: *546 + rule: *547 + tool: *548 + most_recent_instance: *549 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -73088,7 +72630,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &553 + '403': &550 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -73115,9 +72657,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: + - *465 - *466 - - *467 - - &554 + - &551 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -73131,7 +72673,7 @@ paths: description: Response content: application/json: - schema: &555 + schema: &552 type: object properties: number: *123 @@ -73139,7 +72681,7 @@ paths: updated_at: *131 url: *128 html_url: *129 - instances_url: *547 + instances_url: *544 state: *109 fixed_at: *133 dismissed_by: @@ -73150,8 +72692,8 @@ paths: required: *21 nullable: true dismissed_at: *132 - dismissed_reason: *548 - dismissed_comment: *549 + dismissed_reason: *545 + dismissed_comment: *546 rule: type: object properties: @@ -73205,8 +72747,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *551 - most_recent_instance: *552 + tool: *548 + most_recent_instance: *549 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -73305,7 +72847,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *553 + '403': *550 '404': *6 '503': *190 x-github: @@ -73325,9 +72867,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: + - *465 - *466 - - *467 - - *554 + - *551 requestBody: required: true content: @@ -73342,8 +72884,8 @@ paths: enum: - open - dismissed - dismissed_reason: *548 - dismissed_comment: *549 + dismissed_reason: *545 + dismissed_comment: *546 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -73362,7 +72904,7 @@ paths: description: Response content: application/json: - schema: *555 + schema: *552 examples: default: value: @@ -73438,7 +72980,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &559 + '403': &556 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -73465,15 +73007,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: + - *465 - *466 - - *467 - - *554 + - *551 responses: '200': description: Response content: application/json: - schema: &556 + schema: &553 type: object properties: status: @@ -73499,13 +73041,13 @@ paths: - description - started_at examples: - default: &557 + default: &554 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &558 + '400': &555 description: Bad Request content: application/json: @@ -73516,7 +73058,7 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *553 + '403': *550 '404': *6 '503': *190 x-github: @@ -73541,29 +73083,29 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: + - *465 - *466 - - *467 - - *554 + - *551 responses: '200': description: OK content: application/json: - schema: *556 + schema: *553 examples: - default: *557 + default: *554 '202': description: Accepted content: application/json: - schema: *556 + schema: *553 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *558 + '400': *555 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -73595,9 +73137,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: + - *465 - *466 - - *467 - - *554 + - *551 requestBody: required: false content: @@ -73642,8 +73184,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *558 - '403': *559 + '400': *555 + '403': *556 '404': *6 '422': description: Unprocessable Entity @@ -73667,13 +73209,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: + - *465 - *466 - - *467 - - *554 + - *551 - *19 - *17 - - *560 - - *561 + - *557 + - *558 responses: '200': description: Response @@ -73681,7 +73223,7 @@ paths: application/json: schema: type: array - items: *552 + items: *549 examples: default: value: @@ -73720,7 +73262,7 @@ paths: end_column: 50 classifications: - source - '403': *553 + '403': *550 '404': *6 '503': *190 x-github: @@ -73754,25 +73296,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: + - *465 - *466 - - *467 - *311 - *312 - *19 - *17 - - *561 + - *558 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *545 + schema: *542 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &564 + schema: &561 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -73793,23 +73335,23 @@ paths: application/json: schema: type: array - items: &565 + items: &562 type: object properties: - ref: *545 - commit_sha: &573 + ref: *542 + commit_sha: &570 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: *562 + analysis_key: *559 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *563 + category: *560 error: type: string example: error reading field xyz @@ -73833,8 +73375,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *564 - tool: *551 + sarif_id: *561 + tool: *548 deletable: type: boolean warning: @@ -73895,7 +73437,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *553 + '403': *550 '404': *6 '503': *190 x-github: @@ -73931,8 +73473,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: + - *465 - *466 - - *467 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -73945,7 +73487,7 @@ paths: description: Response content: application/json: - schema: *565 + schema: *562 examples: response: summary: application/json response @@ -73999,7 +73541,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *553 + '403': *550 '404': *6 '422': description: Response if analysis could not be processed @@ -74086,8 +73628,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: + - *465 - *466 - - *467 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -74140,7 +73682,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *559 + '403': *556 '404': *6 '503': *190 x-github: @@ -74162,8 +73704,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: + - *465 - *466 - - *467 responses: '200': description: Response @@ -74171,7 +73713,7 @@ paths: application/json: schema: type: array - items: &566 + items: &563 title: CodeQL Database description: A CodeQL database. type: object @@ -74282,7 +73824,7 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *553 + '403': *550 '404': *6 '503': *190 x-github: @@ -74311,8 +73853,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: + - *465 - *466 - - *467 - name: language in: path description: The language of the CodeQL database. @@ -74324,7 +73866,7 @@ paths: description: Response content: application/json: - schema: *566 + schema: *563 examples: default: value: @@ -74356,9 +73898,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': &600 + '302': &597 description: Found - '403': *553 + '403': *550 '404': *6 '503': *190 x-github: @@ -74380,8 +73922,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: + - *465 - *466 - - *467 - name: language in: path description: The language of the CodeQL database. @@ -74391,7 +73933,7 @@ paths: responses: '204': description: Response - '403': *559 + '403': *556 '404': *6 '503': *190 x-github: @@ -74419,8 +73961,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: + - *465 - *466 - - *467 requestBody: required: true content: @@ -74429,7 +73971,7 @@ paths: type: object additionalProperties: false properties: - language: &567 + language: &564 type: string description: The language targeted by the CodeQL query enum: @@ -74508,7 +74050,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &571 + schema: &568 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -74518,7 +74060,7 @@ paths: description: The ID of the variant analysis. controller_repo: *115 actor: *4 - query_language: *567 + query_language: *564 query_pack_url: type: string description: The download url for the query pack. @@ -74565,7 +74107,7 @@ paths: items: type: object properties: - repository: &568 + repository: &565 title: Repository Identifier description: Repository Identifier type: object @@ -74601,7 +74143,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &572 + analysis_status: &569 type: string description: The new status of the CodeQL variant analysis repository task. @@ -74633,7 +74175,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &569 + access_mismatch_repos: &566 type: object properties: repository_count: @@ -74647,7 +74189,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: *568 + items: *565 required: - repository_count - repositories @@ -74669,8 +74211,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *569 - over_limit_repos: *569 + no_codeql_db_repos: *566 + over_limit_repos: *566 required: - access_mismatch_repos - not_found_repos @@ -74686,7 +74228,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &570 + value: &567 summary: Default response value: id: 1 @@ -74838,10 +74380,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *570 + value: *567 repository_lists: summary: Response for a successful variant analysis submission - value: *570 + value: *567 '404': *6 '422': description: Unable to process variant analysis submission @@ -74869,8 +74411,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: + - *465 - *466 - - *467 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -74882,9 +74424,9 @@ paths: description: Response content: application/json: - schema: *571 + schema: *568 examples: - default: *570 + default: *567 '404': *6 '503': *190 x-github: @@ -74907,7 +74449,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: - - *466 + - *465 - name: repo in: path description: The name of the controller repository. @@ -74942,7 +74484,7 @@ paths: type: object properties: repository: *115 - analysis_status: *572 + analysis_status: *569 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -75067,8 +74609,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: + - *465 - *466 - - *467 responses: '200': description: Response @@ -75153,7 +74695,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *553 + '403': *550 '404': *6 '503': *190 x-github: @@ -75174,8 +74716,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: + - *465 - *466 - - *467 requestBody: required: true content: @@ -75267,7 +74809,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *559 + '403': *556 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -75338,8 +74880,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: + - *465 - *466 - - *467 requestBody: required: true content: @@ -75347,7 +74889,7 @@ paths: schema: type: object properties: - commit_sha: *573 + commit_sha: *570 ref: type: string description: |- @@ -75405,7 +74947,7 @@ paths: schema: type: object properties: - id: *564 + id: *561 url: type: string description: The REST API URL for checking the status of the upload. @@ -75419,7 +74961,7 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *559 + '403': *556 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -75442,8 +74984,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: + - *465 - *466 - - *467 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -75489,7 +75031,7 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *553 + '403': *550 '404': description: Not Found if the sarif id does not match any upload '503': *190 @@ -75514,8 +75056,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: + - *465 - *466 - - *467 responses: '200': description: Response @@ -75596,8 +75138,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: + - *465 - *466 - - *467 - 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 @@ -75717,8 +75259,8 @@ paths: parameters: - *17 - *19 + - *465 - *466 - - *467 responses: '200': description: Response @@ -76032,8 +75574,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: + - *465 - *466 - - *467 requestBody: required: true content: @@ -76098,7 +75640,7 @@ paths: application/json: schema: *369 examples: - default: *574 + default: *571 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -76106,7 +75648,7 @@ paths: application/json: schema: *369 examples: - default: *574 + default: *571 '400': *14 '401': *25 '403': *29 @@ -76135,8 +75677,8 @@ paths: parameters: - *17 - *19 + - *465 - *466 - - *467 responses: '200': description: Response @@ -76200,8 +75742,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: + - *465 - *466 - - *467 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -76236,14 +75778,14 @@ paths: type: integer machines: type: array - items: &819 + items: &817 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *575 - required: *576 + properties: *572 + required: *573 examples: - default: &820 + default: &818 value: total_count: 2 machines: @@ -76283,8 +75825,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: + - *465 - *466 - - *467 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -76368,8 +75910,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: + - *465 - *466 - - *467 - 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 @@ -76435,8 +75977,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: + - *465 - *466 - - *467 - *17 - *19 responses: @@ -76454,7 +75996,7 @@ paths: type: integer secrets: type: array - items: &580 + items: &577 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -76474,7 +76016,7 @@ paths: - created_at - updated_at examples: - default: *577 + default: *574 headers: Link: *43 x-github: @@ -76497,16 +76039,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: + - *465 - *466 - - *467 responses: '200': description: Response content: application/json: - schema: *578 + schema: *575 examples: - default: *579 + default: *576 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -76526,17 +76068,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: + - *465 - *466 - - *467 - *290 responses: '200': description: Response content: application/json: - schema: *580 + schema: *577 examples: - default: *581 + default: *578 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76556,8 +76098,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: + - *465 - *466 - - *467 - *290 requestBody: required: true @@ -76610,8 +76152,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: + - *465 - *466 - - *467 - *290 responses: '204': @@ -76640,8 +76182,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: + - *465 - *466 - - *467 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -76683,7 +76225,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &582 + properties: &579 login: type: string example: octocat @@ -76776,7 +76318,7 @@ paths: user_view_type: type: string example: public - required: &583 + required: &580 - avatar_url - events_url - followers_url @@ -76850,8 +76392,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: + - *465 - *466 - - *467 - *138 responses: '204': @@ -76898,8 +76440,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: + - *465 - *466 - - *467 - *138 requestBody: required: false @@ -76926,7 +76468,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &658 + schema: &655 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -77155,8 +76697,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: + - *465 - *466 - - *467 - *138 responses: '204': @@ -77188,8 +76730,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: + - *465 - *466 - - *467 - *138 responses: '200': @@ -77210,8 +76752,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *582 - required: *583 + properties: *579 + required: *580 nullable: true required: - permission @@ -77266,8 +76808,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: + - *465 - *466 - - *467 - *17 - *19 responses: @@ -77277,7 +76819,7 @@ paths: application/json: schema: type: array - items: &584 + items: &581 title: Commit Comment description: Commit Comment type: object @@ -77335,7 +76877,7 @@ paths: - created_at - updated_at examples: - default: &587 + default: &584 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -77394,17 +76936,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: + - *465 - *466 - - *467 - *225 responses: '200': description: Response content: application/json: - schema: *584 + schema: *581 examples: - default: &588 + default: &585 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -77461,8 +77003,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: + - *465 - *466 - - *467 - *225 requestBody: required: true @@ -77485,7 +77027,7 @@ paths: description: Response content: application/json: - schema: *584 + schema: *581 examples: default: value: @@ -77536,8 +77078,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: + - *465 - *466 - - *467 - *225 responses: '204': @@ -77559,8 +77101,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: + - *465 - *466 - - *467 - *225 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -77587,9 +77129,9 @@ paths: application/json: schema: type: array - items: *455 + items: *454 examples: - default: *457 + default: *456 headers: Link: *43 '404': *6 @@ -77610,8 +77152,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: + - *465 - *466 - - *467 - *225 requestBody: required: true @@ -77644,16 +77186,16 @@ paths: description: Reaction exists content: application/json: - schema: *455 + schema: *454 examples: - default: *456 + default: *455 '201': description: Reaction created content: application/json: - schema: *455 + schema: *454 examples: - default: *456 + default: *455 '422': *15 x-github: githubCloudOnly: false @@ -77675,10 +77217,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: + - *465 - *466 - - *467 - *225 - - *458 + - *457 responses: '204': description: Response @@ -77727,8 +77269,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: + - *465 - *466 - - *467 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -77784,9 +77326,9 @@ paths: application/json: schema: type: array - items: *585 + items: *582 examples: - default: &710 + default: &708 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -77880,9 +77422,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: + - *465 - *466 - - *467 - - &586 + - &583 name: commit_sha description: The SHA of the commit. in: path @@ -77954,9 +77496,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: + - *465 - *466 - - *467 - - *586 + - *583 - *17 - *19 responses: @@ -77966,9 +77508,9 @@ paths: application/json: schema: type: array - items: *584 + items: *581 examples: - default: *587 + default: *584 headers: Link: *43 x-github: @@ -77996,9 +77538,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: + - *465 - *466 - - *467 - - *586 + - *583 requestBody: required: true content: @@ -78033,9 +77575,9 @@ paths: description: Response content: application/json: - schema: *584 + schema: *581 examples: - default: *588 + default: *585 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -78063,9 +77605,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: + - *465 - *466 - - *467 - - *586 + - *583 - *17 - *19 responses: @@ -78075,9 +77617,9 @@ paths: application/json: schema: type: array - items: *589 + items: *586 examples: - default: &702 + default: &700 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -78614,11 +78156,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: + - *465 - *466 - - *467 - *19 - *17 - - &590 + - &587 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)" @@ -78633,9 +78175,9 @@ paths: description: Response content: application/json: - schema: *585 + schema: *582 examples: - default: &687 + default: &685 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -78748,11 +78290,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: + - *465 - *466 - - *467 - - *590 - - *591 - - *592 + - *587 + - *588 + - *589 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -78786,9 +78328,9 @@ paths: type: integer check_runs: type: array - items: *537 + items: *534 examples: - default: *593 + default: *590 headers: Link: *43 x-github: @@ -78813,9 +78355,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: + - *465 - *466 - - *467 - - *590 + - *587 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -78823,7 +78365,7 @@ paths: schema: type: integer example: 1 - - *591 + - *588 - *17 - *19 responses: @@ -78841,7 +78383,7 @@ paths: type: integer check_suites: type: array - items: *542 + items: *539 examples: default: value: @@ -79041,9 +78583,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: + - *465 - *466 - - *467 - - *590 + - *587 - *17 - *19 responses: @@ -79241,9 +78783,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: + - *465 - *466 - - *467 - - *590 + - *587 - *17 - *19 responses: @@ -79253,7 +78795,7 @@ paths: application/json: schema: type: array - items: &764 + items: &762 title: Status description: The status of a commit. type: object @@ -79334,7 +78876,7 @@ paths: site_admin: false headers: Link: *43 - '301': *480 + '301': *477 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79362,8 +78904,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: + - *465 - *466 - - *467 responses: '200': description: Response @@ -79392,20 +78934,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *594 - required: *595 + properties: *591 + required: *592 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &596 + properties: &593 url: type: string format: uri html_url: type: string format: uri - required: &597 + required: &594 - url - html_url nullable: true @@ -79419,26 +78961,26 @@ paths: contributing: title: Community Health File type: object - properties: *596 - required: *597 + properties: *593 + required: *594 nullable: true readme: title: Community Health File type: object - properties: *596 - required: *597 + properties: *593 + required: *594 nullable: true issue_template: title: Community Health File type: object - properties: *596 - required: *597 + properties: *593 + required: *594 nullable: true pull_request_template: title: Community Health File type: object - properties: *596 - required: *597 + properties: *593 + required: *594 nullable: true required: - code_of_conduct @@ -79565,8 +79107,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: + - *465 - *466 - - *467 - *19 - *17 - name: basehead @@ -79609,8 +79151,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *585 - merge_base_commit: *585 + base_commit: *582 + merge_base_commit: *582 status: type: string enum: @@ -79630,10 +79172,10 @@ paths: example: 6 commits: type: array - items: *585 + items: *582 files: type: array - items: *598 + items: *595 required: - url - html_url @@ -79919,8 +79461,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: + - *465 - *466 - - *467 - name: path description: path parameter in: path @@ -80063,7 +79605,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &599 + response-if-content-is-a-file: &596 summary: Response if content is a file value: type: file @@ -80195,7 +79737,7 @@ paths: - size - type - url - - &715 + - &713 title: Content File description: Content File type: object @@ -80396,7 +79938,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *599 + response-if-content-is-a-file: *596 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -80465,7 +80007,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *600 + '302': *597 '304': *37 x-github: githubCloudOnly: false @@ -80488,8 +80030,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: + - *465 - *466 - - *467 - name: path description: path parameter in: path @@ -80582,7 +80124,7 @@ paths: description: Response content: application/json: - schema: &601 + schema: &598 title: File Commit description: File Commit type: object @@ -80734,7 +80276,7 @@ paths: description: Response content: application/json: - schema: *601 + schema: *598 examples: example-for-creating-a-file: value: @@ -80788,7 +80330,7 @@ paths: schema: oneOf: - *3 - - &640 + - &637 description: Repository rule violation was detected type: object properties: @@ -80809,7 +80351,7 @@ paths: items: type: object properties: - placeholder_id: &756 + placeholder_id: &754 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -80841,8 +80383,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: + - *465 - *466 - - *467 - name: path description: path parameter in: path @@ -80903,7 +80445,7 @@ paths: description: Response content: application/json: - schema: *601 + schema: *598 examples: default: value: @@ -80958,8 +80500,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: + - *465 - *466 - - *467 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -81082,8 +80624,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: + - *465 - *466 - - *467 - *327 - *328 - *329 @@ -81095,7 +80637,7 @@ paths: schema: type: string - *331 - - *602 + - *599 - *332 - *333 - *106 @@ -81116,7 +80658,7 @@ paths: application/json: schema: type: array - items: &605 + items: &602 type: object description: A Dependabot alert. properties: @@ -81162,7 +80704,7 @@ paths: - unknown - direct - transitive - security_advisory: *603 + security_advisory: *600 security_vulnerability: *127 url: *128 html_url: *129 @@ -81193,7 +80735,7 @@ paths: nullable: true maxLength: 280 fixed_at: *133 - auto_dismissed_at: *604 + auto_dismissed_at: *601 required: - number - state @@ -81423,9 +80965,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: + - *465 - *466 - - *467 - - &606 + - &603 name: alert_number in: path description: |- @@ -81440,7 +80982,7 @@ paths: description: Response content: application/json: - schema: *605 + schema: *602 examples: default: value: @@ -81553,9 +81095,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: + - *465 - *466 - - *467 - - *606 + - *603 requestBody: required: true content: @@ -81600,7 +81142,7 @@ paths: description: Response content: application/json: - schema: *605 + schema: *602 examples: default: value: @@ -81729,8 +81271,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: + - *465 - *466 - - *467 - *17 - *19 responses: @@ -81748,7 +81290,7 @@ paths: type: integer secrets: type: array - items: &609 + items: &606 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -81801,16 +81343,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: + - *465 - *466 - - *467 responses: '200': description: Response content: application/json: - schema: *607 + schema: *604 examples: - default: *608 + default: *605 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81830,15 +81372,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: + - *465 - *466 - - *467 - *290 responses: '200': description: Response content: application/json: - schema: *609 + schema: *606 examples: default: value: @@ -81864,8 +81406,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: + - *465 - *466 - - *467 - *290 requestBody: required: true @@ -81918,8 +81460,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: + - *465 - *466 - - *467 - *290 responses: '204': @@ -81942,8 +81484,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: + - *465 - *466 - - *467 - 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 @@ -82103,8 +81645,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: + - *465 - *466 - - *467 responses: '200': description: Response @@ -82343,8 +81885,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: + - *465 - *466 - - *467 requestBody: required: true content: @@ -82419,7 +81961,7 @@ paths: - version - url additionalProperties: false - metadata: &610 + metadata: &607 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -82452,7 +81994,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *610 + metadata: *607 resolved: type: object description: A collection of resolved package dependencies. @@ -82465,7 +82007,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *610 + metadata: *607 relationship: type: string description: A notation of whether a dependency is requested @@ -82594,8 +82136,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: + - *465 - *466 - - *467 - name: sha description: The SHA recorded at creation time. in: query @@ -82635,9 +82177,9 @@ paths: application/json: schema: type: array - items: *611 + items: *608 examples: - default: *612 + default: *609 headers: Link: *43 x-github: @@ -82703,8 +82245,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: + - *465 - *466 - - *467 requestBody: required: true content: @@ -82785,7 +82327,7 @@ paths: description: Response content: application/json: - schema: *611 + schema: *608 examples: simple-example: summary: Simple example @@ -82858,9 +82400,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: + - *465 - *466 - - *467 - - &613 + - &610 name: deployment_id description: deployment_id parameter in: path @@ -82872,7 +82414,7 @@ paths: description: Response content: application/json: - schema: *611 + schema: *608 examples: default: value: @@ -82937,9 +82479,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: + - *465 - *466 - - *467 - - *613 + - *610 responses: '204': description: Response @@ -82961,9 +82503,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: + - *465 - *466 - - *467 - - *613 + - *610 - *17 - *19 responses: @@ -82973,7 +82515,7 @@ paths: application/json: schema: type: array - items: &614 + items: &611 title: Deployment Status description: The status of a deployment. type: object @@ -83134,9 +82676,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: + - *465 - *466 - - *467 - - *613 + - *610 requestBody: required: true content: @@ -83211,9 +82753,9 @@ paths: description: Response content: application/json: - schema: *614 + schema: *611 examples: - default: &615 + default: &612 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -83269,9 +82811,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: + - *465 - *466 - - *467 - - *613 + - *610 - name: status_id in: path required: true @@ -83282,9 +82824,9 @@ paths: description: Response content: application/json: - schema: *614 + schema: *611 examples: - default: *615 + default: *612 '404': *6 x-github: githubCloudOnly: false @@ -83311,12 +82853,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: + - *465 - *466 - - *467 + - *613 + - *614 + - *615 - *616 - - *617 - - *618 - - *619 - *17 - *19 responses: @@ -83326,9 +82868,9 @@ paths: application/json: schema: type: array - items: *620 + items: *617 examples: - default: *621 + default: *618 '404': *6 '403': *29 '500': *40 @@ -83352,8 +82894,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: + - *465 - *466 - - *467 - name: alert_number in: path required: true @@ -83365,7 +82907,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *620 + schema: *617 examples: default: value: @@ -83421,8 +82963,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: + - *465 - *466 - - *467 - name: alert_number in: path required: true @@ -83481,12 +83023,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: + - *465 - *466 - - *467 - *99 - *100 - *101 - - *622 + - *619 - *17 - *19 responses: @@ -83496,9 +83038,9 @@ paths: application/json: schema: type: array - items: *623 + items: *620 examples: - default: *624 + default: *621 '404': *6 '403': *29 '500': *40 @@ -83523,8 +83065,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: + - *465 - *466 - - *467 - name: alert_number in: path required: true @@ -83536,7 +83078,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *623 + schema: *620 examples: default: value: @@ -83594,8 +83136,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: + - *465 - *466 - - *467 - name: alert_number in: path required: true @@ -83664,8 +83206,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: + - *465 - *466 - - *467 requestBody: required: true content: @@ -83722,8 +83264,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: + - *465 - *466 - - *467 - *17 - *19 responses: @@ -83740,7 +83282,7 @@ paths: type: integer environments: type: array - items: &626 + items: &623 title: Environment description: Details of a deployment environment type: object @@ -83792,7 +83334,7 @@ paths: type: type: string example: wait_timer - wait_timer: &628 + wait_timer: &625 type: integer example: 30 description: The amount of time to delay a job after @@ -83829,7 +83371,7 @@ paths: items: type: object properties: - type: *625 + type: *622 reviewer: anyOf: - *4 @@ -83853,7 +83395,7 @@ paths: - id - node_id - type - deployment_branch_policy: &629 + deployment_branch_policy: &626 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -83969,9 +83511,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: + - *465 - *466 - - *467 - - &627 + - &624 name: environment_name in: path required: true @@ -83984,9 +83526,9 @@ paths: description: Response content: application/json: - schema: *626 + schema: *623 examples: - default: &630 + default: &627 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -84070,9 +83612,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: + - *465 - *466 - - *467 - - *627 + - *624 requestBody: required: false content: @@ -84081,7 +83623,7 @@ paths: type: object nullable: true properties: - wait_timer: *628 + wait_timer: *625 prevent_self_review: type: boolean example: false @@ -84098,13 +83640,13 @@ paths: items: type: object properties: - type: *625 + type: *622 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *629 + deployment_branch_policy: *626 additionalProperties: false examples: default: @@ -84124,9 +83666,9 @@ paths: description: Response content: application/json: - schema: *626 + schema: *623 examples: - default: *630 + default: *627 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -84150,9 +83692,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: + - *465 - *466 - - *467 - - *627 + - *624 responses: '204': description: Default response @@ -84177,9 +83719,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: + - *465 - *466 - - *467 - - *627 + - *624 - *17 - *19 responses: @@ -84197,7 +83739,7 @@ paths: example: 2 branch_policies: type: array - items: &631 + items: &628 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -84254,9 +83796,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: + - *465 - *466 - - *467 - - *627 + - *624 requestBody: required: true content: @@ -84302,9 +83844,9 @@ paths: description: Response content: application/json: - schema: *631 + schema: *628 examples: - example-wildcard: &632 + example-wildcard: &629 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -84346,10 +83888,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: + - *465 - *466 - - *467 - - *627 - - &633 + - *624 + - &630 name: branch_policy_id in: path required: true @@ -84361,9 +83903,9 @@ paths: description: Response content: application/json: - schema: *631 + schema: *628 examples: - default: *632 + default: *629 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84382,10 +83924,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: + - *465 - *466 - - *467 - - *627 - - *633 + - *624 + - *630 requestBody: required: true content: @@ -84413,9 +83955,9 @@ paths: description: Response content: application/json: - schema: *631 + schema: *628 examples: - default: *632 + default: *629 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84434,10 +83976,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: + - *465 - *466 - - *467 - - *627 - - *633 + - *624 + - *630 responses: '204': description: Response @@ -84462,9 +84004,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: - - *627 - - *467 + - *624 - *466 + - *465 responses: '200': description: List of deployment protection rules @@ -84480,7 +84022,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &634 + items: &631 title: Deployment protection rule description: Deployment protection rule type: object @@ -84499,7 +84041,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &635 + app: &632 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -84598,9 +84140,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: - - *627 - - *467 + - *624 - *466 + - *465 requestBody: content: application/json: @@ -84621,9 +84163,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *634 + schema: *631 examples: - default: &636 + default: &633 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -84658,9 +84200,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: - - *627 - - *467 + - *624 - *466 + - *465 - *19 - *17 responses: @@ -84679,7 +84221,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *635 + items: *632 examples: default: value: @@ -84714,10 +84256,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: + - *465 - *466 - - *467 - - *627 - - &637 + - *624 + - &634 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -84729,9 +84271,9 @@ paths: description: Response content: application/json: - schema: *634 + schema: *631 examples: - default: *636 + default: *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84752,10 +84294,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: - - *627 - - *467 + - *624 - *466 - - *637 + - *465 + - *634 responses: '204': description: Response @@ -84781,9 +84323,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: + - *465 - *466 - - *467 - - *627 + - *624 - *17 - *19 responses: @@ -84801,9 +84343,9 @@ paths: type: integer secrets: type: array - items: *503 + items: *500 examples: - default: *504 + default: *501 headers: Link: *43 x-github: @@ -84828,17 +84370,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: + - *465 - *466 - - *467 - - *627 + - *624 responses: '200': description: Response content: application/json: - schema: *505 + schema: *502 examples: - default: *506 + default: *503 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84860,18 +84402,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: + - *465 - *466 - - *467 - - *627 + - *624 - *290 responses: '200': description: Response content: application/json: - schema: *503 + schema: *500 examples: - default: *638 + default: *635 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84893,9 +84435,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: + - *465 - *466 - - *467 - - *627 + - *624 - *290 requestBody: required: true @@ -84953,9 +84495,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: + - *465 - *466 - - *467 - - *627 + - *624 - *290 responses: '204': @@ -84981,10 +84523,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: + - *465 - *466 - - *467 - - *627 - - *490 + - *624 + - *487 - *19 responses: '200': @@ -85001,9 +84543,9 @@ paths: type: integer variables: type: array - items: *507 + items: *504 examples: - default: *508 + default: *505 headers: Link: *43 x-github: @@ -85026,9 +84568,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: + - *465 - *466 - - *467 - - *627 + - *624 requestBody: required: true content: @@ -85080,18 +84622,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: + - *465 - *466 - - *467 - - *627 + - *624 - *293 responses: '200': description: Response content: application/json: - schema: *507 + schema: *504 examples: - default: *639 + default: *636 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85112,10 +84654,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: + - *465 - *466 - - *467 - *293 - - *627 + - *624 requestBody: required: true content: @@ -85157,10 +84699,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: + - *465 - *466 - - *467 - *293 - - *627 + - *624 responses: '204': description: Response @@ -85182,8 +84724,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: + - *465 - *466 - - *467 - *17 - *19 responses: @@ -85251,8 +84793,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: + - *465 - *466 - - *467 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -85411,8 +84953,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: + - *465 - *466 - - *467 requestBody: required: false content: @@ -85444,9 +84986,9 @@ paths: description: Response content: application/json: - schema: *479 + schema: *476 examples: - default: *481 + default: *478 '400': *14 '422': *15 '403': *29 @@ -85467,8 +85009,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: + - *465 - *466 - - *467 requestBody: required: true content: @@ -85528,7 +85070,7 @@ paths: schema: oneOf: - *255 - - *640 + - *637 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85553,8 +85095,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: + - *465 - *466 - - *467 - name: file_sha in: path required: true @@ -85653,8 +85195,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: + - *465 - *466 - - *467 requestBody: required: true content: @@ -85763,7 +85305,7 @@ paths: description: Response content: application/json: - schema: &641 + schema: &638 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -85977,15 +85519,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: + - *465 - *466 - - *467 - - *586 + - *583 responses: '200': description: Response content: application/json: - schema: *641 + schema: *638 examples: default: value: @@ -86041,9 +85583,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: + - *465 - *466 - - *467 - - &642 + - &639 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. @@ -86060,7 +85602,7 @@ paths: application/json: schema: type: array - items: &643 + items: &640 title: Git Reference description: Git references within a repository type: object @@ -86135,17 +85677,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: + - *465 - *466 - - *467 - - *642 + - *639 responses: '200': description: Response content: application/json: - schema: *643 + schema: *640 examples: - default: &644 + default: &641 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -86174,8 +85716,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: + - *465 - *466 - - *467 requestBody: required: true content: @@ -86204,9 +85746,9 @@ paths: description: Response content: application/json: - schema: *643 + schema: *640 examples: - default: *644 + default: *641 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -86232,9 +85774,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: + - *465 - *466 - - *467 - - *642 + - *639 requestBody: required: true content: @@ -86263,9 +85805,9 @@ paths: description: Response content: application/json: - schema: *643 + schema: *640 examples: - default: *644 + default: *641 '422': *15 '409': *114 x-github: @@ -86283,9 +85825,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: + - *465 - *466 - - *467 - - *642 + - *639 responses: '204': description: Response @@ -86340,8 +85882,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: + - *465 - *466 - - *467 requestBody: required: true content: @@ -86408,7 +85950,7 @@ paths: description: Response content: application/json: - schema: &646 + schema: &643 title: Git Tag description: Metadata for a Git tag type: object @@ -86459,7 +86001,7 @@ paths: - sha - type - url - verification: *645 + verification: *642 required: - sha - url @@ -86469,7 +86011,7 @@ paths: - tag - message examples: - default: &647 + default: &644 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -86542,8 +86084,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: + - *465 - *466 - - *467 - name: tag_sha in: path required: true @@ -86554,9 +86096,9 @@ paths: description: Response content: application/json: - schema: *646 + schema: *643 examples: - default: *647 + default: *644 '404': *6 '409': *114 x-github: @@ -86580,8 +86122,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: + - *465 - *466 - - *467 requestBody: required: true content: @@ -86654,7 +86196,7 @@ paths: description: Response content: application/json: - schema: &648 + schema: &645 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -86750,8 +86292,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: + - *465 - *466 - - *467 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -86774,7 +86316,7 @@ paths: description: Response content: application/json: - schema: *648 + schema: *645 examples: default-response: summary: Default response @@ -86833,8 +86375,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: + - *465 - *466 - - *467 - *17 - *19 responses: @@ -86844,7 +86386,7 @@ paths: application/json: schema: type: array - items: &649 + items: &646 title: Webhook description: Webhooks for repositories. type: object @@ -86898,7 +86440,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &902 + last_response: &900 title: Hook Response type: object properties: @@ -86972,8 +86514,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: + - *465 - *466 - - *467 requestBody: required: false content: @@ -87025,9 +86567,9 @@ paths: description: Response content: application/json: - schema: *649 + schema: *646 examples: - default: &650 + default: &647 value: type: Repository id: 12345678 @@ -87075,17 +86617,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: + - *465 - *466 - - *467 - *341 responses: '200': description: Response content: application/json: - schema: *649 + schema: *646 examples: - default: *650 + default: *647 '404': *6 x-github: githubCloudOnly: false @@ -87105,8 +86647,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: + - *465 - *466 - - *467 - *341 requestBody: required: true @@ -87152,9 +86694,9 @@ paths: description: Response content: application/json: - schema: *649 + schema: *646 examples: - default: *650 + default: *647 '422': *15 '404': *6 x-github: @@ -87175,8 +86717,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: + - *465 - *466 - - *467 - *341 responses: '204': @@ -87201,8 +86743,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: + - *465 - *466 - - *467 - *341 responses: '200': @@ -87230,8 +86772,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: + - *465 - *466 - - *467 - *341 requestBody: required: false @@ -87276,8 +86818,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: + - *465 - *466 - - *467 - *341 - *17 - *342 @@ -87309,8 +86851,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: + - *465 - *466 - - *467 - *341 - *16 responses: @@ -87339,8 +86881,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: + - *465 - *466 - - *467 - *341 - *16 responses: @@ -87364,8 +86906,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: + - *465 - *466 - - *467 - *341 responses: '204': @@ -87391,8 +86933,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: + - *465 - *466 - - *467 - *341 responses: '204': @@ -87416,8 +86958,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: + - *465 - *466 - - *467 responses: '200': description: Response if immutable releases are enabled @@ -87463,8 +87005,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-immutable-releases parameters: + - *465 - *466 - - *467 responses: '204': *150 '409': *114 @@ -87484,8 +87026,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-immutable-releases parameters: + - *465 - *466 - - *467 responses: '204': *150 '409': *114 @@ -87542,14 +87084,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: + - *465 - *466 - - *467 responses: '200': description: Response content: application/json: - schema: &651 + schema: &648 title: Import description: A repository import from an external source. type: object @@ -87648,7 +87190,7 @@ paths: - html_url - authors_url examples: - default: &654 + default: &651 value: vcs: subversion use_lfs: true @@ -87664,7 +87206,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &652 + '503': &649 description: Unavailable due to service under maintenance. content: application/json: @@ -87693,8 +87235,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: + - *465 - *466 - - *467 requestBody: required: true content: @@ -87742,7 +87284,7 @@ paths: description: Response content: application/json: - schema: *651 + schema: *648 examples: default: value: @@ -87767,7 +87309,7 @@ paths: type: string '422': *15 '404': *6 - '503': *652 + '503': *649 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87795,8 +87337,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: + - *465 - *466 - - *467 requestBody: required: false content: @@ -87845,7 +87387,7 @@ paths: description: Response content: application/json: - schema: *651 + schema: *648 examples: example-1: summary: Example 1 @@ -87893,7 +87435,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': *652 + '503': *649 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87916,12 +87458,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: + - *465 - *466 - - *467 responses: '204': description: Response - '503': *652 + '503': *649 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87947,9 +87489,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: + - *465 - *466 - - *467 - - &841 + - &839 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -87963,7 +87505,7 @@ paths: application/json: schema: type: array - items: &653 + items: &650 title: Porter Author description: Porter Author type: object @@ -88017,7 +87559,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *652 + '503': *649 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88042,8 +87584,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: + - *465 - *466 - - *467 - name: author_id in: path required: true @@ -88073,7 +87615,7 @@ paths: description: Response content: application/json: - schema: *653 + schema: *650 examples: default: value: @@ -88086,7 +87628,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *652 + '503': *649 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88110,8 +87652,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: + - *465 - *466 - - *467 responses: '200': description: Response @@ -88152,7 +87694,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *652 + '503': *649 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88180,8 +87722,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: + - *465 - *466 - - *467 requestBody: required: true content: @@ -88208,11 +87750,11 @@ paths: description: Response content: application/json: - schema: *651 + schema: *648 examples: - default: *654 + default: *651 '422': *15 - '503': *652 + '503': *649 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88235,8 +87777,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: + - *465 - *466 - - *467 responses: '200': description: Response @@ -88244,8 +87786,8 @@ paths: application/json: schema: *22 examples: - default: *655 - '301': *480 + default: *652 + '301': *477 '404': *6 x-github: githubCloudOnly: false @@ -88265,8 +87807,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: + - *465 - *466 - - *467 responses: '200': description: Response @@ -88279,7 +87821,7 @@ paths: properties: {} additionalProperties: false examples: - default: &657 + default: &654 value: limit: collaborators_only origin: repository @@ -88304,13 +87846,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: + - *465 - *466 - - *467 requestBody: required: true content: application/json: - schema: *656 + schema: *653 examples: default: summary: Example request body @@ -88324,7 +87866,7 @@ paths: application/json: schema: *359 examples: - default: *657 + default: *654 '409': description: Response x-github: @@ -88346,8 +87888,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: + - *465 - *466 - - *467 responses: '204': description: Response @@ -88370,8 +87912,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: + - *465 - *466 - - *467 - *17 - *19 responses: @@ -88381,9 +87923,9 @@ paths: application/json: schema: type: array - items: *658 + items: *655 examples: - default: &834 + default: &832 value: - id: 1 repository: @@ -88514,8 +88056,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: + - *465 - *466 - - *467 - *363 requestBody: required: false @@ -88545,7 +88087,7 @@ paths: description: Response content: application/json: - schema: *658 + schema: *655 examples: default: value: @@ -88676,8 +88218,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: + - *465 - *466 - - *467 - *363 responses: '204': @@ -88709,8 +88251,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: + - *465 - *466 - - *467 - 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 @@ -88783,7 +88325,7 @@ paths: type: array items: *226 examples: - default: &667 + default: &665 value: - id: 1 node_id: MDU6SXNzdWUx @@ -88931,7 +88473,7 @@ paths: state_reason: completed headers: Link: *43 - '301': *480 + '301': *477 '422': *15 '404': *6 x-github: @@ -88960,8 +88502,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: + - *465 - *466 - - *467 requestBody: required: true content: @@ -89045,7 +88587,7 @@ paths: application/json: schema: *226 examples: - default: &664 + default: &662 value: id: 1 node_id: MDU6SXNzdWUx @@ -89201,7 +88743,7 @@ paths: '422': *15 '503': *190 '404': *6 - '410': *477 + '410': *656 x-github: triggersNotification: true githubCloudOnly: false @@ -89229,8 +88771,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: + - *465 - *466 - - *467 - *236 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -89251,9 +88793,9 @@ paths: application/json: schema: type: array - items: *659 + items: *657 examples: - default: &666 + default: &664 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -89311,17 +88853,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: + - *465 - *466 - - *467 - *225 responses: '200': description: Response content: application/json: - schema: *659 + schema: *657 examples: - default: &660 + default: &658 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -89375,8 +88917,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: + - *465 - *466 - - *467 - *225 requestBody: required: true @@ -89399,9 +88941,9 @@ paths: description: Response content: application/json: - schema: *659 + schema: *657 examples: - default: *660 + default: *658 '422': *15 x-github: githubCloudOnly: false @@ -89419,8 +88961,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: + - *465 - *466 - - *467 - *225 responses: '204': @@ -89441,8 +88983,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: + - *465 - *466 - - *467 - *225 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -89469,9 +89011,9 @@ paths: application/json: schema: type: array - items: *455 + items: *454 examples: - default: *457 + default: *456 headers: Link: *43 '404': *6 @@ -89492,8 +89034,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: + - *465 - *466 - - *467 - *225 requestBody: required: true @@ -89526,16 +89068,16 @@ paths: description: Reaction exists content: application/json: - schema: *455 + schema: *454 examples: - default: *456 + default: *455 '201': description: Reaction created content: application/json: - schema: *455 + schema: *454 examples: - default: *456 + default: *455 '422': *15 x-github: githubCloudOnly: false @@ -89557,10 +89099,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: + - *465 - *466 - - *467 - *225 - - *458 + - *457 responses: '204': description: Response @@ -89580,8 +89122,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: + - *465 - *466 - - *467 - *17 - *19 responses: @@ -89591,7 +89133,7 @@ paths: application/json: schema: type: array - items: &663 + items: &661 title: Issue Event description: Issue Event type: object @@ -89634,8 +89176,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *661 - required: *662 + properties: *659 + required: *660 nullable: true label: title: Issue Event Label @@ -89942,8 +89484,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: + - *465 - *466 - - *467 - name: event_id in: path required: true @@ -89954,7 +89496,7 @@ paths: description: Response content: application/json: - schema: *663 + schema: *661 examples: default: value: @@ -90147,7 +89689,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *477 + '410': *656 '403': *29 x-github: githubCloudOnly: false @@ -90181,9 +89723,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: + - *465 - *466 - - *467 - - &665 + - &663 name: issue_number description: The number that identifies the issue. in: path @@ -90197,10 +89739,10 @@ paths: application/json: schema: *226 examples: - default: *664 - '301': *480 + default: *662 + '301': *477 '404': *6 - '410': *477 + '410': *656 '304': *37 x-github: githubCloudOnly: false @@ -90225,9 +89767,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: + - *465 - *466 - - *467 - - *665 + - *663 requestBody: required: false content: @@ -90333,13 +89875,13 @@ paths: application/json: schema: *226 examples: - default: *664 + default: *662 '422': *15 '503': *190 '403': *29 - '301': *480 + '301': *477 '404': *6 - '410': *477 + '410': *656 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90357,9 +89899,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: + - *465 - *466 - - *467 - - *665 + - *663 requestBody: required: false content: @@ -90387,7 +89929,7 @@ paths: application/json: schema: *226 examples: - default: *664 + default: *662 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90403,9 +89945,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: + - *465 - *466 - - *467 - - *665 + - *663 requestBody: content: application/json: @@ -90432,7 +89974,7 @@ paths: application/json: schema: *226 examples: - default: *664 + default: *662 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90454,9 +89996,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: + - *465 - *466 - - *467 - - *665 + - *663 - name: assignee in: path required: true @@ -90496,9 +90038,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: + - *465 - *466 - - *467 - - *665 + - *663 - *216 - *17 - *19 @@ -90509,13 +90051,13 @@ paths: application/json: schema: type: array - items: *659 + items: *657 examples: - default: *666 + default: *664 headers: Link: *43 '404': *6 - '410': *477 + '410': *656 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90544,9 +90086,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: + - *465 - *466 - - *467 - - *665 + - *663 requestBody: required: true content: @@ -90568,16 +90110,16 @@ paths: description: Response content: application/json: - schema: *659 + schema: *657 examples: - default: *660 + default: *658 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *477 + '410': *656 '422': *15 '404': *6 x-github: @@ -90605,9 +90147,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: + - *465 - *466 - - *467 - - *665 + - *663 - *17 - *19 responses: @@ -90619,12 +90161,12 @@ paths: type: array items: *226 examples: - default: *667 + default: *665 headers: Link: *43 - '301': *480 + '301': *477 '404': *6 - '410': *477 + '410': *656 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90652,9 +90194,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: + - *465 - *466 - - *467 - - *665 + - *663 requestBody: required: true content: @@ -90678,15 +90220,15 @@ paths: application/json: schema: *226 examples: - default: *664 + default: *662 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *480 + '301': *477 '403': *29 - '410': *477 + '410': *656 '422': *15 '404': *6 x-github: @@ -90717,9 +90259,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: + - *465 - *466 - - *467 - - *665 + - *663 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -90733,13 +90275,13 @@ paths: application/json: schema: *226 examples: - default: *664 - '301': *480 + default: *662 + '301': *477 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *477 + '410': *656 x-github: triggersNotification: true githubCloudOnly: false @@ -90765,9 +90307,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: + - *465 - *466 - - *467 - - *665 + - *663 - *17 - *19 responses: @@ -90779,12 +90321,12 @@ paths: type: array items: *226 examples: - default: *667 + default: *665 headers: Link: *43 - '301': *480 + '301': *477 '404': *6 - '410': *477 + '410': *656 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90801,9 +90343,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: + - *465 - *466 - - *467 - - *665 + - *663 - *17 - *19 responses: @@ -90817,7 +90359,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &670 + - &668 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -90871,7 +90413,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &671 + - &669 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -91007,7 +90549,7 @@ paths: - performed_via_github_app - assignee - assigner - - &672 + - &670 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -91058,7 +90600,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &673 + - &671 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -91109,7 +90651,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &674 + - &672 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -91163,7 +90705,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &675 + - &673 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -91210,7 +90752,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &676 + - &674 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -91257,7 +90799,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &677 + - &675 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -91317,7 +90859,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &678 + - &676 title: Locked Issue Event description: Locked Issue Event type: object @@ -91365,7 +90907,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &679 + - &677 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -91431,7 +90973,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &680 + - &678 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -91497,7 +91039,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &681 + - &679 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -91563,7 +91105,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &682 + - &680 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -91654,7 +91196,7 @@ paths: color: red headers: Link: *43 - '410': *477 + '410': *656 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91671,9 +91213,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: + - *465 - *466 - - *467 - - *665 + - *663 - *17 - *19 responses: @@ -91683,7 +91225,7 @@ paths: application/json: schema: type: array - items: &668 + items: &666 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -91730,7 +91272,7 @@ paths: - color - default examples: - default: &669 + default: &667 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -91748,9 +91290,9 @@ paths: default: false headers: Link: *43 - '301': *480 + '301': *477 '404': *6 - '410': *477 + '410': *656 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91767,9 +91309,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: + - *465 - *466 - - *467 - - *665 + - *663 requestBody: required: false content: @@ -91828,12 +91370,12 @@ paths: application/json: schema: type: array - items: *668 + items: *666 examples: - default: *669 - '301': *480 + default: *667 + '301': *477 '404': *6 - '410': *477 + '410': *656 '422': *15 x-github: githubCloudOnly: false @@ -91850,9 +91392,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: + - *465 - *466 - - *467 - - *665 + - *663 requestBody: required: false content: @@ -91912,12 +91454,12 @@ paths: application/json: schema: type: array - items: *668 + items: *666 examples: - default: *669 - '301': *480 + default: *667 + '301': *477 '404': *6 - '410': *477 + '410': *656 '422': *15 x-github: githubCloudOnly: false @@ -91934,15 +91476,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: + - *465 - *466 - - *467 - - *665 + - *663 responses: '204': description: Response - '301': *480 + '301': *477 '404': *6 - '410': *477 + '410': *656 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91961,9 +91503,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: + - *465 - *466 - - *467 - - *665 + - *663 - name: name in: path required: true @@ -91976,7 +91518,7 @@ paths: application/json: schema: type: array - items: *668 + items: *666 examples: default: value: @@ -91987,9 +91529,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *480 + '301': *477 '404': *6 - '410': *477 + '410': *656 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92009,9 +91551,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: + - *465 - *466 - - *467 - - *665 + - *663 requestBody: required: false content: @@ -92039,7 +91581,7 @@ paths: '204': description: Response '403': *29 - '410': *477 + '410': *656 '404': *6 '422': *15 x-github: @@ -92057,9 +91599,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: + - *465 - *466 - - *467 - - *665 + - *663 responses: '204': description: Response @@ -92089,9 +91631,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#get-parent-issue parameters: + - *465 - *466 - - *467 - - *665 + - *663 responses: '200': description: Response @@ -92099,10 +91641,10 @@ paths: application/json: schema: *226 examples: - default: *664 - '301': *480 + default: *662 + '301': *477 '404': *6 - '410': *477 + '410': *656 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92119,9 +91661,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: + - *465 - *466 - - *467 - - *665 + - *663 - 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. @@ -92147,13 +91689,13 @@ paths: application/json: schema: type: array - items: *455 + items: *454 examples: - default: *457 + default: *456 headers: Link: *43 '404': *6 - '410': *477 + '410': *656 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92171,9 +91713,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: + - *465 - *466 - - *467 - - *665 + - *663 requestBody: required: true content: @@ -92205,16 +91747,16 @@ paths: description: Response content: application/json: - schema: *455 + schema: *454 examples: - default: *456 + default: *455 '201': description: Response content: application/json: - schema: *455 + schema: *454 examples: - default: *456 + default: *455 '422': *15 x-github: githubCloudOnly: false @@ -92236,10 +91778,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: + - *465 - *466 - - *467 - - *665 - - *458 + - *663 + - *457 responses: '204': description: Response @@ -92268,9 +91810,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: + - *465 - *466 - - *467 - - *665 + - *663 requestBody: required: true content: @@ -92294,7 +91836,7 @@ paths: application/json: schema: *226 examples: - default: *664 + default: *662 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -92327,9 +91869,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: + - *465 - *466 - - *467 - - *665 + - *663 - *17 - *19 responses: @@ -92341,11 +91883,11 @@ paths: type: array items: *226 examples: - default: *667 + default: *665 headers: Link: *43 '404': *6 - '410': *477 + '410': *656 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92373,9 +91915,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: + - *465 - *466 - - *467 - - *665 + - *663 requestBody: required: true content: @@ -92404,14 +91946,14 @@ paths: application/json: schema: *226 examples: - default: *664 + default: *662 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *477 + '410': *656 '422': *15 '404': *6 x-github: @@ -92431,9 +91973,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: + - *465 - *466 - - *467 - - *665 + - *663 requestBody: required: true content: @@ -92466,7 +92008,7 @@ paths: application/json: schema: *226 examples: - default: *664 + default: *662 '403': *29 '404': *6 '422': *7 @@ -92488,9 +92030,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: + - *465 - *466 - - *467 - - *665 + - *663 - *17 - *19 responses: @@ -92505,6 +92047,8 @@ paths: description: Timeline Event type: object anyOf: + - *668 + - *669 - *670 - *671 - *672 @@ -92516,8 +92060,6 @@ paths: - *678 - *679 - *680 - - *681 - - *682 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -92826,7 +92368,7 @@ paths: type: string comments: type: array - items: &704 + items: &702 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -93035,7 +92577,7 @@ paths: type: string comments: type: array - items: *584 + items: *581 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -93324,7 +92866,7 @@ paths: headers: Link: *43 '404': *6 - '410': *477 + '410': *656 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93341,8 +92883,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: + - *465 - *466 - - *467 - *17 - *19 responses: @@ -93352,7 +92894,7 @@ paths: application/json: schema: type: array - items: &683 + items: &681 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -93418,8 +92960,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: + - *465 - *466 - - *467 requestBody: required: true content: @@ -93455,9 +92997,9 @@ paths: description: Response content: application/json: - schema: *683 + schema: *681 examples: - default: &684 + default: &682 value: id: 1 key: ssh-rsa AAA... @@ -93491,9 +93033,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: + - *465 - *466 - - *467 - - &685 + - &683 name: key_id description: The unique identifier of the key. in: path @@ -93505,9 +93047,9 @@ paths: description: Response content: application/json: - schema: *683 + schema: *681 examples: - default: *684 + default: *682 '404': *6 x-github: githubCloudOnly: false @@ -93525,9 +93067,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: + - *465 - *466 - - *467 - - *685 + - *683 responses: '204': description: Response @@ -93547,8 +93089,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: + - *465 - *466 - - *467 - *17 - *19 responses: @@ -93558,9 +93100,9 @@ paths: application/json: schema: type: array - items: *668 + items: *666 examples: - default: *669 + default: *667 headers: Link: *43 '404': *6 @@ -93581,8 +93123,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: + - *465 - *466 - - *467 requestBody: required: true content: @@ -93618,9 +93160,9 @@ paths: description: Response content: application/json: - schema: *668 + schema: *666 examples: - default: &686 + default: &684 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -93652,8 +93194,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: + - *465 - *466 - - *467 - name: name in: path required: true @@ -93664,9 +93206,9 @@ paths: description: Response content: application/json: - schema: *668 + schema: *666 examples: - default: *686 + default: *684 '404': *6 x-github: githubCloudOnly: false @@ -93683,8 +93225,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: + - *465 - *466 - - *467 - name: name in: path required: true @@ -93723,7 +93265,7 @@ paths: description: Response content: application/json: - schema: *668 + schema: *666 examples: default: value: @@ -93749,8 +93291,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: + - *465 - *466 - - *467 - name: name in: path required: true @@ -93776,8 +93318,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: + - *465 - *466 - - *467 responses: '200': description: Response @@ -93813,8 +93355,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: + - *465 - *466 - - *467 responses: '202': *39 '403': @@ -93842,8 +93384,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: + - *465 - *466 - - *467 responses: '204': description: Response @@ -93869,9 +93411,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: + - *465 - *466 - - *467 - - *560 + - *557 responses: '200': description: Response @@ -94016,8 +93558,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: + - *465 - *466 - - *467 requestBody: required: true content: @@ -94082,8 +93624,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: + - *465 - *466 - - *467 requestBody: required: true content: @@ -94117,9 +93659,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *585 + schema: *582 examples: - default: *687 + default: *685 '204': description: Response when already merged '404': @@ -94144,8 +93686,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: + - *465 - *466 - - *467 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -94186,12 +93728,12 @@ paths: application/json: schema: type: array - items: &688 + items: &686 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *401 - required: *402 + properties: *400 + required: *401 examples: default: value: @@ -94247,8 +93789,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: + - *465 - *466 - - *467 requestBody: required: true content: @@ -94288,9 +93830,9 @@ paths: description: Response content: application/json: - schema: *688 + schema: *686 examples: - default: &689 + default: &687 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -94349,9 +93891,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: + - *465 - *466 - - *467 - - &690 + - &688 name: milestone_number description: The number that identifies the milestone. in: path @@ -94363,9 +93905,9 @@ paths: description: Response content: application/json: - schema: *688 + schema: *686 examples: - default: *689 + default: *687 '404': *6 x-github: githubCloudOnly: false @@ -94382,9 +93924,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: + - *465 - *466 - - *467 - - *690 + - *688 requestBody: required: false content: @@ -94422,9 +93964,9 @@ paths: description: Response content: application/json: - schema: *688 + schema: *686 examples: - default: *689 + default: *687 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94440,9 +93982,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: + - *465 - *466 - - *467 - - *690 + - *688 responses: '204': description: Response @@ -94463,9 +94005,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: + - *465 - *466 - - *467 - - *690 + - *688 - *17 - *19 responses: @@ -94475,9 +94017,9 @@ paths: application/json: schema: type: array - items: *668 + items: *666 examples: - default: *669 + default: *667 headers: Link: *43 x-github: @@ -94496,12 +94038,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: + - *465 - *466 - - *467 - - *691 - - *692 + - *689 + - *690 - *216 - - *693 + - *691 - *17 - *19 responses: @@ -94513,7 +94055,7 @@ paths: type: array items: *239 examples: - default: *694 + default: *692 headers: Link: *43 x-github: @@ -94537,8 +94079,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: + - *465 - *466 - - *467 requestBody: required: false content: @@ -94596,14 +94138,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: + - *465 - *466 - - *467 responses: '200': description: Response content: application/json: - schema: &695 + schema: &693 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -94728,7 +94270,7 @@ paths: - custom_404 - public examples: - default: &696 + default: &694 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -94769,8 +94311,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: + - *465 - *466 - - *467 requestBody: required: true content: @@ -94824,9 +94366,9 @@ paths: description: Response content: application/json: - schema: *695 + schema: *693 examples: - default: *696 + default: *694 '422': *15 '409': *114 x-github: @@ -94849,8 +94391,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: + - *465 - *466 - - *467 requestBody: required: true content: @@ -94957,8 +94499,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: + - *465 - *466 - - *467 responses: '204': description: Response @@ -94984,8 +94526,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: + - *465 - *466 - - *467 - *17 - *19 responses: @@ -94995,7 +94537,7 @@ paths: application/json: schema: type: array - items: &697 + items: &695 title: Page Build description: Page Build type: object @@ -95089,8 +94631,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: + - *465 - *466 - - *467 responses: '201': description: Response @@ -95135,16 +94677,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: + - *465 - *466 - - *467 responses: '200': description: Response content: application/json: - schema: *697 + schema: *695 examples: - default: &698 + default: &696 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -95192,8 +94734,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: + - *465 - *466 - - *467 - name: build_id in: path required: true @@ -95204,9 +94746,9 @@ paths: description: Response content: application/json: - schema: *697 + schema: *695 examples: - default: *698 + default: *696 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95226,8 +94768,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: + - *465 - *466 - - *467 requestBody: required: true content: @@ -95332,9 +94874,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: + - *465 - *466 - - *467 - - &699 + - &697 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -95392,9 +94934,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: + - *465 - *466 - - *467 - - *699 + - *697 responses: '204': *150 '404': *6 @@ -95421,8 +94963,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: + - *465 - *466 - - *467 responses: '200': description: Response @@ -95680,8 +95222,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: + - *465 - *466 - - *467 responses: '200': description: Private vulnerability reporting status @@ -95718,8 +95260,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: + - *465 - *466 - - *467 responses: '204': *150 '422': *14 @@ -95740,8 +95282,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: + - *465 - *466 - - *467 responses: '204': *150 '422': *14 @@ -95750,148 +95292,6 @@ paths: enabledForGitHubApps: true category: repos subcategory: repos - "/repos/{owner}/{repo}/projects": - get: - summary: List repository projects - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/list-for-repo - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-repository-projects - parameters: - - *466 - - *467 - - name: state - description: Indicates the state of the projects to return. - in: query - required: false - schema: - type: string - enum: - - open - - closed - - all - default: open - - *17 - - *19 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: *396 - examples: - default: - value: - - owner_url: https://api.github.com/repos/api-playground/projects-test - url: https://api.github.com/projects/1002604 - html_url: https://github.com/api-playground/projects-test/projects/1 - columns_url: https://api.github.com/projects/1002604/columns - id: 1002604 - node_id: MDc6UHJvamVjdDEwMDI2MDQ= - name: Projects Documentation - body: Developer documentation project for the developer site. - number: 1 - state: open - creator: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - created_at: '2011-04-10T20:09:31Z' - updated_at: '2014-03-03T18:58:10Z' - headers: - Link: *43 - '401': *25 - '403': *29 - '404': *6 - '410': *477 - '422': *7 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true - post: - summary: Create a repository project - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/create-for-repo - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#create-a-repository-project - parameters: - - *466 - - *467 - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - name: - type: string - description: The name of the project. - body: - type: string - description: The description of the project. - required: - - name - examples: - default: - value: - name: Projects Documentation - body: Developer documentation project for the developer site. - responses: - '201': - description: Response - content: - application/json: - schema: *396 - examples: - default: *476 - '401': *25 - '403': *29 - '404': *6 - '410': *477 - '422': *7 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true "/repos/{owner}/{repo}/properties/values": get: summary: Get all custom property values for a repository @@ -95905,8 +95305,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: + - *465 - *466 - - *467 responses: '200': description: Response @@ -95916,7 +95316,7 @@ paths: type: array items: *151 examples: - default: *700 + default: *698 '403': *29 '404': *6 x-github: @@ -95938,8 +95338,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: + - *465 - *466 - - *467 requestBody: required: true content: @@ -95955,7 +95355,7 @@ paths: required: - properties examples: - default: *701 + default: *699 responses: '204': description: No Content when custom property values are successfully created @@ -95993,8 +95393,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: + - *465 - *466 - - *467 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -96054,9 +95454,9 @@ paths: application/json: schema: type: array - items: *589 + items: *586 examples: - default: *702 + default: *700 headers: Link: *43 '304': *37 @@ -96088,8 +95488,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: + - *465 - *466 - - *467 requestBody: required: true content: @@ -96154,7 +95554,7 @@ paths: description: Response content: application/json: - schema: &706 + schema: &704 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -96265,8 +95665,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *401 - required: *402 + properties: *400 + required: *401 nullable: true active_lock_reason: type: string @@ -96311,7 +95711,7 @@ paths: nullable: true requested_teams: type: array - items: *433 + items: *432 nullable: true head: type: object @@ -96350,14 +95750,14 @@ paths: _links: type: object properties: - comments: *403 - commits: *403 - statuses: *403 - html: *403 - issue: *403 - review_comments: *403 - review_comment: *403 - self: *403 + comments: *402 + commits: *402 + statuses: *402 + html: *402 + issue: *402 + review_comments: *402 + review_comment: *402 + self: *402 required: - comments - commits @@ -96368,7 +95768,7 @@ paths: - review_comment - self author_association: *213 - auto_merge: *703 + auto_merge: *701 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -96460,7 +95860,7 @@ paths: - merged_by - review_comments examples: - default: &707 + default: &705 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -96987,8 +96387,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: + - *465 - *466 - - *467 - name: sort in: query required: false @@ -97017,9 +96417,9 @@ paths: application/json: schema: type: array - items: *704 + items: *702 examples: - default: &709 + default: &707 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -97096,17 +96496,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: + - *465 - *466 - - *467 - *225 responses: '200': description: Response content: application/json: - schema: *704 + schema: *702 examples: - default: &705 + default: &703 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -97181,8 +96581,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: + - *465 - *466 - - *467 - *225 requestBody: required: true @@ -97205,9 +96605,9 @@ paths: description: Response content: application/json: - schema: *704 + schema: *702 examples: - default: *705 + default: *703 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97223,8 +96623,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: + - *465 - *466 - - *467 - *225 responses: '204': @@ -97246,8 +96646,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: + - *465 - *466 - - *467 - *225 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -97274,9 +96674,9 @@ paths: application/json: schema: type: array - items: *455 + items: *454 examples: - default: *457 + default: *456 headers: Link: *43 '404': *6 @@ -97297,8 +96697,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: + - *465 - *466 - - *467 - *225 requestBody: required: true @@ -97331,16 +96731,16 @@ paths: description: Reaction exists content: application/json: - schema: *455 + schema: *454 examples: - default: *456 + default: *455 '201': description: Reaction created content: application/json: - schema: *455 + schema: *454 examples: - default: *456 + default: *455 '422': *15 x-github: githubCloudOnly: false @@ -97362,10 +96762,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: + - *465 - *466 - - *467 - *225 - - *458 + - *457 responses: '204': description: Response @@ -97408,9 +96808,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: + - *465 - *466 - - *467 - - &708 + - &706 name: pull_number description: The number that identifies the pull request. in: path @@ -97423,9 +96823,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *706 + schema: *704 examples: - default: *707 + default: *705 '304': *37 '404': *6 '406': @@ -97460,9 +96860,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: + - *465 - *466 - - *467 - - *708 + - *706 requestBody: required: false content: @@ -97504,9 +96904,9 @@ paths: description: Response content: application/json: - schema: *706 + schema: *704 examples: - default: *707 + default: *705 '422': *15 '403': *29 x-github: @@ -97528,9 +96928,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: + - *465 - *466 - - *467 - - *708 + - *706 requestBody: required: true content: @@ -97592,7 +96992,7 @@ paths: application/json: schema: *369 examples: - default: *574 + default: *571 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -97600,7 +97000,7 @@ paths: application/json: schema: *369 examples: - default: *574 + default: *571 '401': *25 '403': *29 '404': *6 @@ -97630,9 +97030,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: + - *465 - *466 - - *467 - - *708 + - *706 - *236 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -97653,9 +97053,9 @@ paths: application/json: schema: type: array - items: *704 + items: *702 examples: - default: *709 + default: *707 headers: Link: *43 x-github: @@ -97688,9 +97088,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: + - *465 - *466 - - *467 - - *708 + - *706 requestBody: required: true content: @@ -97795,7 +97195,7 @@ paths: description: Response content: application/json: - schema: *704 + schema: *702 examples: example-for-a-multi-line-comment: value: @@ -97883,9 +97283,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: + - *465 - *466 - - *467 - - *708 + - *706 - *225 requestBody: required: true @@ -97908,7 +97308,7 @@ paths: description: Response content: application/json: - schema: *704 + schema: *702 examples: default: value: @@ -97994,9 +97394,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: + - *465 - *466 - - *467 - - *708 + - *706 - *17 - *19 responses: @@ -98006,9 +97406,9 @@ paths: application/json: schema: type: array - items: *585 + items: *582 examples: - default: *710 + default: *708 headers: Link: *43 x-github: @@ -98038,9 +97438,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: + - *465 - *466 - - *467 - - *708 + - *706 - *17 - *19 responses: @@ -98050,7 +97450,7 @@ paths: application/json: schema: type: array - items: *598 + items: *595 examples: default: value: @@ -98088,9 +97488,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: + - *465 - *466 - - *467 - - *708 + - *706 responses: '204': description: Response if pull request has been merged @@ -98113,9 +97513,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: + - *465 - *466 - - *467 - - *708 + - *706 requestBody: required: false content: @@ -98226,9 +97626,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: + - *465 - *466 - - *467 - - *708 + - *706 responses: '200': description: Response @@ -98303,9 +97703,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: + - *465 - *466 - - *467 - - *708 + - *706 requestBody: required: false content: @@ -98342,7 +97742,7 @@ paths: description: Response content: application/json: - schema: *589 + schema: *586 examples: default: value: @@ -98878,9 +98278,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: + - *465 - *466 - - *467 - - *708 + - *706 requestBody: required: true content: @@ -98914,7 +98314,7 @@ paths: description: Response content: application/json: - schema: *589 + schema: *586 examples: default: value: @@ -99419,9 +98819,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: + - *465 - *466 - - *467 - - *708 + - *706 - *17 - *19 responses: @@ -99431,7 +98831,7 @@ paths: application/json: schema: type: array - items: &711 + items: &709 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -99582,9 +98982,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: + - *465 - *466 - - *467 - - *708 + - *706 requestBody: required: false content: @@ -99670,9 +99070,9 @@ paths: description: Response content: application/json: - schema: *711 + schema: *709 examples: - default: &713 + default: &711 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -99735,10 +99135,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: + - *465 - *466 - - *467 - - *708 - - &712 + - *706 + - &710 name: review_id description: The unique identifier of the review. in: path @@ -99750,9 +99150,9 @@ paths: description: Response content: application/json: - schema: *711 + schema: *709 examples: - default: &714 + default: &712 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -99811,10 +99211,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: + - *465 - *466 - - *467 - - *708 - - *712 + - *706 + - *710 requestBody: required: true content: @@ -99837,7 +99237,7 @@ paths: description: Response content: application/json: - schema: *711 + schema: *709 examples: default: value: @@ -99899,18 +99299,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: + - *465 - *466 - - *467 - - *708 - - *712 + - *706 + - *710 responses: '200': description: Response content: application/json: - schema: *711 + schema: *709 examples: - default: *713 + default: *711 '422': *7 '404': *6 x-github: @@ -99937,10 +99337,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: + - *465 - *466 - - *467 - - *708 - - *712 + - *706 + - *710 - *17 - *19 responses: @@ -100023,9 +99423,9 @@ paths: _links: type: object properties: - self: *403 - html: *403 - pull_request: *403 + self: *402 + html: *402 + pull_request: *402 required: - self - html @@ -100175,10 +99575,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: + - *465 - *466 - - *467 - - *708 - - *712 + - *706 + - *710 requestBody: required: true content: @@ -100206,7 +99606,7 @@ paths: description: Response content: application/json: - schema: *711 + schema: *709 examples: default: value: @@ -100269,10 +99669,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: + - *465 - *466 - - *467 - - *708 - - *712 + - *706 + - *710 requestBody: required: true content: @@ -100307,9 +99707,9 @@ paths: description: Response content: application/json: - schema: *711 + schema: *709 examples: - default: *714 + default: *712 '404': *6 '422': *7 '403': *29 @@ -100331,9 +99731,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: + - *465 - *466 - - *467 - - *708 + - *706 requestBody: required: false content: @@ -100396,8 +99796,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: + - *465 - *466 - - *467 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -100410,9 +99810,9 @@ paths: description: Response content: application/json: - schema: *715 + schema: *713 examples: - default: &716 + default: &714 value: type: file encoding: base64 @@ -100454,8 +99854,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: + - *465 - *466 - - *467 - name: dir description: The alternate path to look for a README file in: path @@ -100475,9 +99875,9 @@ paths: description: Response content: application/json: - schema: *715 + schema: *713 examples: - default: *716 + default: *714 '404': *6 '422': *15 x-github: @@ -100499,8 +99899,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: + - *465 - *466 - - *467 - *17 - *19 responses: @@ -100510,7 +99910,7 @@ paths: application/json: schema: type: array - items: &717 + items: &715 title: Release description: A release. type: object @@ -100581,7 +99981,7 @@ paths: author: *4 assets: type: array - items: &718 + items: &716 title: Release Asset description: Data related to a release. type: object @@ -100768,8 +100168,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: + - *465 - *466 - - *467 requestBody: required: true content: @@ -100845,9 +100245,9 @@ paths: description: Response content: application/json: - schema: *717 + schema: *715 examples: - default: &721 + default: &719 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -100952,9 +100352,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: + - *465 - *466 - - *467 - - &719 + - &717 name: asset_id description: The unique identifier of the asset. in: path @@ -100966,9 +100366,9 @@ paths: description: Response content: application/json: - schema: *718 + schema: *716 examples: - default: &720 + default: &718 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 @@ -101003,7 +100403,7 @@ paths: type: User site_admin: false '404': *6 - '302': *600 + '302': *597 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101019,9 +100419,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: + - *465 - *466 - - *467 - - *719 + - *717 requestBody: required: false content: @@ -101049,9 +100449,9 @@ paths: description: Response content: application/json: - schema: *718 + schema: *716 examples: - default: *720 + default: *718 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101067,9 +100467,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: + - *465 - *466 - - *467 - - *719 + - *717 responses: '204': description: Response @@ -101093,8 +100493,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: + - *465 - *466 - - *467 requestBody: required: true content: @@ -101179,16 +100579,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: + - *465 - *466 - - *467 responses: '200': description: Response content: application/json: - schema: *717 + schema: *715 examples: - default: *721 + default: *719 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101205,8 +100605,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: + - *465 - *466 - - *467 - name: tag description: tag parameter in: path @@ -101219,9 +100619,9 @@ paths: description: Response content: application/json: - schema: *717 + schema: *715 examples: - default: *721 + default: *719 '404': *6 x-github: githubCloudOnly: false @@ -101243,9 +100643,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: + - *465 - *466 - - *467 - - &722 + - &720 name: release_id description: The unique identifier of the release. in: path @@ -101259,9 +100659,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: *717 + schema: *715 examples: - default: *721 + default: *719 '401': description: Unauthorized x-github: @@ -101279,9 +100679,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: + - *465 - *466 - - *467 - - *722 + - *720 requestBody: required: false content: @@ -101345,9 +100745,9 @@ paths: description: Response content: application/json: - schema: *717 + schema: *715 examples: - default: *721 + default: *719 '404': description: Not Found if the discussion category name is invalid content: @@ -101368,9 +100768,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: + - *465 - *466 - - *467 - - *722 + - *720 responses: '204': description: Response @@ -101390,9 +100790,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: + - *465 - *466 - - *467 - - *722 + - *720 - *17 - *19 responses: @@ -101402,7 +100802,7 @@ paths: application/json: schema: type: array - items: *718 + items: *716 examples: default: value: @@ -101484,9 +100884,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: + - *465 - *466 - - *467 - - *722 + - *720 - name: name in: query required: true @@ -101512,7 +100912,7 @@ paths: description: Response for successful upload content: application/json: - schema: *718 + schema: *716 examples: response-for-successful-upload: value: @@ -101567,9 +100967,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: + - *465 - *466 - - *467 - - *722 + - *720 - 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. @@ -101593,9 +100993,9 @@ paths: application/json: schema: type: array - items: *455 + items: *454 examples: - default: *457 + default: *456 headers: Link: *43 '404': *6 @@ -101616,9 +101016,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: + - *465 - *466 - - *467 - - *722 + - *720 requestBody: required: true content: @@ -101648,16 +101048,16 @@ paths: description: Reaction exists content: application/json: - schema: *455 + schema: *454 examples: - default: *456 + default: *455 '201': description: Reaction created content: application/json: - schema: *455 + schema: *454 examples: - default: *456 + default: *455 '422': *15 x-github: githubCloudOnly: false @@ -101679,10 +101079,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: + - *465 - *466 - - *467 - - *722 - - *458 + - *720 + - *457 responses: '204': description: Response @@ -101706,9 +101106,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: + - *465 - *466 - - *467 - - *525 + - *522 - *17 - *19 responses: @@ -101725,7 +101125,7 @@ paths: oneOf: - allOf: - *165 - - &723 + - &721 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -101746,67 +101146,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *166 - - *723 + - *721 - allOf: - *167 - - *723 + - *721 - allOf: - *168 - - *723 + - *721 - allOf: - - *724 - - *723 + - *722 + - *721 - allOf: - *169 - - *723 + - *721 - allOf: - *170 - - *723 + - *721 - allOf: - *171 - - *723 + - *721 - allOf: - *172 - - *723 + - *721 - allOf: - *173 - - *723 + - *721 - allOf: - *174 - - *723 + - *721 - allOf: - *175 - - *723 + - *721 - allOf: - *176 - - *723 + - *721 - allOf: - *177 - - *723 + - *721 - allOf: - *178 - - *723 + - *721 - allOf: - *179 - - *723 + - *721 - allOf: - *180 - - *723 + - *721 - allOf: - *181 - - *723 + - *721 - allOf: - *182 - - *723 + - *721 - allOf: - *183 - - *723 + - *721 - allOf: - *184 - - *723 + - *721 - allOf: - - *725 - *723 + - *721 examples: default: value: @@ -101845,8 +101245,8 @@ paths: category: repos subcategory: rules parameters: + - *465 - *466 - - *467 - *17 - *19 - name: includes_parents @@ -101857,7 +101257,7 @@ paths: schema: type: boolean default: true - - *726 + - *724 responses: '200': description: Response @@ -101912,8 +101312,8 @@ paths: category: repos subcategory: rules parameters: + - *465 - *466 - - *467 requestBody: description: Request body required: true @@ -101942,7 +101342,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *727 + items: *725 required: - name - enforcement @@ -101975,7 +101375,7 @@ paths: application/json: schema: *185 examples: - default: &736 + default: &734 value: id: 42 name: super cool ruleset @@ -102022,12 +101422,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: + - *465 - *466 - - *467 - - *728 + - *726 - *101 - - *729 - - *730 + - *727 + - *728 - *17 - *19 responses: @@ -102035,9 +101435,9 @@ paths: description: Response content: application/json: - schema: *731 + schema: *729 examples: - default: *732 + default: *730 '404': *6 '500': *40 x-github: @@ -102058,17 +101458,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: + - *465 - *466 - - *467 - - *733 + - *731 responses: '200': description: Response content: application/json: - schema: *734 + schema: *732 examples: - default: *735 + default: *733 '404': *6 '500': *40 x-github: @@ -102096,8 +101496,8 @@ paths: category: repos subcategory: rules parameters: + - *465 - *466 - - *467 - name: ruleset_id description: The ID of the ruleset. in: path @@ -102119,7 +101519,7 @@ paths: application/json: schema: *185 examples: - default: *736 + default: *734 '404': *6 '500': *40 put: @@ -102137,8 +101537,8 @@ paths: category: repos subcategory: rules parameters: + - *465 - *466 - - *467 - name: ruleset_id description: The ID of the ruleset. in: path @@ -102172,7 +101572,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *727 + items: *725 examples: default: value: @@ -102202,7 +101602,7 @@ paths: application/json: schema: *185 examples: - default: *736 + default: *734 '404': *6 '500': *40 delete: @@ -102220,8 +101620,8 @@ paths: category: repos subcategory: rules parameters: + - *465 - *466 - - *467 - name: ruleset_id description: The ID of the ruleset. in: path @@ -102244,8 +101644,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: + - *465 - *466 - - *467 - *17 - *19 - name: ruleset_id @@ -102263,7 +101663,7 @@ paths: type: array items: *189 examples: - default: *418 + default: *417 '404': *6 '500': *40 x-github: @@ -102282,8 +101682,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: + - *465 - *466 - - *467 - name: ruleset_id description: The ID of the ruleset. in: path @@ -102301,7 +101701,7 @@ paths: description: Response content: application/json: - schema: *419 + schema: *418 examples: default: value: @@ -102356,21 +101756,21 @@ 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: + - *465 - *466 - - *467 + - *419 - *420 - *421 - *422 - - *423 - *106 - *19 - *17 - - *737 - - *738 + - *735 + - *736 + - *423 - *424 - *425 - *426 - - *427 responses: '200': description: Response @@ -102378,7 +101778,7 @@ paths: application/json: schema: type: array - items: &742 + items: &740 type: object properties: number: *123 @@ -102397,8 +101797,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *739 - resolution: *740 + state: *737 + resolution: *738 resolved_at: type: string format: date-time @@ -102494,7 +101894,7 @@ paths: pull request. ' - oneOf: *741 + oneOf: *739 nullable: true has_more_locations: type: boolean @@ -102643,16 +102043,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: + - *465 - *466 - - *467 - - *554 - - *427 + - *551 + - *426 responses: '200': description: Response content: application/json: - schema: *742 + schema: *740 examples: default: value: @@ -102704,9 +102104,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: + - *465 - *466 - - *467 - - *554 + - *551 requestBody: required: true content: @@ -102714,8 +102114,8 @@ paths: schema: type: object properties: - state: *739 - resolution: *740 + state: *737 + resolution: *738 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -102733,7 +102133,7 @@ paths: description: Response content: application/json: - schema: *742 + schema: *740 examples: default: value: @@ -102808,9 +102208,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: + - *465 - *466 - - *467 - - *554 + - *551 - *19 - *17 responses: @@ -102821,7 +102221,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &924 + items: &922 type: object properties: type: @@ -102847,6 +102247,8 @@ paths: example: commit details: oneOf: + - *741 + - *742 - *743 - *744 - *745 @@ -102858,8 +102260,6 @@ paths: - *751 - *752 - *753 - - *754 - - *755 examples: default: value: @@ -102945,8 +102345,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: + - *465 - *466 - - *467 requestBody: required: true content: @@ -102954,14 +102354,14 @@ paths: schema: type: object properties: - reason: &757 + reason: &755 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *756 + placeholder_id: *754 required: - reason - placeholder_id @@ -102978,7 +102378,7 @@ paths: schema: type: object properties: - reason: *757 + reason: *755 expire_at: type: string format: date-time @@ -103024,8 +102424,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: + - *465 - *466 - - *467 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -103040,7 +102440,7 @@ paths: properties: incremental_scans: type: array - items: &758 + items: &756 description: Information on a single scan performed by secret scanning on the repository type: object @@ -103066,15 +102466,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *758 + items: *756 backfill_scans: type: array - items: *758 + items: *756 custom_pattern_backfill_scans: type: array items: allOf: - - *758 + - *756 - type: object properties: pattern_name: @@ -103144,8 +102544,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: + - *465 - *466 - - *467 - *106 - name: sort description: The property to sort the results by. @@ -103189,9 +102589,9 @@ paths: application/json: schema: type: array - items: *759 + items: *757 examples: - default: *760 + default: *758 '400': *14 '404': *6 x-github: @@ -103214,8 +102614,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: + - *465 - *466 - - *467 requestBody: required: true content: @@ -103288,7 +102688,7 @@ paths: login: type: string description: The username of the user credited. - type: *432 + type: *431 required: - login - type @@ -103375,9 +102775,9 @@ paths: description: Response content: application/json: - schema: *759 + schema: *757 examples: - default: &762 + default: &760 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -103610,8 +103010,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: + - *465 - *466 - - *467 requestBody: required: true content: @@ -103715,7 +103115,7 @@ paths: description: Response content: application/json: - schema: *759 + schema: *757 examples: default: value: @@ -103862,17 +103262,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: + - *465 - *466 - - *467 - - *761 + - *759 responses: '200': description: Response content: application/json: - schema: *759 + schema: *757 examples: - default: *762 + default: *760 '403': *29 '404': *6 x-github: @@ -103896,9 +103296,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: + - *465 - *466 - - *467 - - *761 + - *759 requestBody: required: true content: @@ -103971,7 +103371,7 @@ paths: login: type: string description: The username of the user credited. - type: *432 + type: *431 required: - login - type @@ -104057,10 +103457,10 @@ paths: description: Response content: application/json: - schema: *759 + schema: *757 examples: - default: *762 - add_credit: *762 + default: *760 + add_credit: *760 '403': *29 '404': *6 '422': @@ -104098,9 +103498,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: + - *465 - *466 - - *467 - - *761 + - *759 responses: '202': *39 '400': *14 @@ -104127,17 +103527,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: + - *465 - *466 - - *467 - - *761 + - *759 responses: '202': description: Response content: application/json: - schema: *479 + schema: *476 examples: - default: *481 + default: *478 '400': *14 '422': *15 '403': *29 @@ -104163,8 +103563,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: + - *465 - *466 - - *467 - *17 - *19 responses: @@ -104263,8 +103663,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: + - *465 - *466 - - *467 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -104273,7 +103673,7 @@ paths: application/json: schema: type: array - items: &763 + items: &761 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -104306,8 +103706,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: + - *465 - *466 - - *467 responses: '200': description: Response @@ -104383,8 +103783,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: + - *465 - *466 - - *467 responses: '200': description: Response @@ -104480,8 +103880,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: + - *465 - *466 - - *467 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -104635,8 +104035,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: + - *465 - *466 - - *467 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -104646,7 +104046,7 @@ paths: application/json: schema: type: array - items: *763 + items: *761 examples: default: value: @@ -104679,8 +104079,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: + - *465 - *466 - - *467 - name: sha in: path required: true @@ -104734,7 +104134,7 @@ paths: description: Response content: application/json: - schema: *764 + schema: *762 examples: default: value: @@ -104788,8 +104188,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: + - *465 - *466 - - *467 - *17 - *19 responses: @@ -104821,14 +104221,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: + - *465 - *466 - - *467 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &765 + schema: &763 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -104896,8 +104296,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: + - *465 - *466 - - *467 requestBody: required: false content: @@ -104923,7 +104323,7 @@ paths: description: Response content: application/json: - schema: *765 + schema: *763 examples: default: value: @@ -104950,8 +104350,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: + - *465 - *466 - - *467 responses: '204': description: Response @@ -104971,8 +104371,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: + - *465 - *466 - - *467 - *17 - *19 responses: @@ -105051,8 +104451,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: + - *465 - *466 - - *467 responses: '200': description: Response @@ -105060,7 +104460,7 @@ paths: application/json: schema: type: array - items: &766 + items: &764 title: Tag protection description: Tag protection type: object @@ -105112,8 +104512,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: + - *465 - *466 - - *467 requestBody: required: true content: @@ -105136,7 +104536,7 @@ paths: description: Response content: application/json: - schema: *766 + schema: *764 examples: default: value: @@ -105167,8 +104567,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: + - *465 - *466 - - *467 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -105205,8 +104605,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: + - *465 - *466 - - *467 - name: ref in: path required: true @@ -105242,8 +104642,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: + - *465 - *466 - - *467 - *17 - *19 responses: @@ -105275,8 +104675,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: + - *465 - *466 - - *467 - *19 - *17 responses: @@ -105284,7 +104684,7 @@ paths: description: Response content: application/json: - schema: &767 + schema: &765 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -105296,7 +104696,7 @@ paths: required: - names examples: - default: &768 + default: &766 value: names: - octocat @@ -105319,8 +104719,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: + - *465 - *466 - - *467 requestBody: required: true content: @@ -105351,9 +104751,9 @@ paths: description: Response content: application/json: - schema: *767 + schema: *765 examples: - default: *768 + default: *766 '404': *6 '422': *7 x-github: @@ -105374,9 +104774,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: + - *465 - *466 - - *467 - - &769 + - &767 name: per description: The time frame to display results for. in: query @@ -105405,7 +104805,7 @@ paths: example: 128 clones: type: array - items: &770 + items: &768 title: Traffic type: object properties: @@ -105492,8 +104892,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: + - *465 - *466 - - *467 responses: '200': description: Response @@ -105583,8 +104983,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: + - *465 - *466 - - *467 responses: '200': description: Response @@ -105644,9 +105044,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: + - *465 - *466 - - *467 - - *769 + - *767 responses: '200': description: Response @@ -105665,7 +105065,7 @@ paths: example: 3782 views: type: array - items: *770 + items: *768 required: - uniques - count @@ -105742,8 +105142,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: + - *465 - *466 - - *467 requestBody: required: true content: @@ -106017,8 +105417,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: + - *465 - *466 - - *467 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -106041,8 +105441,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: + - *465 - *466 - - *467 responses: '204': description: Response @@ -106064,8 +105464,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: + - *465 - *466 - - *467 responses: '204': description: Response @@ -106091,8 +105491,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: + - *465 - *466 - - *467 - name: ref in: path required: true @@ -106184,9 +105584,9 @@ paths: description: Response content: application/json: - schema: *479 + schema: *476 examples: - default: *481 + default: *478 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -106337,7 +105737,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &778 + - &776 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -106346,7 +105746,7 @@ paths: schema: type: string example: members - - &783 + - &781 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -106357,7 +105757,7 @@ paths: default: 1 format: int32 example: 1 - - &784 + - &782 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -106399,7 +105799,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &773 + items: &771 allOf: - type: object required: @@ -106474,7 +105874,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: &785 + meta: &783 type: object description: The metadata associated with the creation/updates to the user. @@ -106534,30 +105934,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &774 + '400': &772 description: Bad request content: application/json: - schema: *771 + schema: *769 application/scim+json: - schema: *771 - '401': *772 - '403': &775 + schema: *769 + '401': *770 + '403': &773 description: Permission denied - '429': &776 + '429': &774 description: Too many requests content: application/json: - schema: *771 + schema: *769 application/scim+json: - schema: *771 - '500': &777 + schema: *769 + '500': &775 description: Internal server error content: application/json: - schema: *771 + schema: *769 application/scim+json: - schema: *771 + schema: *769 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -106581,7 +105981,7 @@ paths: required: true content: application/json: - schema: &781 + schema: &779 type: object required: - schemas @@ -106641,9 +106041,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *773 + schema: *771 examples: - group: &779 + group: &777 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -106662,13 +106062,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 - '400': *774 - '401': *772 - '403': *775 - '409': &782 + '400': *772 + '401': *770 + '403': *773 + '409': &780 description: Duplicate record detected - '429': *776 - '500': *777 + '429': *774 + '500': *775 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -106685,7 +106085,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: - - &780 + - &778 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -106693,22 +106093,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *778 + - *776 - *41 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *773 + schema: *771 examples: - default: *779 - '400': *774 - '401': *772 - '403': *775 + default: *777 + '400': *772 + '401': *770 + '403': *773 '404': *6 - '429': *776 - '500': *777 + '429': *774 + '500': *775 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -106727,13 +106127,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: - - *780 + - *778 - *41 requestBody: required: true content: application/json: - schema: *781 + schema: *779 examples: group: summary: Group @@ -106759,17 +106159,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *773 + schema: *771 examples: - group: *779 - groupWithMembers: *779 - '400': *774 - '401': *772 - '403': *775 + group: *777 + groupWithMembers: *777 + '400': *772 + '401': *770 + '403': *773 '404': *6 - '409': *782 - '429': *776 - '500': *777 + '409': *780 + '429': *774 + '500': *775 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -106793,13 +106193,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: - - *780 + - *778 - *41 requestBody: required: true content: application/json: - schema: &792 + schema: &790 type: object required: - Operations @@ -106859,17 +106259,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *773 + schema: *771 examples: - updateGroup: *779 - addMembers: *779 - '400': *774 - '401': *772 - '403': *775 + updateGroup: *777 + addMembers: *777 + '400': *772 + '401': *770 + '403': *773 '404': *6 - '409': *782 - '429': *776 - '500': *777 + '409': *780 + '429': *774 + '500': *775 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -106885,17 +106285,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: - - *780 + - *778 - *41 responses: '204': description: Group was deleted, no content - '400': *774 - '401': *772 - '403': *775 + '400': *772 + '401': *770 + '403': *773 '404': *6 - '429': *776 - '500': *777 + '429': *774 + '500': *775 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -106929,8 +106329,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *783 - - *784 + - *781 + - *782 - *41 responses: '200': @@ -106963,7 +106363,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &787 + items: &785 allOf: - type: object required: @@ -107042,7 +106442,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &786 + roles: &784 type: array description: The roles assigned to the user. items: @@ -107098,7 +106498,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *785 + meta: *783 startIndex: type: integer description: A starting index for the returned page @@ -107135,11 +106535,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *774 - '401': *772 - '403': *775 - '429': *776 - '500': *777 + '400': *772 + '401': *770 + '403': *773 + '429': *774 + '500': *775 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107163,7 +106563,7 @@ paths: required: true content: application/json: - schema: &790 + schema: &788 type: object required: - schemas @@ -107245,9 +106645,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *786 + roles: *784 examples: - user: &791 + user: &789 summary: User value: schemas: @@ -107294,9 +106694,9 @@ paths: description: User has been created content: application/scim+json: - schema: *787 + schema: *785 examples: - user: &788 + user: &786 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -107322,13 +106722,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: *788 - '400': *774 - '401': *772 - '403': *775 - '409': *782 - '429': *776 - '500': *777 + enterpriseOwner: *786 + '400': *772 + '401': *770 + '403': *773 + '409': *780 + '429': *774 + '500': *775 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107345,7 +106745,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: - - &789 + - &787 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -107358,15 +106758,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *787 + schema: *785 examples: - default: *788 - '400': *774 - '401': *772 - '403': *775 + default: *786 + '400': *772 + '401': *770 + '403': *773 '404': *6 - '429': *776 - '500': *777 + '429': *774 + '500': *775 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107388,30 +106788,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: - - *789 + - *787 - *41 requestBody: required: true content: application/json: - schema: *790 + schema: *788 examples: - user: *791 + user: *789 responses: '200': description: User was updated content: application/scim+json: - schema: *787 + schema: *785 examples: - user: *788 - '400': *774 - '401': *772 - '403': *775 + user: *786 + '400': *772 + '401': *770 + '403': *773 '404': *6 - '409': *782 - '429': *776 - '500': *777 + '409': *780 + '429': *774 + '500': *775 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107446,13 +106846,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: - - *789 + - *787 - *41 requestBody: required: true content: application/json: - schema: *792 + schema: *790 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -107492,18 +106892,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *787 + schema: *785 examples: - userMultiValuedProperties: *788 - userSingleValuedProperties: *788 - disableUser: *788 - '400': *774 - '401': *772 - '403': *775 + userMultiValuedProperties: *786 + userSingleValuedProperties: *786 + disableUser: *786 + '400': *772 + '401': *770 + '403': *773 '404': *6 - '409': *782 - '429': *776 - '500': *777 + '409': *780 + '429': *774 + '500': *775 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107523,17 +106923,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: - - *789 + - *787 - *41 responses: '204': description: User was deleted, no content - '400': *774 - '401': *772 - '403': *775 + '400': *772 + '401': *770 + '403': *773 '404': *6 - '429': *776 - '500': *777 + '429': *774 + '500': *775 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107620,7 +107020,7 @@ paths: example: 1 Resources: type: array - items: &793 + items: &791 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -107851,22 +107251,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': &794 + '404': &792 description: Resource not found content: application/json: - schema: *771 + schema: *769 application/scim+json: - schema: *771 - '403': &795 + schema: *769 + '403': &793 description: Forbidden content: application/json: - schema: *771 + schema: *769 application/scim+json: - schema: *771 - '400': *774 - '429': *776 + schema: *769 + '400': *772 + '429': *774 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -107892,9 +107292,9 @@ paths: description: Response content: application/scim+json: - schema: *793 + schema: *791 examples: - default: &796 + default: &794 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -107917,17 +107317,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': *794 - '403': *795 - '500': *777 + '404': *792 + '403': *793 + '500': *775 '409': description: Conflict content: application/json: - schema: *771 + schema: *769 application/scim+json: - schema: *771 - '400': *774 + schema: *769 + '400': *772 requestBody: required: true content: @@ -108025,17 +107425,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *83 - - *789 + - *787 responses: '200': description: Response content: application/scim+json: - schema: *793 + schema: *791 examples: - default: *796 - '404': *794 - '403': *795 + default: *794 + '404': *792 + '403': *793 '304': *37 x-github: githubCloudOnly: true @@ -108059,18 +107459,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *83 - - *789 + - *787 responses: '200': description: Response content: application/scim+json: - schema: *793 + schema: *791 examples: - default: *796 + default: *794 '304': *37 - '404': *794 - '403': *795 + '404': *792 + '403': *793 requestBody: required: true content: @@ -108183,19 +107583,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *83 - - *789 + - *787 responses: '200': description: Response content: application/scim+json: - schema: *793 + schema: *791 examples: - default: *796 + default: *794 '304': *37 - '404': *794 - '403': *795 - '400': *774 + '404': *792 + '403': *793 + '400': *772 '429': description: Response content: @@ -108286,12 +107686,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *83 - - *789 + - *787 responses: '204': description: Response - '404': *794 - '403': *795 + '404': *792 + '403': *793 '304': *37 x-github: githubCloudOnly: true @@ -108424,7 +107824,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &797 + text_matches: &795 title: Search Result Text Matches type: array items: @@ -108587,7 +107987,7 @@ paths: enum: - author-date - committer-date - - &798 + - &796 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 @@ -108658,7 +108058,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *523 + properties: *520 nullable: true comment_count: type: integer @@ -108678,7 +108078,7 @@ paths: url: type: string format: uri - verification: *645 + verification: *642 required: - author - committer @@ -108697,7 +108097,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *523 + properties: *520 nullable: true parents: type: array @@ -108715,7 +108115,7 @@ paths: type: number node_id: type: string - text_matches: *797 + text_matches: *795 required: - sha - node_id @@ -108908,7 +108308,7 @@ paths: - interactions - created - updated - - *798 + - *796 - *17 - *19 - name: advanced_search @@ -109005,11 +108405,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *799 - issue_dependencies_summary: *800 + sub_issues_summary: *797 + issue_dependencies_summary: *798 issue_field_values: type: array - items: *801 + items: *799 state: type: string state_reason: @@ -109026,8 +108426,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *401 - required: *402 + properties: *400 + required: *401 nullable: true comments: type: integer @@ -109041,7 +108441,7 @@ paths: type: string format: date-time nullable: true - text_matches: *797 + text_matches: *795 pull_request: type: object properties: @@ -109266,7 +108666,7 @@ paths: enum: - created - updated - - *798 + - *796 - *17 - *19 responses: @@ -109310,7 +108710,7 @@ paths: nullable: true score: type: number - text_matches: *797 + text_matches: *795 required: - id - node_id @@ -109396,7 +108796,7 @@ paths: - forks - help-wanted-issues - updated - - *798 + - *796 - *17 - *19 responses: @@ -109635,7 +109035,7 @@ paths: - admin - pull - push - text_matches: *797 + text_matches: *795 temp_clone_token: type: string allow_merge_commit: @@ -109936,7 +109336,7 @@ paths: type: string format: uri nullable: true - text_matches: *797 + text_matches: *795 related: type: array nullable: true @@ -110129,7 +109529,7 @@ paths: - followers - repositories - joined - - *798 + - *796 - *17 - *19 responses: @@ -110233,7 +109633,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *797 + text_matches: *795 blog: type: string nullable: true @@ -110312,7 +109712,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &802 + - &800 name: team_id description: The unique identifier of the team. in: path @@ -110324,9 +109724,9 @@ paths: description: Response content: application/json: - schema: *447 + schema: *446 examples: - default: *448 + default: *447 '404': *6 x-github: githubCloudOnly: false @@ -110353,7 +109753,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *802 + - *800 requestBody: required: true content: @@ -110416,16 +109816,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *447 + schema: *446 examples: - default: *448 + default: *447 '201': description: Response content: application/json: - schema: *447 + schema: *446 examples: - default: *448 + default: *447 '404': *6 '422': *15 '403': *29 @@ -110453,7 +109853,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *802 + - *800 responses: '204': description: Response @@ -110484,7 +109884,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *802 + - *800 - *106 - *17 - *19 @@ -110495,9 +109895,9 @@ paths: application/json: schema: type: array - items: *449 + items: *448 examples: - default: *803 + default: *801 headers: Link: *43 x-github: @@ -110526,7 +109926,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *802 + - *800 requestBody: required: true content: @@ -110560,9 +109960,9 @@ paths: description: Response content: application/json: - schema: *449 + schema: *448 examples: - default: *450 + default: *449 x-github: triggersNotification: true githubCloudOnly: false @@ -110589,16 +109989,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *802 - - *451 + - *800 + - *450 responses: '200': description: Response content: application/json: - schema: *449 + schema: *448 examples: - default: *450 + default: *449 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110623,8 +110023,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *802 - - *451 + - *800 + - *450 requestBody: required: false content: @@ -110647,9 +110047,9 @@ paths: description: Response content: application/json: - schema: *449 + schema: *448 examples: - default: *804 + default: *802 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110674,8 +110074,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *802 - - *451 + - *800 + - *450 responses: '204': description: Response @@ -110704,8 +110104,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *802 - - *451 + - *800 + - *450 - *106 - *17 - *19 @@ -110716,9 +110116,9 @@ paths: application/json: schema: type: array - items: *452 + items: *451 examples: - default: *805 + default: *803 headers: Link: *43 x-github: @@ -110747,8 +110147,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *802 - - *451 + - *800 + - *450 requestBody: required: true content: @@ -110770,9 +110170,9 @@ paths: description: Response content: application/json: - schema: *452 + schema: *451 examples: - default: *453 + default: *452 x-github: triggersNotification: true githubCloudOnly: false @@ -110799,17 +110199,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *802 - - *451 - - *454 + - *800 + - *450 + - *453 responses: '200': description: Response content: application/json: - schema: *452 + schema: *451 examples: - default: *453 + default: *452 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110834,9 +110234,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *802 - - *451 - - *454 + - *800 + - *450 + - *453 requestBody: required: true content: @@ -110858,9 +110258,9 @@ paths: description: Response content: application/json: - schema: *452 + schema: *451 examples: - default: *806 + default: *804 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110885,9 +110285,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *802 - - *451 - - *454 + - *800 + - *450 + - *453 responses: '204': description: Response @@ -110916,9 +110316,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: - - *802 - - *451 - - *454 + - *800 + - *450 + - *453 - 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. @@ -110944,9 +110344,9 @@ paths: application/json: schema: type: array - items: *455 + items: *454 examples: - default: *457 + default: *456 headers: Link: *43 x-github: @@ -110975,9 +110375,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: - - *802 - - *451 - - *454 + - *800 + - *450 + - *453 requestBody: required: true content: @@ -111009,9 +110409,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *454 examples: - default: *456 + default: *455 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111037,8 +110437,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: - - *802 - - *451 + - *800 + - *450 - 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. @@ -111064,9 +110464,9 @@ paths: application/json: schema: type: array - items: *455 + items: *454 examples: - default: *457 + default: *456 headers: Link: *43 x-github: @@ -111095,8 +110495,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: - - *802 - - *451 + - *800 + - *450 requestBody: required: true content: @@ -111128,9 +110528,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *454 examples: - default: *456 + default: *455 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111154,7 +110554,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *802 + - *800 - *17 - *19 responses: @@ -111192,7 +110592,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *802 + - *800 - name: role description: Filters members returned by their role in the team. in: query @@ -111243,7 +110643,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *802 + - *800 - *138 responses: '204': @@ -111280,7 +110680,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *802 + - *800 - *138 responses: '204': @@ -111320,7 +110720,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *802 + - *800 - *138 responses: '204': @@ -111357,16 +110757,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: - - *802 + - *800 - *138 responses: '200': description: Response content: application/json: - schema: *463 + schema: *462 examples: - response-if-user-is-a-team-maintainer: *807 + response-if-user-is-a-team-maintainer: *805 '404': *6 x-github: githubCloudOnly: false @@ -111399,7 +110799,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: - - *802 + - *800 - *138 requestBody: required: false @@ -111425,9 +110825,9 @@ paths: description: Response content: application/json: - schema: *463 + schema: *462 examples: - response-if-users-membership-with-team-is-now-pending: *808 + response-if-users-membership-with-team-is-now-pending: *806 '403': description: Forbidden if team synchronization is set up '422': @@ -111461,7 +110861,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: - - *802 + - *800 - *138 responses: '204': @@ -111490,7 +110890,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *802 + - *800 - *17 - *19 responses: @@ -111500,9 +110900,9 @@ paths: application/json: schema: type: array - items: *464 + items: *463 examples: - default: *809 + default: *807 headers: Link: *43 '404': *6 @@ -111528,16 +110928,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: - - *802 - - *465 + - *800 + - *464 responses: '200': description: Response content: application/json: - schema: *464 + schema: *463 examples: - default: *810 + default: *808 '404': description: Not Found if project is not managed by this team x-github: @@ -111561,8 +110961,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: - - *802 - - *465 + - *800 + - *464 requestBody: required: false content: @@ -111629,8 +111029,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: - - *802 - - *465 + - *800 + - *464 responses: '204': description: Response @@ -111657,7 +111057,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *802 + - *800 - *17 - *19 responses: @@ -111699,15 +111099,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: - - *802 + - *800 + - *465 - *466 - - *467 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *811 + schema: *809 examples: alternative-response-with-extra-repository-information: value: @@ -111858,9 +111258,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: - - *802 + - *800 + - *465 - *466 - - *467 requestBody: required: false content: @@ -111910,9 +111310,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: - - *802 + - *800 + - *465 - *466 - - *467 responses: '204': description: Response @@ -111941,15 +111341,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: - - *802 + - *800 responses: '200': description: Response content: application/json: - schema: *468 + schema: *467 examples: - default: *469 + default: *468 '403': *29 '404': *6 x-github: @@ -111976,7 +111376,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: - - *802 + - *800 requestBody: required: true content: @@ -112033,7 +111433,7 @@ paths: description: Response content: application/json: - schema: *468 + schema: *467 examples: default: value: @@ -112064,7 +111464,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *802 + - *800 - *17 - *19 responses: @@ -112076,7 +111476,7 @@ paths: type: array items: *307 examples: - response-if-child-teams-exist: *812 + response-if-child-teams-exist: *810 headers: Link: *43 '404': *6 @@ -112109,7 +111509,7 @@ paths: application/json: schema: oneOf: - - &814 + - &812 title: Private User description: Private User type: object @@ -112312,7 +111712,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *813 + - *811 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -112465,7 +111865,7 @@ paths: description: Response content: application/json: - schema: *814 + schema: *812 examples: default: value: @@ -112811,7 +112211,7 @@ paths: application/json: schema: *369 examples: - default: *574 + default: *571 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -112819,7 +112219,7 @@ paths: application/json: schema: *369 examples: - default: *574 + default: *571 '401': *25 '403': *29 '404': *6 @@ -112863,7 +112263,7 @@ paths: type: integer secrets: type: array - items: &815 + items: &813 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -112903,7 +112303,7 @@ paths: - visibility - selected_repositories_url examples: - default: *577 + default: *574 headers: Link: *43 x-github: @@ -112979,7 +112379,7 @@ paths: description: Response content: application/json: - schema: *815 + schema: *813 examples: default: value: @@ -113125,7 +112525,7 @@ paths: type: array items: *280 examples: - default: *816 + default: *814 '401': *25 '403': *29 '404': *6 @@ -113277,7 +112677,7 @@ paths: application/json: schema: *369 examples: - default: *574 + default: *571 '304': *37 '500': *40 '401': *25 @@ -113335,7 +112735,7 @@ paths: application/json: schema: *369 examples: - default: *574 + default: *571 '401': *25 '403': *29 '404': *6 @@ -113392,7 +112792,7 @@ paths: description: Response content: application/json: - schema: &817 + schema: &815 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -113433,7 +112833,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &818 + default: &816 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -113478,9 +112878,9 @@ paths: description: Response content: application/json: - schema: *817 + schema: *815 examples: - default: *818 + default: *816 '404': *6 x-github: githubCloudOnly: false @@ -113517,9 +112917,9 @@ paths: type: integer machines: type: array - items: *819 + items: *817 examples: - default: *820 + default: *818 '304': *37 '500': *40 '401': *25 @@ -113598,13 +112998,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *479 + repository: *476 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *575 - required: *576 + properties: *572 + required: *573 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -114386,7 +113786,7 @@ paths: application/json: schema: *369 examples: - default: *574 + default: *571 '304': *37 '500': *40 '400': *14 @@ -114426,7 +113826,7 @@ paths: application/json: schema: *369 examples: - default: *574 + default: *571 '500': *40 '401': *25 '403': *29 @@ -114458,7 +113858,7 @@ paths: type: array items: *380 examples: - default: &831 + default: &829 value: - id: 197 name: hello_docker @@ -114559,7 +113959,7 @@ paths: application/json: schema: type: array - items: &821 + items: &819 title: Email description: Email type: object @@ -114624,9 +114024,9 @@ paths: application/json: schema: type: array - items: *821 + items: *819 examples: - default: &833 + default: &831 value: - email: octocat@github.com verified: true @@ -114701,7 +114101,7 @@ paths: application/json: schema: type: array - items: *821 + items: *819 examples: default: value: @@ -114957,7 +114357,7 @@ paths: application/json: schema: type: array - items: &822 + items: &820 title: GPG Key description: A unique encryption key type: object @@ -115088,7 +114488,7 @@ paths: - subkeys - revoked examples: - default: &847 + default: &845 value: - id: 3 name: Octocat's GPG Key @@ -115173,9 +114573,9 @@ paths: description: Response content: application/json: - schema: *822 + schema: *820 examples: - default: &823 + default: &821 value: id: 3 name: Octocat's GPG Key @@ -115232,7 +114632,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: - - &824 + - &822 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -115244,9 +114644,9 @@ paths: description: Response content: application/json: - schema: *822 + schema: *820 examples: - default: *823 + default: *821 '404': *6 '304': *37 '403': *29 @@ -115269,7 +114669,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: - - *824 + - *822 responses: '204': description: Response @@ -115574,7 +114974,7 @@ paths: required: true content: application/json: - schema: *656 + schema: *653 examples: default: value: @@ -115724,7 +115124,7 @@ paths: application/json: schema: type: array - items: &825 + items: &823 title: Key description: Key type: object @@ -115825,9 +115225,9 @@ paths: description: Response content: application/json: - schema: *825 + schema: *823 examples: - default: &826 + default: &824 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -115860,15 +115260,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: - - *685 + - *683 responses: '200': description: Response content: application/json: - schema: *825 + schema: *823 examples: - default: *826 + default: *824 '404': *6 '304': *37 '403': *29 @@ -115891,7 +115291,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: - - *685 + - *683 responses: '204': description: Response @@ -115924,7 +115324,7 @@ paths: application/json: schema: type: array - items: &827 + items: &825 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -115992,7 +115392,7 @@ paths: - account - plan examples: - default: &828 + default: &826 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -116054,9 +115454,9 @@ paths: application/json: schema: type: array - items: *827 + items: *825 examples: - default: *828 + default: *826 headers: Link: *43 '304': *37 @@ -117051,7 +116451,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - *375 - - *829 + - *827 responses: '204': description: Response @@ -117166,7 +116566,7 @@ paths: - docker - nuget - container - - *830 + - *828 - *19 - *17 responses: @@ -117178,8 +116578,8 @@ paths: type: array items: *380 examples: - default: *831 - '400': *832 + default: *829 + '400': *830 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -117208,7 +116608,7 @@ paths: application/json: schema: *380 examples: - default: &848 + default: &846 value: id: 40201 name: octo-name @@ -117545,97 +116945,6 @@ paths: enabledForGitHubApps: false category: packages subcategory: packages - "/user/projects": - post: - summary: Create a user project - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/create-for-authenticated-user - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#create-a-user-project - parameters: [] - requestBody: - required: true - content: - application/json: - schema: - properties: - name: - description: Name of the project - example: Week One Sprint - type: string - body: - description: Body of the project - example: This project represents the sprint of the first week in - January - type: string - nullable: true - required: - - name - type: object - examples: - default: - summary: Create a new project - value: - name: My Projects - body: A board to manage my personal projects. - responses: - '201': - description: Response - content: - application/json: - schema: *396 - examples: - default: - value: - owner_url: https://api.github.com/users/octocat - url: https://api.github.com/projects/1002603 - html_url: https://github.com/users/octocat/projects/1 - columns_url: https://api.github.com/projects/1002603/columns - id: 1002603 - node_id: MDc6UHJvamVjdDEwMDI2MDM= - name: My Projects - body: A board to manage my personal projects. - number: 1 - state: open - creator: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - created_at: '2011-04-10T20:09:31Z' - updated_at: '2014-03-03T18:58:10Z' - '304': *37 - '403': *29 - '401': *25 - '422': *7 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true "/user/public_emails": get: summary: List public email addresses for the authenticated user @@ -117661,9 +116970,9 @@ paths: application/json: schema: type: array - items: *821 + items: *819 examples: - default: *833 + default: *831 headers: Link: *43 '304': *37 @@ -117776,7 +117085,7 @@ paths: type: array items: *74 examples: - default: &840 + default: &838 summary: Default response value: - id: 1296269 @@ -118080,9 +117389,9 @@ paths: description: Response content: application/json: - schema: *479 + schema: *476 examples: - default: *481 + default: *478 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -118120,9 +117429,9 @@ paths: application/json: schema: type: array - items: *658 + items: *655 examples: - default: *834 + default: *832 headers: Link: *43 '304': *37 @@ -118201,7 +117510,7 @@ paths: application/json: schema: type: array - items: &835 + items: &833 title: Social account description: Social media account type: object @@ -118216,7 +117525,7 @@ paths: - provider - url examples: - default: &836 + default: &834 value: - provider: twitter url: https://twitter.com/github @@ -118278,9 +117587,9 @@ paths: application/json: schema: type: array - items: *835 + items: *833 examples: - default: *836 + default: *834 '422': *15 '304': *37 '404': *6 @@ -118367,7 +117676,7 @@ paths: application/json: schema: type: array - items: &837 + items: &835 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -118387,7 +117696,7 @@ paths: - title - created_at examples: - default: &853 + default: &851 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -118453,9 +117762,9 @@ paths: description: Response content: application/json: - schema: *837 + schema: *835 examples: - default: &838 + default: &836 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -118486,7 +117795,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: - - &839 + - &837 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -118498,9 +117807,9 @@ paths: description: Response content: application/json: - schema: *837 + schema: *835 examples: - default: *838 + default: *836 '404': *6 '304': *37 '403': *29 @@ -118523,7 +117832,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: - - *839 + - *837 responses: '204': description: Response @@ -118552,7 +117861,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: - - &854 + - &852 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 @@ -118577,11 +117886,11 @@ paths: type: array items: *74 examples: - default-response: *840 + default-response: *838 application/vnd.github.v3.star+json: schema: type: array - items: &855 + items: &853 title: Starred Repository description: Starred Repository type: object @@ -118737,8 +118046,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: + - *465 - *466 - - *467 responses: '204': description: Response if this repository is starred by you @@ -118766,8 +118075,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: + - *465 - *466 - - *467 responses: '204': description: Response @@ -118791,8 +118100,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: + - *465 - *466 - - *467 responses: '204': description: Response @@ -118864,7 +118173,7 @@ paths: application/json: schema: type: array - items: *447 + items: *446 examples: default: value: @@ -118950,10 +118259,10 @@ paths: application/json: schema: oneOf: - - *814 - - *813 + - *812 + - *811 examples: - default-response: &842 + default-response: &840 summary: Default response value: login: octocat @@ -118988,7 +118297,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &843 + response-with-git-hub-plan-information: &841 summary: Response with GitHub plan information value: login: octocat @@ -119048,7 +118357,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *841 + - *839 - *17 responses: '200': @@ -119097,11 +118406,11 @@ paths: application/json: schema: oneOf: - - *814 - - *813 + - *812 + - *811 examples: - default-response: *842 - response-with-git-hub-plan-information: *843 + default-response: *840 + response-with-git-hub-plan-information: *841 '404': *6 x-github: githubCloudOnly: false @@ -119151,8 +118460,8 @@ paths: required: - subject_digests examples: - default: *844 - withPredicateType: *845 + default: *842 + withPredicateType: *843 responses: '200': description: Response @@ -119205,7 +118514,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *846 + default: *844 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -119410,7 +118719,7 @@ paths: initiator: type: string examples: - default: *519 + default: *516 '201': description: Response content: @@ -119451,7 +118760,7 @@ paths: type: array items: *380 examples: - default: *831 + default: *829 '403': *29 '401': *25 x-github: @@ -119835,9 +119144,9 @@ paths: application/json: schema: type: array - items: *822 + items: *820 examples: - default: *847 + default: *845 headers: Link: *43 x-github: @@ -119941,7 +119250,7 @@ paths: application/json: schema: *22 examples: - default: *655 + default: *652 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120065,7 +119374,7 @@ paths: - docker - nuget - container - - *830 + - *828 - *138 - *19 - *17 @@ -120078,10 +119387,10 @@ paths: type: array items: *380 examples: - default: *831 + default: *829 '403': *29 '401': *25 - '400': *832 + '400': *830 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120111,7 +119420,7 @@ paths: application/json: schema: *380 examples: - default: *848 + default: *846 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120362,87 +119671,6 @@ paths: enabledForGitHubApps: false category: packages subcategory: packages - "/users/{username}/projects": - get: - summary: List user projects - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/list-for-user - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-user-projects - parameters: - - *138 - - name: state - description: Indicates the state of the projects to return. - in: query - required: false - schema: - type: string - enum: - - open - - closed - - all - default: open - - *17 - - *19 - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: *396 - examples: - default: - value: - - owner_url: https://api.github.com/users/octocat - url: https://api.github.com/projects/1002603 - html_url: https://github.com/users/octocat/projects/1 - columns_url: https://api.github.com/projects/1002603/columns - id: 1002603 - node_id: MDc6UHJvamVjdDEwMDI2MDM= - name: My Projects - body: A board to manage my personal projects. - number: 1 - state: open - creator: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - created_at: '2011-04-10T20:09:31Z' - updated_at: '2014-03-03T18:58:10Z' - headers: - Link: *43 - '422': *15 - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true "/users/{username}/projectsV2": get: summary: List projects for user @@ -120472,9 +119700,9 @@ paths: application/json: schema: type: array - items: *397 + items: *396 examples: - default: *398 + default: *397 headers: Link: *43 '304': *37 @@ -120496,16 +119724,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-user parameters: - - *399 + - *398 - *138 responses: '200': description: Response content: application/json: - schema: *397 + schema: *396 examples: - default: *398 + default: *397 headers: Link: *43 '304': *37 @@ -120527,7 +119755,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-user parameters: - - *399 + - *398 - *138 - *17 - *104 @@ -120539,9 +119767,9 @@ paths: application/json: schema: type: array - items: *400 + items: *399 examples: - default: *849 + default: *847 headers: Link: *43 '304': *37 @@ -120563,17 +119791,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-user parameters: - - *399 - - *850 + - *398 + - *848 - *138 responses: '200': description: Response content: application/json: - schema: *400 + schema: *399 examples: - default: *851 + default: *849 headers: Link: *43 '304': *37 @@ -120596,7 +119824,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-a-user-owned-project parameters: - - *399 + - *398 - *138 - *104 - *105 @@ -120629,9 +119857,9 @@ paths: application/json: schema: type: array - items: *406 + items: *405 examples: - default: *407 + default: *406 headers: Link: *43 '304': *37 @@ -120653,7 +119881,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-user-owned-project parameters: - *138 - - *399 + - *398 requestBody: required: true description: Details of the item to add to the project. @@ -120690,10 +119918,10 @@ paths: description: Response content: application/json: - schema: *852 + schema: *850 examples: - issue: *405 - pull_request: *405 + issue: *404 + pull_request: *404 '304': *37 '403': *29 '401': *25 @@ -120713,9 +119941,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *399 + - *398 - *138 - - *408 + - *407 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -120735,9 +119963,9 @@ paths: description: Response content: application/json: - schema: *406 + schema: *405 examples: - default: *407 + default: *406 headers: Link: *43 '304': *37 @@ -120758,9 +119986,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-user parameters: - - *399 + - *398 - *138 - - *408 + - *407 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -120830,13 +120058,13 @@ paths: description: Response content: application/json: - schema: *406 + schema: *405 examples: - text_field: *407 - number_field: *407 - date_field: *407 - single_select_field: *407 - iteration_field: *407 + text_field: *406 + number_field: *406 + date_field: *406 + single_select_field: *406 + iteration_field: *406 '401': *25 '403': *29 '404': *6 @@ -120856,9 +120084,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-user parameters: - - *399 + - *398 - *138 - - *408 + - *407 responses: '204': description: Response @@ -121108,9 +120336,9 @@ paths: description: Response content: application/json: - schema: *434 + schema: *433 examples: - default: *435 + default: *434 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -121138,9 +120366,9 @@ paths: description: Response content: application/json: - schema: *439 + schema: *438 examples: - default: *440 + default: *439 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -121301,9 +120529,9 @@ paths: description: Response content: application/json: - schema: *441 + schema: *440 examples: - default: *442 + default: *441 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -121560,9 +120788,9 @@ paths: application/json: schema: type: array - items: *835 + items: *833 examples: - default: *836 + default: *834 headers: Link: *43 x-github: @@ -121592,9 +120820,9 @@ paths: application/json: schema: type: array - items: *837 + items: *835 examples: - default: *853 + default: *851 headers: Link: *43 x-github: @@ -121619,7 +120847,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - *138 - - *854 + - *852 - *106 - *17 - *19 @@ -121631,11 +120859,11 @@ paths: schema: anyOf: - type: array - items: *855 + items: *853 - type: array items: *74 examples: - default-response: *840 + default-response: *838 headers: Link: *43 x-github: @@ -121794,7 +121022,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &856 + enterprise: &854 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -121852,7 +121080,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &857 + installation: &855 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -121871,7 +121099,7 @@ x-webhooks: required: - id - node_id - organization: &858 + organization: &856 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -121931,13 +121159,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &859 + repository: &857 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: &896 + properties: &894 id: description: Unique identifier of the repository example: 42 @@ -122620,7 +121848,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &897 + required: &895 - archive_url - assignees_url - blobs_url @@ -122771,10 +121999,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -122850,11 +122078,11 @@ x-webhooks: type: string enum: - created - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 - rule: &860 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 + rule: &858 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) @@ -123077,11 +122305,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 - rule: *860 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 + rule: *858 sender: *4 required: - action @@ -123264,11 +122492,11 @@ x-webhooks: - everyone required: - from - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 - rule: *860 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 + rule: *858 sender: *4 required: - action @@ -123339,7 +122567,7 @@ x-webhooks: required: true content: application/json: - schema: &863 + schema: &861 title: Exemption request cancellation event type: object properties: @@ -123347,11 +122575,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 - exemption_request: &861 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 + exemption_request: &859 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -123584,7 +122812,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &862 + items: &860 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -123692,7 +122920,7 @@ x-webhooks: required: true content: application/json: - schema: &864 + schema: &862 title: Exemption request completed event type: object properties: @@ -123700,11 +122928,11 @@ x-webhooks: type: string enum: - completed - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 - exemption_request: *861 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 + exemption_request: *859 sender: *4 required: - action @@ -123774,7 +123002,7 @@ x-webhooks: required: true content: application/json: - schema: &865 + schema: &863 title: Exemption request created event type: object properties: @@ -123782,11 +123010,11 @@ x-webhooks: type: string enum: - created - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 - exemption_request: *861 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 + exemption_request: *859 sender: *4 required: - action @@ -123856,7 +123084,7 @@ x-webhooks: required: true content: application/json: - schema: &866 + schema: &864 title: Exemption response dismissed event type: object properties: @@ -123864,12 +123092,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 - exemption_request: *861 - exemption_response: *862 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 + exemption_request: *859 + exemption_response: *860 sender: *4 required: - action @@ -123941,7 +123169,7 @@ x-webhooks: required: true content: application/json: - schema: &867 + schema: &865 title: Exemption response submitted event type: object properties: @@ -123949,12 +123177,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 - exemption_request: *861 - exemption_response: *862 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 + exemption_request: *859 + exemption_response: *860 sender: *4 required: - action @@ -124027,7 +123255,7 @@ x-webhooks: required: true content: application/json: - schema: *863 + schema: *861 responses: '200': description: Return a 200 status to indicate that the data was received @@ -124094,7 +123322,7 @@ x-webhooks: required: true content: application/json: - schema: *864 + schema: *862 responses: '200': description: Return a 200 status to indicate that the data was received @@ -124161,7 +123389,7 @@ x-webhooks: required: true content: application/json: - schema: *865 + schema: *863 responses: '200': description: Return a 200 status to indicate that the data was received @@ -124228,7 +123456,7 @@ x-webhooks: required: true content: application/json: - schema: *866 + schema: *864 responses: '200': description: Return a 200 status to indicate that the data was received @@ -124296,7 +123524,7 @@ x-webhooks: required: true content: application/json: - schema: *867 + schema: *865 responses: '200': description: Return a 200 status to indicate that the data was received @@ -124374,7 +123602,7 @@ x-webhooks: type: string enum: - completed - check_run: &869 + check_run: &867 title: CheckRun description: A check performed on the code of a given code change type: object @@ -124427,7 +123655,7 @@ x-webhooks: type: string pull_requests: type: array - items: *536 + items: *533 repository: *280 status: example: completed @@ -124465,7 +123693,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *868 + deployment: *866 details_url: example: https://example.com type: string @@ -124515,7 +123743,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *536 + items: *533 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -124550,10 +123778,10 @@ x-webhooks: - output - app - pull_requests - installation: *857 - enterprise: *856 - organization: *858 - repository: *859 + installation: *855 + enterprise: *854 + organization: *856 + repository: *857 sender: *4 required: - check_run @@ -124946,11 +124174,11 @@ x-webhooks: type: string enum: - created - check_run: *869 - installation: *857 - enterprise: *856 - organization: *858 - repository: *859 + check_run: *867 + installation: *855 + enterprise: *854 + organization: *856 + repository: *857 sender: *4 required: - check_run @@ -125346,11 +124574,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *869 - installation: *857 - enterprise: *856 - organization: *858 - repository: *859 + check_run: *867 + installation: *855 + enterprise: *854 + organization: *856 + repository: *857 requested_action: description: The action requested by the user. type: object @@ -125755,11 +124983,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *869 - installation: *857 - enterprise: *856 - organization: *858 - repository: *859 + check_run: *867 + installation: *855 + enterprise: *854 + organization: *856 + repository: *857 sender: *4 required: - check_run @@ -126736,10 +125964,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -127409,10 +126637,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -128076,10 +127304,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -128245,7 +127473,7 @@ x-webhooks: required: - login - id - dismissed_comment: *549 + dismissed_comment: *546 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -128390,20 +127618,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &870 + commit_oid: &868 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *856 - installation: *857 - organization: *858 - ref: &871 + enterprise: *854 + installation: *855 + organization: *856 + ref: &869 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *859 + repository: *857 sender: *4 required: - action @@ -128568,7 +127796,7 @@ x-webhooks: required: - login - id - dismissed_comment: *549 + dismissed_comment: *546 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -128798,12 +128026,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *870 - enterprise: *856 - installation: *857 - organization: *858 - ref: *871 - repository: *859 + commit_oid: *868 + enterprise: *854 + installation: *855 + organization: *856 + ref: *869 + repository: *857 sender: *4 required: - action @@ -128898,7 +128126,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *549 + dismissed_comment: *546 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -129069,12 +128297,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *870 - enterprise: *856 - installation: *857 - organization: *858 - ref: *871 - repository: *859 + commit_oid: *868 + enterprise: *854 + installation: *855 + organization: *856 + ref: *869 + repository: *857 sender: *4 required: - action @@ -129240,7 +128468,7 @@ x-webhooks: required: - login - id - dismissed_comment: *549 + dismissed_comment: *546 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -129406,12 +128634,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *870 - enterprise: *856 - installation: *857 - organization: *858 - ref: *871 - repository: *859 + commit_oid: *868 + enterprise: *854 + installation: *855 + organization: *856 + ref: *869 + repository: *857 sender: *4 required: - action @@ -129511,7 +128739,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *549 + dismissed_comment: *546 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -129679,16 +128907,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *856 - installation: *857 - organization: *858 + enterprise: *854 + installation: *855 + organization: *856 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: *859 + repository: *857 sender: *4 required: - action @@ -129785,7 +129013,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *549 + dismissed_comment: *546 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -129925,12 +129153,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *870 - enterprise: *856 - installation: *857 - organization: *858 - ref: *871 - repository: *859 + commit_oid: *868 + enterprise: *854 + installation: *855 + organization: *856 + ref: *869 + repository: *857 sender: *4 required: - action @@ -130187,10 +129415,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -130270,18 +129498,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *856 - installation: *857 + enterprise: *854 + installation: *855 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *858 - pusher_type: &872 + organization: *856 + pusher_type: &870 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &873 + ref: &871 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -130291,7 +129519,7 @@ x-webhooks: enum: - tag - branch - repository: *859 + repository: *857 sender: *4 required: - ref @@ -130374,9 +129602,9 @@ x-webhooks: enum: - created definition: *152 - enterprise: *856 - installation: *857 - organization: *858 + enterprise: *854 + installation: *855 + organization: *856 sender: *4 required: - action @@ -130461,9 +129689,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *856 - installation: *857 - organization: *858 + enterprise: *854 + installation: *855 + organization: *856 sender: *4 required: - action @@ -130541,9 +129769,9 @@ x-webhooks: enum: - promote_to_enterprise definition: *152 - enterprise: *856 - installation: *857 - organization: *858 + enterprise: *854 + installation: *855 + organization: *856 sender: *4 required: - action @@ -130621,9 +129849,9 @@ x-webhooks: enum: - updated definition: *152 - enterprise: *856 - installation: *857 - organization: *858 + enterprise: *854 + installation: *855 + organization: *856 sender: *4 required: - action @@ -130700,10 +129928,10 @@ x-webhooks: type: string enum: - updated - enterprise: *856 - installation: *857 - repository: *859 - organization: *858 + enterprise: *854 + installation: *855 + repository: *857 + organization: *856 sender: *4 new_property_values: type: array @@ -130788,18 +130016,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *856 - installation: *857 - organization: *858 - pusher_type: *872 - ref: *873 + enterprise: *854 + installation: *855 + organization: *856 + pusher_type: *870 + ref: *871 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *859 + repository: *857 sender: *4 required: - ref @@ -130883,11 +130111,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *605 - installation: *857 - organization: *858 - enterprise: *856 - repository: *859 + alert: *602 + installation: *855 + organization: *856 + enterprise: *854 + repository: *857 sender: *4 required: - action @@ -130971,11 +130199,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *605 - installation: *857 - organization: *858 - enterprise: *856 - repository: *859 + alert: *602 + installation: *855 + organization: *856 + enterprise: *854 + repository: *857 sender: *4 required: - action @@ -131059,11 +130287,11 @@ x-webhooks: type: string enum: - created - alert: *605 - installation: *857 - organization: *858 - enterprise: *856 - repository: *859 + alert: *602 + installation: *855 + organization: *856 + enterprise: *854 + repository: *857 sender: *4 required: - action @@ -131145,11 +130373,11 @@ x-webhooks: type: string enum: - dismissed - alert: *605 - installation: *857 - organization: *858 - enterprise: *856 - repository: *859 + alert: *602 + installation: *855 + organization: *856 + enterprise: *854 + repository: *857 sender: *4 required: - action @@ -131231,11 +130459,11 @@ x-webhooks: type: string enum: - fixed - alert: *605 - installation: *857 - organization: *858 - enterprise: *856 - repository: *859 + alert: *602 + installation: *855 + organization: *856 + enterprise: *854 + repository: *857 sender: *4 required: - action @@ -131318,11 +130546,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *605 - installation: *857 - organization: *858 - enterprise: *856 - repository: *859 + alert: *602 + installation: *855 + organization: *856 + enterprise: *854 + repository: *857 sender: *4 required: - action @@ -131404,11 +130632,11 @@ x-webhooks: type: string enum: - reopened - alert: *605 - installation: *857 - organization: *858 - enterprise: *856 - repository: *859 + alert: *602 + installation: *855 + organization: *856 + enterprise: *854 + repository: *857 sender: *4 required: - action @@ -131485,9 +130713,9 @@ x-webhooks: type: string enum: - created - enterprise: *856 - installation: *857 - key: &874 + enterprise: *854 + installation: *855 + key: &872 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -131523,8 +130751,8 @@ x-webhooks: - verified - created_at - read_only - organization: *858 - repository: *859 + organization: *856 + repository: *857 sender: *4 required: - action @@ -131601,11 +130829,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *856 - installation: *857 - key: *874 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + key: *872 + organization: *856 + repository: *857 sender: *4 required: - action @@ -132166,12 +131394,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 - workflow: &878 + workflow: &876 title: Workflow type: object nullable: true @@ -132897,13 +132125,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *611 + deployment: *608 pull_requests: type: array - items: *706 - repository: *859 - organization: *858 - installation: *857 + items: *704 + repository: *857 + organization: *856 + installation: *855 sender: *4 responses: '200': @@ -132974,7 +132202,7 @@ x-webhooks: type: string enum: - approved - approver: &875 + approver: &873 type: object properties: avatar_url: @@ -133017,11 +132245,11 @@ x-webhooks: type: string comment: type: string - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 - reviewers: &876 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 + reviewers: &874 type: array items: type: object @@ -133100,7 +132328,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &877 + workflow_job_run: &875 type: object properties: conclusion: @@ -133831,18 +133059,18 @@ x-webhooks: type: string enum: - rejected - approver: *875 + approver: *873 comment: type: string - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 - reviewers: *876 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 + reviewers: *874 sender: *4 since: type: string - workflow_job_run: *877 + workflow_job_run: *875 workflow_job_runs: type: array items: @@ -134546,13 +133774,13 @@ x-webhooks: type: string enum: - requested - enterprise: *856 + enterprise: *854 environment: type: string - installation: *857 - organization: *858 - repository: *859 - requestor: &883 + installation: *855 + organization: *856 + repository: *857 + requestor: &881 title: User type: object nullable: true @@ -136451,12 +135679,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 - workflow: *878 + workflow: *876 workflow_run: title: Deployment Workflow Run type: object @@ -137136,7 +136364,7 @@ x-webhooks: type: string enum: - answered - answer: &881 + answer: &879 type: object properties: author_association: @@ -137293,7 +136521,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &879 + discussion: &877 title: Discussion description: A Discussion in a repository. type: object @@ -137579,7 +136807,7 @@ x-webhooks: - id labels: type: array - items: *668 + items: *666 required: - repository_url - category @@ -137601,10 +136829,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -137731,11 +136959,11 @@ x-webhooks: - from required: - category - discussion: *879 - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + discussion: *877 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -137818,11 +137046,11 @@ x-webhooks: type: string enum: - closed - discussion: *879 - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + discussion: *877 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -137904,7 +137132,7 @@ x-webhooks: type: string enum: - created - comment: &880 + comment: &878 type: object properties: author_association: @@ -138061,11 +137289,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *879 - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + discussion: *877 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -138148,12 +137376,12 @@ x-webhooks: type: string enum: - deleted - comment: *880 - discussion: *879 - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + comment: *878 + discussion: *877 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -138248,12 +137476,12 @@ x-webhooks: - from required: - body - comment: *880 - discussion: *879 - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + comment: *878 + discussion: *877 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -138337,11 +137565,11 @@ x-webhooks: type: string enum: - created - discussion: *879 - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + discussion: *877 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -138423,11 +137651,11 @@ x-webhooks: type: string enum: - deleted - discussion: *879 - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + discussion: *877 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -138527,11 +137755,11 @@ x-webhooks: type: string required: - from - discussion: *879 - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + discussion: *877 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -138613,10 +137841,10 @@ x-webhooks: type: string enum: - labeled - discussion: *879 - enterprise: *856 - installation: *857 - label: &882 + discussion: *877 + enterprise: *854 + installation: *855 + label: &880 title: Label type: object properties: @@ -138648,8 +137876,8 @@ x-webhooks: - color - default - description - organization: *858 - repository: *859 + organization: *856 + repository: *857 sender: *4 required: - action @@ -138732,11 +137960,11 @@ x-webhooks: type: string enum: - locked - discussion: *879 - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + discussion: *877 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -138818,11 +138046,11 @@ x-webhooks: type: string enum: - pinned - discussion: *879 - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + discussion: *877 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -138904,11 +138132,11 @@ x-webhooks: type: string enum: - reopened - discussion: *879 - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + discussion: *877 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -138993,16 +138221,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *879 - new_repository: *859 + new_discussion: *877 + new_repository: *857 required: - new_discussion - new_repository - discussion: *879 - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + discussion: *877 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -139085,10 +138313,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *879 - old_answer: *881 - organization: *858 - repository: *859 + discussion: *877 + old_answer: *879 + organization: *856 + repository: *857 sender: *4 required: - action @@ -139170,12 +138398,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *879 - enterprise: *856 - installation: *857 - label: *882 - organization: *858 - repository: *859 + discussion: *877 + enterprise: *854 + installation: *855 + label: *880 + organization: *856 + repository: *857 sender: *4 required: - action @@ -139258,11 +138486,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *879 - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + discussion: *877 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -139344,11 +138572,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *879 - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + discussion: *877 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -139417,7 +138645,7 @@ x-webhooks: required: true content: application/json: - schema: *865 + schema: *863 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139480,7 +138708,7 @@ x-webhooks: required: true content: application/json: - schema: *867 + schema: *865 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139546,7 +138774,7 @@ x-webhooks: required: true content: application/json: - schema: *863 + schema: *861 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139612,7 +138840,7 @@ x-webhooks: required: true content: application/json: - schema: *864 + schema: *862 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139678,7 +138906,7 @@ x-webhooks: required: true content: application/json: - schema: *865 + schema: *863 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139744,7 +138972,7 @@ x-webhooks: required: true content: application/json: - schema: *866 + schema: *864 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139810,7 +139038,7 @@ x-webhooks: required: true content: application/json: - schema: *867 + schema: *865 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139877,7 +139105,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *856 + enterprise: *854 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -140537,9 +139765,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *857 - organization: *858 - repository: *859 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - forkee @@ -140685,9 +139913,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *856 - installation: *857 - organization: *858 + enterprise: *854 + installation: *855 + organization: *856 pages: description: The pages that were updated. type: array @@ -140724,7 +139952,7 @@ x-webhooks: - action - sha - html_url - repository: *859 + repository: *857 sender: *4 required: - pages @@ -140800,10 +140028,10 @@ x-webhooks: type: string enum: - created - enterprise: *856 + enterprise: *854 installation: *22 - organization: *858 - repositories: &884 + organization: *856 + repositories: &882 description: An array of repository objects that the installation can access. type: array @@ -140829,8 +140057,8 @@ x-webhooks: - name - full_name - private - repository: *859 - requester: *883 + repository: *857 + requester: *881 sender: *4 required: - action @@ -140905,11 +140133,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *856 + enterprise: *854 installation: *22 - organization: *858 - repositories: *884 - repository: *859 + organization: *856 + repositories: *882 + repository: *857 requester: nullable: true sender: *4 @@ -140985,11 +140213,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *856 + enterprise: *854 installation: *22 - organization: *858 - repositories: *884 - repository: *859 + organization: *856 + repositories: *882 + repository: *857 requester: nullable: true sender: *4 @@ -141065,10 +140293,10 @@ x-webhooks: type: string enum: - added - enterprise: *856 + enterprise: *854 installation: *22 - organization: *858 - repositories_added: &885 + organization: *856 + repositories_added: &883 description: An array of repository objects, which were added to the installation. type: array @@ -141114,15 +140342,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *859 - repository_selection: &886 + repository: *857 + repository_selection: &884 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *883 + requester: *881 sender: *4 required: - action @@ -141201,10 +140429,10 @@ x-webhooks: type: string enum: - removed - enterprise: *856 + enterprise: *854 installation: *22 - organization: *858 - repositories_added: *885 + organization: *856 + repositories_added: *883 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -141231,9 +140459,9 @@ x-webhooks: - name - full_name - private - repository: *859 - repository_selection: *886 - requester: *883 + repository: *857 + repository_selection: *884 + requester: *881 sender: *4 required: - action @@ -141312,11 +140540,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *856 + enterprise: *854 installation: *22 - organization: *858 - repositories: *884 - repository: *859 + organization: *856 + repositories: *882 + repository: *857 requester: nullable: true sender: *4 @@ -141495,10 +140723,10 @@ x-webhooks: type: string required: - from - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 target_type: type: string @@ -141577,11 +140805,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *856 + enterprise: *854 installation: *22 - organization: *858 - repositories: *884 - repository: *859 + organization: *856 + repositories: *882 + repository: *857 requester: nullable: true sender: *4 @@ -141833,8 +141061,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *856 - installation: *857 + enterprise: *854 + installation: *855 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -142628,8 +141856,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *799 - issue_dependencies_summary: *800 + sub_issues_summary: *797 + issue_dependencies_summary: *798 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142978,8 +142206,8 @@ x-webhooks: - state - locked - assignee - organization: *858 - repository: *859 + organization: *856 + repository: *857 sender: *4 required: - action @@ -143059,7 +142287,7 @@ x-webhooks: type: string enum: - deleted - comment: &887 + comment: &885 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -143224,8 +142452,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *856 - installation: *857 + enterprise: *854 + installation: *855 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -144015,8 +143243,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *799 - issue_dependencies_summary: *800 + sub_issues_summary: *797 + issue_dependencies_summary: *798 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144367,8 +143595,8 @@ x-webhooks: - state - locked - assignee - organization: *858 - repository: *859 + organization: *856 + repository: *857 sender: *4 required: - action @@ -144448,7 +143676,7 @@ x-webhooks: type: string enum: - edited - changes: &916 + changes: &914 description: The changes to the comment. type: object properties: @@ -144460,9 +143688,9 @@ x-webhooks: type: string required: - from - comment: *887 - enterprise: *856 - installation: *857 + comment: *885 + enterprise: *854 + installation: *855 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -145255,8 +144483,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *799 - issue_dependencies_summary: *800 + sub_issues_summary: *797 + issue_dependencies_summary: *798 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145605,8 +144833,8 @@ x-webhooks: - state - locked - assignee - organization: *858 - repository: *859 + organization: *856 + repository: *857 sender: *4 required: - action @@ -145696,9 +144924,9 @@ x-webhooks: type: number blocking_issue: *226 blocking_issue_repo: *74 - installation: *857 - organization: *858 - repository: *859 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -145792,9 +145020,9 @@ x-webhooks: type: number blocking_issue: *226 blocking_issue_repo: *74 - installation: *857 - organization: *858 - repository: *859 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -145887,9 +145115,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *226 - installation: *857 - organization: *858 - repository: *859 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -145983,9 +145211,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *226 - installation: *857 - organization: *858 - repository: *859 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -146070,10 +145298,10 @@ x-webhooks: type: string enum: - assigned - assignee: *883 - enterprise: *856 - installation: *857 - issue: &890 + assignee: *881 + enterprise: *854 + installation: *855 + issue: &888 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -146862,11 +146090,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *799 - issue_dependencies_summary: *800 + sub_issues_summary: *797 + issue_dependencies_summary: *798 issue_field_values: type: array - items: *801 + items: *799 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146983,8 +146211,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *858 - repository: *859 + organization: *856 + repository: *857 sender: *4 required: - action @@ -147064,8 +146292,8 @@ x-webhooks: type: string enum: - closed - enterprise: *856 - installation: *857 + enterprise: *854 + installation: *855 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -147859,11 +147087,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *799 - issue_dependencies_summary: *800 + sub_issues_summary: *797 + issue_dependencies_summary: *798 issue_field_values: type: array - items: *801 + items: *799 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148115,8 +147343,8 @@ x-webhooks: required: - state - closed_at - organization: *858 - repository: *859 + organization: *856 + repository: *857 sender: *4 required: - action @@ -148195,8 +147423,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *856 - installation: *857 + enterprise: *854 + installation: *855 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -148981,11 +148209,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *799 - issue_dependencies_summary: *800 + sub_issues_summary: *797 + issue_dependencies_summary: *798 issue_field_values: type: array - items: *801 + items: *799 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149101,8 +148329,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *858 - repository: *859 + organization: *856 + repository: *857 sender: *4 required: - action @@ -149181,8 +148409,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *856 - installation: *857 + enterprise: *854 + installation: *855 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -149989,11 +149217,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *799 - issue_dependencies_summary: *800 + sub_issues_summary: *797 + issue_dependencies_summary: *798 issue_field_values: type: array - items: *801 + items: *799 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150088,7 +149316,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &888 + milestone: &886 title: Milestone description: A collection of related issues and pull requests. type: object @@ -150226,8 +149454,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *858 - repository: *859 + organization: *856 + repository: *857 sender: *4 required: - action @@ -150326,8 +149554,8 @@ x-webhooks: type: string required: - from - enterprise: *856 - installation: *857 + enterprise: *854 + installation: *855 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -151116,11 +150344,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *799 - issue_dependencies_summary: *800 + sub_issues_summary: *797 + issue_dependencies_summary: *798 issue_field_values: type: array - items: *801 + items: *799 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151237,9 +150465,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *882 - organization: *858 - repository: *859 + label: *880 + organization: *856 + repository: *857 sender: *4 required: - action @@ -151319,8 +150547,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *856 - installation: *857 + enterprise: *854 + installation: *855 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -152108,11 +151336,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *799 - issue_dependencies_summary: *800 + sub_issues_summary: *797 + issue_dependencies_summary: *798 issue_field_values: type: array - items: *801 + items: *799 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152229,9 +151457,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *882 - organization: *858 - repository: *859 + label: *880 + organization: *856 + repository: *857 sender: *4 required: - action @@ -152311,8 +151539,8 @@ x-webhooks: type: string enum: - locked - enterprise: *856 - installation: *857 + enterprise: *854 + installation: *855 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -153124,11 +152352,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *799 - issue_dependencies_summary: *800 + sub_issues_summary: *797 + issue_dependencies_summary: *798 issue_field_values: type: array - items: *801 + items: *799 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153222,8 +152450,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *858 - repository: *859 + organization: *856 + repository: *857 sender: *4 required: - action @@ -153302,8 +152530,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *856 - installation: *857 + enterprise: *854 + installation: *855 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -154109,11 +153337,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *799 - issue_dependencies_summary: *800 + sub_issues_summary: *797 + issue_dependencies_summary: *798 issue_field_values: type: array - items: *801 + items: *799 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154207,9 +153435,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *888 - organization: *858 - repository: *859 + milestone: *886 + organization: *856 + repository: *857 sender: *4 required: - action @@ -155077,11 +154305,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *799 - issue_dependencies_summary: *800 + sub_issues_summary: *797 + issue_dependencies_summary: *798 issue_field_values: type: array - items: *801 + items: *799 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155643,8 +154871,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *856 - installation: *857 + enterprise: *854 + installation: *855 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -156433,11 +155661,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *799 - issue_dependencies_summary: *800 + sub_issues_summary: *797 + issue_dependencies_summary: *798 issue_field_values: type: array - items: *801 + items: *799 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156553,8 +155781,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *858 - repository: *859 + organization: *856 + repository: *857 sender: *4 required: - action @@ -156634,9 +155862,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *856 - installation: *857 - issue: &889 + enterprise: *854 + installation: *855 + issue: &887 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -157419,11 +156647,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *799 - issue_dependencies_summary: *800 + sub_issues_summary: *797 + issue_dependencies_summary: *798 issue_field_values: type: array - items: *801 + items: *799 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157539,8 +156767,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *858 - repository: *859 + organization: *856 + repository: *857 sender: *4 required: - action @@ -157619,8 +156847,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *856 - installation: *857 + enterprise: *854 + installation: *855 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -158430,11 +157658,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *799 - issue_dependencies_summary: *800 + sub_issues_summary: *797 + issue_dependencies_summary: *798 issue_field_values: type: array - items: *801 + items: *799 state: description: State of the issue; either 'open' or 'closed' type: string @@ -158529,8 +157757,8 @@ x-webhooks: user_view_type: type: string type: *364 - organization: *858 - repository: *859 + organization: *856 + repository: *857 sender: *4 required: - action @@ -159396,11 +158624,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *799 - issue_dependencies_summary: *800 + sub_issues_summary: *797 + issue_dependencies_summary: *798 issue_field_values: type: array - items: *801 + items: *799 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159984,11 +159212,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *856 - installation: *857 - issue: *889 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + issue: *887 + organization: *856 + repository: *857 sender: *4 required: - action @@ -160068,12 +159296,12 @@ x-webhooks: type: string enum: - typed - enterprise: *856 - installation: *857 - issue: *890 + enterprise: *854 + installation: *855 + issue: *888 type: *364 - organization: *858 - repository: *859 + organization: *856 + repository: *857 sender: *4 required: - action @@ -160154,7 +159382,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &919 + assignee: &917 title: User type: object nullable: true @@ -160224,11 +159452,11 @@ x-webhooks: required: - login - id - enterprise: *856 - installation: *857 - issue: *890 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + issue: *888 + organization: *856 + repository: *857 sender: *4 required: - action @@ -160307,12 +159535,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *856 - installation: *857 - issue: *890 - label: *882 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + issue: *888 + label: *880 + organization: *856 + repository: *857 sender: *4 required: - action @@ -160392,8 +159620,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *856 - installation: *857 + enterprise: *854 + installation: *855 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -161203,11 +160431,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *799 - issue_dependencies_summary: *800 + sub_issues_summary: *797 + issue_dependencies_summary: *798 issue_field_values: type: array - items: *801 + items: *799 state: description: State of the issue; either 'open' or 'closed' type: string @@ -161301,8 +160529,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *858 - repository: *859 + organization: *856 + repository: *857 sender: *4 required: - action @@ -161382,11 +160610,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *856 - installation: *857 - issue: *889 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + issue: *887 + organization: *856 + repository: *857 sender: *4 required: - action @@ -161465,12 +160693,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *856 - installation: *857 - issue: *890 + enterprise: *854 + installation: *855 + issue: *888 type: *364 - organization: *858 - repository: *859 + organization: *856 + repository: *857 sender: *4 required: - action @@ -161550,11 +160778,11 @@ x-webhooks: type: string enum: - created - enterprise: *856 - installation: *857 - label: *882 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + label: *880 + organization: *856 + repository: *857 sender: *4 required: - action @@ -161632,11 +160860,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *856 - installation: *857 - label: *882 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + label: *880 + organization: *856 + repository: *857 sender: *4 required: - action @@ -161746,11 +160974,11 @@ x-webhooks: type: string required: - from - enterprise: *856 - installation: *857 - label: *882 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + label: *880 + organization: *856 + repository: *857 sender: *4 required: - action @@ -161832,9 +161060,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *856 - installation: *857 - marketplace_purchase: &891 + enterprise: *854 + installation: *855 + marketplace_purchase: &889 title: Marketplace Purchase type: object required: @@ -161917,8 +161145,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *858 - previous_marketplace_purchase: &892 + organization: *856 + previous_marketplace_purchase: &890 title: Marketplace Purchase type: object properties: @@ -161998,7 +161226,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *859 + repository: *857 sender: *4 required: - action @@ -162078,10 +161306,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *856 - installation: *857 - marketplace_purchase: *891 - organization: *858 + enterprise: *854 + installation: *855 + marketplace_purchase: *889 + organization: *856 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -162164,7 +161392,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *859 + repository: *857 sender: *4 required: - action @@ -162246,10 +161474,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *856 - installation: *857 - marketplace_purchase: *891 - organization: *858 + enterprise: *854 + installation: *855 + marketplace_purchase: *889 + organization: *856 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -162331,7 +161559,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *859 + repository: *857 sender: *4 required: - action @@ -162412,8 +161640,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *856 - installation: *857 + enterprise: *854 + installation: *855 marketplace_purchase: title: Marketplace Purchase type: object @@ -162495,9 +161723,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *858 - previous_marketplace_purchase: *892 - repository: *859 + organization: *856 + previous_marketplace_purchase: *890 + repository: *857 sender: *4 required: - action @@ -162577,12 +161805,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *856 - installation: *857 - marketplace_purchase: *891 - organization: *858 - previous_marketplace_purchase: *892 - repository: *859 + enterprise: *854 + installation: *855 + marketplace_purchase: *889 + organization: *856 + previous_marketplace_purchase: *890 + repository: *857 sender: *4 required: - action @@ -162684,11 +161912,11 @@ x-webhooks: type: string required: - to - enterprise: *856 - installation: *857 - member: *883 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + member: *881 + organization: *856 + repository: *857 sender: *4 required: - action @@ -162788,11 +162016,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *856 - installation: *857 - member: *883 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + member: *881 + organization: *856 + repository: *857 sender: *4 required: - action @@ -162871,11 +162099,11 @@ x-webhooks: type: string enum: - removed - enterprise: *856 - installation: *857 - member: *883 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + member: *881 + organization: *856 + repository: *857 sender: *4 required: - action @@ -162953,11 +162181,11 @@ x-webhooks: type: string enum: - added - enterprise: *856 - installation: *857 - member: *883 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + member: *881 + organization: *856 + repository: *857 scope: description: The scope of the membership. Currently, can only be `team`. @@ -163033,7 +162261,7 @@ x-webhooks: required: - login - id - team: &893 + team: &891 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -163256,11 +162484,11 @@ x-webhooks: type: string enum: - removed - enterprise: *856 - installation: *857 - member: *883 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + member: *881 + organization: *856 + repository: *857 scope: description: The scope of the membership. Currently, can only be `team`. @@ -163337,7 +162565,7 @@ x-webhooks: required: - login - id - team: *893 + team: *891 required: - action - scope @@ -163419,8 +162647,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *857 - merge_group: &895 + installation: *855 + merge_group: &893 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -163439,15 +162667,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *894 + head_commit: *892 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *858 - repository: *859 + organization: *856 + repository: *857 sender: *4 required: - action @@ -163533,10 +162761,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *857 - merge_group: *895 - organization: *858 - repository: *859 + installation: *855 + merge_group: *893 + organization: *856 + repository: *857 sender: *4 required: - action @@ -163609,7 +162837,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *856 + enterprise: *854 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -163718,16 +162946,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *857 - organization: *858 + installation: *855 + organization: *856 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: *896 - required: *897 + properties: *894 + required: *895 nullable: true sender: *4 required: @@ -163808,11 +163036,11 @@ x-webhooks: type: string enum: - closed - enterprise: *856 - installation: *857 - milestone: *888 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + milestone: *886 + organization: *856 + repository: *857 sender: *4 required: - action @@ -163891,9 +163119,9 @@ x-webhooks: type: string enum: - created - enterprise: *856 - installation: *857 - milestone: &898 + enterprise: *854 + installation: *855 + milestone: &896 title: Milestone description: A collection of related issues and pull requests. type: object @@ -164030,8 +163258,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *858 - repository: *859 + organization: *856 + repository: *857 sender: *4 required: - action @@ -164110,11 +163338,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *856 - installation: *857 - milestone: *888 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + milestone: *886 + organization: *856 + repository: *857 sender: *4 required: - action @@ -164224,11 +163452,11 @@ x-webhooks: type: string required: - from - enterprise: *856 - installation: *857 - milestone: *888 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + milestone: *886 + organization: *856 + repository: *857 sender: *4 required: - action @@ -164308,11 +163536,11 @@ x-webhooks: type: string enum: - opened - enterprise: *856 - installation: *857 - milestone: *898 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + milestone: *896 + organization: *856 + repository: *857 sender: *4 required: - action @@ -164391,11 +163619,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *883 - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + blocked_user: *881 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -164474,11 +163702,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *883 - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + blocked_user: *881 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -164554,7 +163782,7 @@ x-webhooks: enum: - created definition: *146 - enterprise: *856 + enterprise: *854 sender: *4 required: - action @@ -164634,8 +163862,8 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *856 - installation: *857 + enterprise: *854 + installation: *855 sender: *4 required: - action @@ -164708,8 +163936,8 @@ x-webhooks: enum: - updated definition: *146 - enterprise: *856 - installation: *857 + enterprise: *854 + installation: *855 sender: *4 required: - action @@ -164781,9 +164009,9 @@ x-webhooks: type: string enum: - updated - enterprise: *856 - installation: *857 - organization: *858 + enterprise: *854 + installation: *855 + organization: *856 sender: *4 new_property_values: type: array @@ -164871,9 +164099,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *856 - installation: *857 - membership: &899 + enterprise: *854 + installation: *855 + membership: &897 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -164980,8 +164208,8 @@ x-webhooks: - role - organization_url - user - organization: *858 - repository: *859 + organization: *856 + repository: *857 sender: *4 required: - action @@ -165059,11 +164287,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *856 - installation: *857 - membership: *899 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + membership: *897 + organization: *856 + repository: *857 sender: *4 required: - action @@ -165142,8 +164370,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *856 - installation: *857 + enterprise: *854 + installation: *855 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -165259,10 +164487,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *858 - repository: *859 + organization: *856 + repository: *857 sender: *4 - user: *883 + user: *881 required: - action - invitation @@ -165340,11 +164568,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *856 - installation: *857 - membership: *899 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + membership: *897 + organization: *856 + repository: *857 sender: *4 required: - action @@ -165431,11 +164659,11 @@ x-webhooks: properties: from: type: string - enterprise: *856 - installation: *857 - membership: *899 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + membership: *897 + organization: *856 + repository: *857 sender: *4 required: - action @@ -165511,9 +164739,9 @@ x-webhooks: type: string enum: - published - enterprise: *856 - installation: *857 - organization: *858 + enterprise: *854 + installation: *855 + organization: *856 package: description: Information about the package. type: object @@ -166012,7 +165240,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &900 + items: &898 title: Ruby Gems metadata type: object properties: @@ -166107,7 +165335,7 @@ x-webhooks: - owner - package_version - registry - repository: *859 + repository: *857 sender: *4 required: - action @@ -166183,9 +165411,9 @@ x-webhooks: type: string enum: - updated - enterprise: *856 - installation: *857 - organization: *858 + enterprise: *854 + installation: *855 + organization: *856 package: description: Information about the package. type: object @@ -166538,7 +165766,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *900 + items: *898 source_url: type: string format: uri @@ -166608,7 +165836,7 @@ x-webhooks: - owner - package_version - registry - repository: *859 + repository: *857 sender: *4 required: - action @@ -166785,12 +166013,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *856 + enterprise: *854 id: type: integer - installation: *857 - organization: *858 - repository: *859 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - id @@ -166867,7 +166095,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &901 + personal_access_token_request: &899 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -167013,10 +166241,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *856 - organization: *858 + enterprise: *854 + organization: *856 sender: *4 - installation: *857 + installation: *855 required: - action - personal_access_token_request @@ -167093,11 +166321,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *901 - enterprise: *856 - organization: *858 + personal_access_token_request: *899 + enterprise: *854 + organization: *856 sender: *4 - installation: *857 + installation: *855 required: - action - personal_access_token_request @@ -167173,11 +166401,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *901 - enterprise: *856 - organization: *858 + personal_access_token_request: *899 + enterprise: *854 + organization: *856 sender: *4 - installation: *857 + installation: *855 required: - action - personal_access_token_request @@ -167252,11 +166480,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *901 - organization: *858 - enterprise: *856 + personal_access_token_request: *899 + organization: *856 + enterprise: *854 sender: *4 - installation: *857 + installation: *855 required: - action - personal_access_token_request @@ -167361,7 +166589,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *902 + last_response: *900 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -167393,8 +166621,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *858 - repository: *859 + organization: *856 + repository: *857 sender: *4 zen: description: Random string of GitHub zen. @@ -167639,10 +166867,10 @@ x-webhooks: - from required: - note - enterprise: *856 - installation: *857 - organization: *858 - project_card: &903 + enterprise: *854 + installation: *855 + organization: *856 + project_card: &901 title: Project Card type: object properties: @@ -167761,7 +166989,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *859 + repository: *857 sender: *4 required: - action @@ -167842,11 +167070,11 @@ x-webhooks: type: string enum: - created - enterprise: *856 - installation: *857 - organization: *858 - project_card: *903 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + project_card: *901 + repository: *857 sender: *4 required: - action @@ -167926,9 +167154,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *856 - installation: *857 - organization: *858 + enterprise: *854 + installation: *855 + organization: *856 project_card: title: Project Card type: object @@ -168056,8 +167284,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: *896 - required: *897 + properties: *894 + required: *895 nullable: true sender: *4 required: @@ -168151,11 +167379,11 @@ x-webhooks: - from required: - note - enterprise: *856 - installation: *857 - organization: *858 - project_card: *903 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + project_card: *901 + repository: *857 sender: *4 required: - action @@ -168249,9 +167477,9 @@ x-webhooks: - from required: - column_id - enterprise: *856 - installation: *857 - organization: *858 + enterprise: *854 + installation: *855 + organization: *856 project_card: allOf: - title: Project Card @@ -168441,7 +167669,7 @@ x-webhooks: type: string required: - after_id - repository: *859 + repository: *857 sender: *4 required: - action @@ -168521,10 +167749,10 @@ x-webhooks: type: string enum: - closed - enterprise: *856 - installation: *857 - organization: *858 - project: &905 + enterprise: *854 + installation: *855 + organization: *856 + project: &903 title: Project type: object properties: @@ -168648,7 +167876,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *859 + repository: *857 sender: *4 required: - action @@ -168728,10 +167956,10 @@ x-webhooks: type: string enum: - created - enterprise: *856 - installation: *857 - organization: *858 - project_column: &904 + enterprise: *854 + installation: *855 + organization: *856 + project_column: &902 title: Project Column type: object properties: @@ -168770,7 +167998,7 @@ x-webhooks: - name - created_at - updated_at - repository: *859 + repository: *857 sender: *4 required: - action @@ -168849,18 +168077,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *856 - installation: *857 - organization: *858 - project_column: *904 + enterprise: *854 + installation: *855 + organization: *856 + project_column: *902 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: *896 - required: *897 + properties: *894 + required: *895 nullable: true sender: *4 required: @@ -168950,11 +168178,11 @@ x-webhooks: type: string required: - from - enterprise: *856 - installation: *857 - organization: *858 - project_column: *904 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + project_column: *902 + repository: *857 sender: *4 required: - action @@ -169034,11 +168262,11 @@ x-webhooks: type: string enum: - moved - enterprise: *856 - installation: *857 - organization: *858 - project_column: *904 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + project_column: *902 + repository: *857 sender: *4 required: - action @@ -169118,11 +168346,11 @@ x-webhooks: type: string enum: - created - enterprise: *856 - installation: *857 - organization: *858 - project: *905 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + project: *903 + repository: *857 sender: *4 required: - action @@ -169202,18 +168430,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *856 - installation: *857 - organization: *858 - project: *905 + enterprise: *854 + installation: *855 + organization: *856 + project: *903 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: *896 - required: *897 + properties: *894 + required: *895 nullable: true sender: *4 required: @@ -169315,11 +168543,11 @@ x-webhooks: type: string required: - from - enterprise: *856 - installation: *857 - organization: *858 - project: *905 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + project: *903 + repository: *857 sender: *4 required: - action @@ -169398,11 +168626,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *856 - installation: *857 - organization: *858 - project: *905 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + project: *903 + repository: *857 sender: *4 required: - action @@ -169483,9 +168711,9 @@ x-webhooks: type: string enum: - closed - installation: *857 - organization: *858 - projects_v2: *397 + installation: *855 + organization: *856 + projects_v2: *396 sender: *4 required: - action @@ -169566,9 +168794,9 @@ x-webhooks: type: string enum: - created - installation: *857 - organization: *858 - projects_v2: *397 + installation: *855 + organization: *856 + projects_v2: *396 sender: *4 required: - action @@ -169649,9 +168877,9 @@ x-webhooks: type: string enum: - deleted - installation: *857 - organization: *858 - projects_v2: *397 + installation: *855 + organization: *856 + projects_v2: *396 sender: *4 required: - action @@ -169768,9 +168996,9 @@ x-webhooks: type: string to: type: string - installation: *857 - organization: *858 - projects_v2: *397 + installation: *855 + organization: *856 + projects_v2: *396 sender: *4 required: - action @@ -169853,7 +169081,7 @@ x-webhooks: type: string enum: - archived - changes: &909 + changes: &907 type: object properties: archived_at: @@ -169867,9 +169095,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *857 - organization: *858 - projects_v2_item: &906 + installation: *855 + organization: *856 + projects_v2_item: &904 title: Projects v2 Item description: An item belonging to a project type: object @@ -169887,7 +169115,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *404 + content_type: *403 creator: *4 created_at: type: string @@ -170004,9 +169232,9 @@ x-webhooks: nullable: true to: type: string - installation: *857 - organization: *858 - projects_v2_item: *906 + installation: *855 + organization: *856 + projects_v2_item: *904 sender: *4 required: - action @@ -170088,9 +169316,9 @@ x-webhooks: type: string enum: - created - installation: *857 - organization: *858 - projects_v2_item: *906 + installation: *855 + organization: *856 + projects_v2_item: *904 sender: *4 required: - action @@ -170171,9 +169399,9 @@ x-webhooks: type: string enum: - deleted - installation: *857 - organization: *858 - projects_v2_item: *906 + installation: *855 + organization: *856 + projects_v2_item: *904 sender: *4 required: - action @@ -170279,7 +169507,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &907 + - &905 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -170301,7 +169529,7 @@ x-webhooks: required: - id - name - - &908 + - &906 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -170335,8 +169563,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *907 - - *908 + - *905 + - *906 required: - field_value - type: object @@ -170352,9 +169580,9 @@ x-webhooks: nullable: true required: - body - installation: *857 - organization: *858 - projects_v2_item: *906 + installation: *855 + organization: *856 + projects_v2_item: *904 sender: *4 required: - action @@ -170449,9 +169677,9 @@ x-webhooks: to: type: string nullable: true - installation: *857 - organization: *858 - projects_v2_item: *906 + installation: *855 + organization: *856 + projects_v2_item: *904 sender: *4 required: - action @@ -170534,10 +169762,10 @@ x-webhooks: type: string enum: - restored - changes: *909 - installation: *857 - organization: *858 - projects_v2_item: *906 + changes: *907 + installation: *855 + organization: *856 + projects_v2_item: *904 sender: *4 required: - action @@ -170619,9 +169847,9 @@ x-webhooks: type: string enum: - reopened - installation: *857 - organization: *858 - projects_v2: *397 + installation: *855 + organization: *856 + projects_v2: *396 sender: *4 required: - action @@ -170702,14 +169930,14 @@ x-webhooks: type: string enum: - created - installation: *857 - organization: *858 - projects_v2_status_update: &912 + installation: *855 + organization: *856 + projects_v2_status_update: &910 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *910 - required: *911 + properties: *908 + required: *909 sender: *4 required: - action @@ -170790,9 +170018,9 @@ x-webhooks: type: string enum: - deleted - installation: *857 - organization: *858 - projects_v2_status_update: *912 + installation: *855 + organization: *856 + projects_v2_status_update: *910 sender: *4 required: - action @@ -170928,9 +170156,9 @@ x-webhooks: type: string format: date nullable: true - installation: *857 - organization: *858 - projects_v2_status_update: *912 + installation: *855 + organization: *856 + projects_v2_status_update: *910 sender: *4 required: - action @@ -171001,10 +170229,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - repository @@ -171081,13 +170309,13 @@ x-webhooks: type: string enum: - assigned - assignee: *883 - enterprise: *856 - installation: *857 - number: &913 + assignee: *881 + enterprise: *854 + installation: *855 + number: &911 description: The pull request number. type: integer - organization: *858 + organization: *856 pull_request: title: Pull Request type: object @@ -173370,7 +172598,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *859 + repository: *857 sender: *4 required: - action @@ -173452,11 +172680,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *856 - installation: *857 + enterprise: *854 + installation: *855 number: type: integer - organization: *858 + organization: *856 pull_request: title: Pull Request type: object @@ -175734,7 +174962,7 @@ x-webhooks: - draft reason: type: string - repository: *859 + repository: *857 sender: *4 required: - action @@ -175816,11 +175044,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *856 - installation: *857 + enterprise: *854 + installation: *855 number: type: integer - organization: *858 + organization: *856 pull_request: title: Pull Request type: object @@ -178098,7 +177326,7 @@ x-webhooks: - draft reason: type: string - repository: *859 + repository: *857 sender: *4 required: - action @@ -178180,13 +177408,13 @@ x-webhooks: type: string enum: - closed - enterprise: *856 - installation: *857 - number: *913 - organization: *858 - pull_request: &914 + enterprise: *854 + installation: *855 + number: *911 + organization: *856 + pull_request: &912 allOf: - - *706 + - *704 - type: object properties: allow_auto_merge: @@ -178248,7 +177476,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *859 + repository: *857 sender: *4 required: - action @@ -178329,12 +177557,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *856 - installation: *857 - number: *913 - organization: *858 - pull_request: *914 - repository: *859 + enterprise: *854 + installation: *855 + number: *911 + organization: *856 + pull_request: *912 + repository: *857 sender: *4 required: - action @@ -178414,11 +177642,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *856 - milestone: *688 - number: *913 - organization: *858 - pull_request: &915 + enterprise: *854 + milestone: *686 + number: *911 + organization: *856 + pull_request: &913 title: Pull Request type: object properties: @@ -180681,7 +179909,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *859 + repository: *857 sender: *4 required: - action @@ -180760,11 +179988,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *856 - installation: *857 + enterprise: *854 + installation: *855 number: type: integer - organization: *858 + organization: *856 pull_request: title: Pull Request type: object @@ -183046,7 +182274,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *859 + repository: *857 sender: *4 required: - action @@ -183170,12 +182398,12 @@ x-webhooks: type: string required: - from - enterprise: *856 - installation: *857 - number: *913 - organization: *858 - pull_request: *914 - repository: *859 + enterprise: *854 + installation: *855 + number: *911 + organization: *856 + pull_request: *912 + repository: *857 sender: *4 required: - action @@ -183255,11 +182483,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *856 - installation: *857 + enterprise: *854 + installation: *855 number: type: integer - organization: *858 + organization: *856 pull_request: title: Pull Request type: object @@ -185526,7 +184754,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *859 + repository: *857 sender: *4 required: - action @@ -185606,11 +184834,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *856 - installation: *857 - label: *882 - number: *913 - organization: *858 + enterprise: *854 + installation: *855 + label: *880 + number: *911 + organization: *856 pull_request: title: Pull Request type: object @@ -187892,7 +187120,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *859 + repository: *857 sender: *4 required: - action @@ -187973,10 +187201,10 @@ x-webhooks: type: string enum: - locked - enterprise: *856 - installation: *857 - number: *913 - organization: *858 + enterprise: *854 + installation: *855 + number: *911 + organization: *856 pull_request: title: Pull Request type: object @@ -190256,7 +189484,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *859 + repository: *857 sender: *4 required: - action @@ -190336,12 +189564,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *856 - milestone: *688 - number: *913 - organization: *858 - pull_request: *915 - repository: *859 + enterprise: *854 + milestone: *686 + number: *911 + organization: *856 + pull_request: *913 + repository: *857 sender: *4 required: - action @@ -190420,12 +189648,12 @@ x-webhooks: type: string enum: - opened - enterprise: *856 - installation: *857 - number: *913 - organization: *858 - pull_request: *914 - repository: *859 + enterprise: *854 + installation: *855 + number: *911 + organization: *856 + pull_request: *912 + repository: *857 sender: *4 required: - action @@ -190506,12 +189734,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *856 - installation: *857 - number: *913 - organization: *858 - pull_request: *914 - repository: *859 + enterprise: *854 + installation: *855 + number: *911 + organization: *856 + pull_request: *912 + repository: *857 sender: *4 required: - action @@ -190591,12 +189819,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *856 - installation: *857 - number: *913 - organization: *858 - pull_request: *914 - repository: *859 + enterprise: *854 + installation: *855 + number: *911 + organization: *856 + pull_request: *912 + repository: *857 sender: *4 required: - action @@ -190962,9 +190190,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *856 - installation: *857 - organization: *858 + enterprise: *854 + installation: *855 + organization: *856 pull_request: type: object properties: @@ -193134,7 +192362,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *859 + repository: *857 sender: *4 required: - action @@ -193214,7 +192442,7 @@ x-webhooks: type: string enum: - deleted - comment: &917 + comment: &915 title: Pull Request Review Comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -193499,9 +192727,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *856 - installation: *857 - organization: *858 + enterprise: *854 + installation: *855 + organization: *856 pull_request: type: object properties: @@ -195659,7 +194887,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *859 + repository: *857 sender: *4 required: - action @@ -195739,11 +194967,11 @@ x-webhooks: type: string enum: - edited - changes: *916 - comment: *917 - enterprise: *856 - installation: *857 - organization: *858 + changes: *914 + comment: *915 + enterprise: *854 + installation: *855 + organization: *856 pull_request: type: object properties: @@ -197904,7 +197132,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *859 + repository: *857 sender: *4 required: - action @@ -197985,9 +197213,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *856 - installation: *857 - organization: *858 + enterprise: *854 + installation: *855 + organization: *856 pull_request: title: Simple Pull Request type: object @@ -200160,7 +199388,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *859 + repository: *857 review: description: The review that was affected. type: object @@ -200407,9 +199635,9 @@ x-webhooks: type: string required: - from - enterprise: *856 - installation: *857 - organization: *858 + enterprise: *854 + installation: *855 + organization: *856 pull_request: title: Simple Pull Request type: object @@ -202463,8 +201691,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *859 - review: &918 + repository: *857 + review: &916 description: The review that was affected. type: object properties: @@ -202697,12 +201925,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *856 - installation: *857 + enterprise: *854 + installation: *855 number: description: The pull request number. type: integer - organization: *858 + organization: *856 pull_request: title: Pull Request type: object @@ -204985,7 +204213,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *859 + repository: *857 requested_reviewer: title: User type: object @@ -205069,12 +204297,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *856 - installation: *857 + enterprise: *854 + installation: *855 number: description: The pull request number. type: integer - organization: *858 + organization: *856 pull_request: title: Pull Request type: object @@ -207364,7 +206592,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *859 + repository: *857 requested_team: title: Team description: Groups of organization members that gives permissions @@ -207556,12 +206784,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *856 - installation: *857 + enterprise: *854 + installation: *855 number: description: The pull request number. type: integer - organization: *858 + organization: *856 pull_request: title: Pull Request type: object @@ -209846,7 +209074,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *859 + repository: *857 requested_reviewer: title: User type: object @@ -209931,12 +209159,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *856 - installation: *857 + enterprise: *854 + installation: *855 number: description: The pull request number. type: integer - organization: *858 + organization: *856 pull_request: title: Pull Request type: object @@ -212212,7 +211440,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *859 + repository: *857 requested_team: title: Team description: Groups of organization members that gives permissions @@ -212393,9 +211621,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *856 - installation: *857 - organization: *858 + enterprise: *854 + installation: *855 + organization: *856 pull_request: title: Simple Pull Request type: object @@ -214570,8 +213798,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *859 - review: *918 + repository: *857 + review: *916 sender: *4 required: - action @@ -214651,9 +213879,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *856 - installation: *857 - organization: *858 + enterprise: *854 + installation: *855 + organization: *856 pull_request: title: Simple Pull Request type: object @@ -216723,7 +215951,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *859 + repository: *857 sender: *4 thread: type: object @@ -217110,9 +216338,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *856 - installation: *857 - organization: *858 + enterprise: *854 + installation: *855 + organization: *856 pull_request: title: Simple Pull Request type: object @@ -219168,7 +218396,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *859 + repository: *857 sender: *4 thread: type: object @@ -219558,10 +218786,10 @@ x-webhooks: type: string before: type: string - enterprise: *856 - installation: *857 - number: *913 - organization: *858 + enterprise: *854 + installation: *855 + number: *911 + organization: *856 pull_request: title: Pull Request type: object @@ -221832,7 +221060,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *859 + repository: *857 sender: *4 required: - action @@ -221914,11 +221142,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *919 - enterprise: *856 - installation: *857 - number: *913 - organization: *858 + assignee: *917 + enterprise: *854 + installation: *855 + number: *911 + organization: *856 pull_request: title: Pull Request type: object @@ -224201,7 +223429,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *859 + repository: *857 sender: *4 required: - action @@ -224280,11 +223508,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *856 - installation: *857 - label: *882 - number: *913 - organization: *858 + enterprise: *854 + installation: *855 + label: *880 + number: *911 + organization: *856 pull_request: title: Pull Request type: object @@ -226557,7 +225785,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *859 + repository: *857 sender: *4 required: - action @@ -226638,10 +225866,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *856 - installation: *857 - number: *913 - organization: *858 + enterprise: *854 + installation: *855 + number: *911 + organization: *856 pull_request: title: Pull Request type: object @@ -228906,7 +228134,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *859 + repository: *857 sender: *4 required: - action @@ -229106,7 +228334,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *856 + enterprise: *854 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -229198,8 +228426,8 @@ x-webhooks: - url - author - committer - installation: *857 - organization: *858 + installation: *855 + organization: *856 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -229774,9 +229002,9 @@ x-webhooks: type: string enum: - published - enterprise: *856 - installation: *857 - organization: *858 + enterprise: *854 + installation: *855 + organization: *856 registry_package: type: object properties: @@ -230222,7 +229450,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *900 + items: *898 summary: type: string tag_name: @@ -230276,7 +229504,7 @@ x-webhooks: - owner - package_version - registry - repository: *859 + repository: *857 sender: *4 required: - action @@ -230354,9 +229582,9 @@ x-webhooks: type: string enum: - updated - enterprise: *856 - installation: *857 - organization: *858 + enterprise: *854 + installation: *855 + organization: *856 registry_package: type: object properties: @@ -230664,7 +229892,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *900 + items: *898 summary: type: string tag_name: @@ -230713,7 +229941,7 @@ x-webhooks: - owner - package_version - registry - repository: *859 + repository: *857 sender: *4 required: - action @@ -230790,10 +230018,10 @@ x-webhooks: type: string enum: - created - enterprise: *856 - installation: *857 - organization: *858 - release: &920 + enterprise: *854 + installation: *855 + organization: *856 + release: &918 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -231111,7 +230339,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *859 + repository: *857 sender: *4 required: - action @@ -231188,11 +230416,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *856 - installation: *857 - organization: *858 - release: *920 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + release: *918 + repository: *857 sender: *4 required: - action @@ -231309,11 +230537,11 @@ x-webhooks: type: boolean required: - to - enterprise: *856 - installation: *857 - organization: *858 - release: *920 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + release: *918 + repository: *857 sender: *4 required: - action @@ -231391,9 +230619,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *856 - installation: *857 - organization: *858 + enterprise: *854 + installation: *855 + organization: *856 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -231715,7 +230943,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *859 + repository: *857 sender: *4 required: - action @@ -231791,10 +231019,10 @@ x-webhooks: type: string enum: - published - enterprise: *856 - installation: *857 - organization: *858 - release: &921 + enterprise: *854 + installation: *855 + organization: *856 + release: &919 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -232113,7 +231341,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *859 + repository: *857 sender: *4 required: - action @@ -232189,11 +231417,11 @@ x-webhooks: type: string enum: - released - enterprise: *856 - installation: *857 - organization: *858 - release: *920 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + release: *918 + repository: *857 sender: *4 required: - action @@ -232269,11 +231497,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *856 - installation: *857 - organization: *858 - release: *921 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + release: *919 + repository: *857 sender: *4 required: - action @@ -232349,11 +231577,11 @@ x-webhooks: type: string enum: - published - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 - repository_advisory: *759 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 + repository_advisory: *757 sender: *4 required: - action @@ -232429,11 +231657,11 @@ x-webhooks: type: string enum: - reported - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 - repository_advisory: *759 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 + repository_advisory: *757 sender: *4 required: - action @@ -232509,10 +231737,10 @@ x-webhooks: type: string enum: - archived - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -232589,10 +231817,10 @@ x-webhooks: type: string enum: - created - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -232670,10 +231898,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -232757,10 +231985,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -232872,10 +232100,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -232947,10 +232175,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 status: type: string @@ -233031,10 +232259,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -233111,10 +232339,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -233208,10 +232436,10 @@ x-webhooks: - name required: - repository - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -233291,10 +232519,10 @@ x-webhooks: type: string enum: - created - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 repository_ruleset: *185 sender: *4 required: @@ -233373,10 +232601,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 repository_ruleset: *185 sender: *4 required: @@ -233455,10 +232683,10 @@ x-webhooks: type: string enum: - edited - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 repository_ruleset: *185 changes: type: object @@ -233520,16 +232748,16 @@ x-webhooks: properties: added: type: array - items: *727 + items: *725 deleted: type: array - items: *727 + items: *725 updated: type: array items: type: object properties: - rule: *727 + rule: *725 changes: type: object properties: @@ -233763,10 +232991,10 @@ x-webhooks: - from required: - owner - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -233844,10 +233072,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -233925,7 +233153,7 @@ x-webhooks: type: string enum: - create - alert: &922 + alert: &920 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -234046,10 +233274,10 @@ x-webhooks: type: string enum: - open - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -234255,10 +233483,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -234336,11 +233564,11 @@ x-webhooks: type: string enum: - reopen - alert: *922 - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + alert: *920 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -234539,10 +233767,10 @@ x-webhooks: enum: - fixed - open - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -234620,7 +233848,7 @@ x-webhooks: type: string enum: - created - alert: &923 + alert: &921 type: object properties: number: *123 @@ -234738,10 +233966,10 @@ x-webhooks: properties: *20 required: *21 nullable: true - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -234822,11 +234050,11 @@ x-webhooks: type: string enum: - created - alert: *923 - installation: *857 - location: *924 - organization: *858 - repository: *859 + alert: *921 + installation: *855 + location: *922 + organization: *856 + repository: *857 sender: *4 required: - location @@ -235064,11 +234292,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *923 - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + alert: *921 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -235146,11 +234374,11 @@ x-webhooks: type: string enum: - reopened - alert: *923 - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + alert: *921 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -235228,11 +234456,11 @@ x-webhooks: type: string enum: - resolved - alert: *923 - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + alert: *921 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -235310,11 +234538,11 @@ x-webhooks: type: string enum: - validated - alert: *923 - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + alert: *921 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -235440,10 +234668,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *859 - enterprise: *856 - installation: *857 - organization: *858 + repository: *857 + enterprise: *854 + installation: *855 + organization: *856 sender: *4 required: - action @@ -235521,11 +234749,11 @@ x-webhooks: type: string enum: - published - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 - security_advisory: &925 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 + security_advisory: &923 description: The details of the security advisory, including summary, description, and severity. type: object @@ -235708,11 +234936,11 @@ x-webhooks: type: string enum: - updated - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 - security_advisory: *925 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 + security_advisory: *923 sender: *4 required: - action @@ -235785,10 +235013,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -235972,11 +235200,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *412 - enterprise: *856 - installation: *857 - organization: *858 - repository: *479 + security_and_analysis: *411 + enterprise: *854 + installation: *855 + organization: *856 + repository: *476 sender: *4 required: - changes @@ -236054,12 +235282,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 - sponsorship: &926 + sponsorship: &924 type: object properties: created_at: @@ -236360,12 +235588,12 @@ x-webhooks: type: string enum: - created - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 - sponsorship: *926 + sponsorship: *924 required: - action - sponsorship @@ -236453,12 +235681,12 @@ x-webhooks: type: string required: - from - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 - sponsorship: *926 + sponsorship: *924 required: - action - changes @@ -236535,17 +235763,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &927 + effective_date: &925 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 - sponsorship: *926 + sponsorship: *924 required: - action - sponsorship @@ -236619,7 +235847,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &928 + changes: &926 type: object properties: tier: @@ -236663,13 +235891,13 @@ x-webhooks: - from required: - tier - effective_date: *927 - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + effective_date: *925 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 - sponsorship: *926 + sponsorship: *924 required: - action - changes @@ -236746,13 +235974,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *928 - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + changes: *926 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 - sponsorship: *926 + sponsorship: *924 required: - action - changes @@ -236826,10 +236054,10 @@ x-webhooks: type: string enum: - created - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -236912,10 +236140,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -237335,15 +236563,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *856 + enterprise: *854 id: description: The unique identifier of the status. type: integer - installation: *857 + installation: *855 name: type: string - organization: *858 - repository: *859 + organization: *856 + repository: *857 sender: *4 sha: description: The Commit SHA. @@ -237458,9 +236686,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *226 - installation: *857 - organization: *858 - repository: *859 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -237550,9 +236778,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *226 - installation: *857 - organization: *858 - repository: *859 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -237642,9 +236870,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *226 - installation: *857 - organization: *858 - repository: *859 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -237734,9 +236962,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *226 - installation: *857 - organization: *858 - repository: *859 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -237813,12 +237041,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 - team: &929 + team: &927 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -238041,9 +237269,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *856 - installation: *857 - organization: *858 + enterprise: *854 + installation: *855 + organization: *856 repository: title: Repository description: A git repository @@ -238501,7 +237729,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *929 + team: *927 required: - action - team @@ -238577,9 +237805,9 @@ x-webhooks: type: string enum: - created - enterprise: *856 - installation: *857 - organization: *858 + enterprise: *854 + installation: *855 + organization: *856 repository: title: Repository description: A git repository @@ -239037,7 +238265,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *929 + team: *927 required: - action - team @@ -239114,9 +238342,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *856 - installation: *857 - organization: *858 + enterprise: *854 + installation: *855 + organization: *856 repository: title: Repository description: A git repository @@ -239574,7 +238802,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *929 + team: *927 required: - action - team @@ -239718,9 +238946,9 @@ x-webhooks: - from required: - permissions - enterprise: *856 - installation: *857 - organization: *858 + enterprise: *854 + installation: *855 + organization: *856 repository: title: Repository description: A git repository @@ -240178,7 +239406,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *929 + team: *927 required: - action - changes @@ -240256,9 +239484,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *856 - installation: *857 - organization: *858 + enterprise: *854 + installation: *855 + organization: *856 repository: title: Repository description: A git repository @@ -240716,7 +239944,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *929 + team: *927 required: - action - team @@ -240792,10 +240020,10 @@ x-webhooks: type: string enum: - started - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 required: - action @@ -240868,16 +240096,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *856 + enterprise: *854 inputs: type: object nullable: true additionalProperties: true - installation: *857 - organization: *858 + installation: *855 + organization: *856 ref: type: string - repository: *859 + repository: *857 sender: *4 workflow: type: string @@ -240959,10 +240187,10 @@ x-webhooks: type: string enum: - completed - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 workflow_job: allOf: @@ -241199,7 +240427,7 @@ x-webhooks: type: string required: - conclusion - deployment: *611 + deployment: *608 required: - action - repository @@ -241278,10 +240506,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 workflow_job: allOf: @@ -241541,7 +240769,7 @@ x-webhooks: required: - status - steps - deployment: *611 + deployment: *608 required: - action - repository @@ -241620,10 +240848,10 @@ x-webhooks: type: string enum: - queued - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 workflow_job: type: object @@ -241758,7 +240986,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *611 + deployment: *608 required: - action - repository @@ -241837,10 +241065,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 workflow_job: type: object @@ -241976,7 +241204,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *611 + deployment: *608 required: - action - repository @@ -242056,12 +241284,12 @@ x-webhooks: type: string enum: - completed - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 - workflow: *878 + workflow: *876 workflow_run: title: Workflow Run type: object @@ -243060,12 +242288,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 - workflow: *878 + workflow: *876 workflow_run: title: Workflow Run type: object @@ -244049,12 +243277,12 @@ x-webhooks: type: string enum: - requested - enterprise: *856 - installation: *857 - organization: *858 - repository: *859 + enterprise: *854 + installation: *855 + organization: *856 + repository: *857 sender: *4 - workflow: *878 + workflow: *876 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 8d81e376c..6f50c9a29 100644 --- a/descriptions/ghec/ghec.2022-11-28.json +++ b/descriptions/ghec/ghec.2022-11-28.json @@ -34622,172 +34622,6 @@ } } }, - "/orgs/{org}/projects": { - "get": { - "summary": "List organization projects", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/list-for-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-organization-projects" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - }, - { - "name": "state", - "description": "Indicates the state of the projects to return.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "open", - "closed", - "all" - ], - "default": "open" - } - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/page" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/project" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/project-items" - } - } - } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } - } - }, - "422": { - "$ref": "#/components/responses/validation_failed_simple" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - }, - "post": { - "summary": "Create an organization project", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/create-for-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#create-an-organization-project" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The name of the project." - }, - "body": { - "type": "string", - "description": "The description of the project." - } - }, - "required": [ - "name" - ] - }, - "examples": { - "default": { - "value": { - "name": "Organization Roadmap", - "body": "High-level roadmap for the upcoming year." - } - } - } - } - } - }, - "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/project" - }, - "examples": { - "default": { - "$ref": "#/components/examples/project-2" - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "410": { - "$ref": "#/components/responses/gone" - }, - "422": { - "$ref": "#/components/responses/validation_failed_simple" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - } - }, "/orgs/{org}/projectsV2": { "get": { "summary": "List projects for organization", @@ -42246,261 +42080,6 @@ "deprecated": true } }, - "/projects/{project_id}": { - "get": { - "summary": "Get a project", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/get", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#get-a-project" - }, - "parameters": [ - { - "$ref": "#/components/parameters/project-id" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/project" - }, - "examples": { - "default": { - "$ref": "#/components/examples/project-3" - } - } - } - } - }, - "304": { - "$ref": "#/components/responses/not_modified" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - }, - "patch": { - "summary": "Update a project", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "operationId": "projects-classic/update", - "tags": [ - "projects-classic" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#update-a-project" - }, - "parameters": [ - { - "$ref": "#/components/parameters/project-id" - } - ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "properties": { - "name": { - "description": "Name of the project", - "example": "Week One Sprint", - "type": "string" - }, - "body": { - "description": "Body of the project", - "example": "This project represents the sprint of the first week in January", - "type": "string", - "nullable": true - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "example": "open", - "type": "string" - }, - "organization_permission": { - "description": "The baseline permission that all organization members have on this project", - "type": "string", - "enum": [ - "read", - "write", - "admin", - "none" - ] - }, - "private": { - "description": "Whether or not this project can be seen by everyone.", - "type": "boolean" - } - }, - "type": "object" - }, - "examples": { - "default": { - "summary": "Change the name, state, and permissions for a project", - "value": { - "name": "Week One Sprint", - "state": "open", - "organization_permission": "write" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/project" - }, - "examples": { - "default": { - "$ref": "#/components/examples/project-3" - } - } - } - } - }, - "404": { - "description": "Not Found if the authenticated user does not have access to the project" - }, - "304": { - "$ref": "#/components/responses/not_modified" - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - }, - "410": { - "$ref": "#/components/responses/gone" - }, - "422": { - "$ref": "#/components/responses/validation_failed_simple" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - }, - "delete": { - "summary": "Delete a project", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "operationId": "projects-classic/delete", - "tags": [ - "projects-classic" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#delete-a-project" - }, - "parameters": [ - { - "$ref": "#/components/parameters/project-id" - } - ], - "responses": { - "204": { - "description": "Delete Success" - }, - "304": { - "$ref": "#/components/responses/not_modified" - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - }, - "410": { - "$ref": "#/components/responses/gone" - }, - "404": { - "$ref": "#/components/responses/not_found" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - } - }, "/projects/{project_id}/collaborators": { "get": { "summary": "List project collaborators", @@ -69898,142 +69477,16 @@ "subcategory": "repos" } }, - "delete": { - "summary": "Disable private vulnerability reporting for a repository", - "description": "Disables private vulnerability reporting for a repository. The authenticated user must have admin access to the repository. For more information, see \"[Privately reporting a security vulnerability](https://docs.github.com/enterprise-cloud@latest//code-security/security-advisories/guidance-on-reporting-and-writing/privately-reporting-a-security-vulnerability)\".", - "tags": [ - "repos" - ], - "operationId": "repos/disable-private-vulnerability-reporting", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - } - ], - "responses": { - "204": { - "$ref": "#/components/responses/no_content" - }, - "422": { - "$ref": "#/components/responses/bad_request" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "repos" - } - } - }, - "/repos/{owner}/{repo}/projects": { - "get": { - "summary": "List repository projects", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/list-for-repo", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-repository-projects" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "name": "state", - "description": "Indicates the state of the projects to return.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "open", - "closed", - "all" - ], - "default": "open" - } - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/page" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/project" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/project-items-2" - } - } - } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } - } - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "410": { - "$ref": "#/components/responses/gone" - }, - "422": { - "$ref": "#/components/responses/validation_failed_simple" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - }, - "post": { - "summary": "Create a repository project", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", + "delete": { + "summary": "Disable private vulnerability reporting for a repository", + "description": "Disables private vulnerability reporting for a repository. The authenticated user must have admin access to the repository. For more information, see \"[Privately reporting a security vulnerability](https://docs.github.com/enterprise-cloud@latest//code-security/security-advisories/guidance-on-reporting-and-writing/privately-reporting-a-security-vulnerability)\".", "tags": [ - "projects-classic" + "repos" ], - "operationId": "projects-classic/create-for-repo", + "operationId": "repos/disable-private-vulnerability-reporting", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#create-a-repository-project" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository" }, "parameters": [ { @@ -70043,78 +69496,20 @@ "$ref": "#/components/parameters/repo" } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The name of the project." - }, - "body": { - "type": "string", - "description": "The description of the project." - } - }, - "required": [ - "name" - ] - }, - "examples": { - "default": { - "value": { - "name": "Projects Documentation", - "body": "Developer documentation project for the developer site." - } - } - } - } - } - }, "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/project" - }, - "examples": { - "default": { - "$ref": "#/components/examples/project-3" - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "410": { - "$ref": "#/components/responses/gone" + "204": { + "$ref": "#/components/responses/no_content" }, "422": { - "$ref": "#/components/responses/validation_failed_simple" + "$ref": "#/components/responses/bad_request" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true + "category": "repos", + "subcategory": "repos" + } } }, "/repos/{owner}/{repo}/properties/values": { @@ -86882,185 +86277,17 @@ } } }, - "/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. For more information, see \"[About permissions for GitHub 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", - "externalDocs": { - "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": [ - { - "$ref": "#/components/parameters/package-type" - }, - { - "$ref": "#/components/parameters/package-name" - }, - { - "$ref": "#/components/parameters/page" - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "name": "state", - "in": "query", - "required": false, - "description": "The state of the package, either active or deleted.", - "schema": { - "type": "string", - "enum": [ - "active", - "deleted" - ], - "default": "active" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/package-version" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/package-versions-for-authenticated-user" - } - } - } - } - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "packages", - "subcategory": "packages" - } - } - }, - "/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. For more information, see \"[About permissions for GitHub 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", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-the-authenticated-user" - }, - "parameters": [ - { - "$ref": "#/components/parameters/package-type" - }, - { - "$ref": "#/components/parameters/package-name" - }, - { - "$ref": "#/components/parameters/package-version-id" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/package-version" - }, - "examples": { - "default": { - "$ref": "#/components/examples/package-version-authenticated-user" - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "packages", - "subcategory": "packages" - } - }, - "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. For more information, see \"[About permissions for GitHub 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", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-version-for-the-authenticated-user" - }, - "parameters": [ - { - "$ref": "#/components/parameters/package-type" - }, - { - "$ref": "#/components/parameters/package-name" - }, - { - "$ref": "#/components/parameters/package-version-id" - } - ], - "responses": { - "204": { - "description": "Response" - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "packages", - "subcategory": "packages" - } - } - }, - "/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. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "/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. For more information, see \"[About permissions for GitHub 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", + "operationId": "packages/get-all-package-versions-for-package-owned-by-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-version-for-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user" }, "parameters": [ { @@ -87070,12 +86297,44 @@ "$ref": "#/components/parameters/package-name" }, { - "$ref": "#/components/parameters/package-version-id" + "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "name": "state", + "in": "query", + "required": false, + "description": "The state of the package, either active or deleted.", + "schema": { + "type": "string", + "enum": [ + "active", + "deleted" + ], + "default": "active" + } } ], "responses": { - "204": { - "description": "Response" + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/package-version" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/package-versions-for-authenticated-user" + } + } + } + } }, "404": { "$ref": "#/components/responses/not_found" @@ -87095,92 +86354,140 @@ } } }, - "/user/projects": { - "post": { - "summary": "Create a user project", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", + "/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. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ - "projects-classic" + "packages" ], - "operationId": "projects-classic/create-for-authenticated-user", + "operationId": "packages/get-package-version-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#create-a-user-project" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-the-authenticated-user" }, - "parameters": [], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "properties": { - "name": { - "description": "Name of the project", - "example": "Week One Sprint", - "type": "string" - }, - "body": { - "description": "Body of the project", - "example": "This project represents the sprint of the first week in January", - "type": "string", - "nullable": true - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "examples": { - "default": { - "summary": "Create a new project", - "value": { - "name": "My Projects", - "body": "A board to manage my personal projects." - } - } - } - } + "parameters": [ + { + "$ref": "#/components/parameters/package-type" + }, + { + "$ref": "#/components/parameters/package-name" + }, + { + "$ref": "#/components/parameters/package-version-id" } - }, + ], "responses": { - "201": { + "200": { "description": "Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/project" + "$ref": "#/components/schemas/package-version" }, "examples": { "default": { - "$ref": "#/components/examples/project" + "$ref": "#/components/examples/package-version-authenticated-user" } } } } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "packages", + "subcategory": "packages" + } + }, + "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. For more information, see \"[About permissions for GitHub 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", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-version-for-the-authenticated-user" + }, + "parameters": [ + { + "$ref": "#/components/parameters/package-type" }, - "304": { - "$ref": "#/components/responses/not_modified" + { + "$ref": "#/components/parameters/package-name" + }, + { + "$ref": "#/components/parameters/package-version-id" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" }, "403": { "$ref": "#/components/responses/forbidden" }, "401": { "$ref": "#/components/responses/requires_authentication" - }, - "422": { - "$ref": "#/components/responses/validation_failed_simple" } }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" + "enabledForGitHubApps": false, + "category": "packages", + "subcategory": "packages" + } + } + }, + "/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. For more information, see \"[About permissions for GitHub 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", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-version-for-the-authenticated-user" }, - "deprecated": true + "parameters": [ + { + "$ref": "#/components/parameters/package-type" + }, + { + "$ref": "#/components/parameters/package-name" + }, + { + "$ref": "#/components/parameters/package-version-id" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "packages", + "subcategory": "packages" + } } }, "/user/public_emails": { @@ -90376,83 +89683,6 @@ } } }, - "/users/{username}/projects": { - "get": { - "summary": "List user projects", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/list-for-user", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-user-projects" - }, - "parameters": [ - { - "$ref": "#/components/parameters/username" - }, - { - "name": "state", - "description": "Indicates the state of the projects to return.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "open", - "closed", - "all" - ], - "default": "open" - } - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/page" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/project" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/project-items-3" - } - } - } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } - } - }, - "422": { - "$ref": "#/components/responses/validation_failed" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - } - }, "/users/{username}/projectsV2": { "get": { "summary": "List projects for user", @@ -137373,103 +136603,6 @@ "updated_at" ] }, - "project": { - "title": "Project", - "description": "Projects are a way to organize columns and cards of work.", - "type": "object", - "properties": { - "owner_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/api-playground/projects-test" - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/api-playground/projects-test/projects/12" - }, - "columns_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604/columns" - }, - "id": { - "type": "integer", - "example": 1002604 - }, - "node_id": { - "type": "string", - "example": "MDc6UHJvamVjdDEwMDI2MDQ=" - }, - "name": { - "description": "Name of the project", - "example": "Week One Sprint", - "type": "string" - }, - "body": { - "description": "Body of the project", - "example": "This project represents the sprint of the first week in January", - "type": "string", - "nullable": true - }, - "number": { - "type": "integer", - "example": 1 - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "example": "open", - "type": "string" - }, - "creator": { - "$ref": "#/components/schemas/nullable-simple-user" - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2011-04-10T20:09:31Z" - }, - "updated_at": { - "type": "string", - "format": "date-time", - "example": "2014-03-03T18:58:10Z" - }, - "organization_permission": { - "description": "The baseline permission that all organization members have on this project. Only present if owner is an organization.", - "type": "string", - "enum": [ - "read", - "write", - "admin", - "none" - ] - }, - "private": { - "description": "Whether or not this project can be seen by everyone. Only present if owner is an organization.", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "number", - "name", - "body", - "state", - "url", - "html_url", - "owner_url", - "creator", - "columns_url", - "created_at", - "updated_at" - ] - }, "nullable-projects-v2-status-update": { "title": "Projects v2 Status Update", "description": "An status update belonging to a project", @@ -310414,82 +309547,6 @@ "key": "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234" } }, - "project-items": { - "value": [ - { - "owner_url": "https://api.github.com/orgs/octocat", - "url": "https://api.github.com/projects/1002605", - "html_url": "https://github.com/orgs/api-playground/projects/1", - "columns_url": "https://api.github.com/projects/1002605/columns", - "id": 1002605, - "node_id": "MDc6UHJvamVjdDEwMDI2MDU=", - "name": "Organization Roadmap", - "body": "High-level roadmap for the upcoming year.", - "number": 1, - "state": "open", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-11T20:09:31Z", - "updated_at": "2014-03-04T18:58:10Z", - "organization_permission": "write", - "private": true - } - ] - }, - "project-2": { - "value": { - "owner_url": "https://api.github.com/orgs/octocat", - "url": "https://api.github.com/projects/1002605", - "html_url": "https://github.com/orgs/api-playground/projects/1", - "columns_url": "https://api.github.com/projects/1002605/columns", - "id": 1002605, - "node_id": "MDc6UHJvamVjdDEwMDI2MDU=", - "name": "Organization Roadmap", - "body": "High-level roadmap for the upcoming year.", - "number": 1, - "state": "open", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-11T20:09:31Z", - "updated_at": "2014-03-04T18:58:10Z" - } - }, "projects-v2": { "value": { "id": 2, @@ -313549,42 +312606,6 @@ } ] }, - "project-3": { - "value": { - "owner_url": "https://api.github.com/repos/api-playground/projects-test", - "url": "https://api.github.com/projects/1002604", - "html_url": "https://github.com/api-playground/projects-test/projects/1", - "columns_url": "https://api.github.com/projects/1002604/columns", - "id": 1002604, - "node_id": "MDc6UHJvamVjdDEwMDI2MDQ=", - "name": "Projects Documentation", - "body": "Developer documentation project for the developer site.", - "number": 1, - "state": "open", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-10T20:09:31Z", - "updated_at": "2014-03-03T18:58:10Z" - } - }, "project-collaborator-permission": { "value": { "permission": "admin", @@ -323895,44 +322916,6 @@ } } }, - "project-items-2": { - "value": [ - { - "owner_url": "https://api.github.com/repos/api-playground/projects-test", - "url": "https://api.github.com/projects/1002604", - "html_url": "https://github.com/api-playground/projects-test/projects/1", - "columns_url": "https://api.github.com/projects/1002604/columns", - "id": 1002604, - "node_id": "MDc6UHJvamVjdDEwMDI2MDQ=", - "name": "Projects Documentation", - "body": "Developer documentation project for the developer site.", - "number": 1, - "state": "open", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-10T20:09:31Z", - "updated_at": "2014-03-03T18:58:10Z" - } - ] - }, "pull-request": { "value": { "url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347", @@ -331202,42 +330185,6 @@ } } }, - "project": { - "value": { - "owner_url": "https://api.github.com/users/octocat", - "url": "https://api.github.com/projects/1002603", - "html_url": "https://github.com/users/octocat/projects/1", - "columns_url": "https://api.github.com/projects/1002603/columns", - "id": 1002603, - "node_id": "MDc6UHJvamVjdDEwMDI2MDM=", - "name": "My Projects", - "body": "A board to manage my personal projects.", - "number": 1, - "state": "open", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-10T20:09:31Z", - "updated_at": "2014-03-03T18:58:10Z" - } - }, "repository-items-default-response": { "summary": "Default response", "value": [ @@ -331919,44 +330866,6 @@ } } }, - "project-items-3": { - "value": [ - { - "owner_url": "https://api.github.com/users/octocat", - "url": "https://api.github.com/projects/1002603", - "html_url": "https://github.com/users/octocat/projects/1", - "columns_url": "https://api.github.com/projects/1002603/columns", - "id": 1002603, - "node_id": "MDc6UHJvamVjdDEwMDI2MDM=", - "name": "My Projects", - "body": "A board to manage my personal projects.", - "number": 1, - "state": "open", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-10T20:09:31Z", - "updated_at": "2014-03-03T18:58:10Z" - } - ] - }, "user-received-events-items": { "value": [ { @@ -336562,8 +335471,8 @@ "package_es_list_error": { "description": "The value of `per_page` multiplied by `page` cannot be greater than 10000." }, - "gone": { - "description": "Gone", + "temporary_redirect": { + "description": "Temporary Redirect", "content": { "application/json": { "schema": { @@ -336572,8 +335481,8 @@ } } }, - "temporary_redirect": { - "description": "Temporary Redirect", + "gone": { + "description": "Gone", "content": { "application/json": { "schema": { diff --git a/descriptions/ghec/ghec.2022-11-28.yaml b/descriptions/ghec/ghec.2022-11-28.yaml index aad3efe55..9412903a6 100644 --- a/descriptions/ghec/ghec.2022-11-28.yaml +++ b/descriptions/ghec/ghec.2022-11-28.yaml @@ -25013,121 +25013,6 @@ paths: enabledForGitHubApps: true category: private-registries subcategory: organization-configurations - "/orgs/{org}/projects": - get: - summary: List organization projects - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/list-for-org - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-organization-projects - parameters: - - "$ref": "#/components/parameters/org" - - name: state - description: Indicates the state of the projects to return. - in: query - required: false - schema: - type: string - enum: - - open - - closed - - all - default: open - - "$ref": "#/components/parameters/per-page" - - "$ref": "#/components/parameters/page" - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: - "$ref": "#/components/schemas/project" - examples: - default: - "$ref": "#/components/examples/project-items" - headers: - Link: - "$ref": "#/components/headers/link" - '422': - "$ref": "#/components/responses/validation_failed_simple" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true - post: - summary: Create an organization project - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/create-for-org - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#create-an-organization-project - parameters: - - "$ref": "#/components/parameters/org" - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - name: - type: string - description: The name of the project. - body: - type: string - description: The description of the project. - required: - - name - examples: - default: - value: - name: Organization Roadmap - body: High-level roadmap for the upcoming year. - responses: - '201': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/project" - examples: - default: - "$ref": "#/components/examples/project-2" - '401': - "$ref": "#/components/responses/requires_authentication" - '403': - "$ref": "#/components/responses/forbidden" - '404': - "$ref": "#/components/responses/not_found" - '410': - "$ref": "#/components/responses/gone" - '422': - "$ref": "#/components/responses/validation_failed_simple" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true "/orgs/{org}/projectsV2": get: summary: List projects for organization @@ -30451,191 +30336,6 @@ paths: deprecationDate: '2024-05-23' removalDate: '2025-04-01' deprecated: true - "/projects/{project_id}": - get: - summary: Get a project - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/get - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#get-a-project - parameters: - - "$ref": "#/components/parameters/project-id" - responses: - '200': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/project" - examples: - default: - "$ref": "#/components/examples/project-3" - '304': - "$ref": "#/components/responses/not_modified" - '403': - "$ref": "#/components/responses/forbidden" - '401': - "$ref": "#/components/responses/requires_authentication" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true - patch: - summary: Update a project - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - operationId: projects-classic/update - tags: - - projects-classic - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#update-a-project - parameters: - - "$ref": "#/components/parameters/project-id" - requestBody: - required: false - content: - application/json: - schema: - properties: - name: - description: Name of the project - example: Week One Sprint - type: string - body: - description: Body of the project - example: This project represents the sprint of the first week in - January - type: string - nullable: true - state: - description: State of the project; either 'open' or 'closed' - example: open - type: string - organization_permission: - description: The baseline permission that all organization members - have on this project - type: string - enum: - - read - - write - - admin - - none - private: - description: Whether or not this project can be seen by everyone. - type: boolean - type: object - examples: - default: - summary: Change the name, state, and permissions for a project - value: - name: Week One Sprint - state: open - organization_permission: write - responses: - '200': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/project" - examples: - default: - "$ref": "#/components/examples/project-3" - '404': - description: Not Found if the authenticated user does not have access to - the project - '304': - "$ref": "#/components/responses/not_modified" - '403': - description: Forbidden - content: - application/json: - schema: - type: object - properties: - message: - type: string - documentation_url: - type: string - errors: - type: array - items: - type: string - '401': - "$ref": "#/components/responses/requires_authentication" - '410': - "$ref": "#/components/responses/gone" - '422': - "$ref": "#/components/responses/validation_failed_simple" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true - delete: - summary: Delete a project - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - operationId: projects-classic/delete - tags: - - projects-classic - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#delete-a-project - parameters: - - "$ref": "#/components/parameters/project-id" - responses: - '204': - description: Delete Success - '304': - "$ref": "#/components/responses/not_modified" - '403': - description: Forbidden - content: - application/json: - schema: - type: object - properties: - message: - type: string - documentation_url: - type: string - errors: - type: array - items: - type: string - '401': - "$ref": "#/components/responses/requires_authentication" - '410': - "$ref": "#/components/responses/gone" - '404': - "$ref": "#/components/responses/not_found" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true "/projects/{project_id}/collaborators": get: summary: List project collaborators @@ -50591,131 +50291,6 @@ paths: enabledForGitHubApps: true category: repos subcategory: repos - "/repos/{owner}/{repo}/projects": - get: - summary: List repository projects - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/list-for-repo - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-repository-projects - parameters: - - "$ref": "#/components/parameters/owner" - - "$ref": "#/components/parameters/repo" - - name: state - description: Indicates the state of the projects to return. - in: query - required: false - schema: - type: string - enum: - - open - - closed - - all - default: open - - "$ref": "#/components/parameters/per-page" - - "$ref": "#/components/parameters/page" - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: - "$ref": "#/components/schemas/project" - examples: - default: - "$ref": "#/components/examples/project-items-2" - headers: - Link: - "$ref": "#/components/headers/link" - '401': - "$ref": "#/components/responses/requires_authentication" - '403': - "$ref": "#/components/responses/forbidden" - '404': - "$ref": "#/components/responses/not_found" - '410': - "$ref": "#/components/responses/gone" - '422': - "$ref": "#/components/responses/validation_failed_simple" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true - post: - summary: Create a repository project - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/create-for-repo - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#create-a-repository-project - parameters: - - "$ref": "#/components/parameters/owner" - - "$ref": "#/components/parameters/repo" - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - name: - type: string - description: The name of the project. - body: - type: string - description: The description of the project. - required: - - name - examples: - default: - value: - name: Projects Documentation - body: Developer documentation project for the developer site. - responses: - '201': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/project" - examples: - default: - "$ref": "#/components/examples/project-3" - '401': - "$ref": "#/components/responses/requires_authentication" - '403': - "$ref": "#/components/responses/forbidden" - '404': - "$ref": "#/components/responses/not_found" - '410': - "$ref": "#/components/responses/gone" - '422': - "$ref": "#/components/responses/validation_failed_simple" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true "/repos/{owner}/{repo}/properties/values": get: summary: Get all custom property values for a repository @@ -63043,71 +62618,6 @@ paths: enabledForGitHubApps: false category: packages subcategory: packages - "/user/projects": - post: - summary: Create a user project - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/create-for-authenticated-user - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#create-a-user-project - parameters: [] - requestBody: - required: true - content: - application/json: - schema: - properties: - name: - description: Name of the project - example: Week One Sprint - type: string - body: - description: Body of the project - example: This project represents the sprint of the first week in - January - type: string - nullable: true - required: - - name - type: object - examples: - default: - summary: Create a new project - value: - name: My Projects - body: A board to manage my personal projects. - responses: - '201': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/project" - examples: - default: - "$ref": "#/components/examples/project" - '304': - "$ref": "#/components/responses/not_modified" - '403': - "$ref": "#/components/responses/forbidden" - '401': - "$ref": "#/components/responses/requires_authentication" - '422': - "$ref": "#/components/responses/validation_failed_simple" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true "/user/public_emails": get: summary: List public email addresses for the authenticated user @@ -65358,59 +64868,6 @@ paths: enabledForGitHubApps: false category: packages subcategory: packages - "/users/{username}/projects": - get: - summary: List user projects - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/list-for-user - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-user-projects - parameters: - - "$ref": "#/components/parameters/username" - - name: state - description: Indicates the state of the projects to return. - in: query - required: false - schema: - type: string - enum: - - open - - closed - - all - default: open - - "$ref": "#/components/parameters/per-page" - - "$ref": "#/components/parameters/page" - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: - "$ref": "#/components/schemas/project" - examples: - default: - "$ref": "#/components/examples/project-items-3" - headers: - Link: - "$ref": "#/components/headers/link" - '422': - "$ref": "#/components/responses/validation_failed" - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true "/users/{username}/projectsV2": get: summary: List projects for user @@ -100240,71 +99697,7 @@ components: description: The username to use when authenticating with the private registry. example: monalisa type: string - nullable: true - replaces_base: - description: Whether this private registry replaces the base registry (e.g., - npmjs.org for npm, rubygems.org for rubygems). When `true`, Dependabot - will only use this registry and will not fall back to the public registry. - When `false` (default), Dependabot will use this registry for scoped packages - but may fall back to the public registry for other packages. - type: boolean - default: false - visibility: - description: Which type of organization repositories have access to the - private registry. - enum: - - all - - private - - selected - type: string - created_at: - type: string - format: date-time - updated_at: - type: string - format: date-time - required: - - name - - registry_type - - visibility - - created_at - - updated_at - org-private-registry-configuration-with-selected-repositories: - title: Organization private registry - description: Private registry configuration for an organization - type: object - properties: - name: - description: The name of the private registry configuration. - example: MAVEN_REPOSITORY_SECRET - type: string - registry_type: - description: The registry type. - enum: - - maven_repository - - nuget_feed - - goproxy_server - - npm_registry - - rubygems_server - - cargo_registry - - composer_repository - - docker_registry - - git_source - - helm_registry - - hex_organization - - hex_repository - - pub_repository - - python_index - - terraform_registry - type: string - url: - description: The URL of the private registry. - type: string - format: uri - username: - description: The username to use when authenticating with the private registry. - example: monalisa - type: string + nullable: true replaces_base: description: Whether this private registry replaces the base registry (e.g., npmjs.org for npm, rubygems.org for rubygems). When `true`, Dependabot @@ -100315,19 +99708,12 @@ components: default: false visibility: description: Which type of organization repositories have access to the - private registry. `selected` means only the repositories specified by - `selected_repository_ids` can access the private registry. + private registry. enum: - all - private - selected type: string - selected_repository_ids: - type: array - description: An array of repository IDs that can access the organization - private registry when `visibility` is set to `selected`. - items: - type: integer created_at: type: string format: date-time @@ -100340,84 +99726,75 @@ components: - visibility - created_at - updated_at - project: - title: Project - description: Projects are a way to organize columns and cards of work. + org-private-registry-configuration-with-selected-repositories: + title: Organization private registry + description: Private registry configuration for an organization type: object properties: - owner_url: - type: string - format: uri - example: https://api.github.com/repos/api-playground/projects-test - url: + name: + description: The name of the private registry configuration. + example: MAVEN_REPOSITORY_SECRET type: string - format: uri - example: https://api.github.com/projects/1002604 - html_url: + registry_type: + description: The registry type. + enum: + - maven_repository + - nuget_feed + - goproxy_server + - npm_registry + - rubygems_server + - cargo_registry + - composer_repository + - docker_registry + - git_source + - helm_registry + - hex_organization + - hex_repository + - pub_repository + - python_index + - terraform_registry type: string - format: uri - example: https://github.com/api-playground/projects-test/projects/12 - columns_url: + url: + description: The URL of the private registry. type: string format: uri - example: https://api.github.com/projects/1002604/columns - id: - type: integer - example: 1002604 - node_id: - type: string - example: MDc6UHJvamVjdDEwMDI2MDQ= - name: - description: Name of the project - example: Week One Sprint - type: string - body: - description: Body of the project - example: This project represents the sprint of the first week in January + username: + description: The username to use when authenticating with the private registry. + example: monalisa type: string - nullable: true - number: - type: integer - example: 1 - state: - description: State of the project; either 'open' or 'closed' - example: open + replaces_base: + description: Whether this private registry replaces the base registry (e.g., + npmjs.org for npm, rubygems.org for rubygems). When `true`, Dependabot + will only use this registry and will not fall back to the public registry. + When `false` (default), Dependabot will use this registry for scoped packages + but may fall back to the public registry for other packages. + type: boolean + default: false + visibility: + description: Which type of organization repositories have access to the + private registry. `selected` means only the repositories specified by + `selected_repository_ids` can access the private registry. + enum: + - all + - private + - selected type: string - creator: - "$ref": "#/components/schemas/nullable-simple-user" + selected_repository_ids: + type: array + description: An array of repository IDs that can access the organization + private registry when `visibility` is set to `selected`. + items: + type: integer created_at: type: string format: date-time - example: '2011-04-10T20:09:31Z' updated_at: type: string format: date-time - example: '2014-03-03T18:58:10Z' - organization_permission: - description: The baseline permission that all organization members have - on this project. Only present if owner is an organization. - type: string - enum: - - read - - write - - admin - - none - private: - description: Whether or not this project can be seen by everyone. Only present - if owner is an organization. - type: boolean required: - - id - - node_id - - number - name - - body - - state - - url - - html_url - - owner_url - - creator - - columns_url + - registry_type + - visibility - created_at - updated_at nullable-projects-v2-status-update: @@ -232290,74 +231667,6 @@ components: value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 - project-items: - value: - - owner_url: https://api.github.com/orgs/octocat - url: https://api.github.com/projects/1002605 - html_url: https://github.com/orgs/api-playground/projects/1 - columns_url: https://api.github.com/projects/1002605/columns - id: 1002605 - node_id: MDc6UHJvamVjdDEwMDI2MDU= - name: Organization Roadmap - body: High-level roadmap for the upcoming year. - number: 1 - state: open - creator: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - created_at: '2011-04-11T20:09:31Z' - updated_at: '2014-03-04T18:58:10Z' - organization_permission: write - private: true - project-2: - value: - owner_url: https://api.github.com/orgs/octocat - url: https://api.github.com/projects/1002605 - html_url: https://github.com/orgs/api-playground/projects/1 - columns_url: https://api.github.com/projects/1002605/columns - id: 1002605 - node_id: MDc6UHJvamVjdDEwMDI2MDU= - name: Organization Roadmap - body: High-level roadmap for the upcoming year. - number: 1 - state: open - creator: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - created_at: '2011-04-11T20:09:31Z' - updated_at: '2014-03-04T18:58:10Z' projects-v2: value: id: 2 @@ -235005,39 +234314,6 @@ components: column_url: https://api.github.com/projects/columns/367 content_url: https://api.github.com/repos/api-playground/projects-test/issues/3 project_url: https://api.github.com/projects/120 - project-3: - value: - owner_url: https://api.github.com/repos/api-playground/projects-test - url: https://api.github.com/projects/1002604 - html_url: https://github.com/api-playground/projects-test/projects/1 - columns_url: https://api.github.com/projects/1002604/columns - id: 1002604 - node_id: MDc6UHJvamVjdDEwMDI2MDQ= - name: Projects Documentation - body: Developer documentation project for the developer site. - number: 1 - state: open - creator: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - created_at: '2011-04-10T20:09:31Z' - updated_at: '2014-03-03T18:58:10Z' project-collaborator-permission: value: permission: admin @@ -243811,39 +243087,6 @@ components: https_error: is_https_eligible: true caa_error: - project-items-2: - value: - - owner_url: https://api.github.com/repos/api-playground/projects-test - url: https://api.github.com/projects/1002604 - html_url: https://github.com/api-playground/projects-test/projects/1 - columns_url: https://api.github.com/projects/1002604/columns - id: 1002604 - node_id: MDc6UHJvamVjdDEwMDI2MDQ= - name: Projects Documentation - body: Developer documentation project for the developer site. - number: 1 - state: open - creator: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - created_at: '2011-04-10T20:09:31Z' - updated_at: '2014-03-03T18:58:10Z' pull-request: value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 @@ -250132,39 +249375,6 @@ components: container: tags: - 1.13.6 - project: - value: - owner_url: https://api.github.com/users/octocat - url: https://api.github.com/projects/1002603 - html_url: https://github.com/users/octocat/projects/1 - columns_url: https://api.github.com/projects/1002603/columns - id: 1002603 - node_id: MDc6UHJvamVjdDEwMDI2MDM= - name: My Projects - body: A board to manage my personal projects. - number: 1 - state: open - creator: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - created_at: '2011-04-10T20:09:31Z' - updated_at: '2014-03-03T18:58:10Z' repository-items-default-response: summary: Default response value: @@ -250746,39 +249956,6 @@ components: html_url: https://github.com/octocat/octo-name-repo/packages/40201?version=0.2.0 metadata: package_type: rubygems - project-items-3: - value: - - owner_url: https://api.github.com/users/octocat - url: https://api.github.com/projects/1002603 - html_url: https://github.com/users/octocat/projects/1 - columns_url: https://api.github.com/projects/1002603/columns - id: 1002603 - node_id: MDc6UHJvamVjdDEwMDI2MDM= - name: My Projects - body: A board to manage my personal projects. - number: 1 - state: open - creator: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - created_at: '2011-04-10T20:09:31Z' - updated_at: '2014-03-03T18:58:10Z' user-received-events-items: value: - id: '22249084964' @@ -254689,14 +253866,14 @@ components: package_es_list_error: description: The value of `per_page` multiplied by `page` cannot be greater than 10000. - gone: - description: Gone + temporary_redirect: + description: Temporary Redirect content: application/json: schema: "$ref": "#/components/schemas/basic-error" - temporary_redirect: - description: Temporary Redirect + gone: + description: Gone content: application/json: schema: diff --git a/descriptions/ghec/ghec.json b/descriptions/ghec/ghec.json index 8d81e376c..6f50c9a29 100644 --- a/descriptions/ghec/ghec.json +++ b/descriptions/ghec/ghec.json @@ -34622,172 +34622,6 @@ } } }, - "/orgs/{org}/projects": { - "get": { - "summary": "List organization projects", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/list-for-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-organization-projects" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - }, - { - "name": "state", - "description": "Indicates the state of the projects to return.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "open", - "closed", - "all" - ], - "default": "open" - } - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/page" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/project" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/project-items" - } - } - } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } - } - }, - "422": { - "$ref": "#/components/responses/validation_failed_simple" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - }, - "post": { - "summary": "Create an organization project", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/create-for-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#create-an-organization-project" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The name of the project." - }, - "body": { - "type": "string", - "description": "The description of the project." - } - }, - "required": [ - "name" - ] - }, - "examples": { - "default": { - "value": { - "name": "Organization Roadmap", - "body": "High-level roadmap for the upcoming year." - } - } - } - } - } - }, - "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/project" - }, - "examples": { - "default": { - "$ref": "#/components/examples/project-2" - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "410": { - "$ref": "#/components/responses/gone" - }, - "422": { - "$ref": "#/components/responses/validation_failed_simple" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - } - }, "/orgs/{org}/projectsV2": { "get": { "summary": "List projects for organization", @@ -42246,261 +42080,6 @@ "deprecated": true } }, - "/projects/{project_id}": { - "get": { - "summary": "Get a project", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/get", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#get-a-project" - }, - "parameters": [ - { - "$ref": "#/components/parameters/project-id" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/project" - }, - "examples": { - "default": { - "$ref": "#/components/examples/project-3" - } - } - } - } - }, - "304": { - "$ref": "#/components/responses/not_modified" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - }, - "patch": { - "summary": "Update a project", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "operationId": "projects-classic/update", - "tags": [ - "projects-classic" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#update-a-project" - }, - "parameters": [ - { - "$ref": "#/components/parameters/project-id" - } - ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "properties": { - "name": { - "description": "Name of the project", - "example": "Week One Sprint", - "type": "string" - }, - "body": { - "description": "Body of the project", - "example": "This project represents the sprint of the first week in January", - "type": "string", - "nullable": true - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "example": "open", - "type": "string" - }, - "organization_permission": { - "description": "The baseline permission that all organization members have on this project", - "type": "string", - "enum": [ - "read", - "write", - "admin", - "none" - ] - }, - "private": { - "description": "Whether or not this project can be seen by everyone.", - "type": "boolean" - } - }, - "type": "object" - }, - "examples": { - "default": { - "summary": "Change the name, state, and permissions for a project", - "value": { - "name": "Week One Sprint", - "state": "open", - "organization_permission": "write" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/project" - }, - "examples": { - "default": { - "$ref": "#/components/examples/project-3" - } - } - } - } - }, - "404": { - "description": "Not Found if the authenticated user does not have access to the project" - }, - "304": { - "$ref": "#/components/responses/not_modified" - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - }, - "410": { - "$ref": "#/components/responses/gone" - }, - "422": { - "$ref": "#/components/responses/validation_failed_simple" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - }, - "delete": { - "summary": "Delete a project", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "operationId": "projects-classic/delete", - "tags": [ - "projects-classic" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#delete-a-project" - }, - "parameters": [ - { - "$ref": "#/components/parameters/project-id" - } - ], - "responses": { - "204": { - "description": "Delete Success" - }, - "304": { - "$ref": "#/components/responses/not_modified" - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - }, - "410": { - "$ref": "#/components/responses/gone" - }, - "404": { - "$ref": "#/components/responses/not_found" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - } - }, "/projects/{project_id}/collaborators": { "get": { "summary": "List project collaborators", @@ -69898,142 +69477,16 @@ "subcategory": "repos" } }, - "delete": { - "summary": "Disable private vulnerability reporting for a repository", - "description": "Disables private vulnerability reporting for a repository. The authenticated user must have admin access to the repository. For more information, see \"[Privately reporting a security vulnerability](https://docs.github.com/enterprise-cloud@latest//code-security/security-advisories/guidance-on-reporting-and-writing/privately-reporting-a-security-vulnerability)\".", - "tags": [ - "repos" - ], - "operationId": "repos/disable-private-vulnerability-reporting", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - } - ], - "responses": { - "204": { - "$ref": "#/components/responses/no_content" - }, - "422": { - "$ref": "#/components/responses/bad_request" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "repos" - } - } - }, - "/repos/{owner}/{repo}/projects": { - "get": { - "summary": "List repository projects", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/list-for-repo", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-repository-projects" - }, - "parameters": [ - { - "$ref": "#/components/parameters/owner" - }, - { - "$ref": "#/components/parameters/repo" - }, - { - "name": "state", - "description": "Indicates the state of the projects to return.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "open", - "closed", - "all" - ], - "default": "open" - } - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/page" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/project" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/project-items-2" - } - } - } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } - } - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "410": { - "$ref": "#/components/responses/gone" - }, - "422": { - "$ref": "#/components/responses/validation_failed_simple" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - }, - "post": { - "summary": "Create a repository project", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", + "delete": { + "summary": "Disable private vulnerability reporting for a repository", + "description": "Disables private vulnerability reporting for a repository. The authenticated user must have admin access to the repository. For more information, see \"[Privately reporting a security vulnerability](https://docs.github.com/enterprise-cloud@latest//code-security/security-advisories/guidance-on-reporting-and-writing/privately-reporting-a-security-vulnerability)\".", "tags": [ - "projects-classic" + "repos" ], - "operationId": "projects-classic/create-for-repo", + "operationId": "repos/disable-private-vulnerability-reporting", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#create-a-repository-project" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository" }, "parameters": [ { @@ -70043,78 +69496,20 @@ "$ref": "#/components/parameters/repo" } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The name of the project." - }, - "body": { - "type": "string", - "description": "The description of the project." - } - }, - "required": [ - "name" - ] - }, - "examples": { - "default": { - "value": { - "name": "Projects Documentation", - "body": "Developer documentation project for the developer site." - } - } - } - } - } - }, "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/project" - }, - "examples": { - "default": { - "$ref": "#/components/examples/project-3" - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "410": { - "$ref": "#/components/responses/gone" + "204": { + "$ref": "#/components/responses/no_content" }, "422": { - "$ref": "#/components/responses/validation_failed_simple" + "$ref": "#/components/responses/bad_request" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true + "category": "repos", + "subcategory": "repos" + } } }, "/repos/{owner}/{repo}/properties/values": { @@ -86882,185 +86277,17 @@ } } }, - "/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. For more information, see \"[About permissions for GitHub 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", - "externalDocs": { - "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": [ - { - "$ref": "#/components/parameters/package-type" - }, - { - "$ref": "#/components/parameters/package-name" - }, - { - "$ref": "#/components/parameters/page" - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "name": "state", - "in": "query", - "required": false, - "description": "The state of the package, either active or deleted.", - "schema": { - "type": "string", - "enum": [ - "active", - "deleted" - ], - "default": "active" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/package-version" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/package-versions-for-authenticated-user" - } - } - } - } - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "packages", - "subcategory": "packages" - } - } - }, - "/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. For more information, see \"[About permissions for GitHub 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", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-the-authenticated-user" - }, - "parameters": [ - { - "$ref": "#/components/parameters/package-type" - }, - { - "$ref": "#/components/parameters/package-name" - }, - { - "$ref": "#/components/parameters/package-version-id" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/package-version" - }, - "examples": { - "default": { - "$ref": "#/components/examples/package-version-authenticated-user" - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "packages", - "subcategory": "packages" - } - }, - "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. For more information, see \"[About permissions for GitHub 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", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-version-for-the-authenticated-user" - }, - "parameters": [ - { - "$ref": "#/components/parameters/package-type" - }, - { - "$ref": "#/components/parameters/package-name" - }, - { - "$ref": "#/components/parameters/package-version-id" - } - ], - "responses": { - "204": { - "description": "Response" - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "packages", - "subcategory": "packages" - } - } - }, - "/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. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", + "/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. For more information, see \"[About permissions for GitHub 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", + "operationId": "packages/get-all-package-versions-for-package-owned-by-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-version-for-the-authenticated-user" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user" }, "parameters": [ { @@ -87070,12 +86297,44 @@ "$ref": "#/components/parameters/package-name" }, { - "$ref": "#/components/parameters/package-version-id" + "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "name": "state", + "in": "query", + "required": false, + "description": "The state of the package, either active or deleted.", + "schema": { + "type": "string", + "enum": [ + "active", + "deleted" + ], + "default": "active" + } } ], "responses": { - "204": { - "description": "Response" + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/package-version" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/package-versions-for-authenticated-user" + } + } + } + } }, "404": { "$ref": "#/components/responses/not_found" @@ -87095,92 +86354,140 @@ } } }, - "/user/projects": { - "post": { - "summary": "Create a user project", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", + "/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. For more information, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages).\"", "tags": [ - "projects-classic" + "packages" ], - "operationId": "projects-classic/create-for-authenticated-user", + "operationId": "packages/get-package-version-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#create-a-user-project" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-the-authenticated-user" }, - "parameters": [], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "properties": { - "name": { - "description": "Name of the project", - "example": "Week One Sprint", - "type": "string" - }, - "body": { - "description": "Body of the project", - "example": "This project represents the sprint of the first week in January", - "type": "string", - "nullable": true - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "examples": { - "default": { - "summary": "Create a new project", - "value": { - "name": "My Projects", - "body": "A board to manage my personal projects." - } - } - } - } + "parameters": [ + { + "$ref": "#/components/parameters/package-type" + }, + { + "$ref": "#/components/parameters/package-name" + }, + { + "$ref": "#/components/parameters/package-version-id" } - }, + ], "responses": { - "201": { + "200": { "description": "Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/project" + "$ref": "#/components/schemas/package-version" }, "examples": { "default": { - "$ref": "#/components/examples/project" + "$ref": "#/components/examples/package-version-authenticated-user" } } } } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "packages", + "subcategory": "packages" + } + }, + "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. For more information, see \"[About permissions for GitHub 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", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-version-for-the-authenticated-user" + }, + "parameters": [ + { + "$ref": "#/components/parameters/package-type" }, - "304": { - "$ref": "#/components/responses/not_modified" + { + "$ref": "#/components/parameters/package-name" + }, + { + "$ref": "#/components/parameters/package-version-id" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" }, "403": { "$ref": "#/components/responses/forbidden" }, "401": { "$ref": "#/components/responses/requires_authentication" - }, - "422": { - "$ref": "#/components/responses/validation_failed_simple" } }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" + "enabledForGitHubApps": false, + "category": "packages", + "subcategory": "packages" + } + } + }, + "/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. For more information, see \"[About permissions for GitHub 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", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-version-for-the-authenticated-user" }, - "deprecated": true + "parameters": [ + { + "$ref": "#/components/parameters/package-type" + }, + { + "$ref": "#/components/parameters/package-name" + }, + { + "$ref": "#/components/parameters/package-version-id" + } + ], + "responses": { + "204": { + "description": "Response" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "packages", + "subcategory": "packages" + } } }, "/user/public_emails": { @@ -90376,83 +89683,6 @@ } } }, - "/users/{username}/projects": { - "get": { - "summary": "List user projects", - "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", - "tags": [ - "projects-classic" - ], - "operationId": "projects-classic/list-for-user", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-user-projects" - }, - "parameters": [ - { - "$ref": "#/components/parameters/username" - }, - { - "name": "state", - "description": "Indicates the state of the projects to return.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "open", - "closed", - "all" - ], - "default": "open" - } - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/page" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/project" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/project-items-3" - } - } - } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } - } - }, - "422": { - "$ref": "#/components/responses/validation_failed" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "projects-classic", - "subcategory": "projects", - "deprecationDate": "2024-05-23", - "removalDate": "2025-04-01" - }, - "deprecated": true - } - }, "/users/{username}/projectsV2": { "get": { "summary": "List projects for user", @@ -137373,103 +136603,6 @@ "updated_at" ] }, - "project": { - "title": "Project", - "description": "Projects are a way to organize columns and cards of work.", - "type": "object", - "properties": { - "owner_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/api-playground/projects-test" - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/api-playground/projects-test/projects/12" - }, - "columns_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/projects/1002604/columns" - }, - "id": { - "type": "integer", - "example": 1002604 - }, - "node_id": { - "type": "string", - "example": "MDc6UHJvamVjdDEwMDI2MDQ=" - }, - "name": { - "description": "Name of the project", - "example": "Week One Sprint", - "type": "string" - }, - "body": { - "description": "Body of the project", - "example": "This project represents the sprint of the first week in January", - "type": "string", - "nullable": true - }, - "number": { - "type": "integer", - "example": 1 - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "example": "open", - "type": "string" - }, - "creator": { - "$ref": "#/components/schemas/nullable-simple-user" - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2011-04-10T20:09:31Z" - }, - "updated_at": { - "type": "string", - "format": "date-time", - "example": "2014-03-03T18:58:10Z" - }, - "organization_permission": { - "description": "The baseline permission that all organization members have on this project. Only present if owner is an organization.", - "type": "string", - "enum": [ - "read", - "write", - "admin", - "none" - ] - }, - "private": { - "description": "Whether or not this project can be seen by everyone. Only present if owner is an organization.", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "number", - "name", - "body", - "state", - "url", - "html_url", - "owner_url", - "creator", - "columns_url", - "created_at", - "updated_at" - ] - }, "nullable-projects-v2-status-update": { "title": "Projects v2 Status Update", "description": "An status update belonging to a project", @@ -310414,82 +309547,6 @@ "key": "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234" } }, - "project-items": { - "value": [ - { - "owner_url": "https://api.github.com/orgs/octocat", - "url": "https://api.github.com/projects/1002605", - "html_url": "https://github.com/orgs/api-playground/projects/1", - "columns_url": "https://api.github.com/projects/1002605/columns", - "id": 1002605, - "node_id": "MDc6UHJvamVjdDEwMDI2MDU=", - "name": "Organization Roadmap", - "body": "High-level roadmap for the upcoming year.", - "number": 1, - "state": "open", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-11T20:09:31Z", - "updated_at": "2014-03-04T18:58:10Z", - "organization_permission": "write", - "private": true - } - ] - }, - "project-2": { - "value": { - "owner_url": "https://api.github.com/orgs/octocat", - "url": "https://api.github.com/projects/1002605", - "html_url": "https://github.com/orgs/api-playground/projects/1", - "columns_url": "https://api.github.com/projects/1002605/columns", - "id": 1002605, - "node_id": "MDc6UHJvamVjdDEwMDI2MDU=", - "name": "Organization Roadmap", - "body": "High-level roadmap for the upcoming year.", - "number": 1, - "state": "open", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-11T20:09:31Z", - "updated_at": "2014-03-04T18:58:10Z" - } - }, "projects-v2": { "value": { "id": 2, @@ -313549,42 +312606,6 @@ } ] }, - "project-3": { - "value": { - "owner_url": "https://api.github.com/repos/api-playground/projects-test", - "url": "https://api.github.com/projects/1002604", - "html_url": "https://github.com/api-playground/projects-test/projects/1", - "columns_url": "https://api.github.com/projects/1002604/columns", - "id": 1002604, - "node_id": "MDc6UHJvamVjdDEwMDI2MDQ=", - "name": "Projects Documentation", - "body": "Developer documentation project for the developer site.", - "number": 1, - "state": "open", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-10T20:09:31Z", - "updated_at": "2014-03-03T18:58:10Z" - } - }, "project-collaborator-permission": { "value": { "permission": "admin", @@ -323895,44 +322916,6 @@ } } }, - "project-items-2": { - "value": [ - { - "owner_url": "https://api.github.com/repos/api-playground/projects-test", - "url": "https://api.github.com/projects/1002604", - "html_url": "https://github.com/api-playground/projects-test/projects/1", - "columns_url": "https://api.github.com/projects/1002604/columns", - "id": 1002604, - "node_id": "MDc6UHJvamVjdDEwMDI2MDQ=", - "name": "Projects Documentation", - "body": "Developer documentation project for the developer site.", - "number": 1, - "state": "open", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-10T20:09:31Z", - "updated_at": "2014-03-03T18:58:10Z" - } - ] - }, "pull-request": { "value": { "url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347", @@ -331202,42 +330185,6 @@ } } }, - "project": { - "value": { - "owner_url": "https://api.github.com/users/octocat", - "url": "https://api.github.com/projects/1002603", - "html_url": "https://github.com/users/octocat/projects/1", - "columns_url": "https://api.github.com/projects/1002603/columns", - "id": 1002603, - "node_id": "MDc6UHJvamVjdDEwMDI2MDM=", - "name": "My Projects", - "body": "A board to manage my personal projects.", - "number": 1, - "state": "open", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-10T20:09:31Z", - "updated_at": "2014-03-03T18:58:10Z" - } - }, "repository-items-default-response": { "summary": "Default response", "value": [ @@ -331919,44 +330866,6 @@ } } }, - "project-items-3": { - "value": [ - { - "owner_url": "https://api.github.com/users/octocat", - "url": "https://api.github.com/projects/1002603", - "html_url": "https://github.com/users/octocat/projects/1", - "columns_url": "https://api.github.com/projects/1002603/columns", - "id": 1002603, - "node_id": "MDc6UHJvamVjdDEwMDI2MDM=", - "name": "My Projects", - "body": "A board to manage my personal projects.", - "number": 1, - "state": "open", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-10T20:09:31Z", - "updated_at": "2014-03-03T18:58:10Z" - } - ] - }, "user-received-events-items": { "value": [ { @@ -336562,8 +335471,8 @@ "package_es_list_error": { "description": "The value of `per_page` multiplied by `page` cannot be greater than 10000." }, - "gone": { - "description": "Gone", + "temporary_redirect": { + "description": "Temporary Redirect", "content": { "application/json": { "schema": { @@ -336572,8 +335481,8 @@ } } }, - "temporary_redirect": { - "description": "Temporary Redirect", + "gone": { + "description": "Gone", "content": { "application/json": { "schema": { diff --git a/descriptions/ghec/ghec.yaml b/descriptions/ghec/ghec.yaml index aad3efe55..9412903a6 100644 --- a/descriptions/ghec/ghec.yaml +++ b/descriptions/ghec/ghec.yaml @@ -25013,121 +25013,6 @@ paths: enabledForGitHubApps: true category: private-registries subcategory: organization-configurations - "/orgs/{org}/projects": - get: - summary: List organization projects - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/list-for-org - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-organization-projects - parameters: - - "$ref": "#/components/parameters/org" - - name: state - description: Indicates the state of the projects to return. - in: query - required: false - schema: - type: string - enum: - - open - - closed - - all - default: open - - "$ref": "#/components/parameters/per-page" - - "$ref": "#/components/parameters/page" - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: - "$ref": "#/components/schemas/project" - examples: - default: - "$ref": "#/components/examples/project-items" - headers: - Link: - "$ref": "#/components/headers/link" - '422': - "$ref": "#/components/responses/validation_failed_simple" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true - post: - summary: Create an organization project - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/create-for-org - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#create-an-organization-project - parameters: - - "$ref": "#/components/parameters/org" - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - name: - type: string - description: The name of the project. - body: - type: string - description: The description of the project. - required: - - name - examples: - default: - value: - name: Organization Roadmap - body: High-level roadmap for the upcoming year. - responses: - '201': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/project" - examples: - default: - "$ref": "#/components/examples/project-2" - '401': - "$ref": "#/components/responses/requires_authentication" - '403': - "$ref": "#/components/responses/forbidden" - '404': - "$ref": "#/components/responses/not_found" - '410': - "$ref": "#/components/responses/gone" - '422': - "$ref": "#/components/responses/validation_failed_simple" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true "/orgs/{org}/projectsV2": get: summary: List projects for organization @@ -30451,191 +30336,6 @@ paths: deprecationDate: '2024-05-23' removalDate: '2025-04-01' deprecated: true - "/projects/{project_id}": - get: - summary: Get a project - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/get - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#get-a-project - parameters: - - "$ref": "#/components/parameters/project-id" - responses: - '200': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/project" - examples: - default: - "$ref": "#/components/examples/project-3" - '304': - "$ref": "#/components/responses/not_modified" - '403': - "$ref": "#/components/responses/forbidden" - '401': - "$ref": "#/components/responses/requires_authentication" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true - patch: - summary: Update a project - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - operationId: projects-classic/update - tags: - - projects-classic - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#update-a-project - parameters: - - "$ref": "#/components/parameters/project-id" - requestBody: - required: false - content: - application/json: - schema: - properties: - name: - description: Name of the project - example: Week One Sprint - type: string - body: - description: Body of the project - example: This project represents the sprint of the first week in - January - type: string - nullable: true - state: - description: State of the project; either 'open' or 'closed' - example: open - type: string - organization_permission: - description: The baseline permission that all organization members - have on this project - type: string - enum: - - read - - write - - admin - - none - private: - description: Whether or not this project can be seen by everyone. - type: boolean - type: object - examples: - default: - summary: Change the name, state, and permissions for a project - value: - name: Week One Sprint - state: open - organization_permission: write - responses: - '200': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/project" - examples: - default: - "$ref": "#/components/examples/project-3" - '404': - description: Not Found if the authenticated user does not have access to - the project - '304': - "$ref": "#/components/responses/not_modified" - '403': - description: Forbidden - content: - application/json: - schema: - type: object - properties: - message: - type: string - documentation_url: - type: string - errors: - type: array - items: - type: string - '401': - "$ref": "#/components/responses/requires_authentication" - '410': - "$ref": "#/components/responses/gone" - '422': - "$ref": "#/components/responses/validation_failed_simple" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true - delete: - summary: Delete a project - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - operationId: projects-classic/delete - tags: - - projects-classic - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#delete-a-project - parameters: - - "$ref": "#/components/parameters/project-id" - responses: - '204': - description: Delete Success - '304': - "$ref": "#/components/responses/not_modified" - '403': - description: Forbidden - content: - application/json: - schema: - type: object - properties: - message: - type: string - documentation_url: - type: string - errors: - type: array - items: - type: string - '401': - "$ref": "#/components/responses/requires_authentication" - '410': - "$ref": "#/components/responses/gone" - '404': - "$ref": "#/components/responses/not_found" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true "/projects/{project_id}/collaborators": get: summary: List project collaborators @@ -50591,131 +50291,6 @@ paths: enabledForGitHubApps: true category: repos subcategory: repos - "/repos/{owner}/{repo}/projects": - get: - summary: List repository projects - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/list-for-repo - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-repository-projects - parameters: - - "$ref": "#/components/parameters/owner" - - "$ref": "#/components/parameters/repo" - - name: state - description: Indicates the state of the projects to return. - in: query - required: false - schema: - type: string - enum: - - open - - closed - - all - default: open - - "$ref": "#/components/parameters/per-page" - - "$ref": "#/components/parameters/page" - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: - "$ref": "#/components/schemas/project" - examples: - default: - "$ref": "#/components/examples/project-items-2" - headers: - Link: - "$ref": "#/components/headers/link" - '401': - "$ref": "#/components/responses/requires_authentication" - '403': - "$ref": "#/components/responses/forbidden" - '404': - "$ref": "#/components/responses/not_found" - '410': - "$ref": "#/components/responses/gone" - '422': - "$ref": "#/components/responses/validation_failed_simple" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true - post: - summary: Create a repository project - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/create-for-repo - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#create-a-repository-project - parameters: - - "$ref": "#/components/parameters/owner" - - "$ref": "#/components/parameters/repo" - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - name: - type: string - description: The name of the project. - body: - type: string - description: The description of the project. - required: - - name - examples: - default: - value: - name: Projects Documentation - body: Developer documentation project for the developer site. - responses: - '201': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/project" - examples: - default: - "$ref": "#/components/examples/project-3" - '401': - "$ref": "#/components/responses/requires_authentication" - '403': - "$ref": "#/components/responses/forbidden" - '404': - "$ref": "#/components/responses/not_found" - '410': - "$ref": "#/components/responses/gone" - '422': - "$ref": "#/components/responses/validation_failed_simple" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true "/repos/{owner}/{repo}/properties/values": get: summary: Get all custom property values for a repository @@ -63043,71 +62618,6 @@ paths: enabledForGitHubApps: false category: packages subcategory: packages - "/user/projects": - post: - summary: Create a user project - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/create-for-authenticated-user - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#create-a-user-project - parameters: [] - requestBody: - required: true - content: - application/json: - schema: - properties: - name: - description: Name of the project - example: Week One Sprint - type: string - body: - description: Body of the project - example: This project represents the sprint of the first week in - January - type: string - nullable: true - required: - - name - type: object - examples: - default: - summary: Create a new project - value: - name: My Projects - body: A board to manage my personal projects. - responses: - '201': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/project" - examples: - default: - "$ref": "#/components/examples/project" - '304': - "$ref": "#/components/responses/not_modified" - '403': - "$ref": "#/components/responses/forbidden" - '401': - "$ref": "#/components/responses/requires_authentication" - '422': - "$ref": "#/components/responses/validation_failed_simple" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true "/user/public_emails": get: summary: List public email addresses for the authenticated user @@ -65358,59 +64868,6 @@ paths: enabledForGitHubApps: false category: packages subcategory: packages - "/users/{username}/projects": - get: - summary: List user projects - description: |- - > [!WARNING] - > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. - > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. - tags: - - projects-classic - operationId: projects-classic/list-for-user - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-user-projects - parameters: - - "$ref": "#/components/parameters/username" - - name: state - description: Indicates the state of the projects to return. - in: query - required: false - schema: - type: string - enum: - - open - - closed - - all - default: open - - "$ref": "#/components/parameters/per-page" - - "$ref": "#/components/parameters/page" - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: - "$ref": "#/components/schemas/project" - examples: - default: - "$ref": "#/components/examples/project-items-3" - headers: - Link: - "$ref": "#/components/headers/link" - '422': - "$ref": "#/components/responses/validation_failed" - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: projects-classic - subcategory: projects - deprecationDate: '2024-05-23' - removalDate: '2025-04-01' - deprecated: true "/users/{username}/projectsV2": get: summary: List projects for user @@ -100240,71 +99697,7 @@ components: description: The username to use when authenticating with the private registry. example: monalisa type: string - nullable: true - replaces_base: - description: Whether this private registry replaces the base registry (e.g., - npmjs.org for npm, rubygems.org for rubygems). When `true`, Dependabot - will only use this registry and will not fall back to the public registry. - When `false` (default), Dependabot will use this registry for scoped packages - but may fall back to the public registry for other packages. - type: boolean - default: false - visibility: - description: Which type of organization repositories have access to the - private registry. - enum: - - all - - private - - selected - type: string - created_at: - type: string - format: date-time - updated_at: - type: string - format: date-time - required: - - name - - registry_type - - visibility - - created_at - - updated_at - org-private-registry-configuration-with-selected-repositories: - title: Organization private registry - description: Private registry configuration for an organization - type: object - properties: - name: - description: The name of the private registry configuration. - example: MAVEN_REPOSITORY_SECRET - type: string - registry_type: - description: The registry type. - enum: - - maven_repository - - nuget_feed - - goproxy_server - - npm_registry - - rubygems_server - - cargo_registry - - composer_repository - - docker_registry - - git_source - - helm_registry - - hex_organization - - hex_repository - - pub_repository - - python_index - - terraform_registry - type: string - url: - description: The URL of the private registry. - type: string - format: uri - username: - description: The username to use when authenticating with the private registry. - example: monalisa - type: string + nullable: true replaces_base: description: Whether this private registry replaces the base registry (e.g., npmjs.org for npm, rubygems.org for rubygems). When `true`, Dependabot @@ -100315,19 +99708,12 @@ components: default: false visibility: description: Which type of organization repositories have access to the - private registry. `selected` means only the repositories specified by - `selected_repository_ids` can access the private registry. + private registry. enum: - all - private - selected type: string - selected_repository_ids: - type: array - description: An array of repository IDs that can access the organization - private registry when `visibility` is set to `selected`. - items: - type: integer created_at: type: string format: date-time @@ -100340,84 +99726,75 @@ components: - visibility - created_at - updated_at - project: - title: Project - description: Projects are a way to organize columns and cards of work. + org-private-registry-configuration-with-selected-repositories: + title: Organization private registry + description: Private registry configuration for an organization type: object properties: - owner_url: - type: string - format: uri - example: https://api.github.com/repos/api-playground/projects-test - url: + name: + description: The name of the private registry configuration. + example: MAVEN_REPOSITORY_SECRET type: string - format: uri - example: https://api.github.com/projects/1002604 - html_url: + registry_type: + description: The registry type. + enum: + - maven_repository + - nuget_feed + - goproxy_server + - npm_registry + - rubygems_server + - cargo_registry + - composer_repository + - docker_registry + - git_source + - helm_registry + - hex_organization + - hex_repository + - pub_repository + - python_index + - terraform_registry type: string - format: uri - example: https://github.com/api-playground/projects-test/projects/12 - columns_url: + url: + description: The URL of the private registry. type: string format: uri - example: https://api.github.com/projects/1002604/columns - id: - type: integer - example: 1002604 - node_id: - type: string - example: MDc6UHJvamVjdDEwMDI2MDQ= - name: - description: Name of the project - example: Week One Sprint - type: string - body: - description: Body of the project - example: This project represents the sprint of the first week in January + username: + description: The username to use when authenticating with the private registry. + example: monalisa type: string - nullable: true - number: - type: integer - example: 1 - state: - description: State of the project; either 'open' or 'closed' - example: open + replaces_base: + description: Whether this private registry replaces the base registry (e.g., + npmjs.org for npm, rubygems.org for rubygems). When `true`, Dependabot + will only use this registry and will not fall back to the public registry. + When `false` (default), Dependabot will use this registry for scoped packages + but may fall back to the public registry for other packages. + type: boolean + default: false + visibility: + description: Which type of organization repositories have access to the + private registry. `selected` means only the repositories specified by + `selected_repository_ids` can access the private registry. + enum: + - all + - private + - selected type: string - creator: - "$ref": "#/components/schemas/nullable-simple-user" + selected_repository_ids: + type: array + description: An array of repository IDs that can access the organization + private registry when `visibility` is set to `selected`. + items: + type: integer created_at: type: string format: date-time - example: '2011-04-10T20:09:31Z' updated_at: type: string format: date-time - example: '2014-03-03T18:58:10Z' - organization_permission: - description: The baseline permission that all organization members have - on this project. Only present if owner is an organization. - type: string - enum: - - read - - write - - admin - - none - private: - description: Whether or not this project can be seen by everyone. Only present - if owner is an organization. - type: boolean required: - - id - - node_id - - number - name - - body - - state - - url - - html_url - - owner_url - - creator - - columns_url + - registry_type + - visibility - created_at - updated_at nullable-projects-v2-status-update: @@ -232290,74 +231667,6 @@ components: value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 - project-items: - value: - - owner_url: https://api.github.com/orgs/octocat - url: https://api.github.com/projects/1002605 - html_url: https://github.com/orgs/api-playground/projects/1 - columns_url: https://api.github.com/projects/1002605/columns - id: 1002605 - node_id: MDc6UHJvamVjdDEwMDI2MDU= - name: Organization Roadmap - body: High-level roadmap for the upcoming year. - number: 1 - state: open - creator: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - created_at: '2011-04-11T20:09:31Z' - updated_at: '2014-03-04T18:58:10Z' - organization_permission: write - private: true - project-2: - value: - owner_url: https://api.github.com/orgs/octocat - url: https://api.github.com/projects/1002605 - html_url: https://github.com/orgs/api-playground/projects/1 - columns_url: https://api.github.com/projects/1002605/columns - id: 1002605 - node_id: MDc6UHJvamVjdDEwMDI2MDU= - name: Organization Roadmap - body: High-level roadmap for the upcoming year. - number: 1 - state: open - creator: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - created_at: '2011-04-11T20:09:31Z' - updated_at: '2014-03-04T18:58:10Z' projects-v2: value: id: 2 @@ -235005,39 +234314,6 @@ components: column_url: https://api.github.com/projects/columns/367 content_url: https://api.github.com/repos/api-playground/projects-test/issues/3 project_url: https://api.github.com/projects/120 - project-3: - value: - owner_url: https://api.github.com/repos/api-playground/projects-test - url: https://api.github.com/projects/1002604 - html_url: https://github.com/api-playground/projects-test/projects/1 - columns_url: https://api.github.com/projects/1002604/columns - id: 1002604 - node_id: MDc6UHJvamVjdDEwMDI2MDQ= - name: Projects Documentation - body: Developer documentation project for the developer site. - number: 1 - state: open - creator: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - created_at: '2011-04-10T20:09:31Z' - updated_at: '2014-03-03T18:58:10Z' project-collaborator-permission: value: permission: admin @@ -243811,39 +243087,6 @@ components: https_error: is_https_eligible: true caa_error: - project-items-2: - value: - - owner_url: https://api.github.com/repos/api-playground/projects-test - url: https://api.github.com/projects/1002604 - html_url: https://github.com/api-playground/projects-test/projects/1 - columns_url: https://api.github.com/projects/1002604/columns - id: 1002604 - node_id: MDc6UHJvamVjdDEwMDI2MDQ= - name: Projects Documentation - body: Developer documentation project for the developer site. - number: 1 - state: open - creator: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - created_at: '2011-04-10T20:09:31Z' - updated_at: '2014-03-03T18:58:10Z' pull-request: value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 @@ -250132,39 +249375,6 @@ components: container: tags: - 1.13.6 - project: - value: - owner_url: https://api.github.com/users/octocat - url: https://api.github.com/projects/1002603 - html_url: https://github.com/users/octocat/projects/1 - columns_url: https://api.github.com/projects/1002603/columns - id: 1002603 - node_id: MDc6UHJvamVjdDEwMDI2MDM= - name: My Projects - body: A board to manage my personal projects. - number: 1 - state: open - creator: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - created_at: '2011-04-10T20:09:31Z' - updated_at: '2014-03-03T18:58:10Z' repository-items-default-response: summary: Default response value: @@ -250746,39 +249956,6 @@ components: html_url: https://github.com/octocat/octo-name-repo/packages/40201?version=0.2.0 metadata: package_type: rubygems - project-items-3: - value: - - owner_url: https://api.github.com/users/octocat - url: https://api.github.com/projects/1002603 - html_url: https://github.com/users/octocat/projects/1 - columns_url: https://api.github.com/projects/1002603/columns - id: 1002603 - node_id: MDc6UHJvamVjdDEwMDI2MDM= - name: My Projects - body: A board to manage my personal projects. - number: 1 - state: open - creator: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - created_at: '2011-04-10T20:09:31Z' - updated_at: '2014-03-03T18:58:10Z' user-received-events-items: value: - id: '22249084964' @@ -254689,14 +253866,14 @@ components: package_es_list_error: description: The value of `per_page` multiplied by `page` cannot be greater than 10000. - gone: - description: Gone + temporary_redirect: + description: Temporary Redirect content: application/json: schema: "$ref": "#/components/schemas/basic-error" - temporary_redirect: - description: Temporary Redirect + gone: + description: Gone content: application/json: schema: diff --git a/descriptions/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.json b/descriptions/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.json index 71a8f0ebb..89ee74029 100644 --- a/descriptions/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.json +++ b/descriptions/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.json @@ -116961,7 +116961,7 @@ "/orgs/{org}/projects": { "get": { "summary": "List organization projects", - "description": "Lists the projects in an organization. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.", + "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", "tags": [ "projects-classic" ], @@ -117329,8 +117329,11 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "projects-classic", - "subcategory": "projects" - } + "subcategory": "projects", + "deprecationDate": "2024-05-23", + "removalDate": "2025-04-01" + }, + "deprecated": true }, "post": { "summary": "Create an organization project", @@ -117343,6 +117346,7 @@ "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.14/rest/projects-classic/projects#create-an-organization-project" }, + "deprecated": true, "parameters": [ { "name": "org", @@ -148804,6 +148808,7 @@ } } }, + "deprecated": true, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, @@ -149263,6 +149268,7 @@ } } }, + "deprecated": true, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, @@ -149402,6 +149408,7 @@ } } }, + "deprecated": true, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, @@ -332042,7 +332049,7 @@ "/repos/{owner}/{repo}/projects": { "get": { "summary": "List repository projects", - "description": "Lists the projects in a repository. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.", + "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", "tags": [ "projects-classic" ], @@ -332521,8 +332528,11 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "projects-classic", - "subcategory": "projects" - } + "subcategory": "projects", + "deprecationDate": "2024-05-23", + "removalDate": "2025-04-01" + }, + "deprecated": true }, "post": { "summary": "Create a repository project", @@ -332535,6 +332545,7 @@ "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.14/rest/projects-classic/projects#create-a-repository-project" }, + "deprecated": true, "parameters": [ { "name": "owner", @@ -438784,6 +438795,7 @@ } } }, + "deprecated": true, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, @@ -468304,7 +468316,7 @@ "/users/{username}/projects": { "get": { "summary": "List user projects", - "description": "Lists projects for a user.", + "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", "tags": [ "projects-classic" ], @@ -468709,8 +468721,11 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "category": "projects-classic", - "subcategory": "projects" - } + "subcategory": "projects", + "deprecationDate": "2024-05-23", + "removalDate": "2025-04-01" + }, + "deprecated": true } }, "/users/{username}/received_events": { diff --git a/descriptions/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.yaml b/descriptions/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.yaml index 7641ec941..a8c9ededb 100644 --- a/descriptions/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.yaml +++ b/descriptions/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.yaml @@ -31520,10 +31520,10 @@ paths: "/orgs/{org}/projects": get: summary: List organization projects - description: Lists the projects in an organization. Returns a `404 Not Found` - status if projects are disabled in the organization. If you do not have sufficient - privileges to perform this action, a `401 Unauthorized` or `410 Gone` status - is returned. + description: |- + > [!WARNING] + > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. + > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. tags: - projects-classic operationId: projects-classic/list-for-org @@ -31683,6 +31683,9 @@ paths: enabledForGitHubApps: true category: projects-classic subcategory: projects + deprecationDate: '2024-05-23' + removalDate: '2025-04-01' + deprecated: true post: summary: Create an organization project description: Creates an organization project board. Returns a `410 Gone` status @@ -31695,6 +31698,7 @@ paths: externalDocs: description: API method documentation url: https://docs.github.com/enterprise-server@3.14/rest/projects-classic/projects#create-an-organization-project + deprecated: true parameters: - *135 requestBody: @@ -39615,6 +39619,7 @@ paths: '304': *42 '403': *43 '401': *41 + deprecated: true x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39703,6 +39708,7 @@ paths: '401': *41 '410': *237 '422': *27 + deprecated: true x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39742,6 +39748,7 @@ paths: '401': *41 '410': *237 '404': *26 + deprecated: true x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70515,10 +70522,10 @@ paths: "/repos/{owner}/{repo}/projects": get: summary: List repository projects - description: Lists the projects in a repository. Returns a `404 Not Found` status - if projects are disabled in the repository. If you do not have sufficient - privileges to perform this action, a `401 Unauthorized` or `410 Gone` status - is returned. + description: |- + > [!WARNING] + > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. + > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. tags: - projects-classic operationId: projects-classic/list-for-repo @@ -70595,6 +70602,9 @@ paths: enabledForGitHubApps: true category: projects-classic subcategory: projects + deprecationDate: '2024-05-23' + removalDate: '2025-04-01' + deprecated: true post: summary: Create a repository project description: Creates a repository project board. Returns a `410 Gone` status @@ -70607,6 +70617,7 @@ paths: externalDocs: description: API method documentation url: https://docs.github.com/enterprise-server@3.14/rest/projects-classic/projects#create-a-repository-project + deprecated: true parameters: - *301 - *302 @@ -88431,6 +88442,7 @@ paths: '403': *43 '401': *41 '422': *27 + deprecated: true x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90876,7 +90888,10 @@ paths: "/users/{username}/projects": get: summary: List user projects - description: Lists projects for a user. + description: |- + > [!WARNING] + > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. + > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. tags: - projects-classic operationId: projects-classic/list-for-user @@ -90948,6 +90963,9 @@ paths: enabledForGitHubApps: false category: projects-classic subcategory: projects + deprecationDate: '2024-05-23' + removalDate: '2025-04-01' + deprecated: true "/users/{username}/received_events": get: summary: List events received by the authenticated user diff --git a/descriptions/ghes-3.14/dereferenced/ghes-3.14.deref.json b/descriptions/ghes-3.14/dereferenced/ghes-3.14.deref.json index 71a8f0ebb..89ee74029 100644 --- a/descriptions/ghes-3.14/dereferenced/ghes-3.14.deref.json +++ b/descriptions/ghes-3.14/dereferenced/ghes-3.14.deref.json @@ -116961,7 +116961,7 @@ "/orgs/{org}/projects": { "get": { "summary": "List organization projects", - "description": "Lists the projects in an organization. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.", + "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", "tags": [ "projects-classic" ], @@ -117329,8 +117329,11 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "projects-classic", - "subcategory": "projects" - } + "subcategory": "projects", + "deprecationDate": "2024-05-23", + "removalDate": "2025-04-01" + }, + "deprecated": true }, "post": { "summary": "Create an organization project", @@ -117343,6 +117346,7 @@ "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.14/rest/projects-classic/projects#create-an-organization-project" }, + "deprecated": true, "parameters": [ { "name": "org", @@ -148804,6 +148808,7 @@ } } }, + "deprecated": true, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, @@ -149263,6 +149268,7 @@ } } }, + "deprecated": true, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, @@ -149402,6 +149408,7 @@ } } }, + "deprecated": true, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, @@ -332042,7 +332049,7 @@ "/repos/{owner}/{repo}/projects": { "get": { "summary": "List repository projects", - "description": "Lists the projects in a repository. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.", + "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", "tags": [ "projects-classic" ], @@ -332521,8 +332528,11 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "projects-classic", - "subcategory": "projects" - } + "subcategory": "projects", + "deprecationDate": "2024-05-23", + "removalDate": "2025-04-01" + }, + "deprecated": true }, "post": { "summary": "Create a repository project", @@ -332535,6 +332545,7 @@ "description": "API method documentation", "url": "https://docs.github.com/enterprise-server@3.14/rest/projects-classic/projects#create-a-repository-project" }, + "deprecated": true, "parameters": [ { "name": "owner", @@ -438784,6 +438795,7 @@ } } }, + "deprecated": true, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, @@ -468304,7 +468316,7 @@ "/users/{username}/projects": { "get": { "summary": "List user projects", - "description": "Lists projects for a user.", + "description": "> [!WARNING]\n> **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.\n> See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.", "tags": [ "projects-classic" ], @@ -468709,8 +468721,11 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "category": "projects-classic", - "subcategory": "projects" - } + "subcategory": "projects", + "deprecationDate": "2024-05-23", + "removalDate": "2025-04-01" + }, + "deprecated": true } }, "/users/{username}/received_events": { diff --git a/descriptions/ghes-3.14/dereferenced/ghes-3.14.deref.yaml b/descriptions/ghes-3.14/dereferenced/ghes-3.14.deref.yaml index 7641ec941..a8c9ededb 100644 --- a/descriptions/ghes-3.14/dereferenced/ghes-3.14.deref.yaml +++ b/descriptions/ghes-3.14/dereferenced/ghes-3.14.deref.yaml @@ -31520,10 +31520,10 @@ paths: "/orgs/{org}/projects": get: summary: List organization projects - description: Lists the projects in an organization. Returns a `404 Not Found` - status if projects are disabled in the organization. If you do not have sufficient - privileges to perform this action, a `401 Unauthorized` or `410 Gone` status - is returned. + description: |- + > [!WARNING] + > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience. + > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information. tags: - projects-classic operationId: projects-classic/list-for-org @@ -31683,6 +31683,9 @@ paths: enabledForGitHubApps: true category: projects-classic subcategory: projects + deprecationDate: '2024-05-23' + removalDate: '2025-04-01' + deprecated: true post: summary: Create an organization project description: Creates an organization project board. Returns a `410 Gone` status @@ -31695,6 +31698,7 @@ paths: externalDocs: description: API method documentation url: https://docs.github.com/enterprise-server@3.14/rest/projects-classic/projects#create-an-organization-project + deprecated: true parameters: - *135 requestBody: @@ -39615,6 +39619,7 @@ paths: '304': *42 '403': *43 '401': *41 + deprecated: true x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39703,6 +39708,7 @@ paths: '401': *41 '410': *237 '422': *27 + deprecated: true x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39742,6 +39748,7 @@ paths: '401': *41 '410': *237 '404': *26 + deprecated: true x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70515,10 {"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}