diff --git a/descriptions-next/api.github.com/api.github.com.2022-11-28.json b/descriptions-next/api.github.com/api.github.com.2022-11-28.json index 94467be58..b16693534 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.json @@ -7790,7 +7790,7 @@ }, "/organizations/{org}/settings/billing/usage/summary": { "get": { - "summary": "Get billing usage summary report for an organization", + "summary": "Get billing usage summary for an organization", "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets a summary report of usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" @@ -7798,7 +7798,7 @@ "operationId": "billing/get-github-billing-usage-summary-report-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-summary-report-for-an-organization" + "url": "https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-summary-for-an-organization" }, "parameters": [ { @@ -23466,172 +23466,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", @@ -30042,269 +29876,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", - "type": "string", - "examples": [ - "Week One Sprint" - ] - }, - "body": { - "description": "Body of the project", - "type": [ - "string", - "null" - ], - "examples": [ - "This project represents the sprint of the first week in January" - ] - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "type": "string", - "examples": [ - "open" - ] - }, - "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", @@ -56842,142 +56413,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": [ { @@ -56987,78 +56432,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": { @@ -72016,185 +71403,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": [ { @@ -72204,12 +71423,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" @@ -72229,98 +71480,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", - "type": "string", - "examples": [ - "Week One Sprint" - ] - }, - "body": { - "description": "Body of the project", - "type": [ - "string", - "null" - ], - "examples": [ - "This project represents the sprint of the first week in January" - ] - } - }, - "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": { @@ -75552,83 +74845,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", @@ -76835,7 +76051,7 @@ }, "/users/{username}/settings/billing/usage/summary": { "get": { - "summary": "Get billing usage summary report for a user", + "summary": "Get billing usage summary for a user", "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets a summary report of usage for a user.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" @@ -76843,7 +76059,7 @@ "operationId": "billing/get-github-billing-usage-summary-report-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-summary-report-for-a-user" + "url": "https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-summary-for-a-user" }, "parameters": [ { @@ -115583,136 +114799,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", - "examples": [ - "https://api.github.com/repos/api-playground/projects-test" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/api-playground/projects-test/projects/12" - ] - }, - "columns_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604/columns" - ] - }, - "id": { - "type": "integer", - "examples": [ - 1002604 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDc6UHJvamVjdDEwMDI2MDQ=" - ] - }, - "name": { - "description": "Name of the project", - "type": "string", - "examples": [ - "Week One Sprint" - ] - }, - "body": { - "description": "Body of the project", - "type": [ - "string", - "null" - ], - "examples": [ - "This project represents the sprint of the first week in January" - ] - }, - "number": { - "type": "integer", - "examples": [ - 1 - ] - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "type": "string", - "examples": [ - "open" - ] - }, - "creator": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2011-04-10T20:09:31Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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" - ] - }, "projects-v2-status-update": { "title": "Projects v2 Status Update", "description": "An status update belonging to a project", @@ -294981,82 +294067,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, @@ -298383,42 +297393,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", @@ -308543,44 +307517,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", @@ -315494,42 +314430,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": [ @@ -316211,44 +315111,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": [ { @@ -320154,7 +319016,7 @@ } }, "billing_usage_summary_report_org": { - "description": "Response when getting a billing usage summary report", + "description": "Response when getting a billing usage summary", "content": { "application/json": { "schema": { @@ -320269,8 +319131,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": { @@ -320279,8 +319141,8 @@ } } }, - "temporary_redirect": { - "description": "Temporary Redirect", + "gone": { + "description": "Gone", "content": { "application/json": { "schema": { @@ -320428,7 +319290,7 @@ } }, "billing_usage_summary_report_user": { - "description": "Response when getting a billing usage summary report", + "description": "Response when getting a billing usage summary", "content": { "application/json": { "schema": { diff --git a/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml index f1dd6a9d2..e406ce816 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml @@ -5477,7 +5477,7 @@ paths: subcategory: enhanced-billing "/organizations/{org}/settings/billing/usage/summary": get: - summary: Get billing usage summary report for an organization + summary: Get billing usage summary for an organization description: |- > [!NOTE] > This endpoint is in public preview and is subject to change. @@ -5490,7 +5490,7 @@ paths: operationId: billing/get-github-billing-usage-summary-report-org externalDocs: description: API method documentation - url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-summary-report-for-an-organization + url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-summary-for-an-organization parameters: - "$ref": "#/components/parameters/org" - "$ref": "#/components/parameters/billing-usage-report-year" @@ -16991,121 +16991,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 @@ -21691,194 +21576,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 - type: string - examples: - - Week One Sprint - body: - description: Body of the project - type: - - string - - 'null' - examples: - - This project represents the sprint of the first week in January - state: - description: State of the project; either 'open' or 'closed' - type: string - examples: - - open - 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 @@ -41213,131 +40910,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 @@ -52369,73 +51941,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 - type: string - examples: - - Week One Sprint - body: - description: Body of the project - type: - - string - - 'null' - examples: - - This project represents the sprint of the first week in January - 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 @@ -54704,59 +54209,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 @@ -55546,7 +54998,7 @@ paths: subcategory: enhanced-billing "/users/{username}/settings/billing/usage/summary": get: - summary: Get billing usage summary report for a user + summary: Get billing usage summary for a user description: |- > [!NOTE] > This endpoint is in public preview and is subject to change. @@ -55559,7 +55011,7 @@ paths: operationId: billing/get-github-billing-usage-summary-report-user externalDocs: description: API method documentation - url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-summary-report-for-a-user + url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-summary-for-a-user parameters: - "$ref": "#/components/parameters/username" - "$ref": "#/components/parameters/billing-usage-report-year" @@ -83817,101 +83269,6 @@ components: - visibility - created_at - 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 - examples: - - https://api.github.com/repos/api-playground/projects-test - url: - type: string - format: uri - examples: - - https://api.github.com/projects/1002604 - html_url: - type: string - format: uri - examples: - - https://github.com/api-playground/projects-test/projects/12 - columns_url: - type: string - format: uri - examples: - - https://api.github.com/projects/1002604/columns - id: - type: integer - examples: - - 1002604 - node_id: - type: string - examples: - - MDc6UHJvamVjdDEwMDI2MDQ= - name: - description: Name of the project - type: string - examples: - - Week One Sprint - body: - description: Body of the project - type: - - string - - 'null' - examples: - - This project represents the sprint of the first week in January - number: - type: integer - examples: - - 1 - state: - description: State of the project; either 'open' or 'closed' - type: string - examples: - - open - creator: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/simple-user" - created_at: - type: string - format: date-time - examples: - - '2011-04-10T20:09:31Z' - updated_at: - type: string - format: date-time - examples: - - '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 projects-v2-status-update: title: Projects v2 Status Update description: An status update belonging to a project @@ -217935,74 +217292,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 @@ -220876,39 +220165,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 @@ -229544,39 +228800,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 @@ -235623,39 +234846,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: @@ -236237,39 +235427,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' @@ -239635,7 +238792,7 @@ components: default: "$ref": "#/components/examples/billing-usage-report" billing_usage_summary_report_org: - description: Response when getting a billing usage summary report + description: Response when getting a billing usage summary content: application/json: schema: @@ -239709,14 +238866,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: @@ -239810,7 +238967,7 @@ components: default: "$ref": "#/components/examples/billing-usage-report-user" billing_usage_summary_report_user: - description: Response when getting a billing usage summary report + description: Response when getting a billing usage summary content: application/json: schema: diff --git a/descriptions-next/api.github.com/api.github.com.json b/descriptions-next/api.github.com/api.github.com.json index 94467be58..b16693534 100644 --- a/descriptions-next/api.github.com/api.github.com.json +++ b/descriptions-next/api.github.com/api.github.com.json @@ -7790,7 +7790,7 @@ }, "/organizations/{org}/settings/billing/usage/summary": { "get": { - "summary": "Get billing usage summary report for an organization", + "summary": "Get billing usage summary for an organization", "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets a summary report of usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" @@ -7798,7 +7798,7 @@ "operationId": "billing/get-github-billing-usage-summary-report-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-summary-report-for-an-organization" + "url": "https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-summary-for-an-organization" }, "parameters": [ { @@ -23466,172 +23466,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", @@ -30042,269 +29876,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", - "type": "string", - "examples": [ - "Week One Sprint" - ] - }, - "body": { - "description": "Body of the project", - "type": [ - "string", - "null" - ], - "examples": [ - "This project represents the sprint of the first week in January" - ] - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "type": "string", - "examples": [ - "open" - ] - }, - "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", @@ -56842,142 +56413,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": [ { @@ -56987,78 +56432,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": { @@ -72016,185 +71403,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": [ { @@ -72204,12 +71423,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" @@ -72229,98 +71480,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", - "type": "string", - "examples": [ - "Week One Sprint" - ] - }, - "body": { - "description": "Body of the project", - "type": [ - "string", - "null" - ], - "examples": [ - "This project represents the sprint of the first week in January" - ] - } - }, - "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": { @@ -75552,83 +74845,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", @@ -76835,7 +76051,7 @@ }, "/users/{username}/settings/billing/usage/summary": { "get": { - "summary": "Get billing usage summary report for a user", + "summary": "Get billing usage summary for a user", "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets a summary report of usage for a user.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" @@ -76843,7 +76059,7 @@ "operationId": "billing/get-github-billing-usage-summary-report-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-summary-report-for-a-user" + "url": "https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-summary-for-a-user" }, "parameters": [ { @@ -115583,136 +114799,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", - "examples": [ - "https://api.github.com/repos/api-playground/projects-test" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/api-playground/projects-test/projects/12" - ] - }, - "columns_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604/columns" - ] - }, - "id": { - "type": "integer", - "examples": [ - 1002604 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDc6UHJvamVjdDEwMDI2MDQ=" - ] - }, - "name": { - "description": "Name of the project", - "type": "string", - "examples": [ - "Week One Sprint" - ] - }, - "body": { - "description": "Body of the project", - "type": [ - "string", - "null" - ], - "examples": [ - "This project represents the sprint of the first week in January" - ] - }, - "number": { - "type": "integer", - "examples": [ - 1 - ] - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "type": "string", - "examples": [ - "open" - ] - }, - "creator": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2011-04-10T20:09:31Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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" - ] - }, "projects-v2-status-update": { "title": "Projects v2 Status Update", "description": "An status update belonging to a project", @@ -294981,82 +294067,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, @@ -298383,42 +297393,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", @@ -308543,44 +307517,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", @@ -315494,42 +314430,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": [ @@ -316211,44 +315111,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": [ { @@ -320154,7 +319016,7 @@ } }, "billing_usage_summary_report_org": { - "description": "Response when getting a billing usage summary report", + "description": "Response when getting a billing usage summary", "content": { "application/json": { "schema": { @@ -320269,8 +319131,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": { @@ -320279,8 +319141,8 @@ } } }, - "temporary_redirect": { - "description": "Temporary Redirect", + "gone": { + "description": "Gone", "content": { "application/json": { "schema": { @@ -320428,7 +319290,7 @@ } }, "billing_usage_summary_report_user": { - "description": "Response when getting a billing usage summary report", + "description": "Response when getting a billing usage summary", "content": { "application/json": { "schema": { diff --git a/descriptions-next/api.github.com/api.github.com.yaml b/descriptions-next/api.github.com/api.github.com.yaml index f1dd6a9d2..e406ce816 100644 --- a/descriptions-next/api.github.com/api.github.com.yaml +++ b/descriptions-next/api.github.com/api.github.com.yaml @@ -5477,7 +5477,7 @@ paths: subcategory: enhanced-billing "/organizations/{org}/settings/billing/usage/summary": get: - summary: Get billing usage summary report for an organization + summary: Get billing usage summary for an organization description: |- > [!NOTE] > This endpoint is in public preview and is subject to change. @@ -5490,7 +5490,7 @@ paths: operationId: billing/get-github-billing-usage-summary-report-org externalDocs: description: API method documentation - url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-summary-report-for-an-organization + url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-summary-for-an-organization parameters: - "$ref": "#/components/parameters/org" - "$ref": "#/components/parameters/billing-usage-report-year" @@ -16991,121 +16991,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 @@ -21691,194 +21576,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 - type: string - examples: - - Week One Sprint - body: - description: Body of the project - type: - - string - - 'null' - examples: - - This project represents the sprint of the first week in January - state: - description: State of the project; either 'open' or 'closed' - type: string - examples: - - open - 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 @@ -41213,131 +40910,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 @@ -52369,73 +51941,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 - type: string - examples: - - Week One Sprint - body: - description: Body of the project - type: - - string - - 'null' - examples: - - This project represents the sprint of the first week in January - 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 @@ -54704,59 +54209,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 @@ -55546,7 +54998,7 @@ paths: subcategory: enhanced-billing "/users/{username}/settings/billing/usage/summary": get: - summary: Get billing usage summary report for a user + summary: Get billing usage summary for a user description: |- > [!NOTE] > This endpoint is in public preview and is subject to change. @@ -55559,7 +55011,7 @@ paths: operationId: billing/get-github-billing-usage-summary-report-user externalDocs: description: API method documentation - url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-summary-report-for-a-user + url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-summary-for-a-user parameters: - "$ref": "#/components/parameters/username" - "$ref": "#/components/parameters/billing-usage-report-year" @@ -83817,101 +83269,6 @@ components: - visibility - created_at - 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 - examples: - - https://api.github.com/repos/api-playground/projects-test - url: - type: string - format: uri - examples: - - https://api.github.com/projects/1002604 - html_url: - type: string - format: uri - examples: - - https://github.com/api-playground/projects-test/projects/12 - columns_url: - type: string - format: uri - examples: - - https://api.github.com/projects/1002604/columns - id: - type: integer - examples: - - 1002604 - node_id: - type: string - examples: - - MDc6UHJvamVjdDEwMDI2MDQ= - name: - description: Name of the project - type: string - examples: - - Week One Sprint - body: - description: Body of the project - type: - - string - - 'null' - examples: - - This project represents the sprint of the first week in January - number: - type: integer - examples: - - 1 - state: - description: State of the project; either 'open' or 'closed' - type: string - examples: - - open - creator: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/simple-user" - created_at: - type: string - format: date-time - examples: - - '2011-04-10T20:09:31Z' - updated_at: - type: string - format: date-time - examples: - - '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 projects-v2-status-update: title: Projects v2 Status Update description: An status update belonging to a project @@ -217935,74 +217292,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 @@ -220876,39 +220165,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 @@ -229544,39 +228800,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 @@ -235623,39 +234846,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: @@ -236237,39 +235427,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' @@ -239635,7 +238792,7 @@ components: default: "$ref": "#/components/examples/billing-usage-report" billing_usage_summary_report_org: - description: Response when getting a billing usage summary report + description: Response when getting a billing usage summary content: application/json: schema: @@ -239709,14 +238866,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: @@ -239810,7 +238967,7 @@ components: default: "$ref": "#/components/examples/billing-usage-report-user" billing_usage_summary_report_user: - description: Response when getting a billing usage summary report + description: Response when getting a billing usage summary content: application/json: schema: diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index 818f8ff31..07c4d89e6 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -62309,7 +62309,7 @@ }, "/organizations/{org}/settings/billing/usage/summary": { "get": { - "summary": "Get billing usage summary report for an organization", + "summary": "Get billing usage summary for an organization", "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets a summary report of usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" @@ -62317,7 +62317,7 @@ "operationId": "billing/get-github-billing-usage-summary-report-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-summary-report-for-an-organization" + "url": "https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-summary-for-an-organization" }, "parameters": [ { @@ -62386,7 +62386,7 @@ ], "responses": { "200": { - "description": "Response when getting a billing usage summary report", + "description": "Response when getting a billing usage summary", "content": { "application/json": { "schema": { @@ -147419,999 +147419,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", - "examples": [ - "https://api.github.com/repos/api-playground/projects-test" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/api-playground/projects-test/projects/12" - ] - }, - "columns_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604/columns" - ] - }, - "id": { - "type": "integer", - "examples": [ - 1002604 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDc6UHJvamVjdDEwMDI2MDQ=" - ] - }, - "name": { - "description": "Name of the project", - "type": "string", - "examples": [ - "Week One Sprint" - ] - }, - "body": { - "description": "Body of the project", - "type": [ - "string", - "null" - ], - "examples": [ - "This project represents the sprint of the first week in January" - ] - }, - "number": { - "type": "integer", - "examples": [ - 1 - ] - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "type": "string", - "examples": [ - "open" - ] - }, - "creator": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2011-04-10T20:09:31Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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", - "examples": [ - "https://api.github.com/repos/api-playground/projects-test" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/api-playground/projects-test/projects/12" - ] - }, - "columns_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604/columns" - ] - }, - "id": { - "type": "integer", - "examples": [ - 1002604 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDc6UHJvamVjdDEwMDI2MDQ=" - ] - }, - "name": { - "description": "Name of the project", - "type": "string", - "examples": [ - "Week One Sprint" - ] - }, - "body": { - "description": "Body of the project", - "type": [ - "string", - "null" - ], - "examples": [ - "This project represents the sprint of the first week in January" - ] - }, - "number": { - "type": "integer", - "examples": [ - 1 - ] - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "type": "string", - "examples": [ - "open" - ] - }, - "creator": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2011-04-10T20:09:31Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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", @@ -207200,1125 +206207,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", - "examples": [ - "https://api.github.com/repos/api-playground/projects-test" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/api-playground/projects-test/projects/12" - ] - }, - "columns_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604/columns" - ] - }, - "id": { - "type": "integer", - "examples": [ - 1002604 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDc6UHJvamVjdDEwMDI2MDQ=" - ] - }, - "name": { - "description": "Name of the project", - "type": "string", - "examples": [ - "Week One Sprint" - ] - }, - "body": { - "description": "Body of the project", - "type": [ - "string", - "null" - ], - "examples": [ - "This project represents the sprint of the first week in January" - ] - }, - "number": { - "type": "integer", - "examples": [ - 1 - ] - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "type": "string", - "examples": [ - "open" - ] - }, - "creator": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2011-04-10T20:09:31Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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", - "type": "string", - "examples": [ - "Week One Sprint" - ] - }, - "body": { - "description": "Body of the project", - "type": [ - "string", - "null" - ], - "examples": [ - "This project represents the sprint of the first week in January" - ] - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "type": "string", - "examples": [ - "open" - ] - }, - "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", - "examples": [ - "https://api.github.com/repos/api-playground/projects-test" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/api-playground/projects-test/projects/12" - ] - }, - "columns_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604/columns" - ] - }, - "id": { - "type": "integer", - "examples": [ - 1002604 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDc6UHJvamVjdDEwMDI2MDQ=" - ] - }, - "name": { - "description": "Name of the project", - "type": "string", - "examples": [ - "Week One Sprint" - ] - }, - "body": { - "description": "Body of the project", - "type": [ - "string", - "null" - ], - "examples": [ - "This project represents the sprint of the first week in January" - ] - }, - "number": { - "type": "integer", - "examples": [ - 1 - ] - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "type": "string", - "examples": [ - "open" - ] - }, - "creator": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2011-04-10T20:09:31Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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", @@ -478767,1119 +476655,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", - "examples": [ - "https://api.github.com/repos/api-playground/projects-test" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/api-playground/projects-test/projects/12" - ] - }, - "columns_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604/columns" - ] - }, - "id": { - "type": "integer", - "examples": [ - 1002604 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDc6UHJvamVjdDEwMDI2MDQ=" - ] - }, - "name": { - "description": "Name of the project", - "type": "string", - "examples": [ - "Week One Sprint" - ] - }, - "body": { - "description": "Body of the project", - "type": [ - "string", - "null" - ], - "examples": [ - "This project represents the sprint of the first week in January" - ] - }, - "number": { - "type": "integer", - "examples": [ - 1 - ] - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "type": "string", - "examples": [ - "open" - ] - }, - "creator": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2011-04-10T20:09:31Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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", - "examples": [ - "https://api.github.com/repos/api-playground/projects-test" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/api-playground/projects-test/projects/12" - ] - }, - "columns_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604/columns" - ] - }, - "id": { - "type": "integer", - "examples": [ - 1002604 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDc6UHJvamVjdDEwMDI2MDQ=" - ] - }, - "name": { - "description": "Name of the project", - "type": "string", - "examples": [ - "Week One Sprint" - ] - }, - "body": { - "description": "Body of the project", - "type": [ - "string", - "null" - ], - "examples": [ - "This project represents the sprint of the first week in January" - ] - }, - "number": { - "type": "integer", - "examples": [ - 1 - ] - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "type": "string", - "examples": [ - "open" - ] - }, - "creator": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2011-04-10T20:09:31Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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", @@ -649247,498 +646022,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", - "type": "string", - "examples": [ - "Week One Sprint" - ] - }, - "body": { - "description": "Body of the project", - "type": [ - "string", - "null" - ], - "examples": [ - "This project represents the sprint of the first week in January" - ] - } - }, - "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", - "examples": [ - "https://api.github.com/repos/api-playground/projects-test" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/api-playground/projects-test/projects/12" - ] - }, - "columns_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604/columns" - ] - }, - "id": { - "type": "integer", - "examples": [ - 1002604 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDc6UHJvamVjdDEwMDI2MDQ=" - ] - }, - "name": { - "description": "Name of the project", - "type": "string", - "examples": [ - "Week One Sprint" - ] - }, - "body": { - "description": "Body of the project", - "type": [ - "string", - "null" - ], - "examples": [ - "This project represents the sprint of the first week in January" - ] - }, - "number": { - "type": "integer", - "examples": [ - 1 - ] - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "type": "string", - "examples": [ - "open" - ] - }, - "creator": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2011-04-10T20:09:31Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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", @@ -686792,503 +683075,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", - "examples": [ - "https://api.github.com/repos/api-playground/projects-test" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/api-playground/projects-test/projects/12" - ] - }, - "columns_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604/columns" - ] - }, - "id": { - "type": "integer", - "examples": [ - 1002604 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDc6UHJvamVjdDEwMDI2MDQ=" - ] - }, - "name": { - "description": "Name of the project", - "type": "string", - "examples": [ - "Week One Sprint" - ] - }, - "body": { - "description": "Body of the project", - "type": [ - "string", - "null" - ], - "examples": [ - "This project represents the sprint of the first week in January" - ] - }, - "number": { - "type": "integer", - "examples": [ - 1 - ] - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "type": "string", - "examples": [ - "open" - ] - }, - "creator": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2011-04-10T20:09:31Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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", - "null" - ] - }, - { - "type": [ - "integer", - "null" - ] - }, - { - "type": [ - "array", - "null" - ], - "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", @@ -714740,7 +710526,7 @@ }, "/users/{username}/settings/billing/usage/summary": { "get": { - "summary": "Get billing usage summary report for a user", + "summary": "Get billing usage summary for a user", "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets a summary report of usage for a user.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" @@ -714748,7 +710534,7 @@ "operationId": "billing/get-github-billing-usage-summary-report-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-summary-report-for-a-user" + "url": "https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-summary-for-a-user" }, "parameters": [ { @@ -714817,7 +710603,7 @@ ], "responses": { "200": { - "description": "Response when getting a billing usage summary report", + "description": "Response when getting a billing usage summary", "content": { "application/json": { "schema": { diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index 4c00cbb86..54fe292fc 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -907,7 +907,7 @@ paths: - subscriptions_url - type - url - type: &286 + type: &285 type: string description: The type of credit the user is receiving. enum: @@ -1073,7 +1073,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &611 + - &609 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -8978,7 +8978,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 - - &453 + - &450 name: has in: query description: |- @@ -9098,7 +9098,7 @@ paths: - direct - transitive - - security_advisory: &454 + security_advisory: &451 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -9366,7 +9366,7 @@ paths: and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - auto_dismissed_at: &455 + auto_dismissed_at: &452 type: - string - 'null' @@ -10806,7 +10806,7 @@ paths: milestone: anyOf: - type: 'null' - - &243 + - &242 title: Milestone description: A collection of related issues and pull requests. @@ -11087,7 +11087,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &623 + sub_issues_summary: &621 title: Sub-issues Summary type: object properties: @@ -11108,7 +11108,7 @@ paths: - string - 'null' format: uri - issue_dependencies_summary: &624 + issue_dependencies_summary: &622 title: Issue Dependencies Summary type: object properties: @@ -11127,7 +11127,7 @@ paths: - total_blocking issue_field_values: type: array - items: &625 + items: &623 title: Issue Field Value description: A value assigned to an issue field type: object @@ -11222,7 +11222,7 @@ paths: - user - created_at - updated_at - comment: &501 + comment: &499 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -11800,7 +11800,7 @@ paths: url: type: string format: uri - user: &637 + user: &635 title: Public User description: Public User type: object @@ -15158,14 +15158,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &308 + - &307 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &309 + - &308 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -15227,7 +15227,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &317 + '301': &314 description: Moved permanently content: application/json: @@ -15249,7 +15249,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &530 + - &528 name: all description: If `true`, show notifications marked as read. in: query @@ -15257,7 +15257,7 @@ paths: schema: type: boolean default: false - - &531 + - &529 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -15267,7 +15267,7 @@ paths: type: boolean default: false - *68 - - &532 + - &530 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: @@ -15638,7 +15638,7 @@ paths: type: boolean examples: - false - security_and_analysis: &254 + security_and_analysis: &253 type: - object - 'null' @@ -15803,7 +15803,7 @@ paths: - url - subscription_url examples: - default: &533 + default: &531 value: - id: '1' repository: @@ -16682,7 +16682,7 @@ paths: - property_name - value examples: - default: &539 + default: &537 value: - property_name: environment value: production @@ -16732,7 +16732,7 @@ paths: required: - properties examples: - default: &540 + default: &538 value: properties: - property_name: environment @@ -16801,7 +16801,7 @@ paths: required: false schema: type: string - - &680 + - &678 name: model description: The model name to query usage for. The name is not case sensitive. in: query @@ -16947,7 +16947,7 @@ paths: parameters: - *61 - *98 - - &683 + - &681 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 @@ -17040,7 +17040,7 @@ paths: subcategory: enhanced-billing "/organizations/{org}/settings/billing/usage/summary": get: - summary: Get billing usage summary report for an organization + summary: Get billing usage summary for an organization description: |- > [!NOTE] > This endpoint is in public preview and is subject to change. @@ -17053,13 +17053,13 @@ paths: operationId: billing/get-github-billing-usage-summary-report-org externalDocs: description: API method documentation - url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-summary-report-for-an-organization + url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-summary-for-an-organization parameters: - *61 - *98 - *100 - *99 - - &684 + - &682 name: repository description: The repository name to query for usage in the format owner/repository. in: query @@ -17067,7 +17067,7 @@ paths: schema: type: string - *101 - - &685 + - &683 name: sku description: The SKU to query for usage. in: query @@ -17076,7 +17076,7 @@ paths: type: string responses: '200': - description: Response when getting a billing usage summary report + description: Response when getting a billing usage summary content: application/json: schema: @@ -18046,7 +18046,7 @@ paths: type: integer repository_cache_usages: type: array - items: &322 + items: &319 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -19284,7 +19284,7 @@ paths: - all - local_only - selected - selected_actions_url: &328 + selected_actions_url: &325 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` @@ -19367,7 +19367,7 @@ paths: description: Response content: application/json: - schema: &332 + schema: &329 type: object properties: days: @@ -19409,7 +19409,7 @@ paths: required: true content: application/json: - schema: &333 + schema: &330 type: object properties: days: @@ -19466,7 +19466,7 @@ paths: required: - approval_policy examples: - default: &334 + default: &331 value: approval_policy: first_time_contributors '404': *6 @@ -19525,7 +19525,7 @@ paths: description: Response content: application/json: - schema: &335 + schema: &332 type: object required: - run_workflows_from_fork_pull_requests @@ -19579,7 +19579,7 @@ paths: required: true content: application/json: - schema: &336 + schema: &333 type: object required: - run_workflows_from_fork_pull_requests @@ -20214,7 +20214,7 @@ paths: description: Response content: application/json: - schema: &337 + schema: &334 type: object properties: default_workflow_permissions: &128 @@ -20265,7 +20265,7 @@ paths: required: false content: application/json: - schema: &338 + schema: &335 type: object properties: default_workflow_permissions: *128 @@ -20758,7 +20758,7 @@ paths: type: array items: *135 examples: - default: &640 + default: &638 value: total_count: 1 repositories: @@ -21405,7 +21405,7 @@ paths: application/json: schema: type: array - items: &339 + items: &336 title: Runner Application description: Runner Application type: object @@ -21430,7 +21430,7 @@ paths: - download_url - filename examples: - default: &340 + default: &337 value: - os: osx architecture: x64 @@ -21516,7 +21516,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &341 + '201': &338 description: Response content: application/json: @@ -21631,7 +21631,7 @@ paths: - token - expires_at examples: - default: &342 + default: &339 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -21670,7 +21670,7 @@ paths: application/json: schema: *139 examples: - default: &343 + default: &340 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -21704,7 +21704,7 @@ paths: application/json: schema: *137 examples: - default: &344 + default: &341 value: id: 23 name: MBP @@ -21930,7 +21930,7 @@ paths: - *61 - *136 responses: - '200': &345 + '200': &342 description: Response content: application/json: @@ -21987,7 +21987,7 @@ paths: parameters: - *61 - *136 - - &346 + - &343 name: name description: The name of a self-hosted runner's custom label. in: path @@ -22119,7 +22119,7 @@ paths: description: Response content: application/json: - schema: &358 + schema: &355 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -22154,7 +22154,7 @@ paths: - key_id - key examples: - default: &359 + default: &356 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -22567,7 +22567,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *61 - - &327 + - &324 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)." @@ -23317,12 +23317,12 @@ paths: required: - subject_digests examples: - default: &667 + default: &665 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &668 + withPredicateType: &666 value: subject_digests: - sha256:abc123 @@ -23381,7 +23381,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &669 + default: &667 value: attestations_subject_digests: - sha256:abc: @@ -23730,7 +23730,7 @@ paths: initiator: type: string examples: - default: &372 + default: &369 value: attestations: - bundle: @@ -24686,7 +24686,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *61 - - &397 + - &394 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`, @@ -24696,7 +24696,7 @@ paths: schema: &158 type: string description: The name of the tool used to generate the code scanning analysis. - - &398 + - &395 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 @@ -24720,7 +24720,7 @@ paths: be returned. in: query required: false - schema: &400 + schema: &397 type: string description: State of a code scanning alert. enum: @@ -24743,7 +24743,7 @@ paths: be returned. in: query required: false - schema: &401 + schema: &398 type: string description: Severity of a code scanning alert. enum: @@ -24769,7 +24769,7 @@ paths: updated_at: *153 url: *154 html_url: *155 - instances_url: &402 + instances_url: &399 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -24791,7 +24791,7 @@ paths: - type: 'null' - *4 dismissed_at: *157 - dismissed_reason: &403 + dismissed_reason: &400 type: - string - 'null' @@ -24802,14 +24802,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &404 + dismissed_comment: &401 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &405 + rule: &402 type: object properties: id: @@ -24870,7 +24870,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &406 + tool: &403 type: object properties: name: *158 @@ -24881,15 +24881,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *159 - most_recent_instance: &407 + most_recent_instance: &404 type: object properties: - ref: &399 + ref: &396 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &417 + analysis_key: &414 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -24900,7 +24900,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &418 + category: &415 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -26228,7 +26228,7 @@ paths: machine: anyOf: - type: 'null' - - &430 + - &427 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -27180,7 +27180,7 @@ paths: - updated_at - visibility examples: - default: &431 + default: &428 value: total_count: 2 secrets: @@ -27218,7 +27218,7 @@ paths: description: Response content: application/json: - schema: &432 + schema: &429 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -27253,7 +27253,7 @@ paths: - key_id - key examples: - default: &433 + default: &430 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -27285,7 +27285,7 @@ paths: application/json: schema: *168 examples: - default: &435 + default: &432 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -28283,7 +28283,7 @@ paths: application/json: schema: type: array - items: &290 + items: &289 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -28598,7 +28598,7 @@ paths: - date additionalProperties: true examples: - default: &291 + default: &290 value: - date: '2024-06-24' total_active_users: 24 @@ -28700,7 +28700,7 @@ paths: '500': *96 '403': *27 '404': *6 - '422': &292 + '422': &291 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -28908,7 +28908,7 @@ paths: description: Response content: application/json: - schema: &458 + schema: &455 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -28927,7 +28927,7 @@ paths: - key_id - key examples: - default: &459 + default: &456 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -30755,7 +30755,7 @@ paths: application/json: schema: *20 examples: - default: &497 + default: &494 value: id: 1 account: @@ -30983,7 +30983,7 @@ paths: required: true content: application/json: - schema: &498 + schema: &495 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -31843,7 +31843,7 @@ paths: application/json: schema: *210 examples: - default: &429 + default: &426 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -33101,7 +33101,7 @@ paths: parameters: - *61 - *217 - - &652 + - &650 name: repo_name description: repo_name parameter in: path @@ -34160,7 +34160,7 @@ paths: - nuget - container - *61 - - &653 + - &651 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -34201,7 +34201,7 @@ paths: default: *223 '403': *27 '401': *23 - '400': &655 + '400': &653 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -35924,275 +35924,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: - - *61 - - 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: &238 - title: Project - description: Projects are a way to organize columns and cards of - work. - type: object - properties: - owner_url: - type: string - format: uri - examples: - - https://api.github.com/repos/api-playground/projects-test - url: - type: string - format: uri - examples: - - https://api.github.com/projects/1002604 - html_url: - type: string - format: uri - examples: - - https://github.com/api-playground/projects-test/projects/12 - columns_url: - type: string - format: uri - examples: - - https://api.github.com/projects/1002604/columns - id: - type: integer - examples: - - 1002604 - node_id: - type: string - examples: - - MDc6UHJvamVjdDEwMDI2MDQ= - name: - description: Name of the project - type: string - examples: - - Week One Sprint - body: - description: Body of the project - type: - - string - - 'null' - examples: - - This project represents the sprint of the first week in January - number: - type: integer - examples: - - 1 - state: - description: State of the project; either 'open' or 'closed' - type: string - examples: - - open - creator: - anyOf: - - type: 'null' - - *4 - created_at: - type: string - format: date-time - examples: - - '2011-04-10T20:09:31Z' - updated_at: - type: string - format: date-time - examples: - - '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: *52 - '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: - - *61 - 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: *238 - 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': *23 - '403': *27 - '404': *6 - '410': &314 - 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 @@ -36222,7 +35953,7 @@ paths: application/json: schema: type: array - items: &239 + items: &238 title: Projects v2 Project description: A projects v2 project type: object @@ -36296,7 +36027,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &733 + - &731 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -36381,7 +36112,7 @@ paths: - deleted_at - deleted_by examples: - default: &240 + default: &239 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -36484,7 +36215,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &241 + - &240 name: project_number description: The project's number. in: path @@ -36497,9 +36228,9 @@ paths: description: Response content: application/json: - schema: *239 + schema: *238 examples: - default: *240 + default: *239 headers: Link: *52 '304': *35 @@ -36521,7 +36252,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *241 + - *240 - *61 - *17 - *38 @@ -36533,7 +36264,7 @@ paths: application/json: schema: type: array - items: &242 + items: &241 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -36683,7 +36414,7 @@ paths: - updated_at - project_url examples: - default: &672 + default: &670 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -36786,8 +36517,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *241 - - &673 + - *240 + - &671 name: field_id description: The unique identifier of the field. in: path @@ -36800,9 +36531,9 @@ paths: description: Response content: application/json: - schema: *242 + schema: *241 examples: - default: &674 + default: &672 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -36846,7 +36577,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *241 + - *240 - *61 - 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) @@ -36879,7 +36610,7 @@ paths: application/json: schema: type: array - items: &247 + items: &246 title: Projects v2 Item description: An item belonging to a project type: object @@ -36896,7 +36627,7 @@ paths: description: The API URL of the project that contains this item. examples: - https://api.github.com/users/monalisa/2/projectsV2/3 - content_type: &245 + content_type: &244 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -36953,7 +36684,7 @@ paths: - updated_at - archived_at examples: - default: &248 + default: &247 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -37648,7 +37379,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - *61 - - *241 + - *240 requestBody: required: true description: Details of the item to add to the project. @@ -37685,7 +37416,7 @@ paths: description: Response content: application/json: - schema: &675 + schema: &673 title: Projects v2 Item description: An item belonging to a project type: object @@ -37699,7 +37430,7 @@ paths: content: oneOf: - *78 - - &442 + - &439 title: Pull Request Simple description: Pull Request Simple type: object @@ -37819,7 +37550,7 @@ paths: milestone: anyOf: - type: 'null' - - *243 + - *242 active_lock_reason: type: - string @@ -37918,7 +37649,7 @@ paths: _links: type: object properties: - comments: &244 + comments: &243 title: Link description: Hypermedia Link type: object @@ -37927,13 +37658,13 @@ paths: type: string required: - href - commits: *244 - statuses: *244 - html: *244 - issue: *244 - review_comments: *244 - review_comment: *244 - self: *244 + commits: *243 + statuses: *243 + html: *243 + issue: *243 + review_comments: *243 + review_comment: *243 + self: *243 required: - comments - commits @@ -37944,7 +37675,7 @@ paths: - review_comment - self author_association: *65 - auto_merge: &542 + auto_merge: &540 title: Auto merge description: The status of auto merging a pull request. type: @@ -38046,7 +37777,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *245 + content_type: *244 creator: *4 created_at: type: string @@ -38083,7 +37814,7 @@ paths: - updated_at - archived_at examples: - issue: &246 + issue: &245 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -38138,7 +37869,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: *246 + pull_request: *245 '304': *35 '403': *27 '401': *23 @@ -38158,9 +37889,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *241 + - *240 - *61 - - &249 + - &248 name: item_id description: The unique identifier of the project item. in: path @@ -38186,9 +37917,9 @@ paths: description: Response content: application/json: - schema: *247 + schema: *246 examples: - default: *248 + default: *247 headers: Link: *52 '304': *35 @@ -38209,9 +37940,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *241 + - *240 - *61 - - *249 + - *248 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -38284,13 +38015,13 @@ paths: description: Response content: application/json: - schema: *247 + schema: *246 examples: - text_field: *248 - number_field: *248 - date_field: *248 - single_select_field: *248 - iteration_field: *248 + text_field: *247 + number_field: *247 + date_field: *247 + single_select_field: *247 + iteration_field: *247 '401': *23 '403': *27 '404': *6 @@ -38310,9 +38041,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *241 + - *240 - *61 - - *249 + - *248 responses: '204': description: Response @@ -38344,7 +38075,7 @@ paths: application/json: schema: type: array - items: &250 + items: &249 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -38420,7 +38151,7 @@ paths: - property_name - value_type examples: - default: &251 + default: &250 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -38479,7 +38210,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *250 + items: *249 minItems: 1 maxItems: 100 required: @@ -38509,9 +38240,9 @@ paths: application/json: schema: type: array - items: *250 + items: *249 examples: - default: *251 + default: *250 '403': *27 '404': *6 x-github: @@ -38533,7 +38264,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *61 - - &252 + - &251 name: custom_property_name description: The custom property name in: path @@ -38545,9 +38276,9 @@ paths: description: Response content: application/json: - schema: *250 + schema: *249 examples: - default: &253 + default: &252 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -38582,7 +38313,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *61 - - *252 + - *251 requestBody: required: true content: @@ -38660,9 +38391,9 @@ paths: description: Response content: application/json: - schema: *250 + schema: *249 examples: - default: *253 + default: *252 '403': *27 '404': *6 x-github: @@ -38686,7 +38417,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *61 - - *252 + - *251 responses: '204': *165 '403': *27 @@ -39214,7 +38945,7 @@ paths: description: Response content: application/json: - schema: &316 + schema: &313 title: Full Repository description: Full Repository type: object @@ -39679,7 +39410,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &447 + code_of_conduct: &444 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -39709,7 +39440,7 @@ paths: - key - name - html_url - security_and_analysis: *254 + security_and_analysis: *253 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -39793,7 +39524,7 @@ paths: - network_count - subscribers_count examples: - default: &318 + default: &315 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -40314,7 +40045,7 @@ paths: - *61 - *17 - *19 - - &565 + - &563 name: targets description: | A comma-separated list of rule targets to filter by. @@ -40333,7 +40064,7 @@ paths: application/json: schema: type: array - items: &280 + items: &279 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -40368,7 +40099,7 @@ paths: source: type: string description: The name of the source - enforcement: &257 + enforcement: &256 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -40381,7 +40112,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &258 + items: &257 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -40452,7 +40183,7 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - &255 + - &254 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -40476,7 +40207,7 @@ paths: match. items: type: string - - &259 + - &258 title: Organization ruleset conditions type: object description: |- @@ -40490,7 +40221,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *255 + - *254 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -40524,7 +40255,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *255 + - *254 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -40546,7 +40277,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *255 + - *254 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -40559,7 +40290,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &256 + items: &255 title: Repository ruleset property targeting definition type: object @@ -40592,7 +40323,7 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *256 + items: *255 required: - repository_property type: @@ -40600,12 +40331,12 @@ paths: - object rules: type: array - items: &566 + items: &564 title: Repository Rule type: object description: A repository rule. oneOf: - - &260 + - &259 title: creation description: Only allow users with bypass permission to create matching refs. @@ -40617,7 +40348,7 @@ paths: type: string enum: - creation - - &261 + - &260 title: update description: Only allow users with bypass permission to update matching refs. @@ -40638,7 +40369,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &262 + - &261 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -40650,7 +40381,7 @@ paths: type: string enum: - deletion - - &263 + - &262 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -40662,7 +40393,7 @@ paths: type: string enum: - required_linear_history - - &563 + - &561 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -40740,7 +40471,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &264 + - &263 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -40764,7 +40495,7 @@ paths: type: string required: - required_deployment_environments - - &265 + - &264 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -40776,7 +40507,7 @@ paths: type: string enum: - required_signatures - - &266 + - &265 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -40838,7 +40569,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &267 + - &266 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -40886,7 +40617,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &268 + - &267 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -40898,7 +40629,7 @@ paths: type: string enum: - non_fast_forward - - &269 + - &268 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -40934,7 +40665,7 @@ paths: required: - operator - pattern - - &270 + - &269 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -40970,7 +40701,7 @@ paths: required: - operator - pattern - - &271 + - &270 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -41006,7 +40737,7 @@ paths: required: - operator - pattern - - &272 + - &271 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -41042,7 +40773,7 @@ paths: required: - operator - pattern - - &273 + - &272 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -41078,7 +40809,7 @@ paths: required: - operator - pattern - - &274 + - &273 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -41103,7 +40834,7 @@ paths: type: string required: - restricted_file_paths - - &275 + - &274 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -41127,7 +40858,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &276 + - &275 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -41150,7 +40881,7 @@ paths: type: string required: - restricted_file_extensions - - &277 + - &276 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -41175,7 +40906,7 @@ paths: maximum: 100 required: - max_file_size - - &278 + - &277 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -41225,7 +40956,7 @@ paths: - repository_id required: - workflows - - &279 + - &278 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -41286,7 +41017,7 @@ paths: - tool required: - code_scanning_tools - - &564 + - &562 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -41384,20 +41115,21 @@ paths: - push - repository default: branch - enforcement: *257 + enforcement: *256 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *258 - conditions: *259 + items: *257 + conditions: *258 rules: type: array description: An array of rules within the ruleset. - items: &282 + items: &281 title: Repository Rule type: object description: A repository rule. oneOf: + - *259 - *260 - *261 - *262 @@ -41417,7 +41149,6 @@ paths: - *276 - *277 - *278 - - *279 required: - name - enforcement @@ -41455,9 +41186,9 @@ paths: description: Response content: application/json: - schema: *280 + schema: *279 examples: - default: &281 + default: &280 value: id: 21 name: super cool ruleset @@ -41512,7 +41243,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *61 - - &567 + - &565 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 @@ -41527,7 +41258,7 @@ paths: in: query schema: type: string - - &568 + - &566 name: time_period description: |- The time period to filter by. @@ -41543,14 +41274,14 @@ paths: - week - month default: day - - &569 + - &567 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 - - &570 + - &568 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -41570,7 +41301,7 @@ paths: description: Response content: application/json: - schema: &571 + schema: &569 title: Rule Suites description: Response type: array @@ -41626,7 +41357,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &572 + default: &570 value: - id: 21 actor_id: 12 @@ -41670,7 +41401,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *61 - - &573 + - &571 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -41686,7 +41417,7 @@ paths: description: Response content: application/json: - schema: &574 + schema: &572 title: Rule Suite description: Response type: object @@ -41793,7 +41524,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &575 + default: &573 value: id: 21 actor_id: 12 @@ -41866,9 +41597,9 @@ paths: description: Response content: application/json: - schema: *280 + schema: *279 examples: - default: *281 + default: *280 '404': *6 '500': *96 put: @@ -41912,16 +41643,16 @@ paths: - tag - push - repository - enforcement: *257 + enforcement: *256 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *258 - conditions: *259 + items: *257 + conditions: *258 rules: description: An array of rules within the ruleset. type: array - items: *282 + items: *281 examples: default: value: @@ -41956,9 +41687,9 @@ paths: description: Response content: application/json: - schema: *280 + schema: *279 examples: - default: *281 + default: *280 '404': *6 '500': *96 delete: @@ -42015,7 +41746,7 @@ paths: application/json: schema: type: array - items: &283 + items: &282 title: Ruleset version type: object description: The historical version of a ruleset @@ -42039,7 +41770,7 @@ paths: type: string format: date-time examples: - default: &577 + default: &575 value: - version_id: 3 actor: @@ -42092,9 +41823,9 @@ paths: description: Response content: application/json: - schema: &578 + schema: &576 allOf: - - *283 + - *282 - type: object required: - state @@ -42164,7 +41895,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *61 - - &579 + - &577 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -42175,7 +41906,7 @@ paths: enum: - open - resolved - - &580 + - &578 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -42185,7 +41916,7 @@ paths: required: false schema: type: string - - &581 + - &579 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -42194,7 +41925,7 @@ paths: required: false schema: type: string - - &582 + - &580 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. @@ -42209,7 +41940,7 @@ paths: - *46 - *19 - *17 - - &583 + - &581 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 @@ -42219,7 +41950,7 @@ paths: required: false schema: type: string - - &584 + - &582 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 @@ -42229,7 +41960,7 @@ paths: required: false schema: type: string - - &585 + - &583 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -42238,7 +41969,7 @@ paths: required: false schema: type: string - - &586 + - &584 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -42247,7 +41978,7 @@ paths: schema: type: boolean default: false - - &587 + - &585 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -42256,7 +41987,7 @@ paths: schema: type: boolean default: false - - &588 + - &586 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -42288,14 +42019,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &589 + state: &587 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: &590 + resolution: &588 type: - string - 'null' @@ -42402,14 +42133,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &591 + - &589 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &593 + - &591 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -42466,7 +42197,7 @@ paths: - blob_url - commit_sha - commit_url - - &594 + - &592 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. @@ -42527,7 +42258,7 @@ paths: - page_url - commit_sha - commit_url - - &595 + - &593 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -42542,7 +42273,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &596 + - &594 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -42557,7 +42288,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &597 + - &595 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -42572,7 +42303,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &598 + - &596 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -42587,7 +42318,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &599 + - &597 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -42602,7 +42333,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &600 + - &598 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -42617,7 +42348,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &601 + - &599 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. @@ -42632,7 +42363,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &602 + - &600 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. @@ -42647,7 +42378,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &603 + - &601 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. @@ -42662,7 +42393,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &604 + - &602 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. @@ -42677,7 +42408,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &605 + - &603 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 @@ -42917,7 +42648,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &285 + pattern_config_version: &284 type: - string - 'null' @@ -42927,7 +42658,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &284 + items: &283 type: object properties: token_type: @@ -42996,7 +42727,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *284 + items: *283 examples: default: value: @@ -43053,7 +42784,7 @@ paths: schema: type: object properties: - pattern_config_version: *285 + pattern_config_version: *284 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -43079,7 +42810,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *285 + custom_pattern_version: *284 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -43177,7 +42908,7 @@ paths: application/json: schema: type: array - items: &609 + items: &607 description: A repository security advisory. type: object properties: @@ -43421,7 +43152,7 @@ paths: login: type: string description: The username of the user credited. - type: *286 + type: *285 credits_detailed: type: - array @@ -43432,7 +43163,7 @@ paths: type: object properties: user: *4 - type: *286 + type: *285 state: type: string description: The state of the user's acceptance of the @@ -43496,7 +43227,7 @@ paths: - private_fork additionalProperties: false examples: - default: &610 + default: &608 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -43970,7 +43701,7 @@ paths: description: Response content: application/json: - schema: &676 + schema: &674 type: object properties: total_minutes_used: @@ -44040,7 +43771,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &677 + default: &675 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -44076,7 +43807,7 @@ paths: description: Response content: application/json: - schema: &678 + schema: &676 type: object properties: total_gigabytes_bandwidth_used: @@ -44094,7 +43825,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &679 + default: &677 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -44126,7 +43857,7 @@ paths: description: Response content: application/json: - schema: &681 + schema: &679 type: object properties: days_left_in_billing_cycle: @@ -44144,7 +43875,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &682 + default: &680 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -44429,7 +44160,7 @@ paths: type: integer network_configurations: type: array - items: &287 + items: &286 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -44554,9 +44285,9 @@ paths: description: Response content: application/json: - schema: *287 + schema: *286 examples: - default: &288 + default: &287 value: id: 123456789ABCDEF name: My network configuration @@ -44585,7 +44316,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *61 - - &289 + - &288 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -44597,9 +44328,9 @@ paths: description: Response content: application/json: - schema: *287 + schema: *286 examples: - default: *288 + default: *287 headers: Link: *52 x-github: @@ -44621,7 +44352,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *61 - - *289 + - *288 requestBody: required: true content: @@ -44660,9 +44391,9 @@ paths: description: Response content: application/json: - schema: *287 + schema: *286 examples: - default: *288 + default: *287 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44682,7 +44413,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *61 - - *289 + - *288 responses: '204': description: Response @@ -44827,13 +44558,13 @@ paths: application/json: schema: type: array - items: *290 + items: *289 examples: - default: *291 + default: *290 '500': *96 '403': *27 '404': *6 - '422': *292 + '422': *291 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44957,7 +44688,7 @@ paths: description: Response content: application/json: - schema: &293 + schema: &292 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -45356,7 +45087,7 @@ paths: - repos_count - organization examples: - default: &294 + default: &293 value: id: 1 node_id: MDQ6VGVhbTE= @@ -45433,9 +45164,9 @@ paths: description: Response content: application/json: - schema: *293 + schema: *292 examples: - default: *294 + default: *293 '404': *6 x-github: githubCloudOnly: false @@ -45520,16 +45251,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *293 + schema: *292 examples: - default: *294 + default: *293 '201': description: Response content: application/json: - schema: *293 + schema: *292 examples: - default: *294 + default: *293 '404': *6 '422': *15 '403': *27 @@ -45599,7 +45330,7 @@ paths: application/json: schema: type: array - items: &295 + items: &294 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -45710,7 +45441,7 @@ paths: - updated_at - url examples: - default: &627 + default: &625 value: - author: login: octocat @@ -45819,9 +45550,9 @@ paths: description: Response content: application/json: - schema: *295 + schema: *294 examples: - default: &296 + default: &295 value: author: login: octocat @@ -45895,7 +45626,7 @@ paths: parameters: - *61 - *62 - - &297 + - &296 name: discussion_number description: The number that identifies the discussion. in: path @@ -45907,9 +45638,9 @@ paths: description: Response content: application/json: - schema: *295 + schema: *294 examples: - default: *296 + default: *295 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45933,7 +45664,7 @@ paths: parameters: - *61 - *62 - - *297 + - *296 requestBody: required: false content: @@ -45956,9 +45687,9 @@ paths: description: Response content: application/json: - schema: *295 + schema: *294 examples: - default: &628 + default: &626 value: author: login: octocat @@ -46030,7 +45761,7 @@ paths: parameters: - *61 - *62 - - *297 + - *296 responses: '204': description: Response @@ -46058,7 +45789,7 @@ paths: parameters: - *61 - *62 - - *297 + - *296 - *46 - *17 - *19 @@ -46069,7 +45800,7 @@ paths: application/json: schema: type: array - items: &298 + items: &297 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -46149,7 +45880,7 @@ paths: - updated_at - url examples: - default: &629 + default: &627 value: - author: login: octocat @@ -46219,7 +45950,7 @@ paths: parameters: - *61 - *62 - - *297 + - *296 requestBody: required: true content: @@ -46241,9 +45972,9 @@ paths: description: Response content: application/json: - schema: *298 + schema: *297 examples: - default: &299 + default: &298 value: author: login: octocat @@ -46311,8 +46042,8 @@ paths: parameters: - *61 - *62 - - *297 - - &300 + - *296 + - &299 name: comment_number description: The number that identifies the comment. in: path @@ -46324,9 +46055,9 @@ paths: description: Response content: application/json: - schema: *298 + schema: *297 examples: - default: *299 + default: *298 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46350,8 +46081,8 @@ paths: parameters: - *61 - *62 - - *297 - - *300 + - *296 + - *299 requestBody: required: true content: @@ -46373,9 +46104,9 @@ paths: description: Response content: application/json: - schema: *298 + schema: *297 examples: - default: &630 + default: &628 value: author: login: octocat @@ -46441,8 +46172,8 @@ paths: parameters: - *61 - *62 - - *297 - - *300 + - *296 + - *299 responses: '204': description: Response @@ -46470,8 +46201,8 @@ paths: parameters: - *61 - *62 - - *297 - - *300 + - *296 + - *299 - 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. @@ -46497,7 +46228,7 @@ paths: application/json: schema: type: array - items: &301 + items: &300 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -46541,7 +46272,7 @@ paths: - content - created_at examples: - default: &303 + default: &302 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -46593,8 +46324,8 @@ paths: parameters: - *61 - *62 - - *297 - - *300 + - *296 + - *299 requestBody: required: true content: @@ -46627,9 +46358,9 @@ paths: team discussion comment content: application/json: - schema: *301 + schema: *300 examples: - default: &302 + default: &301 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -46658,9 +46389,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *300 examples: - default: *302 + default: *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46685,9 +46416,9 @@ paths: parameters: - *61 - *62 - - *297 - - *300 - - &304 + - *296 + - *299 + - &303 name: reaction_id description: The unique identifier of the reaction. in: path @@ -46721,7 +46452,7 @@ paths: parameters: - *61 - *62 - - *297 + - *296 - 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. @@ -46747,9 +46478,9 @@ paths: application/json: schema: type: array - items: *301 + items: *300 examples: - default: *303 + default: *302 headers: Link: *52 x-github: @@ -46777,7 +46508,7 @@ paths: parameters: - *61 - *62 - - *297 + - *296 requestBody: required: true content: @@ -46809,16 +46540,16 @@ paths: description: Response content: application/json: - schema: *301 + schema: *300 examples: - default: *302 + default: *301 '201': description: Response content: application/json: - schema: *301 + schema: *300 examples: - default: *302 + default: *301 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -46843,8 +46574,8 @@ paths: parameters: - *61 - *62 - - *297 - - *304 + - *296 + - *303 responses: '204': description: Response @@ -46965,7 +46696,7 @@ paths: description: Response content: application/json: - schema: &305 + schema: &304 title: Team Membership description: Team Membership type: object @@ -46993,7 +46724,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &631 + response-if-user-is-a-team-maintainer: &629 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -47056,9 +46787,9 @@ paths: description: Response content: application/json: - schema: *305 + schema: *304 examples: - response-if-users-membership-with-team-is-now-pending: &632 + response-if-users-membership-with-team-is-now-pending: &630 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -47131,7 +46862,7 @@ paths: application/json: schema: type: array - items: &306 + items: &305 title: Team Project description: A team's access to a project. type: object @@ -47200,7 +46931,7 @@ paths: - updated_at - permissions examples: - default: &633 + default: &631 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -47265,7 +46996,7 @@ paths: parameters: - *61 - *62 - - &307 + - &306 name: project_id description: The unique identifier of the project. in: path @@ -47277,9 +47008,9 @@ paths: description: Response content: application/json: - schema: *306 + schema: *305 examples: - default: &634 + default: &632 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -47343,7 +47074,7 @@ paths: parameters: - *61 - *62 - - *307 + - *306 requestBody: required: false content: @@ -47412,7 +47143,7 @@ paths: parameters: - *61 - *62 - - *307 + - *306 responses: '204': description: Response @@ -47483,14 +47214,14 @@ paths: parameters: - *61 - *62 + - *307 - *308 - - *309 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &635 + schema: &633 title: Team Repository description: A team's access to a repository. type: object @@ -48133,8 +47864,8 @@ paths: parameters: - *61 - *62 + - *307 - *308 - - *309 requestBody: required: false content: @@ -48181,8 +47912,8 @@ paths: parameters: - *61 - *62 + - *307 - *308 - - *309 responses: '204': description: Response @@ -48219,7 +47950,7 @@ paths: type: array items: *169 examples: - response-if-child-teams-exist: &636 + response-if-child-teams-exist: &634 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -48346,7 +48077,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#get-a-project-column parameters: - - &310 + - &309 name: column_id description: The unique identifier of the column. in: path @@ -48358,7 +48089,7 @@ paths: description: Response content: application/json: - schema: &311 + schema: &310 title: Project Column description: Project columns contain cards of work. type: object @@ -48412,7 +48143,7 @@ paths: - created_at - updated_at examples: - default: &312 + default: &311 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -48447,7 +48178,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#update-an-existing-project-column parameters: - - *310 + - *309 requestBody: required: true content: @@ -48472,9 +48203,9 @@ paths: description: Response content: application/json: - schema: *311 + schema: *310 examples: - default: *312 + default: *311 '304': *35 '403': *27 '401': *23 @@ -48499,7 +48230,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#delete-a-project-column parameters: - - *310 + - *309 responses: '204': description: Response @@ -48528,7 +48259,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#move-a-project-column parameters: - - *310 + - *309 requestBody: required: true content: @@ -48575,211 +48306,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: - - *307 - responses: - '200': - description: Response - content: - application/json: - schema: *238 - examples: - default: &313 - 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': *35 - '403': *27 - '401': *23 - 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: - - *307 - requestBody: - required: false - content: - application/json: - schema: - properties: - name: - description: Name of the project - type: string - examples: - - Week One Sprint - body: - description: Body of the project - type: - - string - - 'null' - examples: - - This project represents the sprint of the first week in January - state: - description: State of the project; either 'open' or 'closed' - type: string - examples: - - open - 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: *238 - examples: - default: *313 - '404': - description: Not Found if the authenticated user does not have access to - the project - '304': *35 - '403': - description: Forbidden - content: - application/json: - schema: - type: object - properties: - message: - type: string - documentation_url: - type: string - errors: - type: array - items: - type: string - '401': *23 - '410': *314 - '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: - - *307 - responses: - '204': - description: Delete Success - '304': *35 - '403': - description: Forbidden - content: - application/json: - schema: - type: object - properties: - message: - type: string - documentation_url: - type: string - errors: - type: array - items: - type: string - '401': *23 - '410': *314 - '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 @@ -48794,7 +48320,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#list-project-collaborators parameters: - - *307 + - *306 - 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 @@ -48851,7 +48377,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#add-project-collaborator parameters: - - *307 + - *306 - *57 requestBody: required: false @@ -48906,7 +48432,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *307 + - *306 - *57 responses: '204': @@ -48938,7 +48464,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *307 + - *306 - *57 responses: '200': @@ -49036,7 +48562,7 @@ paths: resources: type: object properties: - core: &315 + core: &312 title: Rate Limit type: object properties: @@ -49053,21 +48579,21 @@ paths: - remaining - reset - used - graphql: *315 - search: *315 - code_search: *315 - source_import: *315 - integration_manifest: *315 - code_scanning_upload: *315 - actions_runner_registration: *315 - scim: *315 - dependency_snapshots: *315 - dependency_sbom: *315 - code_scanning_autofix: *315 + graphql: *312 + search: *312 + code_search: *312 + source_import: *312 + integration_manifest: *312 + code_scanning_upload: *312 + actions_runner_registration: *312 + scim: *312 + dependency_snapshots: *312 + dependency_sbom: *312 + code_scanning_autofix: *312 required: - core - search - rate: *315 + rate: *312 required: - rate - resources @@ -49172,14 +48698,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: + - *307 - *308 - - *309 responses: '200': description: Response content: application/json: - schema: *316 + schema: *313 examples: default-response: summary: Default response @@ -49680,7 +49206,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *317 + '301': *314 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49698,8 +49224,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: + - *307 - *308 - - *309 requestBody: required: false content: @@ -49947,10 +49473,10 @@ paths: description: Response content: application/json: - schema: *316 + schema: *313 examples: - default: *318 - '307': &319 + default: *315 + '307': &316 description: Temporary Redirect content: application/json: @@ -49979,8 +49505,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: + - *307 - *308 - - *309 responses: '204': description: Response @@ -50002,7 +49528,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *319 + '307': *316 '404': *6 '409': *45 x-github: @@ -50026,11 +49552,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: + - *307 - *308 - - *309 - *17 - *19 - - &350 + - &347 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -50053,7 +49579,7 @@ paths: type: integer artifacts: type: array - items: &320 + items: &317 title: Artifact description: An artifact type: object @@ -50148,7 +49674,7 @@ paths: - expires_at - updated_at examples: - default: &351 + default: &348 value: total_count: 2 artifacts: @@ -50209,9 +49735,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: + - *307 - *308 - - *309 - - &321 + - &318 name: artifact_id description: The unique identifier of the artifact. in: path @@ -50223,7 +49749,7 @@ paths: description: Response content: application/json: - schema: *320 + schema: *317 examples: default: value: @@ -50261,9 +49787,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: + - *307 - *308 - - *309 - - *321 + - *318 responses: '204': description: Response @@ -50287,9 +49813,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: + - *307 - *308 - - *309 - - *321 + - *318 - name: archive_format in: path required: true @@ -50303,7 +49829,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': *314 + '410': &498 + description: Gone + content: + application/json: + schema: *3 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50326,14 +49856,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: + - *307 - *308 - - *309 responses: '200': description: Response content: application/json: - schema: *322 + schema: *319 examples: default: value: @@ -50359,11 +49889,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: + - *307 - *308 - - *309 - *17 - *19 - - &323 + - &320 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 @@ -50397,7 +49927,7 @@ paths: description: Response content: application/json: - schema: &324 + schema: &321 title: Repository actions caches description: Repository actions caches type: object @@ -50447,7 +49977,7 @@ paths: - total_count - actions_caches examples: - default: &325 + default: &322 value: total_count: 1 actions_caches: @@ -50479,23 +50009,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: + - *307 - *308 - - *309 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *323 + - *320 responses: '200': description: Response content: application/json: - schema: *324 + schema: *321 examples: - default: *325 + default: *322 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50515,8 +50045,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: + - *307 - *308 - - *309 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -50547,9 +50077,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: + - *307 - *308 - - *309 - - &326 + - &323 name: job_id description: The unique identifier of the job. in: path @@ -50561,7 +50091,7 @@ paths: description: Response content: application/json: - schema: &354 + schema: &351 title: Job description: Information of a job execution in a workflow run type: object @@ -50908,9 +50438,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: + - *307 - *308 - - *309 - - *326 + - *323 responses: '302': description: Response @@ -50938,9 +50468,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: + - *307 - *308 - - *309 - - *326 + - *323 requestBody: required: false content: @@ -50986,8 +50516,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: + - *307 - *308 - - *309 responses: '200': description: Status response @@ -51037,8 +50567,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: + - *307 - *308 - - *309 requestBody: required: true content: @@ -51101,8 +50631,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: + - *307 - *308 - - *309 - *17 - *19 responses: @@ -51120,7 +50650,7 @@ paths: type: integer secrets: type: array - items: &356 + items: &353 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -51141,7 +50671,7 @@ paths: - created_at - updated_at examples: - default: &357 + default: &354 value: total_count: 2 secrets: @@ -51174,9 +50704,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: + - *307 - *308 - - *309 - - *327 + - *324 - *19 responses: '200': @@ -51193,7 +50723,7 @@ paths: type: integer variables: type: array - items: &360 + items: &357 title: Actions Variable type: object properties: @@ -51227,7 +50757,7 @@ paths: - created_at - updated_at examples: - default: &361 + default: &358 value: total_count: 2 variables: @@ -51260,8 +50790,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: + - *307 - *308 - - *309 responses: '200': description: Response @@ -51270,11 +50800,11 @@ paths: schema: type: object properties: - enabled: &329 + enabled: &326 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *120 - selected_actions_url: *328 + selected_actions_url: *325 sha_pinning_required: *121 required: - enabled @@ -51303,8 +50833,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: + - *307 - *308 - - *309 responses: '204': description: Response @@ -51315,7 +50845,7 @@ paths: schema: type: object properties: - enabled: *329 + enabled: *326 allowed_actions: *120 sha_pinning_required: *121 required: @@ -51347,14 +50877,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: + - *307 - *308 - - *309 responses: '200': description: Response content: application/json: - schema: &330 + schema: &327 type: object properties: access_level: @@ -51371,7 +50901,7 @@ paths: required: - access_level examples: - default: &331 + default: &328 value: access_level: organization x-github: @@ -51395,15 +50925,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: + - *307 - *308 - - *309 requestBody: required: true content: application/json: - schema: *330 + schema: *327 examples: - default: *331 + default: *328 responses: '204': description: Response @@ -51427,14 +50957,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: + - *307 - *308 - - *309 responses: '200': description: Response content: application/json: - schema: *332 + schema: *329 examples: default: value: @@ -51458,8 +50988,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: + - *307 - *308 - - *309 responses: '204': description: Empty response for successful settings update @@ -51469,7 +50999,7 @@ paths: required: true content: application/json: - schema: *333 + schema: *330 examples: default: summary: Set retention days @@ -51493,8 +51023,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: + - *307 - *308 - - *309 responses: '200': description: Response @@ -51502,7 +51032,7 @@ paths: application/json: schema: *122 examples: - default: *334 + default: *331 '404': *6 x-github: enabledForGitHubApps: true @@ -51521,8 +51051,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: + - *307 - *308 - - *309 responses: '204': description: Response @@ -51556,14 +51086,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: + - *307 - *308 - - *309 responses: '200': description: Response content: application/json: - schema: *335 + schema: *332 examples: default: *123 '403': *27 @@ -51585,13 +51115,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: + - *307 - *308 - - *309 requestBody: required: true content: application/json: - schema: *336 + schema: *333 examples: default: *123 responses: @@ -51617,8 +51147,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: + - *307 - *308 - - *309 responses: '200': description: Response @@ -51645,8 +51175,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: + - *307 - *308 - - *309 responses: '204': description: Response @@ -51678,14 +51208,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: + - *307 - *308 - - *309 responses: '200': description: Response content: application/json: - schema: *337 + schema: *334 examples: default: *130 x-github: @@ -51708,8 +51238,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: + - *307 - *308 - - *309 responses: '204': description: Success response @@ -51720,7 +51250,7 @@ paths: required: true content: application/json: - schema: *338 + schema: *335 examples: default: *130 x-github: @@ -51749,8 +51279,8 @@ paths: in: query schema: type: string + - *307 - *308 - - *309 - *17 - *19 responses: @@ -51794,8 +51324,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: + - *307 - *308 - - *309 responses: '200': description: Response @@ -51803,9 +51333,9 @@ paths: application/json: schema: type: array - items: *339 + items: *336 examples: - default: *340 + default: *337 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51827,8 +51357,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: + - *307 - *308 - - *309 requestBody: required: true content: @@ -51871,7 +51401,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *341 + '201': *338 '404': *6 '422': *7 '409': *45 @@ -51902,8 +51432,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: + - *307 - *308 - - *309 responses: '201': description: Response @@ -51911,7 +51441,7 @@ paths: application/json: schema: *139 examples: - default: *342 + default: *339 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51939,8 +51469,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: + - *307 - *308 - - *309 responses: '201': description: Response @@ -51948,7 +51478,7 @@ paths: application/json: schema: *139 examples: - default: *343 + default: *340 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51970,8 +51500,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: + - *307 - *308 - - *309 - *136 responses: '200': @@ -51980,7 +51510,7 @@ paths: application/json: schema: *137 examples: - default: *344 + default: *341 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52001,8 +51531,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: + - *307 - *308 - - *309 - *136 responses: '204': @@ -52029,8 +51559,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: + - *307 - *308 - - *309 - *136 responses: '200': *141 @@ -52055,8 +51585,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: + - *307 - *308 - - *309 - *136 requestBody: required: true @@ -52105,8 +51635,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: + - *307 - *308 - - *309 - *136 requestBody: required: true @@ -52156,11 +51686,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: + - *307 - *308 - - *309 - *136 responses: - '200': *345 + '200': *342 '404': *6 x-github: githubCloudOnly: false @@ -52187,10 +51717,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: + - *307 - *308 - - *309 - *136 - - *346 + - *343 responses: '200': *141 '404': *6 @@ -52218,9 +51748,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: + - *307 - *308 - - *309 - - &364 + - &361 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. @@ -52228,7 +51758,7 @@ paths: required: false schema: type: string - - &365 + - &362 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -52236,7 +51766,7 @@ paths: required: false schema: type: string - - &366 + - &363 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -52245,7 +51775,7 @@ paths: required: false schema: type: string - - &367 + - &364 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 @@ -52272,7 +51802,7 @@ paths: - pending - *17 - *19 - - &368 + - &365 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)." @@ -52281,7 +51811,7 @@ paths: schema: type: string format: date-time - - &347 + - &344 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -52290,13 +51820,13 @@ paths: schema: type: boolean default: false - - &369 + - &366 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &370 + - &367 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -52319,7 +51849,7 @@ paths: type: integer workflow_runs: type: array - items: &348 + items: &345 title: Workflow Run description: An invocation of a workflow type: object @@ -52436,7 +51966,7 @@ paths: type: - array - 'null' - items: &389 + items: &386 title: Pull Request Minimal type: object properties: @@ -52563,7 +52093,7 @@ paths: head_commit: anyOf: - type: 'null' - - &393 + - &390 title: Simple Commit description: A commit. type: object @@ -52678,7 +52208,7 @@ paths: - workflow_url - pull_requests examples: - default: &371 + default: &368 value: total_count: 1 workflow_runs: @@ -52914,24 +52444,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: + - *307 - *308 - - *309 - - &349 + - &346 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *347 + - *344 responses: '200': description: Response content: application/json: - schema: *348 + schema: *345 examples: - default: &352 + default: &349 value: id: 30433642 name: Build @@ -53172,9 +52702,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: + - *307 - *308 - - *309 - - *349 + - *346 responses: '204': description: Response @@ -53197,9 +52727,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: + - *307 - *308 - - *309 - - *349 + - *346 responses: '200': description: Response @@ -53327,9 +52857,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: + - *307 - *308 - - *309 - - *349 + - *346 responses: '201': description: Response @@ -53362,12 +52892,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: + - *307 - *308 - - *309 - - *349 + - *346 - *17 - *19 - - *350 + - *347 responses: '200': description: Response @@ -53383,9 +52913,9 @@ paths: type: integer artifacts: type: array - items: *320 + items: *317 examples: - default: *351 + default: *348 headers: Link: *52 x-github: @@ -53409,25 +52939,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: + - *307 - *308 - - *309 - - *349 - - &353 + - *346 + - &350 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *347 + - *344 responses: '200': description: Response content: application/json: - schema: *348 + schema: *345 examples: - default: *352 + default: *349 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53450,10 +52980,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: + - *307 - *308 - - *309 - - *349 - - *353 + - *346 + - *350 - *17 - *19 responses: @@ -53471,9 +53001,9 @@ paths: type: integer jobs: type: array - items: *354 + items: *351 examples: - default: &355 + default: &352 value: total_count: 1 jobs: @@ -53586,10 +53116,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: + - *307 - *308 - - *309 - - *349 - - *353 + - *346 + - *350 responses: '302': description: Response @@ -53617,9 +53147,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: + - *307 - *308 - - *309 - - *349 + - *346 responses: '202': description: Response @@ -53652,9 +53182,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: + - *307 - *308 - - *309 - - *349 + - *346 requestBody: required: true content: @@ -53721,9 +53251,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: + - *307 - *308 - - *309 - - *349 + - *346 responses: '202': description: Response @@ -53756,9 +53286,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: + - *307 - *308 - - *309 - - *349 + - *346 - 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 @@ -53788,9 +53318,9 @@ paths: type: integer jobs: type: array - items: *354 + items: *351 examples: - default: *355 + default: *352 headers: Link: *52 x-github: @@ -53815,9 +53345,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: + - *307 - *308 - - *309 - - *349 + - *346 responses: '302': description: Response @@ -53844,9 +53374,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: + - *307 - *308 - - *309 - - *349 + - *346 responses: '204': description: Response @@ -53873,9 +53403,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: + - *307 - *308 - - *309 - - *349 + - *346 responses: '200': description: Response @@ -53944,7 +53474,7 @@ paths: items: type: object properties: - type: &467 + type: &464 type: string description: The type of reviewer. enum: @@ -54030,9 +53560,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: + - *307 - *308 - - *309 - - *349 + - *346 requestBody: required: true content: @@ -54082,7 +53612,7 @@ paths: application/json: schema: type: array - items: &462 + items: &459 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -54194,7 +53724,7 @@ paths: - created_at - updated_at examples: - default: &463 + default: &460 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -54250,9 +53780,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: + - *307 - *308 - - *309 - - *349 + - *346 requestBody: required: false content: @@ -54297,9 +53827,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: + - *307 - *308 - - *309 - - *349 + - *346 requestBody: required: false content: @@ -54353,9 +53883,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: + - *307 - *308 - - *309 - - *349 + - *346 responses: '200': description: Response @@ -54492,8 +54022,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: + - *307 - *308 - - *309 - *17 - *19 responses: @@ -54511,9 +54041,9 @@ paths: type: integer secrets: type: array - items: *356 + items: *353 examples: - default: *357 + default: *354 headers: Link: *52 x-github: @@ -54538,16 +54068,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: + - *307 - *308 - - *309 responses: '200': description: Response content: application/json: - schema: *358 + schema: *355 examples: - default: *359 + default: *356 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54569,17 +54099,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: + - *307 - *308 - - *309 - *143 responses: '200': description: Response content: application/json: - schema: *356 + schema: *353 examples: - default: &480 + default: &477 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -54605,8 +54135,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: + - *307 - *308 - - *309 - *143 requestBody: required: true @@ -54664,8 +54194,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: + - *307 - *308 - - *309 - *143 responses: '204': @@ -54691,9 +54221,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: + - *307 - *308 - - *309 - - *327 + - *324 - *19 responses: '200': @@ -54710,9 +54240,9 @@ paths: type: integer variables: type: array - items: *360 + items: *357 examples: - default: *361 + default: *358 headers: Link: *52 x-github: @@ -54735,8 +54265,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -54788,17 +54318,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: + - *307 - *308 - - *309 - *146 responses: '200': description: Response content: application/json: - schema: *360 + schema: *357 examples: - default: &481 + default: &478 value: name: USERNAME value: octocat @@ -54824,8 +54354,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: + - *307 - *308 - - *309 - *146 requestBody: required: true @@ -54868,8 +54398,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: + - *307 - *308 - - *309 - *146 responses: '204': @@ -54895,8 +54425,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: + - *307 - *308 - - *309 - *17 - *19 responses: @@ -54914,7 +54444,7 @@ paths: type: integer workflows: type: array - items: &362 + items: &359 title: Workflow description: A GitHub Actions workflow type: object @@ -55032,9 +54562,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: + - *307 - *308 - - *309 - - &363 + - &360 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -55049,7 +54579,7 @@ paths: description: Response content: application/json: - schema: *362 + schema: *359 examples: default: value: @@ -55082,9 +54612,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: + - *307 - *308 - - *309 - - *363 + - *360 responses: '204': description: Response @@ -55109,9 +54639,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: + - *307 - *308 - - *309 - - *363 + - *360 responses: '204': description: Response @@ -55162,9 +54692,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: + - *307 - *308 - - *309 - - *363 + - *360 responses: '204': description: Response @@ -55191,19 +54721,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: + - *307 - *308 - - *309 + - *360 + - *361 + - *362 - *363 - *364 + - *17 + - *19 - *365 + - *344 - *366 - *367 - - *17 - - *19 - - *368 - - *347 - - *369 - - *370 responses: '200': description: Response @@ -55219,9 +54749,9 @@ paths: type: integer workflow_runs: type: array - items: *348 + items: *345 examples: - default: *371 + default: *368 headers: Link: *52 x-github: @@ -55253,9 +54783,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: + - *307 - *308 - - *309 - - *363 + - *360 responses: '200': description: Response @@ -55316,8 +54846,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: + - *307 - *308 - - *309 - *46 - *17 - *38 @@ -55485,8 +55015,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: + - *307 - *308 - - *309 - *17 - *19 responses: @@ -55523,8 +55053,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: + - *307 - *308 - - *309 - name: assignee in: path required: true @@ -55560,8 +55090,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -55673,8 +55203,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: + - *307 - *308 - - *309 - *17 - *38 - *39 @@ -55731,7 +55261,7 @@ paths: initiator: type: string examples: - default: *372 + default: *369 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55751,8 +55281,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: + - *307 - *308 - - *309 responses: '200': description: Response @@ -55760,7 +55290,7 @@ paths: application/json: schema: type: array - items: &373 + items: &370 title: Autolink reference description: An autolink reference. type: object @@ -55819,8 +55349,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -55859,9 +55389,9 @@ paths: description: response content: application/json: - schema: *373 + schema: *370 examples: - default: &374 + default: &371 value: id: 1 key_prefix: TICKET- @@ -55892,9 +55422,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: + - *307 - *308 - - *309 - - &375 + - &372 name: autolink_id description: The unique identifier of the autolink. in: path @@ -55906,9 +55436,9 @@ paths: description: Response content: application/json: - schema: *373 + schema: *370 examples: - default: *374 + default: *371 '404': *6 x-github: githubCloudOnly: false @@ -55928,9 +55458,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: + - *307 - *308 - - *309 - - *375 + - *372 responses: '204': description: Response @@ -55954,8 +55484,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: + - *307 - *308 - - *309 responses: '200': description: Response if Dependabot is enabled @@ -56005,8 +55535,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: + - *307 - *308 - - *309 responses: '204': description: Response @@ -56027,8 +55557,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: + - *307 - *308 - - *309 responses: '204': description: Response @@ -56048,8 +55578,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: + - *307 - *308 - - *309 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -56087,7 +55617,7 @@ paths: - url protected: type: boolean - protection: &377 + protection: &374 title: Branch Protection description: Branch Protection type: object @@ -56130,7 +55660,7 @@ paths: required: - contexts - checks - enforce_admins: &380 + enforce_admins: &377 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -56147,7 +55677,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &382 + required_pull_request_reviews: &379 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -56231,7 +55761,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &379 + restrictions: &376 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -56524,9 +56054,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: + - *307 - *308 - - *309 - - &378 + - &375 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). @@ -56540,14 +56070,14 @@ paths: description: Response content: application/json: - schema: &388 + schema: &385 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &438 + commit: &435 title: Commit description: Commit type: object @@ -56586,7 +56116,7 @@ paths: author: anyOf: - type: 'null' - - &376 + - &373 title: Git User description: Metaproperties for Git author/committer information. @@ -56607,7 +56137,7 @@ paths: committer: anyOf: - type: 'null' - - *376 + - *373 message: type: string examples: @@ -56631,7 +56161,7 @@ paths: required: - sha - url - verification: &487 + verification: &484 title: Verification type: object properties: @@ -56711,7 +56241,7 @@ paths: type: integer files: type: array - items: &449 + items: &446 title: Diff Entry description: Diff Entry type: object @@ -56807,7 +56337,7 @@ paths: - self protected: type: boolean - protection: *377 + protection: *374 protection_url: type: string format: uri @@ -56916,7 +56446,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *317 + '301': *314 '404': *6 x-github: githubCloudOnly: false @@ -56938,15 +56468,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: + - *307 - *308 - - *309 - - *378 + - *375 responses: '200': description: Response content: application/json: - schema: *377 + schema: *374 examples: default: value: @@ -57140,9 +56670,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: + - *307 - *308 - - *309 - - *378 + - *375 requestBody: required: true content: @@ -57402,7 +56932,7 @@ paths: url: type: string format: uri - required_status_checks: &385 + required_status_checks: &382 title: Status Check Policy description: Status Check Policy type: object @@ -57561,7 +57091,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *379 + restrictions: *376 required_conversation_resolution: type: object properties: @@ -57673,9 +57203,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: + - *307 - *308 - - *309 - - *378 + - *375 responses: '204': description: Response @@ -57700,17 +57230,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: + - *307 - *308 - - *309 - - *378 + - *375 responses: '200': description: Response content: application/json: - schema: *380 + schema: *377 examples: - default: &381 + default: &378 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -57732,17 +57262,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: + - *307 - *308 - - *309 - - *378 + - *375 responses: '200': description: Response content: application/json: - schema: *380 + schema: *377 examples: - default: *381 + default: *378 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57761,9 +57291,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: + - *307 - *308 - - *309 - - *378 + - *375 responses: '204': description: Response @@ -57788,17 +57318,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: + - *307 - *308 - - *309 - - *378 + - *375 responses: '200': description: Response content: application/json: - schema: *382 + schema: *379 examples: - default: &383 + default: &380 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -57894,9 +57424,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: + - *307 - *308 - - *309 - - *378 + - *375 requestBody: required: false content: @@ -57994,9 +57524,9 @@ paths: description: Response content: application/json: - schema: *382 + schema: *379 examples: - default: *383 + default: *380 '422': *15 x-github: githubCloudOnly: false @@ -58017,9 +57547,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: + - *307 - *308 - - *309 - - *378 + - *375 responses: '204': description: Response @@ -58046,17 +57576,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: + - *307 - *308 - - *309 - - *378 + - *375 responses: '200': description: Response content: application/json: - schema: *380 + schema: *377 examples: - default: &384 + default: &381 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -58079,17 +57609,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: + - *307 - *308 - - *309 - - *378 + - *375 responses: '200': description: Response content: application/json: - schema: *380 + schema: *377 examples: - default: *384 + default: *381 '404': *6 x-github: githubCloudOnly: false @@ -58109,9 +57639,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: + - *307 - *308 - - *309 - - *378 + - *375 responses: '204': description: Response @@ -58136,17 +57666,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: + - *307 - *308 - - *309 - - *378 + - *375 responses: '200': description: Response content: application/json: - schema: *385 + schema: *382 examples: - default: &386 + default: &383 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -58172,9 +57702,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: + - *307 - *308 - - *309 - - *378 + - *375 requestBody: required: false content: @@ -58226,9 +57756,9 @@ paths: description: Response content: application/json: - schema: *385 + schema: *382 examples: - default: *386 + default: *383 '404': *6 '422': *15 x-github: @@ -58250,9 +57780,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: + - *307 - *308 - - *309 - - *378 + - *375 responses: '204': description: Response @@ -58276,9 +57806,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: + - *307 - *308 - - *309 - - *378 + - *375 responses: '200': description: Response @@ -58312,9 +57842,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: + - *307 - *308 - - *309 - - *378 + - *375 requestBody: required: false content: @@ -58381,9 +57911,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: + - *307 - *308 - - *309 - - *378 + - *375 requestBody: required: false content: @@ -58447,9 +57977,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: + - *307 - *308 - - *309 - - *378 + - *375 requestBody: content: application/json: @@ -58515,15 +58045,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: + - *307 - *308 - - *309 - - *378 + - *375 responses: '200': description: Response content: application/json: - schema: *379 + schema: *376 examples: default: value: @@ -58614,9 +58144,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: + - *307 - *308 - - *309 - - *378 + - *375 responses: '204': description: Response @@ -58639,9 +58169,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: + - *307 - *308 - - *309 - - *378 + - *375 responses: '200': description: Response @@ -58651,7 +58181,7 @@ paths: type: array items: *5 examples: - default: &387 + default: &384 value: - id: 1 slug: octoapp @@ -58708,9 +58238,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: + - *307 - *308 - - *309 - - *378 + - *375 requestBody: required: true content: @@ -58744,7 +58274,7 @@ paths: type: array items: *5 examples: - default: *387 + default: *384 '422': *15 x-github: githubCloudOnly: false @@ -58765,9 +58295,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: + - *307 - *308 - - *309 - - *378 + - *375 requestBody: required: true content: @@ -58801,7 +58331,7 @@ paths: type: array items: *5 examples: - default: *387 + default: *384 '422': *15 x-github: githubCloudOnly: false @@ -58822,9 +58352,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: + - *307 - *308 - - *309 - - *378 + - *375 requestBody: required: true content: @@ -58858,7 +58388,7 @@ paths: type: array items: *5 examples: - default: *387 + default: *384 '422': *15 x-github: githubCloudOnly: false @@ -58880,9 +58410,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: + - *307 - *308 - - *309 - - *378 + - *375 responses: '200': description: Response @@ -58912,9 +58442,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: + - *307 - *308 - - *309 - - *378 + - *375 requestBody: required: false content: @@ -58973,9 +58503,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: + - *307 - *308 - - *309 - - *378 + - *375 requestBody: required: false content: @@ -59034,9 +58564,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: + - *307 - *308 - - *309 - - *378 + - *375 requestBody: content: application/json: @@ -59095,9 +58625,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: + - *307 - *308 - - *309 - - *378 + - *375 responses: '200': description: Response @@ -59131,9 +58661,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: + - *307 - *308 - - *309 - - *378 + - *375 requestBody: required: true content: @@ -59191,9 +58721,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: + - *307 - *308 - - *309 - - *378 + - *375 requestBody: required: true content: @@ -59251,9 +58781,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: + - *307 - *308 - - *309 - - *378 + - *375 requestBody: required: true content: @@ -59313,9 +58843,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: + - *307 - *308 - - *309 - - *378 + - *375 requestBody: required: true content: @@ -59337,7 +58867,7 @@ paths: description: Response content: application/json: - schema: *388 + schema: *385 examples: default: value: @@ -59453,8 +58983,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -59733,7 +59263,7 @@ paths: description: Response content: application/json: - schema: &390 + schema: &387 title: CheckRun description: A check performed on the code of a given code change type: object @@ -59868,8 +59398,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *389 - deployment: &694 + items: *386 + deployment: &692 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -60156,9 +59686,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: + - *307 - *308 - - *309 - - &391 + - &388 name: check_run_id description: The unique identifier of the check run. in: path @@ -60170,9 +59700,9 @@ paths: description: Response content: application/json: - schema: *390 + schema: *387 examples: - default: &392 + default: &389 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -60272,9 +59802,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: + - *307 - *308 - - *309 - - *391 + - *388 requestBody: required: true content: @@ -60514,9 +60044,9 @@ paths: description: Response content: application/json: - schema: *390 + schema: *387 examples: - default: *392 + default: *389 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60536,9 +60066,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: + - *307 - *308 - - *309 - - *391 + - *388 - *17 - *19 responses: @@ -60648,9 +60178,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: + - *307 - *308 - - *309 - - *391 + - *388 responses: '201': description: Response @@ -60694,8 +60224,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -60717,7 +60247,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &394 + schema: &391 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -60799,7 +60329,7 @@ paths: type: - array - 'null' - items: *389 + items: *386 app: anyOf: - type: 'null' @@ -60815,7 +60345,7 @@ paths: - string - 'null' format: date-time - head_commit: *393 + head_commit: *390 latest_check_runs_count: type: integer check_runs_url: @@ -60843,7 +60373,7 @@ paths: - check_runs_url - pull_requests examples: - default: &395 + default: &392 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -61134,9 +60664,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *394 + schema: *391 examples: - default: *395 + default: *392 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61155,8 +60685,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -61465,9 +60995,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: + - *307 - *308 - - *309 - - &396 + - &393 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -61479,9 +61009,9 @@ paths: description: Response content: application/json: - schema: *394 + schema: *391 examples: - default: *395 + default: *392 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61504,17 +61034,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: + - *307 - *308 - - *309 - - *396 - - &444 + - *393 + - &441 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &445 + - &442 name: status description: Returns check runs with the specified `status`. in: query @@ -61553,9 +61083,9 @@ paths: type: integer check_runs: type: array - items: *390 + items: *387 examples: - default: &446 + default: &443 value: total_count: 1 check_runs: @@ -61657,9 +61187,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: + - *307 - *308 - - *309 - - *396 + - *393 responses: '201': description: Response @@ -61692,21 +61222,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: + - *307 - *308 - - *309 - - *397 - - *398 + - *394 + - *395 - *19 - *17 - - &415 + - &412 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: *399 - - &416 + schema: *396 + - &413 name: pr description: The number of the pull request for the results you want to list. in: query @@ -61731,13 +61261,13 @@ paths: be returned. in: query required: false - schema: *400 + schema: *397 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *401 + schema: *398 responses: '200': description: Response @@ -61753,7 +61283,7 @@ paths: updated_at: *153 url: *154 html_url: *155 - instances_url: *402 + instances_url: *399 state: *160 fixed_at: *156 dismissed_by: @@ -61761,11 +61291,11 @@ paths: - type: 'null' - *4 dismissed_at: *157 - dismissed_reason: *403 - dismissed_comment: *404 - rule: *405 - tool: *406 - most_recent_instance: *407 + dismissed_reason: *400 + dismissed_comment: *401 + rule: *402 + tool: *403 + most_recent_instance: *404 dismissal_approved_by: anyOf: - type: 'null' @@ -61888,7 +61418,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &408 + '403': &405 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -61915,9 +61445,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: + - *307 - *308 - - *309 - - &409 + - &406 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -61931,7 +61461,7 @@ paths: description: Response content: application/json: - schema: &410 + schema: &407 type: object properties: number: *151 @@ -61939,7 +61469,7 @@ paths: updated_at: *153 url: *154 html_url: *155 - instances_url: *402 + instances_url: *399 state: *160 fixed_at: *156 dismissed_by: @@ -61947,8 +61477,8 @@ paths: - type: 'null' - *4 dismissed_at: *157 - dismissed_reason: *403 - dismissed_comment: *404 + dismissed_reason: *400 + dismissed_comment: *401 rule: type: object properties: @@ -62010,8 +61540,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *406 - most_recent_instance: *407 + tool: *403 + most_recent_instance: *404 dismissal_approved_by: anyOf: - type: 'null' @@ -62107,7 +61637,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *408 + '403': *405 '404': *6 '503': *97 x-github: @@ -62127,9 +61657,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: + - *307 - *308 - - *309 - - *409 + - *406 requestBody: required: true content: @@ -62144,8 +61674,8 @@ paths: enum: - open - dismissed - dismissed_reason: *403 - dismissed_comment: *404 + dismissed_reason: *400 + dismissed_comment: *401 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -62164,7 +61694,7 @@ paths: description: Response content: application/json: - schema: *410 + schema: *407 examples: default: value: @@ -62240,7 +61770,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &414 + '403': &411 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -62267,15 +61797,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: + - *307 - *308 - - *309 - - *409 + - *406 responses: '200': description: Response content: application/json: - schema: &411 + schema: &408 type: object properties: status: @@ -62302,13 +61832,13 @@ paths: - description - started_at examples: - default: &412 + default: &409 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &413 + '400': &410 description: Bad Request content: application/json: @@ -62319,7 +61849,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': *408 + '403': *405 '404': *6 '503': *97 x-github: @@ -62344,29 +61874,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: + - *307 - *308 - - *309 - - *409 + - *406 responses: '200': description: OK content: application/json: - schema: *411 + schema: *408 examples: - default: *412 + default: *409 '202': description: Accepted content: application/json: - schema: *411 + schema: *408 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *413 + '400': *410 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -62398,9 +61928,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: + - *307 - *308 - - *309 - - *409 + - *406 requestBody: required: false content: @@ -62446,8 +61976,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *413 - '403': *414 + '400': *410 + '403': *411 '404': *6 '422': description: Unprocessable Entity @@ -62471,13 +62001,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: + - *307 - *308 - - *309 - - *409 + - *406 - *19 - *17 - - *415 - - *416 + - *412 + - *413 responses: '200': description: Response @@ -62485,7 +62015,7 @@ paths: application/json: schema: type: array - items: *407 + items: *404 examples: default: value: @@ -62524,7 +62054,7 @@ paths: end_column: 50 classifications: - source - '403': *408 + '403': *405 '404': *6 '503': *97 x-github: @@ -62558,25 +62088,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: + - *307 - *308 - - *309 - - *397 - - *398 + - *394 + - *395 - *19 - *17 - - *416 + - *413 - 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: *399 + schema: *396 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &419 + schema: &416 type: string description: An identifier for the upload. examples: @@ -62598,23 +62128,23 @@ paths: application/json: schema: type: array - items: &420 + items: &417 type: object properties: - ref: *399 - commit_sha: &428 + ref: *396 + commit_sha: &425 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: *417 + analysis_key: *414 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *418 + category: *415 error: type: string examples: @@ -62639,8 +62169,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *419 - tool: *406 + sarif_id: *416 + tool: *403 deletable: type: boolean warning: @@ -62702,7 +62232,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *408 + '403': *405 '404': *6 '503': *97 x-github: @@ -62738,8 +62268,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: + - *307 - *308 - - *309 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -62752,7 +62282,7 @@ paths: description: Response content: application/json: - schema: *420 + schema: *417 examples: response: summary: application/json response @@ -62806,7 +62336,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *408 + '403': *405 '404': *6 '422': description: Response if analysis could not be processed @@ -62893,8 +62423,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: + - *307 - *308 - - *309 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -62950,7 +62480,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': *414 + '403': *411 '404': *6 '503': *97 x-github: @@ -62972,8 +62502,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: + - *307 - *308 - - *309 responses: '200': description: Response @@ -62981,7 +62511,7 @@ paths: application/json: schema: type: array - items: &421 + items: &418 title: CodeQL Database description: A CodeQL database. type: object @@ -63093,7 +62623,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': *408 + '403': *405 '404': *6 '503': *97 x-github: @@ -63122,8 +62652,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: + - *307 - *308 - - *309 - name: language in: path description: The language of the CodeQL database. @@ -63135,7 +62665,7 @@ paths: description: Response content: application/json: - schema: *421 + schema: *418 examples: default: value: @@ -63167,9 +62697,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': &451 + '302': &448 description: Found - '403': *408 + '403': *405 '404': *6 '503': *97 x-github: @@ -63191,8 +62721,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: + - *307 - *308 - - *309 - name: language in: path description: The language of the CodeQL database. @@ -63202,7 +62732,7 @@ paths: responses: '204': description: Response - '403': *414 + '403': *411 '404': *6 '503': *97 x-github: @@ -63230,8 +62760,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -63240,7 +62770,7 @@ paths: type: object additionalProperties: false properties: - language: &422 + language: &419 type: string description: The language targeted by the CodeQL query enum: @@ -63319,7 +62849,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &426 + schema: &423 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -63329,7 +62859,7 @@ paths: description: The ID of the variant analysis. controller_repo: *51 actor: *4 - query_language: *422 + query_language: *419 query_pack_url: type: string description: The download url for the query pack. @@ -63377,7 +62907,7 @@ paths: items: type: object properties: - repository: &423 + repository: &420 title: Repository Identifier description: Repository Identifier type: object @@ -63419,7 +62949,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &427 + analysis_status: &424 type: string description: The new status of the CodeQL variant analysis repository task. @@ -63451,7 +62981,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &424 + access_mismatch_repos: &421 type: object properties: repository_count: @@ -63466,7 +62996,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: *423 + items: *420 required: - repository_count - repositories @@ -63489,8 +63019,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *424 - over_limit_repos: *424 + no_codeql_db_repos: *421 + over_limit_repos: *421 required: - access_mismatch_repos - not_found_repos @@ -63506,7 +63036,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &425 + value: &422 summary: Default response value: id: 1 @@ -63658,10 +63188,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *425 + value: *422 repository_lists: summary: Response for a successful variant analysis submission - value: *425 + value: *422 '404': *6 '422': description: Unable to process variant analysis submission @@ -63689,8 +63219,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: + - *307 - *308 - - *309 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -63702,9 +63232,9 @@ paths: description: Response content: application/json: - schema: *426 + schema: *423 examples: - default: *425 + default: *422 '404': *6 '503': *97 x-github: @@ -63727,7 +63257,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: - - *308 + - *307 - name: repo in: path description: The name of the controller repository. @@ -63762,7 +63292,7 @@ paths: type: object properties: repository: *51 - analysis_status: *427 + analysis_status: *424 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -63887,8 +63417,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: + - *307 - *308 - - *309 responses: '200': description: Response @@ -63981,7 +63511,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *408 + '403': *405 '404': *6 '503': *97 x-github: @@ -64002,8 +63532,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -64097,7 +63627,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *414 + '403': *411 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -64168,8 +63698,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -64177,7 +63707,7 @@ paths: schema: type: object properties: - commit_sha: *428 + commit_sha: *425 ref: type: string description: |- @@ -64237,7 +63767,7 @@ paths: schema: type: object properties: - id: *419 + id: *416 url: type: string description: The REST API URL for checking the status of the upload. @@ -64251,7 +63781,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': *414 + '403': *411 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -64274,8 +63804,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: + - *307 - *308 - - *309 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -64323,7 +63853,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': *408 + '403': *405 '404': description: Not Found if the sarif id does not match any upload '503': *97 @@ -64348,8 +63878,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: + - *307 - *308 - - *309 responses: '200': description: Response @@ -64430,8 +63960,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: + - *307 - *308 - - *309 - 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 @@ -64559,8 +64089,8 @@ paths: parameters: - *17 - *19 + - *307 - *308 - - *309 responses: '200': description: Response @@ -64874,8 +64404,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -64941,7 +64471,7 @@ paths: application/json: schema: *210 examples: - default: *429 + default: *426 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -64949,7 +64479,7 @@ paths: application/json: schema: *210 examples: - default: *429 + default: *426 '400': *14 '401': *23 '403': *27 @@ -64978,8 +64508,8 @@ paths: parameters: - *17 - *19 + - *307 - *308 - - *309 responses: '200': description: Response @@ -65043,8 +64573,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: + - *307 - *308 - - *309 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -65081,9 +64611,9 @@ paths: type: integer machines: type: array - items: *430 + items: *427 examples: - default: &643 + default: &641 value: total_count: 2 machines: @@ -65123,8 +64653,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: + - *307 - *308 - - *309 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -65211,8 +64741,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: + - *307 - *308 - - *309 - 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 @@ -65281,8 +64811,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: + - *307 - *308 - - *309 - *17 - *19 responses: @@ -65300,7 +64830,7 @@ paths: type: integer secrets: type: array - items: &434 + items: &431 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -65321,7 +64851,7 @@ paths: - created_at - updated_at examples: - default: *431 + default: *428 headers: Link: *52 x-github: @@ -65344,16 +64874,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: + - *307 - *308 - - *309 responses: '200': description: Response content: application/json: - schema: *432 + schema: *429 examples: - default: *433 + default: *430 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -65373,17 +64903,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: + - *307 - *308 - - *309 - *143 responses: '200': description: Response content: application/json: - schema: *434 + schema: *431 examples: - default: *435 + default: *432 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65403,8 +64933,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: + - *307 - *308 - - *309 - *143 requestBody: required: true @@ -65457,8 +64987,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: + - *307 - *308 - - *309 - *143 responses: '204': @@ -65487,8 +65017,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: + - *307 - *308 - - *309 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -65526,7 +65056,7 @@ paths: application/json: schema: type: array - items: &436 + items: &433 title: Collaborator description: Collaborator type: object @@ -65719,8 +65249,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: + - *307 - *308 - - *309 - *57 responses: '204': @@ -65767,8 +65297,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: + - *307 - *308 - - *309 - *57 requestBody: required: false @@ -65795,7 +65325,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &500 + schema: &497 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -66023,8 +65553,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: + - *307 - *308 - - *309 - *57 responses: '204': @@ -66056,8 +65586,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: + - *307 - *308 - - *309 - *57 responses: '200': @@ -66078,7 +65608,7 @@ paths: user: anyOf: - type: 'null' - - *436 + - *433 required: - permission - role_name @@ -66132,8 +65662,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: + - *307 - *308 - - *309 - *17 - *19 responses: @@ -66143,7 +65673,7 @@ paths: application/json: schema: type: array - items: &437 + items: &434 title: Commit Comment description: Commit Comment type: object @@ -66201,7 +65731,7 @@ paths: - created_at - updated_at examples: - default: &440 + default: &437 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -66260,17 +65790,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: + - *307 - *308 - - *309 - *77 responses: '200': description: Response content: application/json: - schema: *437 + schema: *434 examples: - default: &441 + default: &438 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -66327,8 +65857,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: + - *307 - *308 - - *309 - *77 requestBody: required: true @@ -66351,7 +65881,7 @@ paths: description: Response content: application/json: - schema: *437 + schema: *434 examples: default: value: @@ -66402,8 +65932,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: + - *307 - *308 - - *309 - *77 responses: '204': @@ -66425,8 +65955,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: + - *307 - *308 - - *309 - *77 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -66453,9 +65983,9 @@ paths: application/json: schema: type: array - items: *301 + items: *300 examples: - default: *303 + default: *302 headers: Link: *52 '404': *6 @@ -66476,8 +66006,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: + - *307 - *308 - - *309 - *77 requestBody: required: true @@ -66510,16 +66040,16 @@ paths: description: Reaction exists content: application/json: - schema: *301 + schema: *300 examples: - default: *302 + default: *301 '201': description: Reaction created content: application/json: - schema: *301 + schema: *300 examples: - default: *302 + default: *301 '422': *15 x-github: githubCloudOnly: false @@ -66541,10 +66071,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: + - *307 - *308 - - *309 - *77 - - *304 + - *303 responses: '204': description: Response @@ -66593,8 +66123,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: + - *307 - *308 - - *309 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -66650,9 +66180,9 @@ paths: application/json: schema: type: array - items: *438 + items: *435 examples: - default: &549 + default: &547 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -66746,9 +66276,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: + - *307 - *308 - - *309 - - &439 + - &436 name: commit_sha description: The SHA of the commit. in: path @@ -66820,9 +66350,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: + - *307 - *308 - - *309 - - *439 + - *436 - *17 - *19 responses: @@ -66832,9 +66362,9 @@ paths: application/json: schema: type: array - items: *437 + items: *434 examples: - default: *440 + default: *437 headers: Link: *52 x-github: @@ -66862,9 +66392,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: + - *307 - *308 - - *309 - - *439 + - *436 requestBody: required: true content: @@ -66899,9 +66429,9 @@ paths: description: Response content: application/json: - schema: *437 + schema: *434 examples: - default: *441 + default: *438 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -66929,9 +66459,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: + - *307 - *308 - - *309 - - *439 + - *436 - *17 - *19 responses: @@ -66941,9 +66471,9 @@ paths: application/json: schema: type: array - items: *442 + items: *439 examples: - default: &541 + default: &539 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -67480,11 +67010,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: + - *307 - *308 - - *309 - *19 - *17 - - &443 + - &440 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)" @@ -67499,9 +67029,9 @@ paths: description: Response content: application/json: - schema: *438 + schema: *435 examples: - default: &527 + default: &525 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -67614,11 +67144,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: + - *307 - *308 - - *309 - - *443 - - *444 - - *445 + - *440 + - *441 + - *442 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -67652,9 +67182,9 @@ paths: type: integer check_runs: type: array - items: *390 + items: *387 examples: - default: *446 + default: *443 headers: Link: *52 x-github: @@ -67679,9 +67209,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: + - *307 - *308 - - *309 - - *443 + - *440 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -67689,7 +67219,7 @@ paths: schema: type: integer example: 1 - - *444 + - *441 - *17 - *19 responses: @@ -67707,7 +67237,7 @@ paths: type: integer check_suites: type: array - items: *394 + items: *391 examples: default: value: @@ -67907,9 +67437,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: + - *307 - *308 - - *309 - - *443 + - *440 - *17 - *19 responses: @@ -68111,9 +67641,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: + - *307 - *308 - - *309 - - *443 + - *440 - *17 - *19 responses: @@ -68123,7 +67653,7 @@ paths: application/json: schema: type: array - items: &614 + items: &612 title: Status description: The status of a commit. type: object @@ -68204,7 +67734,7 @@ paths: site_admin: false headers: Link: *52 - '301': *317 + '301': *314 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68232,8 +67762,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: + - *307 - *308 - - *309 responses: '200': description: Response @@ -68266,11 +67796,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *447 + - *444 code_of_conduct_file: anyOf: - type: 'null' - - &448 + - &445 title: Community Health File type: object properties: @@ -68290,19 +67820,19 @@ paths: contributing: anyOf: - type: 'null' - - *448 + - *445 readme: anyOf: - type: 'null' - - *448 + - *445 issue_template: anyOf: - type: 'null' - - *448 + - *445 pull_request_template: anyOf: - type: 'null' - - *448 + - *445 required: - code_of_conduct - code_of_conduct_file @@ -68431,8 +67961,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: + - *307 - *308 - - *309 - *19 - *17 - name: basehead @@ -68480,8 +68010,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *438 - merge_base_commit: *438 + base_commit: *435 + merge_base_commit: *435 status: type: string enum: @@ -68505,10 +68035,10 @@ paths: - 6 commits: type: array - items: *438 + items: *435 files: type: array - items: *449 + items: *446 required: - url - html_url @@ -68794,8 +68324,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: + - *307 - *308 - - *309 - name: path description: path parameter in: path @@ -68948,7 +68478,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &450 + response-if-content-is-a-file: &447 summary: Response if content is a file value: type: file @@ -69085,7 +68615,7 @@ paths: - size - type - url - - &554 + - &552 title: Content File description: Content File type: object @@ -69303,7 +68833,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *450 + response-if-content-is-a-file: *447 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -69372,7 +68902,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *451 + '302': *448 '304': *35 x-github: githubCloudOnly: false @@ -69395,8 +68925,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: + - *307 - *308 - - *309 - name: path description: path parameter in: path @@ -69491,7 +69021,7 @@ paths: description: Response content: application/json: - schema: &452 + schema: &449 title: File Commit description: File Commit type: object @@ -69647,7 +69177,7 @@ paths: description: Response content: application/json: - schema: *452 + schema: *449 examples: example-for-creating-a-file: value: @@ -69701,7 +69231,7 @@ paths: schema: oneOf: - *3 - - &482 + - &479 description: Repository rule violation was detected type: object properties: @@ -69722,7 +69252,7 @@ paths: items: type: object properties: - placeholder_id: &606 + placeholder_id: &604 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -69754,8 +69284,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: + - *307 - *308 - - *309 - name: path description: path parameter in: path @@ -69816,7 +69346,7 @@ paths: description: Response content: application/json: - schema: *452 + schema: *449 examples: default: value: @@ -69871,8 +69401,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: + - *307 - *308 - - *309 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -69996,8 +69526,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: + - *307 - *308 - - *309 - *170 - *171 - *172 @@ -70009,7 +69539,7 @@ paths: schema: type: string - *174 - - *453 + - *450 - *175 - *176 - *46 @@ -70030,7 +69560,7 @@ paths: application/json: schema: type: array - items: &456 + items: &453 type: object description: A Dependabot alert. properties: @@ -70080,7 +69610,7 @@ paths: - direct - transitive - - security_advisory: *454 + security_advisory: *451 security_vulnerability: *50 url: *154 html_url: *155 @@ -70111,7 +69641,7 @@ paths: dismissal. maxLength: 280 fixed_at: *156 - auto_dismissed_at: *455 + auto_dismissed_at: *452 required: - number - state @@ -70341,9 +69871,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: + - *307 - *308 - - *309 - - &457 + - &454 name: alert_number in: path description: |- @@ -70358,7 +69888,7 @@ paths: description: Response content: application/json: - schema: *456 + schema: *453 examples: default: value: @@ -70471,9 +70001,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: + - *307 - *308 - - *309 - - *457 + - *454 requestBody: required: true content: @@ -70518,7 +70048,7 @@ paths: description: Response content: application/json: - schema: *456 + schema: *453 examples: default: value: @@ -70647,8 +70177,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: + - *307 - *308 - - *309 - *17 - *19 responses: @@ -70666,7 +70196,7 @@ paths: type: integer secrets: type: array - items: &460 + items: &457 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -70720,16 +70250,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: + - *307 - *308 - - *309 responses: '200': description: Response content: application/json: - schema: *458 + schema: *455 examples: - default: *459 + default: *456 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70749,15 +70279,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: + - *307 - *308 - - *309 - *143 responses: '200': description: Response content: application/json: - schema: *460 + schema: *457 examples: default: value: @@ -70783,8 +70313,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: + - *307 - *308 - - *309 - *143 requestBody: required: true @@ -70837,8 +70367,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: + - *307 - *308 - - *309 - *143 responses: '204': @@ -70861,8 +70391,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: + - *307 - *308 - - *309 - 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 @@ -71036,8 +70566,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: + - *307 - *308 - - *309 responses: '200': description: Response @@ -71297,8 +70827,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: + - *307 - *308 - - *309 requestBody: required: true content: @@ -71381,7 +70911,7 @@ paths: - version - url additionalProperties: false - metadata: &461 + metadata: &458 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -71420,7 +70950,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *461 + metadata: *458 resolved: type: object description: A collection of resolved package dependencies. @@ -71434,7 +70964,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *461 + metadata: *458 relationship: type: string description: A notation of whether a dependency is requested @@ -71567,8 +71097,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: + - *307 - *308 - - *309 - name: sha description: The SHA recorded at creation time. in: query @@ -71609,9 +71139,9 @@ paths: application/json: schema: type: array - items: *462 + items: *459 examples: - default: *463 + default: *460 headers: Link: *52 x-github: @@ -71677,8 +71207,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -71760,7 +71290,7 @@ paths: description: Response content: application/json: - schema: *462 + schema: *459 examples: simple-example: summary: Simple example @@ -71833,9 +71363,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: + - *307 - *308 - - *309 - - &464 + - &461 name: deployment_id description: deployment_id parameter in: path @@ -71847,7 +71377,7 @@ paths: description: Response content: application/json: - schema: *462 + schema: *459 examples: default: value: @@ -71912,9 +71442,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: + - *307 - *308 - - *309 - - *464 + - *461 responses: '204': description: Response @@ -71936,9 +71466,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: + - *307 - *308 - - *309 - - *464 + - *461 - *17 - *19 responses: @@ -71948,7 +71478,7 @@ paths: application/json: schema: type: array - items: &465 + items: &462 title: Deployment Status description: The status of a deployment. type: object @@ -72112,9 +71642,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: + - *307 - *308 - - *309 - - *464 + - *461 requestBody: required: true content: @@ -72189,9 +71719,9 @@ paths: description: Response content: application/json: - schema: *465 + schema: *462 examples: - default: &466 + default: &463 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -72247,9 +71777,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: + - *307 - *308 - - *309 - - *464 + - *461 - name: status_id in: path required: true @@ -72260,9 +71790,9 @@ paths: description: Response content: application/json: - schema: *465 + schema: *462 examples: - default: *466 + default: *463 '404': *6 x-github: githubCloudOnly: false @@ -72287,8 +71817,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -72345,8 +71875,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: + - *307 - *308 - - *309 - *17 - *19 responses: @@ -72364,7 +71894,7 @@ paths: - 5 environments: type: array - items: &468 + items: &465 title: Environment description: Details of a deployment environment type: object @@ -72426,7 +71956,7 @@ paths: type: string examples: - wait_timer - wait_timer: &470 + wait_timer: &467 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -72468,7 +71998,7 @@ paths: items: type: object properties: - type: *467 + type: *464 reviewer: anyOf: - *4 @@ -72495,7 +72025,7 @@ paths: - id - node_id - type - deployment_branch_policy: &471 + deployment_branch_policy: &468 type: - object - 'null' @@ -72612,9 +72142,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: + - *307 - *308 - - *309 - - &469 + - &466 name: environment_name in: path required: true @@ -72627,9 +72157,9 @@ paths: description: Response content: application/json: - schema: *468 + schema: *465 examples: - default: &472 + default: &469 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -72713,9 +72243,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: + - *307 - *308 - - *309 - - *469 + - *466 requestBody: required: false content: @@ -72725,7 +72255,7 @@ paths: - object - 'null' properties: - wait_timer: *470 + wait_timer: *467 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -72744,14 +72274,14 @@ paths: items: type: object properties: - type: *467 + type: *464 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *471 + deployment_branch_policy: *468 additionalProperties: false examples: default: @@ -72771,9 +72301,9 @@ paths: description: Response content: application/json: - schema: *468 + schema: *465 examples: - default: *472 + default: *469 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -72797,9 +72327,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: + - *307 - *308 - - *309 - - *469 + - *466 responses: '204': description: Default response @@ -72824,9 +72354,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: + - *307 - *308 - - *309 - - *469 + - *466 - *17 - *19 responses: @@ -72845,7 +72375,7 @@ paths: - 2 branch_policies: type: array - items: &473 + items: &470 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -72906,9 +72436,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: + - *307 - *308 - - *309 - - *469 + - *466 requestBody: required: true content: @@ -72956,9 +72486,9 @@ paths: description: Response content: application/json: - schema: *473 + schema: *470 examples: - example-wildcard: &474 + example-wildcard: &471 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -73000,10 +72530,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: + - *307 - *308 - - *309 - - *469 - - &475 + - *466 + - &472 name: branch_policy_id in: path required: true @@ -73015,9 +72545,9 @@ paths: description: Response content: application/json: - schema: *473 + schema: *470 examples: - default: *474 + default: *471 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73036,10 +72566,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: + - *307 - *308 - - *309 - - *469 - - *475 + - *466 + - *472 requestBody: required: true content: @@ -73068,9 +72598,9 @@ paths: description: Response content: application/json: - schema: *473 + schema: *470 examples: - default: *474 + default: *471 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73089,10 +72619,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: + - *307 - *308 - - *309 - - *469 - - *475 + - *466 + - *472 responses: '204': description: Response @@ -73117,9 +72647,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *469 - - *309 + - *466 - *308 + - *307 responses: '200': description: List of deployment protection rules @@ -73136,7 +72666,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &476 + items: &473 title: Deployment protection rule description: Deployment protection rule type: object @@ -73158,7 +72688,7 @@ paths: for the environment. examples: - true - app: &477 + app: &474 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -73261,9 +72791,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: - - *469 - - *309 + - *466 - *308 + - *307 requestBody: content: application/json: @@ -73284,9 +72814,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *476 + schema: *473 examples: - default: &478 + default: &475 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -73321,9 +72851,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: - - *469 - - *309 + - *466 - *308 + - *307 - *19 - *17 responses: @@ -73343,7 +72873,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *477 + items: *474 examples: default: value: @@ -73378,10 +72908,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: + - *307 - *308 - - *309 - - *469 - - &479 + - *466 + - &476 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -73393,9 +72923,9 @@ paths: description: Response content: application/json: - schema: *476 + schema: *473 examples: - default: *478 + default: *475 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73416,10 +72946,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *469 - - *309 + - *466 - *308 - - *479 + - *307 + - *476 responses: '204': description: Response @@ -73445,9 +72975,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: + - *307 - *308 - - *309 - - *469 + - *466 - *17 - *19 responses: @@ -73465,9 +72995,9 @@ paths: type: integer secrets: type: array - items: *356 + items: *353 examples: - default: *357 + default: *354 headers: Link: *52 x-github: @@ -73492,17 +73022,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: + - *307 - *308 - - *309 - - *469 + - *466 responses: '200': description: Response content: application/json: - schema: *358 + schema: *355 examples: - default: *359 + default: *356 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73524,18 +73054,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: + - *307 - *308 - - *309 - - *469 + - *466 - *143 responses: '200': description: Response content: application/json: - schema: *356 + schema: *353 examples: - default: *480 + default: *477 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73557,9 +73087,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: + - *307 - *308 - - *309 - - *469 + - *466 - *143 requestBody: required: true @@ -73617,9 +73147,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: + - *307 - *308 - - *309 - - *469 + - *466 - *143 responses: '204': @@ -73645,10 +73175,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: + - *307 - *308 - - *309 - - *469 - - *327 + - *466 + - *324 - *19 responses: '200': @@ -73665,9 +73195,9 @@ paths: type: integer variables: type: array - items: *360 + items: *357 examples: - default: *361 + default: *358 headers: Link: *52 x-github: @@ -73690,9 +73220,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: + - *307 - *308 - - *309 - - *469 + - *466 requestBody: required: true content: @@ -73744,18 +73274,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: + - *307 - *308 - - *309 - - *469 + - *466 - *146 responses: '200': description: Response content: application/json: - schema: *360 + schema: *357 examples: - default: *481 + default: *478 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73776,10 +73306,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: + - *307 - *308 - - *309 - *146 - - *469 + - *466 requestBody: required: true content: @@ -73821,10 +73351,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: + - *307 - *308 - - *309 - *146 - - *469 + - *466 responses: '204': description: Response @@ -73846,8 +73376,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: + - *307 - *308 - - *309 - *17 - *19 responses: @@ -73915,8 +73445,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: + - *307 - *308 - - *309 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -74075,8 +73605,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: + - *307 - *308 - - *309 requestBody: required: false content: @@ -74109,9 +73639,9 @@ paths: description: Response content: application/json: - schema: *316 + schema: *313 examples: - default: *318 + default: *315 '400': *14 '422': *15 '403': *27 @@ -74132,8 +73662,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -74193,7 +73723,7 @@ paths: schema: oneOf: - *104 - - *482 + - *479 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74218,8 +73748,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: + - *307 - *308 - - *309 - name: file_sha in: path required: true @@ -74319,8 +73849,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -74429,7 +73959,7 @@ paths: description: Response content: application/json: - schema: &483 + schema: &480 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -74656,15 +74186,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: + - *307 - *308 - - *309 - - *439 + - *436 responses: '200': description: Response content: application/json: - schema: *483 + schema: *480 examples: default: value: @@ -74720,9 +74250,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: + - *307 - *308 - - *309 - - &484 + - &481 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. @@ -74739,7 +74269,7 @@ paths: application/json: schema: type: array - items: &485 + items: &482 title: Git Reference description: Git references within a repository type: object @@ -74815,17 +74345,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: + - *307 - *308 - - *309 - - *484 + - *481 responses: '200': description: Response content: application/json: - schema: *485 + schema: *482 examples: - default: &486 + default: &483 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -74854,8 +74384,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -74884,9 +74414,9 @@ paths: description: Response content: application/json: - schema: *485 + schema: *482 examples: - default: *486 + default: *483 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -74912,9 +74442,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: + - *307 - *308 - - *309 - - *484 + - *481 requestBody: required: true content: @@ -74943,9 +74473,9 @@ paths: description: Response content: application/json: - schema: *485 + schema: *482 examples: - default: *486 + default: *483 '422': *15 '409': *45 x-github: @@ -74963,9 +74493,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: + - *307 - *308 - - *309 - - *484 + - *481 responses: '204': description: Response @@ -75020,8 +74550,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -75088,7 +74618,7 @@ paths: description: Response content: application/json: - schema: &488 + schema: &485 title: Git Tag description: Metadata for a Git tag type: object @@ -75144,7 +74674,7 @@ paths: - sha - type - url - verification: *487 + verification: *484 required: - sha - url @@ -75154,7 +74684,7 @@ paths: - tag - message examples: - default: &489 + default: &486 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -75227,8 +74757,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: + - *307 - *308 - - *309 - name: tag_sha in: path required: true @@ -75239,9 +74769,9 @@ paths: description: Response content: application/json: - schema: *488 + schema: *485 examples: - default: *489 + default: *486 '404': *6 '409': *45 x-github: @@ -75265,8 +74795,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -75340,7 +74870,7 @@ paths: description: Response content: application/json: - schema: &490 + schema: &487 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -75442,8 +74972,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: + - *307 - *308 - - *309 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -75466,7 +74996,7 @@ paths: description: Response content: application/json: - schema: *490 + schema: *487 examples: default-response: summary: Default response @@ -75525,8 +75055,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: + - *307 - *308 - - *309 - *17 - *19 responses: @@ -75536,7 +75066,7 @@ paths: application/json: schema: type: array - items: &491 + items: &488 title: Webhook description: Webhooks for repositories. type: object @@ -75599,7 +75129,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &725 + last_response: &723 title: Hook Response type: object properties: @@ -75676,8 +75206,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: + - *307 - *308 - - *309 requestBody: required: false content: @@ -75730,9 +75260,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *488 examples: - default: &492 + default: &489 value: type: Repository id: 12345678 @@ -75780,17 +75310,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: + - *307 - *308 - - *309 - *182 responses: '200': description: Response content: application/json: - schema: *491 + schema: *488 examples: - default: *492 + default: *489 '404': *6 x-github: githubCloudOnly: false @@ -75810,8 +75340,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: + - *307 - *308 - - *309 - *182 requestBody: required: true @@ -75857,9 +75387,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *488 examples: - default: *492 + default: *489 '422': *15 '404': *6 x-github: @@ -75880,8 +75410,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: + - *307 - *308 - - *309 - *182 responses: '204': @@ -75906,8 +75436,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: + - *307 - *308 - - *309 - *182 responses: '200': @@ -75935,8 +75465,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: + - *307 - *308 - - *309 - *182 requestBody: required: false @@ -75981,8 +75511,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: + - *307 - *308 - - *309 - *182 - *17 - *183 @@ -76014,8 +75544,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: + - *307 - *308 - - *309 - *182 - *16 responses: @@ -76044,8 +75574,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: + - *307 - *308 - - *309 - *182 - *16 responses: @@ -76069,8 +75599,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: + - *307 - *308 - - *309 - *182 responses: '204': @@ -76096,8 +75626,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: + - *307 - *308 - - *309 - *182 responses: '204': @@ -76121,8 +75651,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: + - *307 - *308 - - *309 responses: '200': description: Response if immutable releases are enabled @@ -76170,8 +75700,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: + - *307 - *308 - - *309 responses: '204': *165 '409': *45 @@ -76191,8 +75721,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: + - *307 - *308 - - *309 responses: '204': *165 '409': *45 @@ -76249,14 +75779,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: + - *307 - *308 - - *309 responses: '200': description: Response content: application/json: - schema: &493 + schema: &490 title: Import description: A repository import from an external source. type: object @@ -76363,7 +75893,7 @@ paths: - html_url - authors_url examples: - default: &496 + default: &493 value: vcs: subversion use_lfs: true @@ -76379,7 +75909,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': &494 + '503': &491 description: Unavailable due to service under maintenance. content: application/json: @@ -76408,8 +75938,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -76457,7 +75987,7 @@ paths: description: Response content: application/json: - schema: *493 + schema: *490 examples: default: value: @@ -76482,7 +76012,7 @@ paths: type: string '422': *15 '404': *6 - '503': *494 + '503': *491 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76510,8 +76040,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: + - *307 - *308 - - *309 requestBody: required: false content: @@ -76563,7 +76093,7 @@ paths: description: Response content: application/json: - schema: *493 + schema: *490 examples: example-1: summary: Example 1 @@ -76611,7 +76141,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': *494 + '503': *491 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76634,12 +76164,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: + - *307 - *308 - - *309 responses: '204': description: Response - '503': *494 + '503': *491 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76665,9 +76195,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: + - *307 - *308 - - *309 - - &664 + - &662 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -76681,7 +76211,7 @@ paths: application/json: schema: type: array - items: &495 + items: &492 title: Porter Author description: Porter Author type: object @@ -76735,7 +76265,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': *494 + '503': *491 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76760,8 +76290,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: + - *307 - *308 - - *309 - name: author_id in: path required: true @@ -76791,7 +76321,7 @@ paths: description: Response content: application/json: - schema: *495 + schema: *492 examples: default: value: @@ -76804,7 +76334,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *494 + '503': *491 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76828,8 +76358,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: + - *307 - *308 - - *309 responses: '200': description: Response @@ -76870,7 +76400,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *494 + '503': *491 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76898,8 +76428,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -76926,11 +76456,11 @@ paths: description: Response content: application/json: - schema: *493 + schema: *490 examples: - default: *496 + default: *493 '422': *15 - '503': *494 + '503': *491 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76953,8 +76483,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: + - *307 - *308 - - *309 responses: '200': description: Response @@ -76962,8 +76492,8 @@ paths: application/json: schema: *20 examples: - default: *497 - '301': *317 + default: *494 + '301': *314 '404': *6 x-github: githubCloudOnly: false @@ -76983,8 +76513,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: + - *307 - *308 - - *309 responses: '200': description: Response @@ -76997,7 +76527,7 @@ paths: properties: {} additionalProperties: false examples: - default: &499 + default: &496 value: limit: collaborators_only origin: repository @@ -77022,13 +76552,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: + - *307 - *308 - - *309 requestBody: required: true content: application/json: - schema: *498 + schema: *495 examples: default: summary: Example request body @@ -77042,7 +76572,7 @@ paths: application/json: schema: *200 examples: - default: *499 + default: *496 '409': description: Response x-github: @@ -77064,8 +76594,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: + - *307 - *308 - - *309 responses: '204': description: Response @@ -77088,8 +76618,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: + - *307 - *308 - - *309 - *17 - *19 responses: @@ -77099,9 +76629,9 @@ paths: application/json: schema: type: array - items: *500 + items: *497 examples: - default: &657 + default: &655 value: - id: 1 repository: @@ -77232,8 +76762,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: + - *307 - *308 - - *309 - *204 requestBody: required: false @@ -77263,7 +76793,7 @@ paths: description: Response content: application/json: - schema: *500 + schema: *497 examples: default: value: @@ -77394,8 +76924,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: + - *307 - *308 - - *309 - *204 responses: '204': @@ -77427,8 +76957,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: + - *307 - *308 - - *309 - 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 @@ -77501,7 +77031,7 @@ paths: type: array items: *78 examples: - default: &507 + default: &505 value: - id: 1 node_id: MDU6SXNzdWUx @@ -77649,7 +77179,7 @@ paths: state_reason: completed headers: Link: *52 - '301': *317 + '301': *314 '422': *15 '404': *6 x-github: @@ -77678,8 +77208,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -77771,7 +77301,7 @@ paths: application/json: schema: *78 examples: - default: &504 + default: &502 value: id: 1 node_id: MDU6SXNzdWUx @@ -77927,7 +77457,7 @@ paths: '422': *15 '503': *97 '404': *6 - '410': *314 + '410': *498 x-github: triggersNotification: true githubCloudOnly: false @@ -77955,8 +77485,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: + - *307 - *308 - - *309 - *87 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -77977,9 +77507,9 @@ paths: application/json: schema: type: array - items: *501 + items: *499 examples: - default: &506 + default: &504 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -78037,17 +77567,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: + - *307 - *308 - - *309 - *77 responses: '200': description: Response content: application/json: - schema: *501 + schema: *499 examples: - default: &502 + default: &500 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -78101,8 +77631,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: + - *307 - *308 - - *309 - *77 requestBody: required: true @@ -78125,9 +77655,9 @@ paths: description: Response content: application/json: - schema: *501 + schema: *499 examples: - default: *502 + default: *500 '422': *15 x-github: githubCloudOnly: false @@ -78145,8 +77675,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: + - *307 - *308 - - *309 - *77 responses: '204': @@ -78167,8 +77697,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: + - *307 - *308 - - *309 - *77 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -78195,9 +77725,9 @@ paths: application/json: schema: type: array - items: *301 + items: *300 examples: - default: *303 + default: *302 headers: Link: *52 '404': *6 @@ -78218,8 +77748,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: + - *307 - *308 - - *309 - *77 requestBody: required: true @@ -78252,16 +77782,16 @@ paths: description: Reaction exists content: application/json: - schema: *301 + schema: *300 examples: - default: *302 + default: *301 '201': description: Reaction created content: application/json: - schema: *301 + schema: *300 examples: - default: *302 + default: *301 '422': *15 x-github: githubCloudOnly: false @@ -78283,10 +77813,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: + - *307 - *308 - - *309 - *77 - - *304 + - *303 responses: '204': description: Response @@ -78306,8 +77836,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: + - *307 - *308 - - *309 - *17 - *19 responses: @@ -78317,7 +77847,7 @@ paths: application/json: schema: type: array - items: &503 + items: &501 title: Issue Event description: Issue Event type: object @@ -78656,8 +78186,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: + - *307 - *308 - - *309 - name: event_id in: path required: true @@ -78668,7 +78198,7 @@ paths: description: Response content: application/json: - schema: *503 + schema: *501 examples: default: value: @@ -78861,7 +78391,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *314 + '410': *498 '403': *27 x-github: githubCloudOnly: false @@ -78895,9 +78425,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: + - *307 - *308 - - *309 - - &505 + - &503 name: issue_number description: The number that identifies the issue. in: path @@ -78911,10 +78441,10 @@ paths: application/json: schema: *78 examples: - default: *504 - '301': *317 + default: *502 + '301': *314 '404': *6 - '410': *314 + '410': *498 '304': *35 x-github: githubCloudOnly: false @@ -78939,9 +78469,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: + - *307 - *308 - - *309 - - *505 + - *503 requestBody: required: false content: @@ -79062,13 +78592,13 @@ paths: application/json: schema: *78 examples: - default: *504 + default: *502 '422': *15 '503': *97 '403': *27 - '301': *317 + '301': *314 '404': *6 - '410': *314 + '410': *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79086,9 +78616,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: + - *307 - *308 - - *309 - - *505 + - *503 requestBody: required: false content: @@ -79116,7 +78646,7 @@ paths: application/json: schema: *78 examples: - default: *504 + default: *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79132,9 +78662,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: + - *307 - *308 - - *309 - - *505 + - *503 requestBody: content: application/json: @@ -79161,7 +78691,7 @@ paths: application/json: schema: *78 examples: - default: *504 + default: *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79183,9 +78713,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: + - *307 - *308 - - *309 - - *505 + - *503 - name: assignee in: path required: true @@ -79225,9 +78755,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: + - *307 - *308 - - *309 - - *505 + - *503 - *68 - *17 - *19 @@ -79238,13 +78768,13 @@ paths: application/json: schema: type: array - items: *501 + items: *499 examples: - default: *506 + default: *504 headers: Link: *52 '404': *6 - '410': *314 + '410': *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79273,9 +78803,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: + - *307 - *308 - - *309 - - *505 + - *503 requestBody: required: true content: @@ -79297,16 +78827,16 @@ paths: description: Response content: application/json: - schema: *501 + schema: *499 examples: - default: *502 + default: *500 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *314 + '410': *498 '422': *15 '404': *6 x-github: @@ -79334,9 +78864,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: + - *307 - *308 - - *309 - - *505 + - *503 - *17 - *19 responses: @@ -79348,12 +78878,12 @@ paths: type: array items: *78 examples: - default: *507 + default: *505 headers: Link: *52 - '301': *317 + '301': *314 '404': *6 - '410': *314 + '410': *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79381,9 +78911,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: + - *307 - *308 - - *309 - - *505 + - *503 requestBody: required: true content: @@ -79407,15 +78937,15 @@ paths: application/json: schema: *78 examples: - default: *504 + default: *502 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *317 + '301': *314 '403': *27 - '410': *314 + '410': *498 '422': *15 '404': *6 x-github: @@ -79446,9 +78976,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: + - *307 - *308 - - *309 - - *505 + - *503 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -79462,13 +78992,13 @@ paths: application/json: schema: *78 examples: - default: *504 - '301': *317 + default: *502 + '301': *314 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *314 + '410': *498 x-github: triggersNotification: true githubCloudOnly: false @@ -79494,9 +79024,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: + - *307 - *308 - - *309 - - *505 + - *503 - *17 - *19 responses: @@ -79508,12 +79038,12 @@ paths: type: array items: *78 examples: - default: *507 + default: *505 headers: Link: *52 - '301': *317 + '301': *314 '404': *6 - '410': *314 + '410': *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79530,9 +79060,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: + - *307 - *308 - - *309 - - *505 + - *503 - *17 - *19 responses: @@ -79546,7 +79076,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &510 + - &508 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -79595,7 +79125,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &511 + - &509 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -79723,7 +79253,7 @@ paths: - performed_via_github_app - assignee - assigner - - &512 + - &510 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -79769,7 +79299,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &513 + - &511 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -79815,7 +79345,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &514 + - &512 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -79864,7 +79394,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &515 + - &513 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -79906,7 +79436,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &516 + - &514 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -79948,7 +79478,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &517 + - &515 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -80004,7 +79534,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &518 + - &516 title: Locked Issue Event description: Locked Issue Event type: object @@ -80049,7 +79579,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &519 + - &517 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -80110,7 +79640,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &520 + - &518 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -80171,7 +79701,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &521 + - &519 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -80232,7 +79762,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &522 + - &520 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -80325,7 +79855,7 @@ paths: color: red headers: Link: *52 - '410': *314 + '410': *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80342,9 +79872,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: + - *307 - *308 - - *309 - - *505 + - *503 - *17 - *19 responses: @@ -80354,7 +79884,7 @@ paths: application/json: schema: type: array - items: &508 + items: &506 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -80409,7 +79939,7 @@ paths: - color - default examples: - default: &509 + default: &507 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -80427,9 +79957,9 @@ paths: default: false headers: Link: *52 - '301': *317 + '301': *314 '404': *6 - '410': *314 + '410': *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80446,9 +79976,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: + - *307 - *308 - - *309 - - *505 + - *503 requestBody: required: false content: @@ -80507,12 +80037,12 @@ paths: application/json: schema: type: array - items: *508 + items: *506 examples: - default: *509 - '301': *317 + default: *507 + '301': *314 '404': *6 - '410': *314 + '410': *498 '422': *15 x-github: githubCloudOnly: false @@ -80529,9 +80059,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: + - *307 - *308 - - *309 - - *505 + - *503 requestBody: required: false content: @@ -80591,12 +80121,12 @@ paths: application/json: schema: type: array - items: *508 + items: *506 examples: - default: *509 - '301': *317 + default: *507 + '301': *314 '404': *6 - '410': *314 + '410': *498 '422': *15 x-github: githubCloudOnly: false @@ -80613,15 +80143,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: + - *307 - *308 - - *309 - - *505 + - *503 responses: '204': description: Response - '301': *317 + '301': *314 '404': *6 - '410': *314 + '410': *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80640,9 +80170,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: + - *307 - *308 - - *309 - - *505 + - *503 - name: name in: path required: true @@ -80655,7 +80185,7 @@ paths: application/json: schema: type: array - items: *508 + items: *506 examples: default: value: @@ -80666,9 +80196,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *317 + '301': *314 '404': *6 - '410': *314 + '410': *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80688,9 +80218,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: + - *307 - *308 - - *309 - - *505 + - *503 requestBody: required: false content: @@ -80719,7 +80249,7 @@ paths: '204': description: Response '403': *27 - '410': *314 + '410': *498 '404': *6 '422': *15 x-github: @@ -80737,9 +80267,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: + - *307 - *308 - - *309 - - *505 + - *503 responses: '204': description: Response @@ -80769,9 +80299,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: + - *307 - *308 - - *309 - - *505 + - *503 responses: '200': description: Response @@ -80779,10 +80309,10 @@ paths: application/json: schema: *78 examples: - default: *504 - '301': *317 + default: *502 + '301': *314 '404': *6 - '410': *314 + '410': *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80799,9 +80329,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: + - *307 - *308 - - *309 - - *505 + - *503 - 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. @@ -80827,13 +80357,13 @@ paths: application/json: schema: type: array - items: *301 + items: *300 examples: - default: *303 + default: *302 headers: Link: *52 '404': *6 - '410': *314 + '410': *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80851,9 +80381,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: + - *307 - *308 - - *309 - - *505 + - *503 requestBody: required: true content: @@ -80885,16 +80415,16 @@ paths: description: Response content: application/json: - schema: *301 + schema: *300 examples: - default: *302 + default: *301 '201': description: Response content: application/json: - schema: *301 + schema: *300 examples: - default: *302 + default: *301 '422': *15 x-github: githubCloudOnly: false @@ -80916,10 +80446,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: + - *307 - *308 - - *309 - - *505 - - *304 + - *503 + - *303 responses: '204': description: Response @@ -80948,9 +80478,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: + - *307 - *308 - - *309 - - *505 + - *503 requestBody: required: true content: @@ -80974,7 +80504,7 @@ paths: application/json: schema: *78 examples: - default: *504 + default: *502 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -81007,9 +80537,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: + - *307 - *308 - - *309 - - *505 + - *503 - *17 - *19 responses: @@ -81021,11 +80551,11 @@ paths: type: array items: *78 examples: - default: *507 + default: *505 headers: Link: *52 '404': *6 - '410': *314 + '410': *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81053,9 +80583,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: + - *307 - *308 - - *309 - - *505 + - *503 requestBody: required: true content: @@ -81084,14 +80614,14 @@ paths: application/json: schema: *78 examples: - default: *504 + default: *502 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *314 + '410': *498 '422': *15 '404': *6 x-github: @@ -81111,9 +80641,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: + - *307 - *308 - - *309 - - *505 + - *503 requestBody: required: true content: @@ -81146,7 +80676,7 @@ paths: application/json: schema: *78 examples: - default: *504 + default: *502 '403': *27 '404': *6 '422': *7 @@ -81168,9 +80698,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: + - *307 - *308 - - *309 - - *505 + - *503 - *17 - *19 responses: @@ -81185,6 +80715,8 @@ paths: description: Timeline Event type: object anyOf: + - *508 + - *509 - *510 - *511 - *512 @@ -81196,8 +80728,6 @@ paths: - *518 - *519 - *520 - - *521 - - *522 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -81526,7 +81056,7 @@ paths: type: string comments: type: array - items: &543 + items: &541 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -81764,7 +81294,7 @@ paths: type: string comments: type: array - items: *437 + items: *434 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -82039,7 +81569,7 @@ paths: headers: Link: *52 '404': *6 - '410': *314 + '410': *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82056,8 +81586,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: + - *307 - *308 - - *309 - *17 - *19 responses: @@ -82067,7 +81597,7 @@ paths: application/json: schema: type: array - items: &523 + items: &521 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -82135,8 +81665,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -82172,9 +81702,9 @@ paths: description: Response content: application/json: - schema: *523 + schema: *521 examples: - default: &524 + default: &522 value: id: 1 key: ssh-rsa AAA... @@ -82208,9 +81738,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: + - *307 - *308 - - *309 - - &525 + - &523 name: key_id description: The unique identifier of the key. in: path @@ -82222,9 +81752,9 @@ paths: description: Response content: application/json: - schema: *523 + schema: *521 examples: - default: *524 + default: *522 '404': *6 x-github: githubCloudOnly: false @@ -82242,9 +81772,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: + - *307 - *308 - - *309 - - *525 + - *523 responses: '204': description: Response @@ -82264,8 +81794,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: + - *307 - *308 - - *309 - *17 - *19 responses: @@ -82275,9 +81805,9 @@ paths: application/json: schema: type: array - items: *508 + items: *506 examples: - default: *509 + default: *507 headers: Link: *52 '404': *6 @@ -82298,8 +81828,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -82335,9 +81865,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *506 examples: - default: &526 + default: &524 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -82369,8 +81899,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: + - *307 - *308 - - *309 - name: name in: path required: true @@ -82381,9 +81911,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *506 examples: - default: *526 + default: *524 '404': *6 x-github: githubCloudOnly: false @@ -82400,8 +81930,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: + - *307 - *308 - - *309 - name: name in: path required: true @@ -82440,7 +81970,7 @@ paths: description: Response content: application/json: - schema: *508 + schema: *506 examples: default: value: @@ -82466,8 +81996,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: + - *307 - *308 - - *309 - name: name in: path required: true @@ -82493,8 +82023,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: + - *307 - *308 - - *309 responses: '200': description: Response @@ -82533,9 +82063,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: + - *307 - *308 - - *309 - - *415 + - *412 responses: '200': description: Response @@ -82682,8 +82212,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -82748,8 +82278,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -82783,9 +82313,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *438 + schema: *435 examples: - default: *527 + default: *525 '204': description: Response when already merged '404': @@ -82810,8 +82340,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: + - *307 - *308 - - *309 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -82852,7 +82382,7 @@ paths: application/json: schema: type: array - items: *243 + items: *242 examples: default: value: @@ -82908,8 +82438,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -82949,9 +82479,9 @@ paths: description: Response content: application/json: - schema: *243 + schema: *242 examples: - default: &528 + default: &526 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -83010,9 +82540,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: + - *307 - *308 - - *309 - - &529 + - &527 name: milestone_number description: The number that identifies the milestone. in: path @@ -83024,9 +82554,9 @@ paths: description: Response content: application/json: - schema: *243 + schema: *242 examples: - default: *528 + default: *526 '404': *6 x-github: githubCloudOnly: false @@ -83043,9 +82573,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: + - *307 - *308 - - *309 - - *529 + - *527 requestBody: required: false content: @@ -83083,9 +82613,9 @@ paths: description: Response content: application/json: - schema: *243 + schema: *242 examples: - default: *528 + default: *526 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83101,9 +82631,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: + - *307 - *308 - - *309 - - *529 + - *527 responses: '204': description: Response @@ -83124,9 +82654,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: + - *307 - *308 - - *309 - - *529 + - *527 - *17 - *19 responses: @@ -83136,9 +82666,9 @@ paths: application/json: schema: type: array - items: *508 + items: *506 examples: - default: *509 + default: *507 headers: Link: *52 x-github: @@ -83157,12 +82687,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: + - *307 - *308 - - *309 - - *530 - - *531 + - *528 + - *529 - *68 - - *532 + - *530 - *17 - *19 responses: @@ -83174,7 +82704,7 @@ paths: type: array items: *90 examples: - default: *533 + default: *531 headers: Link: *52 x-github: @@ -83198,8 +82728,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: + - *307 - *308 - - *309 requestBody: required: false content: @@ -83257,14 +82787,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: + - *307 - *308 - - *309 responses: '200': description: Response content: application/json: - schema: &534 + schema: &532 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -83408,7 +82938,7 @@ paths: - custom_404 - public examples: - default: &535 + default: &533 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -83449,8 +82979,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -83505,9 +83035,9 @@ paths: description: Response content: application/json: - schema: *534 + schema: *532 examples: - default: *535 + default: *533 '422': *15 '409': *45 x-github: @@ -83530,8 +83060,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -83631,8 +83161,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: + - *307 - *308 - - *309 responses: '204': description: Response @@ -83658,8 +83188,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: + - *307 - *308 - - *309 - *17 - *19 responses: @@ -83669,7 +83199,7 @@ paths: application/json: schema: type: array - items: &536 + items: &534 title: Page Build description: Page Build type: object @@ -83761,8 +83291,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: + - *307 - *308 - - *309 responses: '201': description: Response @@ -83809,16 +83339,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: + - *307 - *308 - - *309 responses: '200': description: Response content: application/json: - schema: *536 + schema: *534 examples: - default: &537 + default: &535 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -83866,8 +83396,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: + - *307 - *308 - - *309 - name: build_id in: path required: true @@ -83878,9 +83408,9 @@ paths: description: Response content: application/json: - schema: *536 + schema: *534 examples: - default: *537 + default: *535 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83900,8 +83430,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -84009,9 +83539,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: + - *307 - *308 - - *309 - - &538 + - &536 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -84069,9 +83599,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: + - *307 - *308 - - *309 - - *538 + - *536 responses: '204': *165 '404': *6 @@ -84098,8 +83628,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: + - *307 - *308 - - *309 responses: '200': description: Response @@ -84394,8 +83924,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: + - *307 - *308 - - *309 responses: '200': description: Private vulnerability reporting status @@ -84432,8 +83962,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: + - *307 - *308 - - *309 responses: '204': *165 '422': *14 @@ -84454,8 +83984,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: + - *307 - *308 - - *309 responses: '204': *165 '422': *14 @@ -84464,148 +83994,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: - - *308 - - *309 - - 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: *238 - 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: *52 - '401': *23 - '403': *27 - '404': *6 - '410': *314 - '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: - - *308 - - *309 - 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: *238 - examples: - default: *313 - '401': *23 - '403': *27 - '404': *6 - '410': *314 - '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 @@ -84619,8 +84007,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: + - *307 - *308 - - *309 responses: '200': description: Response @@ -84630,7 +84018,7 @@ paths: type: array items: *95 examples: - default: *539 + default: *537 '403': *27 '404': *6 x-github: @@ -84652,8 +84040,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: + - *307 - *308 - - *309 requestBody: required: true content: @@ -84669,7 +84057,7 @@ paths: required: - properties examples: - default: *540 + default: *538 responses: '204': description: No Content when custom property values are successfully created @@ -84707,8 +84095,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: + - *307 - *308 - - *309 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -84768,9 +84156,9 @@ paths: application/json: schema: type: array - items: *442 + items: *439 examples: - default: *541 + default: *539 headers: Link: *52 '304': *35 @@ -84802,8 +84190,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -84870,7 +84258,7 @@ paths: description: Response content: application/json: - schema: &545 + schema: &543 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -84999,7 +84387,7 @@ paths: milestone: anyOf: - type: 'null' - - *243 + - *242 active_lock_reason: type: - string @@ -85092,14 +84480,14 @@ paths: _links: type: object properties: - comments: *244 - commits: *244 - statuses: *244 - html: *244 - issue: *244 - review_comments: *244 - review_comment: *244 - self: *244 + comments: *243 + commits: *243 + statuses: *243 + html: *243 + issue: *243 + review_comments: *243 + review_comment: *243 + self: *243 required: - comments - commits @@ -85110,7 +84498,7 @@ paths: - review_comment - self author_association: *65 - auto_merge: *542 + auto_merge: *540 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -85212,7 +84600,7 @@ paths: - merged_by - review_comments examples: - default: &546 + default: &544 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -85739,8 +85127,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: + - *307 - *308 - - *309 - name: sort in: query required: false @@ -85769,9 +85157,9 @@ paths: application/json: schema: type: array - items: *543 + items: *541 examples: - default: &548 + default: &546 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -85848,17 +85236,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: + - *307 - *308 - - *309 - *77 responses: '200': description: Response content: application/json: - schema: *543 + schema: *541 examples: - default: &544 + default: &542 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -85933,8 +85321,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: + - *307 - *308 - - *309 - *77 requestBody: required: true @@ -85957,9 +85345,9 @@ paths: description: Response content: application/json: - schema: *543 + schema: *541 examples: - default: *544 + default: *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85975,8 +85363,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: + - *307 - *308 - - *309 - *77 responses: '204': @@ -85998,8 +85386,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: + - *307 - *308 - - *309 - *77 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -86026,9 +85414,9 @@ paths: application/json: schema: type: array - items: *301 + items: *300 examples: - default: *303 + default: *302 headers: Link: *52 '404': *6 @@ -86049,8 +85437,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: + - *307 - *308 - - *309 - *77 requestBody: required: true @@ -86083,16 +85471,16 @@ paths: description: Reaction exists content: application/json: - schema: *301 + schema: *300 examples: - default: *302 + default: *301 '201': description: Reaction created content: application/json: - schema: *301 + schema: *300 examples: - default: *302 + default: *301 '422': *15 x-github: githubCloudOnly: false @@ -86114,10 +85502,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: + - *307 - *308 - - *309 - *77 - - *304 + - *303 responses: '204': description: Response @@ -86160,9 +85548,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: + - *307 - *308 - - *309 - - &547 + - &545 name: pull_number description: The number that identifies the pull request. in: path @@ -86175,9 +85563,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *545 + schema: *543 examples: - default: *546 + default: *544 '304': *35 '404': *6 '406': @@ -86212,9 +85600,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: + - *307 - *308 - - *309 - - *547 + - *545 requestBody: required: false content: @@ -86256,9 +85644,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *543 examples: - default: *546 + default: *544 '422': *15 '403': *27 x-github: @@ -86280,9 +85668,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: + - *307 - *308 - - *309 - - *547 + - *545 requestBody: required: true content: @@ -86345,7 +85733,7 @@ paths: application/json: schema: *210 examples: - default: *429 + default: *426 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -86353,7 +85741,7 @@ paths: application/json: schema: *210 examples: - default: *429 + default: *426 '401': *23 '403': *27 '404': *6 @@ -86383,9 +85771,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: + - *307 - *308 - - *309 - - *547 + - *545 - *87 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -86406,9 +85794,9 @@ paths: application/json: schema: type: array - items: *543 + items: *541 examples: - default: *548 + default: *546 headers: Link: *52 x-github: @@ -86441,9 +85829,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: + - *307 - *308 - - *309 - - *547 + - *545 requestBody: required: true content: @@ -86549,7 +85937,7 @@ paths: description: Response content: application/json: - schema: *543 + schema: *541 examples: example-for-a-multi-line-comment: value: @@ -86637,9 +86025,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: + - *307 - *308 - - *309 - - *547 + - *545 - *77 requestBody: required: true @@ -86662,7 +86050,7 @@ paths: description: Response content: application/json: - schema: *543 + schema: *541 examples: default: value: @@ -86748,9 +86136,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: + - *307 - *308 - - *309 - - *547 + - *545 - *17 - *19 responses: @@ -86760,9 +86148,9 @@ paths: application/json: schema: type: array - items: *438 + items: *435 examples: - default: *549 + default: *547 headers: Link: *52 x-github: @@ -86792,9 +86180,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: + - *307 - *308 - - *309 - - *547 + - *545 - *17 - *19 responses: @@ -86804,7 +86192,7 @@ paths: application/json: schema: type: array - items: *449 + items: *446 examples: default: value: @@ -86842,9 +86230,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: + - *307 - *308 - - *309 - - *547 + - *545 responses: '204': description: Response if pull request has been merged @@ -86867,9 +86255,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: + - *307 - *308 - - *309 - - *547 + - *545 requestBody: required: false content: @@ -86981,9 +86369,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: + - *307 - *308 - - *309 - - *547 + - *545 responses: '200': description: Response @@ -87058,9 +86446,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: + - *307 - *308 - - *309 - - *547 + - *545 requestBody: required: false content: @@ -87097,7 +86485,7 @@ paths: description: Response content: application/json: - schema: *442 + schema: *439 examples: default: value: @@ -87633,9 +87021,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: + - *307 - *308 - - *309 - - *547 + - *545 requestBody: required: true content: @@ -87669,7 +87057,7 @@ paths: description: Response content: application/json: - schema: *442 + schema: *439 examples: default: value: @@ -88174,9 +87562,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: + - *307 - *308 - - *309 - - *547 + - *545 - *17 - *19 responses: @@ -88186,7 +87574,7 @@ paths: application/json: schema: type: array - items: &550 + items: &548 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -88342,9 +87730,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: + - *307 - *308 - - *309 - - *547 + - *545 requestBody: required: false content: @@ -88434,9 +87822,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *548 examples: - default: &552 + default: &550 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -88499,10 +87887,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: + - *307 - *308 - - *309 - - *547 - - &551 + - *545 + - &549 name: review_id description: The unique identifier of the review. in: path @@ -88514,9 +87902,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *548 examples: - default: &553 + default: &551 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -88575,10 +87963,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: + - *307 - *308 - - *309 - - *547 - - *551 + - *545 + - *549 requestBody: required: true content: @@ -88601,7 +87989,7 @@ paths: description: Response content: application/json: - schema: *550 + schema: *548 examples: default: value: @@ -88663,18 +88051,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: + - *307 - *308 - - *309 - - *547 - - *551 + - *545 + - *549 responses: '200': description: Response content: application/json: - schema: *550 + schema: *548 examples: - default: *552 + default: *550 '422': *7 '404': *6 x-github: @@ -88701,10 +88089,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: + - *307 - *308 - - *309 - - *547 - - *551 + - *545 + - *549 - *17 - *19 responses: @@ -88802,9 +88190,9 @@ paths: _links: type: object properties: - self: *244 - html: *244 - pull_request: *244 + self: *243 + html: *243 + pull_request: *243 required: - self - html @@ -88962,10 +88350,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: + - *307 - *308 - - *309 - - *547 - - *551 + - *545 + - *549 requestBody: required: true content: @@ -88994,7 +88382,7 @@ paths: description: Response content: application/json: - schema: *550 + schema: *548 examples: default: value: @@ -89057,10 +88445,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: + - *307 - *308 - - *309 - - *547 - - *551 + - *545 + - *549 requestBody: required: true content: @@ -89095,9 +88483,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *548 examples: - default: *553 + default: *551 '404': *6 '422': *7 '403': *27 @@ -89119,9 +88507,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: + - *307 - *308 - - *309 - - *547 + - *545 requestBody: required: false content: @@ -89185,8 +88573,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: + - *307 - *308 - - *309 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -89199,9 +88587,9 @@ paths: description: Response content: application/json: - schema: *554 + schema: *552 examples: - default: &555 + default: &553 value: type: file encoding: base64 @@ -89243,8 +88631,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: + - *307 - *308 - - *309 - name: dir description: The alternate path to look for a README file in: path @@ -89264,9 +88652,9 @@ paths: description: Response content: application/json: - schema: *554 + schema: *552 examples: - default: *555 + default: *553 '404': *6 '422': *15 x-github: @@ -89288,8 +88676,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: + - *307 - *308 - - *309 - *17 - *19 responses: @@ -89299,7 +88687,7 @@ paths: application/json: schema: type: array - items: &556 + items: &554 title: Release description: A release. type: object @@ -89381,7 +88769,7 @@ paths: author: *4 assets: type: array - items: &557 + items: &555 title: Release Asset description: Data related to a release. type: object @@ -89568,8 +88956,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -89645,9 +89033,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *554 examples: - default: &560 + default: &558 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -89752,9 +89140,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: + - *307 - *308 - - *309 - - &558 + - &556 name: asset_id description: The unique identifier of the asset. in: path @@ -89766,9 +89154,9 @@ paths: description: Response content: application/json: - schema: *557 + schema: *555 examples: - default: &559 + default: &557 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 @@ -89803,7 +89191,7 @@ paths: type: User site_admin: false '404': *6 - '302': *451 + '302': *448 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89819,9 +89207,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: + - *307 - *308 - - *309 - - *558 + - *556 requestBody: required: false content: @@ -89850,9 +89238,9 @@ paths: description: Response content: application/json: - schema: *557 + schema: *555 examples: - default: *559 + default: *557 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89868,9 +89256,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: + - *307 - *308 - - *309 - - *558 + - *556 responses: '204': description: Response @@ -89894,8 +89282,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -89981,16 +89369,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: + - *307 - *308 - - *309 responses: '200': description: Response content: application/json: - schema: *556 + schema: *554 examples: - default: *560 + default: *558 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90007,8 +89395,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: + - *307 - *308 - - *309 - name: tag description: tag parameter in: path @@ -90021,9 +89409,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *554 examples: - default: *560 + default: *558 '404': *6 x-github: githubCloudOnly: false @@ -90045,9 +89433,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: + - *307 - *308 - - *309 - - &561 + - &559 name: release_id description: The unique identifier of the release. in: path @@ -90061,9 +89449,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: *556 + schema: *554 examples: - default: *560 + default: *558 '401': description: Unauthorized x-github: @@ -90081,9 +89469,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: + - *307 - *308 - - *309 - - *561 + - *559 requestBody: required: false content: @@ -90147,9 +89535,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *554 examples: - default: *560 + default: *558 '404': description: Not Found if the discussion category name is invalid content: @@ -90170,9 +89558,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: + - *307 - *308 - - *309 - - *561 + - *559 responses: '204': description: Response @@ -90192,9 +89580,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: + - *307 - *308 - - *309 - - *561 + - *559 - *17 - *19 responses: @@ -90204,7 +89592,7 @@ paths: application/json: schema: type: array - items: *557 + items: *555 examples: default: value: @@ -90285,9 +89673,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: + - *307 - *308 - - *309 - - *561 + - *559 - name: name in: query required: true @@ -90313,7 +89701,7 @@ paths: description: Response for successful upload content: application/json: - schema: *557 + schema: *555 examples: response-for-successful-upload: value: @@ -90368,9 +89756,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: + - *307 - *308 - - *309 - - *561 + - *559 - 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. @@ -90394,9 +89782,9 @@ paths: application/json: schema: type: array - items: *301 + items: *300 examples: - default: *303 + default: *302 headers: Link: *52 '404': *6 @@ -90417,9 +89805,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: + - *307 - *308 - - *309 - - *561 + - *559 requestBody: required: true content: @@ -90449,16 +89837,16 @@ paths: description: Reaction exists content: application/json: - schema: *301 + schema: *300 examples: - default: *302 + default: *301 '201': description: Reaction created content: application/json: - schema: *301 + schema: *300 examples: - default: *302 + default: *301 '422': *15 x-github: githubCloudOnly: false @@ -90480,10 +89868,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: + - *307 - *308 - - *309 - - *561 - - *304 + - *559 + - *303 responses: '204': description: Response @@ -90507,9 +89895,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: + - *307 - *308 - - *309 - - *378 + - *375 - *17 - *19 responses: @@ -90525,8 +89913,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *260 - - &562 + - *259 + - &560 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -90545,69 +89933,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. + - allOf: + - *260 + - *560 - allOf: - *261 - - *562 + - *560 - allOf: - *262 - - *562 + - *560 - allOf: - - *263 - - *562 + - *561 + - *560 - allOf: - - *563 - - *562 + - *263 + - *560 - allOf: - *264 - - *562 + - *560 - allOf: - *265 - - *562 + - *560 - allOf: - *266 - - *562 + - *560 - allOf: - *267 - - *562 + - *560 - allOf: - *268 - - *562 + - *560 - allOf: - *269 - - *562 + - *560 - allOf: - *270 - - *562 + - *560 - allOf: - *271 - - *562 + - *560 - allOf: - *272 - - *562 + - *560 - allOf: - *273 - - *562 + - *560 - allOf: - *274 - - *562 + - *560 - allOf: - *275 - - *562 + - *560 - allOf: - *276 - - *562 + - *560 - allOf: - *277 - - *562 + - *560 - allOf: - *278 - - *562 - - allOf: - - *279 - - *562 + - *560 - allOf: - - *564 - *562 + - *560 examples: default: value: @@ -90646,8 +90034,8 @@ paths: category: repos subcategory: rules parameters: + - *307 - *308 - - *309 - *17 - *19 - name: includes_parents @@ -90658,7 +90046,7 @@ paths: schema: type: boolean default: true - - *565 + - *563 responses: '200': description: Response @@ -90666,7 +90054,7 @@ paths: application/json: schema: type: array - items: *280 + items: *279 examples: default: value: @@ -90713,8 +90101,8 @@ paths: category: repos subcategory: rules parameters: + - *307 - *308 - - *309 requestBody: description: Request body required: true @@ -90734,16 +90122,16 @@ paths: - tag - push default: branch - enforcement: *257 + enforcement: *256 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *258 - conditions: *255 + items: *257 + conditions: *254 rules: type: array description: An array of rules within the ruleset. - items: *566 + items: *564 required: - name - enforcement @@ -90774,9 +90162,9 @@ paths: description: Response content: application/json: - schema: *280 + schema: *279 examples: - default: &576 + default: &574 value: id: 42 name: super cool ruleset @@ -90823,12 +90211,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: + - *307 - *308 - - *309 + - *565 + - *566 - *567 - *568 - - *569 - - *570 - *17 - *19 responses: @@ -90836,9 +90224,9 @@ paths: description: Response content: application/json: - schema: *571 + schema: *569 examples: - default: *572 + default: *570 '404': *6 '500': *96 x-github: @@ -90859,17 +90247,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: + - *307 - *308 - - *309 - - *573 + - *571 responses: '200': description: Response content: application/json: - schema: *574 + schema: *572 examples: - default: *575 + default: *573 '404': *6 '500': *96 x-github: @@ -90897,8 +90285,8 @@ paths: category: repos subcategory: rules parameters: + - *307 - *308 - - *309 - name: ruleset_id description: The ID of the ruleset. in: path @@ -90918,9 +90306,9 @@ paths: description: Response content: application/json: - schema: *280 + schema: *279 examples: - default: *576 + default: *574 '404': *6 '500': *96 put: @@ -90938,8 +90326,8 @@ paths: category: repos subcategory: rules parameters: + - *307 - *308 - - *309 - name: ruleset_id description: The ID of the ruleset. in: path @@ -90964,16 +90352,16 @@ paths: - branch - tag - push - enforcement: *257 + enforcement: *256 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *258 - conditions: *255 + items: *257 + conditions: *254 rules: description: An array of rules within the ruleset. type: array - items: *566 + items: *564 examples: default: value: @@ -91001,9 +90389,9 @@ paths: description: Response content: application/json: - schema: *280 + schema: *279 examples: - default: *576 + default: *574 '404': *6 '500': *96 delete: @@ -91021,8 +90409,8 @@ paths: category: repos subcategory: rules parameters: + - *307 - *308 - - *309 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91045,8 +90433,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: + - *307 - *308 - - *309 - *17 - *19 - name: ruleset_id @@ -91062,9 +90450,9 @@ paths: application/json: schema: type: array - items: *283 + items: *282 examples: - default: *577 + default: *575 '404': *6 '500': *96 x-github: @@ -91083,8 +90471,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: + - *307 - *308 - - *309 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91102,7 +90490,7 @@ paths: description: Response content: application/json: - schema: *578 + schema: *576 examples: default: value: @@ -91157,21 +90545,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: + - *307 - *308 - - *309 + - *577 + - *578 - *579 - *580 - - *581 - - *582 - *46 - *19 - *17 + - *581 + - *582 - *583 - *584 - *585 - *586 - - *587 - - *588 responses: '200': description: Response @@ -91179,7 +90567,7 @@ paths: application/json: schema: type: array - items: &592 + items: &590 type: object properties: number: *151 @@ -91195,8 +90583,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *589 - resolution: *590 + state: *587 + resolution: *588 resolved_at: type: - string @@ -91290,7 +90678,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *591 + - *589 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -91435,16 +90823,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: + - *307 - *308 - - *309 - - *409 - - *588 + - *406 + - *586 responses: '200': description: Response content: application/json: - schema: *592 + schema: *590 examples: default: value: @@ -91496,9 +90884,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: + - *307 - *308 - - *309 - - *409 + - *406 requestBody: required: true content: @@ -91506,8 +90894,8 @@ paths: schema: type: object properties: - state: *589 - resolution: *590 + state: *587 + resolution: *588 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -91526,7 +90914,7 @@ paths: description: Response content: application/json: - schema: *592 + schema: *590 examples: default: value: @@ -91601,9 +90989,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: + - *307 - *308 - - *309 - - *409 + - *406 - *19 - *17 responses: @@ -91614,7 +91002,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &745 + items: &743 type: object properties: type: @@ -91641,6 +91029,8 @@ paths: - commit details: oneOf: + - *591 + - *592 - *593 - *594 - *595 @@ -91652,8 +91042,6 @@ paths: - *601 - *602 - *603 - - *604 - - *605 examples: default: value: @@ -91739,8 +91127,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -91748,14 +91136,14 @@ paths: schema: type: object properties: - reason: &607 + reason: &605 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *606 + placeholder_id: *604 required: - reason - placeholder_id @@ -91772,7 +91160,7 @@ paths: schema: type: object properties: - reason: *607 + reason: *605 expire_at: type: - string @@ -91819,8 +91207,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: + - *307 - *308 - - *309 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -91835,7 +91223,7 @@ paths: properties: incremental_scans: type: array - items: &608 + items: &606 description: Information on a single scan performed by secret scanning on the repository type: object @@ -91863,15 +91251,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *608 + items: *606 backfill_scans: type: array - items: *608 + items: *606 custom_pattern_backfill_scans: type: array items: allOf: - - *608 + - *606 - type: object properties: pattern_name: @@ -91941,8 +91329,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: + - *307 - *308 - - *309 - *46 - name: sort description: The property to sort the results by. @@ -91986,9 +91374,9 @@ paths: application/json: schema: type: array - items: *609 + items: *607 examples: - default: *610 + default: *608 '400': *14 '404': *6 x-github: @@ -92011,8 +91399,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -92092,7 +91480,7 @@ paths: login: type: string description: The username of the user credited. - type: *286 + type: *285 required: - login - type @@ -92182,9 +91570,9 @@ paths: description: Response content: application/json: - schema: *609 + schema: *607 examples: - default: &612 + default: &610 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -92417,8 +91805,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -92531,7 +91919,7 @@ paths: description: Response content: application/json: - schema: *609 + schema: *607 examples: default: value: @@ -92678,17 +92066,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: + - *307 - *308 - - *309 - - *611 + - *609 responses: '200': description: Response content: application/json: - schema: *609 + schema: *607 examples: - default: *612 + default: *610 '403': *27 '404': *6 x-github: @@ -92712,9 +92100,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: + - *307 - *308 - - *309 - - *611 + - *609 requestBody: required: true content: @@ -92794,7 +92182,7 @@ paths: login: type: string description: The username of the user credited. - type: *286 + type: *285 required: - login - type @@ -92885,10 +92273,10 @@ paths: description: Response content: application/json: - schema: *609 + schema: *607 examples: - default: *612 - add_credit: *612 + default: *610 + add_credit: *610 '403': *27 '404': *6 '422': @@ -92926,9 +92314,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: + - *307 - *308 - - *309 - - *611 + - *609 responses: '202': *37 '400': *14 @@ -92955,17 +92343,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: + - *307 - *308 - - *309 - - *611 + - *609 responses: '202': description: Response content: application/json: - schema: *316 + schema: *313 examples: - default: *318 + default: *315 '400': *14 '422': *15 '403': *27 @@ -92991,8 +92379,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: + - *307 - *308 - - *309 - *17 - *19 responses: @@ -93088,8 +92476,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: + - *307 - *308 - - *309 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -93098,7 +92486,7 @@ paths: application/json: schema: type: array - items: &613 + items: &611 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -93131,8 +92519,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: + - *307 - *308 - - *309 responses: '200': description: Response @@ -93210,8 +92598,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: + - *307 - *308 - - *309 responses: '200': description: Response @@ -93305,8 +92693,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: + - *307 - *308 - - *309 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -93460,8 +92848,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: + - *307 - *308 - - *309 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -93471,7 +92859,7 @@ paths: application/json: schema: type: array - items: *613 + items: *611 examples: default: value: @@ -93504,8 +92892,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: + - *307 - *308 - - *309 - name: sha in: path required: true @@ -93561,7 +92949,7 @@ paths: description: Response content: application/json: - schema: *614 + schema: *612 examples: default: value: @@ -93615,8 +93003,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: + - *307 - *308 - - *309 - *17 - *19 responses: @@ -93648,14 +93036,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: + - *307 - *308 - - *309 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &615 + schema: &613 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -93728,8 +93116,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: + - *307 - *308 - - *309 requestBody: required: false content: @@ -93755,7 +93143,7 @@ paths: description: Response content: application/json: - schema: *615 + schema: *613 examples: default: value: @@ -93782,8 +93170,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: + - *307 - *308 - - *309 responses: '204': description: Response @@ -93803,8 +93191,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: + - *307 - *308 - - *309 - *17 - *19 responses: @@ -93886,8 +93274,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: + - *307 - *308 - - *309 responses: '200': description: Response @@ -93895,7 +93283,7 @@ paths: application/json: schema: type: array - items: &616 + items: &614 title: Tag protection description: Tag protection type: object @@ -93952,8 +93340,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: + - *307 - *308 - - *309 requestBody: required: true content: @@ -93976,7 +93364,7 @@ paths: description: Response content: application/json: - schema: *616 + schema: *614 examples: default: value: @@ -94007,8 +93395,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: + - *307 - *308 - - *309 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -94045,8 +93433,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: + - *307 - *308 - - *309 - name: ref in: path required: true @@ -94082,8 +93470,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: + - *307 - *308 - - *309 - *17 - *19 responses: @@ -94115,8 +93503,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: + - *307 - *308 - - *309 - *19 - *17 responses: @@ -94124,7 +93512,7 @@ paths: description: Response content: application/json: - schema: &617 + schema: &615 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -94136,7 +93524,7 @@ paths: required: - names examples: - default: &618 + default: &616 value: names: - octocat @@ -94159,8 +93547,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -94191,9 +93579,9 @@ paths: description: Response content: application/json: - schema: *617 + schema: *615 examples: - default: *618 + default: *616 '404': *6 '422': *7 x-github: @@ -94214,9 +93602,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: + - *307 - *308 - - *309 - - &619 + - &617 name: per description: The time frame to display results for. in: query @@ -94247,7 +93635,7 @@ paths: - 128 clones: type: array - items: &620 + items: &618 title: Traffic type: object properties: @@ -94334,8 +93722,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: + - *307 - *308 - - *309 responses: '200': description: Response @@ -94429,8 +93817,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: + - *307 - *308 - - *309 responses: '200': description: Response @@ -94493,9 +93881,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: + - *307 - *308 - - *309 - - *619 + - *617 responses: '200': description: Response @@ -94516,7 +93904,7 @@ paths: - 3782 views: type: array - items: *620 + items: *618 required: - uniques - count @@ -94593,8 +93981,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -94868,8 +94256,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: + - *307 - *308 - - *309 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -94892,8 +94280,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: + - *307 - *308 - - *309 responses: '204': description: Response @@ -94915,8 +94303,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: + - *307 - *308 - - *309 responses: '204': description: Response @@ -94942,8 +94330,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: + - *307 - *308 - - *309 - name: ref in: path required: true @@ -95035,9 +94423,9 @@ paths: description: Response content: application/json: - schema: *316 + schema: *313 examples: - default: *318 + default: *315 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -95286,7 +94674,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &621 + text_matches: &619 title: Search Result Text Matches type: array items: @@ -95449,7 +94837,7 @@ paths: enum: - author-date - committer-date - - &622 + - &620 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 @@ -95518,7 +94906,7 @@ paths: committer: anyOf: - type: 'null' - - *376 + - *373 comment_count: type: integer message: @@ -95537,7 +94925,7 @@ paths: url: type: string format: uri - verification: *487 + verification: *484 required: - author - committer @@ -95552,7 +94940,7 @@ paths: committer: anyOf: - type: 'null' - - *376 + - *373 parents: type: array items: @@ -95569,7 +94957,7 @@ paths: type: number node_id: type: string - text_matches: *621 + text_matches: *619 required: - sha - node_id @@ -95761,7 +95149,7 @@ paths: - interactions - created - updated - - *622 + - *620 - *17 - *19 - name: advanced_search @@ -95858,11 +95246,11 @@ paths: type: - string - 'null' - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *621 + issue_dependencies_summary: *622 issue_field_values: type: array - items: *625 + items: *623 state: type: string state_reason: @@ -95876,7 +95264,7 @@ paths: milestone: anyOf: - type: 'null' - - *243 + - *242 comments: type: integer created_at: @@ -95890,7 +95278,7 @@ paths: - string - 'null' format: date-time - text_matches: *621 + text_matches: *619 pull_request: type: object properties: @@ -96113,7 +95501,7 @@ paths: enum: - created - updated - - *622 + - *620 - *17 - *19 responses: @@ -96158,7 +95546,7 @@ paths: - 'null' score: type: number - text_matches: *621 + text_matches: *619 required: - id - node_id @@ -96243,7 +95631,7 @@ paths: - forks - help-wanted-issues - updated - - *622 + - *620 - *17 - *19 responses: @@ -96480,7 +95868,7 @@ paths: - admin - pull - push - text_matches: *621 + text_matches: *619 temp_clone_token: type: string allow_merge_commit: @@ -96788,7 +96176,7 @@ paths: - string - 'null' format: uri - text_matches: *621 + text_matches: *619 related: type: - array @@ -96981,7 +96369,7 @@ paths: - followers - repositories - joined - - *622 + - *620 - *17 - *19 responses: @@ -97091,7 +96479,7 @@ paths: type: - boolean - 'null' - text_matches: *621 + text_matches: *619 blog: type: - string @@ -97173,7 +96561,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &626 + - &624 name: team_id description: The unique identifier of the team. in: path @@ -97185,9 +96573,9 @@ paths: description: Response content: application/json: - schema: *293 + schema: *292 examples: - default: *294 + default: *293 '404': *6 x-github: githubCloudOnly: false @@ -97214,7 +96602,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *626 + - *624 requestBody: required: true content: @@ -97278,16 +96666,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *293 + schema: *292 examples: - default: *294 + default: *293 '201': description: Response content: application/json: - schema: *293 + schema: *292 examples: - default: *294 + default: *293 '404': *6 '422': *15 '403': *27 @@ -97315,7 +96703,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *626 + - *624 responses: '204': description: Response @@ -97346,7 +96734,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *626 + - *624 - *46 - *17 - *19 @@ -97357,9 +96745,9 @@ paths: application/json: schema: type: array - items: *295 + items: *294 examples: - default: *627 + default: *625 headers: Link: *52 x-github: @@ -97388,7 +96776,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *626 + - *624 requestBody: required: true content: @@ -97422,9 +96810,9 @@ paths: description: Response content: application/json: - schema: *295 + schema: *294 examples: - default: *296 + default: *295 x-github: triggersNotification: true githubCloudOnly: false @@ -97451,16 +96839,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *626 - - *297 + - *624 + - *296 responses: '200': description: Response content: application/json: - schema: *295 + schema: *294 examples: - default: *296 + default: *295 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97485,8 +96873,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *626 - - *297 + - *624 + - *296 requestBody: required: false content: @@ -97509,9 +96897,9 @@ paths: description: Response content: application/json: - schema: *295 + schema: *294 examples: - default: *628 + default: *626 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97536,8 +96924,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *626 - - *297 + - *624 + - *296 responses: '204': description: Response @@ -97566,8 +96954,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *626 - - *297 + - *624 + - *296 - *46 - *17 - *19 @@ -97578,9 +96966,9 @@ paths: application/json: schema: type: array - items: *298 + items: *297 examples: - default: *629 + default: *627 headers: Link: *52 x-github: @@ -97609,8 +96997,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *626 - - *297 + - *624 + - *296 requestBody: required: true content: @@ -97632,9 +97020,9 @@ paths: description: Response content: application/json: - schema: *298 + schema: *297 examples: - default: *299 + default: *298 x-github: triggersNotification: true githubCloudOnly: false @@ -97661,17 +97049,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *626 - - *297 - - *300 + - *624 + - *296 + - *299 responses: '200': description: Response content: application/json: - schema: *298 + schema: *297 examples: - default: *299 + default: *298 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97696,9 +97084,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *626 - - *297 - - *300 + - *624 + - *296 + - *299 requestBody: required: true content: @@ -97720,9 +97108,9 @@ paths: description: Response content: application/json: - schema: *298 + schema: *297 examples: - default: *630 + default: *628 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97747,9 +97135,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *626 - - *297 - - *300 + - *624 + - *296 + - *299 responses: '204': description: Response @@ -97778,9 +97166,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *626 - - *297 - - *300 + - *624 + - *296 + - *299 - 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. @@ -97806,9 +97194,9 @@ paths: application/json: schema: type: array - items: *301 + items: *300 examples: - default: *303 + default: *302 headers: Link: *52 x-github: @@ -97837,9 +97225,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *626 - - *297 - - *300 + - *624 + - *296 + - *299 requestBody: required: true content: @@ -97871,9 +97259,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *300 examples: - default: *302 + default: *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97899,8 +97287,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *626 - - *297 + - *624 + - *296 - 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. @@ -97926,9 +97314,9 @@ paths: application/json: schema: type: array - items: *301 + items: *300 examples: - default: *303 + default: *302 headers: Link: *52 x-github: @@ -97957,8 +97345,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *626 - - *297 + - *624 + - *296 requestBody: required: true content: @@ -97990,9 +97378,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *300 examples: - default: *302 + default: *301 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98016,7 +97404,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *626 + - *624 - *17 - *19 responses: @@ -98054,7 +97442,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *626 + - *624 - name: role description: Filters members returned by their role in the team. in: query @@ -98105,7 +97493,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *626 + - *624 - *57 responses: '204': @@ -98142,7 +97530,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *626 + - *624 - *57 responses: '204': @@ -98182,7 +97570,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *626 + - *624 - *57 responses: '204': @@ -98219,16 +97607,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *626 + - *624 - *57 responses: '200': description: Response content: application/json: - schema: *305 + schema: *304 examples: - response-if-user-is-a-team-maintainer: *631 + response-if-user-is-a-team-maintainer: *629 '404': *6 x-github: githubCloudOnly: false @@ -98261,7 +97649,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *626 + - *624 - *57 requestBody: required: false @@ -98287,9 +97675,9 @@ paths: description: Response content: application/json: - schema: *305 + schema: *304 examples: - response-if-users-membership-with-team-is-now-pending: *632 + response-if-users-membership-with-team-is-now-pending: *630 '403': description: Forbidden if team synchronization is set up '422': @@ -98323,7 +97711,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *626 + - *624 - *57 responses: '204': @@ -98352,7 +97740,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *626 + - *624 - *17 - *19 responses: @@ -98362,9 +97750,9 @@ paths: application/json: schema: type: array - items: *306 + items: *305 examples: - default: *633 + default: *631 headers: Link: *52 '404': *6 @@ -98390,16 +97778,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *626 - - *307 + - *624 + - *306 responses: '200': description: Response content: application/json: - schema: *306 + schema: *305 examples: - default: *634 + default: *632 '404': description: Not Found if project is not managed by this team x-github: @@ -98423,8 +97811,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *626 - - *307 + - *624 + - *306 requestBody: required: false content: @@ -98491,8 +97879,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *626 - - *307 + - *624 + - *306 responses: '204': description: Response @@ -98519,7 +97907,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *626 + - *624 - *17 - *19 responses: @@ -98561,15 +97949,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *626 + - *624 + - *307 - *308 - - *309 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *635 + schema: *633 examples: alternative-response-with-extra-repository-information: value: @@ -98720,9 +98108,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *626 + - *624 + - *307 - *308 - - *309 requestBody: required: false content: @@ -98772,9 +98160,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *626 + - *624 + - *307 - *308 - - *309 responses: '204': description: Response @@ -98799,7 +98187,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *626 + - *624 - *17 - *19 responses: @@ -98811,7 +98199,7 @@ paths: type: array items: *169 examples: - response-if-child-teams-exist: *636 + response-if-child-teams-exist: *634 headers: Link: *52 '404': *6 @@ -98844,7 +98232,7 @@ paths: application/json: schema: oneOf: - - &638 + - &636 title: Private User description: Private User type: object @@ -99094,7 +98482,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *637 + - *635 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -99254,7 +98642,7 @@ paths: description: Response content: application/json: - schema: *638 + schema: *636 examples: default: value: @@ -99600,7 +98988,7 @@ paths: application/json: schema: *210 examples: - default: *429 + default: *426 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -99608,7 +98996,7 @@ paths: application/json: schema: *210 examples: - default: *429 + default: *426 '401': *23 '403': *27 '404': *6 @@ -99652,7 +99040,7 @@ paths: type: integer secrets: type: array - items: &639 + items: &637 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -99694,7 +99082,7 @@ paths: - visibility - selected_repositories_url examples: - default: *431 + default: *428 headers: Link: *52 x-github: @@ -99772,7 +99160,7 @@ paths: description: Response content: application/json: - schema: *639 + schema: *637 examples: default: value: @@ -99918,7 +99306,7 @@ paths: type: array items: *135 examples: - default: *640 + default: *638 '401': *23 '403': *27 '404': *6 @@ -100070,7 +99458,7 @@ paths: application/json: schema: *210 examples: - default: *429 + default: *426 '304': *35 '500': *96 '401': *23 @@ -100128,7 +99516,7 @@ paths: application/json: schema: *210 examples: - default: *429 + default: *426 '401': *23 '403': *27 '404': *6 @@ -100185,7 +99573,7 @@ paths: description: Response content: application/json: - schema: &641 + schema: &639 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -100238,7 +99626,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &642 + default: &640 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -100283,9 +99671,9 @@ paths: description: Response content: application/json: - schema: *641 + schema: *639 examples: - default: *642 + default: *640 '404': *6 x-github: githubCloudOnly: false @@ -100322,9 +99710,9 @@ paths: type: integer machines: type: array - items: *430 + items: *427 examples: - default: *643 + default: *641 '304': *35 '500': *96 '401': *23 @@ -100409,11 +99797,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *316 + repository: *313 machine: anyOf: - type: 'null' - - *430 + - *427 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -101218,7 +100606,7 @@ paths: application/json: schema: *210 examples: - default: *429 + default: *426 '304': *35 '500': *96 '400': *14 @@ -101258,7 +100646,7 @@ paths: application/json: schema: *210 examples: - default: *429 + default: *426 '500': *96 '401': *23 '403': *27 @@ -101290,7 +100678,7 @@ paths: type: array items: *222 examples: - default: &654 + default: &652 value: - id: 197 name: hello_docker @@ -101391,7 +100779,7 @@ paths: application/json: schema: type: array - items: &644 + items: &642 title: Email description: Email type: object @@ -101461,9 +100849,9 @@ paths: application/json: schema: type: array - items: *644 + items: *642 examples: - default: &656 + default: &654 value: - email: octocat@github.com verified: true @@ -101540,7 +100928,7 @@ paths: application/json: schema: type: array - items: *644 + items: *642 examples: default: value: @@ -101798,7 +101186,7 @@ paths: application/json: schema: type: array - items: &645 + items: &643 title: GPG Key description: A unique encryption key type: object @@ -101943,7 +101331,7 @@ paths: - subkeys - revoked examples: - default: &670 + default: &668 value: - id: 3 name: Octocat's GPG Key @@ -102028,9 +101416,9 @@ paths: description: Response content: application/json: - schema: *645 + schema: *643 examples: - default: &646 + default: &644 value: id: 3 name: Octocat's GPG Key @@ -102087,7 +101475,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &647 + - &645 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -102099,9 +101487,9 @@ paths: description: Response content: application/json: - schema: *645 + schema: *643 examples: - default: *646 + default: *644 '404': *6 '304': *35 '403': *27 @@ -102124,7 +101512,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *647 + - *645 responses: '204': description: Response @@ -102429,7 +101817,7 @@ paths: required: true content: application/json: - schema: *498 + schema: *495 examples: default: value: @@ -102579,7 +101967,7 @@ paths: application/json: schema: type: array - items: &648 + items: &646 title: Key description: Key type: object @@ -102682,9 +102070,9 @@ paths: description: Response content: application/json: - schema: *648 + schema: *646 examples: - default: &649 + default: &647 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -102717,15 +102105,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *525 + - *523 responses: '200': description: Response content: application/json: - schema: *648 + schema: *646 examples: - default: *649 + default: *647 '404': *6 '304': *35 '403': *27 @@ -102748,7 +102136,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *525 + - *523 responses: '204': description: Response @@ -102781,7 +102169,7 @@ paths: application/json: schema: type: array - items: &650 + items: &648 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -102860,7 +102248,7 @@ paths: - account - plan examples: - default: &651 + default: &649 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -102922,9 +102310,9 @@ paths: application/json: schema: type: array - items: *650 + items: *648 examples: - default: *651 + default: *649 headers: Link: *52 '304': *35 @@ -103928,7 +103316,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *217 - - *652 + - *650 responses: '204': description: Response @@ -104043,7 +103431,7 @@ paths: - docker - nuget - container - - *653 + - *651 - *19 - *17 responses: @@ -104055,8 +103443,8 @@ paths: type: array items: *222 examples: - default: *654 - '400': *655 + default: *652 + '400': *653 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104085,7 +103473,7 @@ paths: application/json: schema: *222 examples: - default: &671 + default: &669 value: id: 40201 name: octo-name @@ -104422,99 +103810,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 - type: string - examples: - - Week One Sprint - body: - description: Body of the project - type: - - string - - 'null' - examples: - - This project represents the sprint of the first week in January - 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: *238 - 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': *35 - '403': *27 - '401': *23 - '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 @@ -104540,9 +103835,9 @@ paths: application/json: schema: type: array - items: *644 + items: *642 examples: - default: *656 + default: *654 headers: Link: *52 '304': *35 @@ -104655,7 +103950,7 @@ paths: type: array items: *64 examples: - default: &663 + default: &661 summary: Default response value: - id: 1296269 @@ -104973,9 +104268,9 @@ paths: description: Response content: application/json: - schema: *316 + schema: *313 examples: - default: *318 + default: *315 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -105013,9 +104308,9 @@ paths: application/json: schema: type: array - items: *500 + items: *497 examples: - default: *657 + default: *655 headers: Link: *52 '304': *35 @@ -105094,7 +104389,7 @@ paths: application/json: schema: type: array - items: &658 + items: &656 title: Social account description: Social media account type: object @@ -105111,7 +104406,7 @@ paths: - provider - url examples: - default: &659 + default: &657 value: - provider: twitter url: https://twitter.com/github @@ -105174,9 +104469,9 @@ paths: application/json: schema: type: array - items: *658 + items: *656 examples: - default: *659 + default: *657 '422': *15 '304': *35 '404': *6 @@ -105264,7 +104559,7 @@ paths: application/json: schema: type: array - items: &660 + items: &658 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -105284,7 +104579,7 @@ paths: - title - created_at examples: - default: &686 + default: &684 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -105351,9 +104646,9 @@ paths: description: Response content: application/json: - schema: *660 + schema: *658 examples: - default: &661 + default: &659 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -105384,7 +104679,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: - - &662 + - &660 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -105396,9 +104691,9 @@ paths: description: Response content: application/json: - schema: *660 + schema: *658 examples: - default: *661 + default: *659 '404': *6 '304': *35 '403': *27 @@ -105421,7 +104716,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: - - *662 + - *660 responses: '204': description: Response @@ -105450,7 +104745,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &687 + - &685 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 @@ -105475,11 +104770,11 @@ paths: type: array items: *64 examples: - default-response: *663 + default-response: *661 application/vnd.github.v3.star+json: schema: type: array - items: &688 + items: &686 title: Starred Repository description: Starred Repository type: object @@ -105635,8 +104930,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: + - *307 - *308 - - *309 responses: '204': description: Response if this repository is starred by you @@ -105664,8 +104959,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: + - *307 - *308 - - *309 responses: '204': description: Response @@ -105689,8 +104984,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: + - *307 - *308 - - *309 responses: '204': description: Response @@ -105762,7 +105057,7 @@ paths: application/json: schema: type: array - items: *293 + items: *292 examples: default: value: @@ -105848,10 +105143,10 @@ paths: application/json: schema: oneOf: - - *638 - - *637 + - *636 + - *635 examples: - default-response: &665 + default-response: &663 summary: Default response value: login: octocat @@ -105886,7 +105181,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &666 + response-with-git-hub-plan-information: &664 summary: Response with GitHub plan information value: login: octocat @@ -105946,7 +105241,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *664 + - *662 - *17 responses: '200': @@ -105995,11 +105290,11 @@ paths: application/json: schema: oneOf: - - *638 - - *637 + - *636 + - *635 examples: - default-response: *665 - response-with-git-hub-plan-information: *666 + default-response: *663 + response-with-git-hub-plan-information: *664 '404': *6 x-github: githubCloudOnly: false @@ -106049,8 +105344,8 @@ paths: required: - subject_digests examples: - default: *667 - withPredicateType: *668 + default: *665 + withPredicateType: *666 responses: '200': description: Response @@ -106104,7 +105399,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *669 + default: *667 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106309,7 +105604,7 @@ paths: initiator: type: string examples: - default: *372 + default: *369 '201': description: Response content: @@ -106350,7 +105645,7 @@ paths: type: array items: *222 examples: - default: *654 + default: *652 '403': *27 '401': *23 x-github: @@ -106734,9 +106029,9 @@ paths: application/json: schema: type: array - items: *645 + items: *643 examples: - default: *670 + default: *668 headers: Link: *52 x-github: @@ -106840,7 +106135,7 @@ paths: application/json: schema: *20 examples: - default: *497 + default: *494 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106965,7 +106260,7 @@ paths: - docker - nuget - container - - *653 + - *651 - *57 - *19 - *17 @@ -106978,10 +106273,10 @@ paths: type: array items: *222 examples: - default: *654 + default: *652 '403': *27 '401': *23 - '400': *655 + '400': *653 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107011,7 +106306,7 @@ paths: application/json: schema: *222 examples: - default: *671 + default: *669 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107262,87 +106557,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: - - *57 - - 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: *238 - 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: *52 - '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 @@ -107372,9 +106586,9 @@ paths: application/json: schema: type: array - items: *239 + items: *238 examples: - default: *240 + default: *239 headers: Link: *52 '304': *35 @@ -107396,16 +106610,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *241 + - *240 - *57 responses: '200': description: Response content: application/json: - schema: *239 + schema: *238 examples: - default: *240 + default: *239 headers: Link: *52 '304': *35 @@ -107427,7 +106641,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *241 + - *240 - *57 - *17 - *38 @@ -107439,9 +106653,9 @@ paths: application/json: schema: type: array - items: *242 + items: *241 examples: - default: *672 + default: *670 headers: Link: *52 '304': *35 @@ -107463,17 +106677,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *241 - - *673 + - *240 + - *671 - *57 responses: '200': description: Response content: application/json: - schema: *242 + schema: *241 examples: - default: *674 + default: *672 headers: Link: *52 '304': *35 @@ -107496,7 +106710,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *241 + - *240 - *57 - *38 - *39 @@ -107529,9 +106743,9 @@ paths: application/json: schema: type: array - items: *247 + items: *246 examples: - default: *248 + default: *247 headers: Link: *52 '304': *35 @@ -107553,7 +106767,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - *57 - - *241 + - *240 requestBody: required: true description: Details of the item to add to the project. @@ -107590,10 +106804,10 @@ paths: description: Response content: application/json: - schema: *675 + schema: *673 examples: - issue: *246 - pull_request: *246 + issue: *245 + pull_request: *245 '304': *35 '403': *27 '401': *23 @@ -107613,9 +106827,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *241 + - *240 - *57 - - *249 + - *248 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -107635,9 +106849,9 @@ paths: description: Response content: application/json: - schema: *247 + schema: *246 examples: - default: *248 + default: *247 headers: Link: *52 '304': *35 @@ -107658,9 +106872,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *241 + - *240 - *57 - - *249 + - *248 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -107733,13 +106947,13 @@ paths: description: Response content: application/json: - schema: *247 + schema: *246 examples: - text_field: *248 - number_field: *248 - date_field: *248 - single_select_field: *248 - iteration_field: *248 + text_field: *247 + number_field: *247 + date_field: *247 + single_select_field: *247 + iteration_field: *247 '401': *23 '403': *27 '404': *6 @@ -107759,9 +106973,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *241 + - *240 - *57 - - *249 + - *248 responses: '204': description: Response @@ -108011,9 +107225,9 @@ paths: description: Response content: application/json: - schema: *676 + schema: *674 examples: - default: *677 + default: *675 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108041,9 +107255,9 @@ paths: description: Response content: application/json: - schema: *678 + schema: *676 examples: - default: *679 + default: *677 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108067,7 +107281,7 @@ paths: - *98 - *100 - *99 - - *680 + - *678 - *101 responses: '200': @@ -108204,9 +107418,9 @@ paths: description: Response content: application/json: - schema: *681 + schema: *679 examples: - default: *682 + default: *680 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108228,7 +107442,7 @@ paths: parameters: - *57 - *98 - - *683 + - *681 - *99 responses: '200': @@ -108308,7 +107522,7 @@ paths: subcategory: enhanced-billing "/users/{username}/settings/billing/usage/summary": get: - summary: Get billing usage summary report for a user + summary: Get billing usage summary for a user description: |- > [!NOTE] > This endpoint is in public preview and is subject to change. @@ -108321,18 +107535,18 @@ paths: operationId: billing/get-github-billing-usage-summary-report-user externalDocs: description: API method documentation - url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-summary-report-for-a-user + url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-summary-for-a-user parameters: - *57 - *98 - *100 - *99 - - *684 + - *682 - *101 - - *685 + - *683 responses: '200': - description: Response when getting a billing usage summary report + description: Response when getting a billing usage summary content: application/json: schema: @@ -108463,9 +107677,9 @@ paths: application/json: schema: type: array - items: *658 + items: *656 examples: - default: *659 + default: *657 headers: Link: *52 x-github: @@ -108495,9 +107709,9 @@ paths: application/json: schema: type: array - items: *660 + items: *658 examples: - default: *686 + default: *684 headers: Link: *52 x-github: @@ -108522,7 +107736,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *57 - - *687 + - *685 - *46 - *17 - *19 @@ -108534,11 +107748,11 @@ paths: schema: anyOf: - type: array - items: *688 + items: *686 - type: array items: *64 examples: - default-response: *663 + default-response: *661 headers: Link: *52 x-github: @@ -108698,7 +107912,7 @@ webhooks: type: string enum: - disabled - enterprise: &689 + enterprise: &687 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -108767,7 +107981,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &690 + installation: &688 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -108788,7 +108002,7 @@ webhooks: required: - id - node_id - organization: &691 + organization: &689 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -108861,7 +108075,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &692 + repository: &690 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -109774,10 +108988,10 @@ webhooks: type: string enum: - enabled - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -109853,11 +109067,11 @@ webhooks: type: string enum: - created - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 - rule: &693 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 + rule: &691 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) @@ -110080,11 +109294,11 @@ webhooks: type: string enum: - deleted - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 - rule: *693 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 + rule: *691 sender: *4 required: - action @@ -110272,11 +109486,11 @@ webhooks: - everyone required: - from - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 - rule: *693 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 + rule: *691 sender: *4 required: - action @@ -110360,7 +109574,7 @@ webhooks: type: string enum: - completed - check_run: &695 + check_run: &693 title: CheckRun description: A check performed on the code of a given code change type: object @@ -110425,7 +109639,7 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *389 + items: *386 repository: *135 status: type: string @@ -110470,7 +109684,7 @@ webhooks: - examples: - neutral - deployment: *694 + deployment: *692 details_url: type: string examples: @@ -110530,7 +109744,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *389 + items: *386 started_at: type: string format: date-time @@ -110568,10 +109782,10 @@ webhooks: - output - app - pull_requests - installation: *690 - enterprise: *689 - organization: *691 - repository: *692 + installation: *688 + enterprise: *687 + organization: *689 + repository: *690 sender: *4 required: - check_run @@ -110964,11 +110178,11 @@ webhooks: type: string enum: - created - check_run: *695 - installation: *690 - enterprise: *689 - organization: *691 - repository: *692 + check_run: *693 + installation: *688 + enterprise: *687 + organization: *689 + repository: *690 sender: *4 required: - check_run @@ -111364,11 +110578,11 @@ webhooks: type: string enum: - requested_action - check_run: *695 - installation: *690 - enterprise: *689 - organization: *691 - repository: *692 + check_run: *693 + installation: *688 + enterprise: *687 + organization: *689 + repository: *690 requested_action: description: The action requested by the user. type: object @@ -111773,11 +110987,11 @@ webhooks: type: string enum: - rerequested - check_run: *695 - installation: *690 - enterprise: *689 - organization: *691 - repository: *692 + check_run: *693 + installation: *688 + enterprise: *687 + organization: *689 + repository: *690 sender: *4 required: - check_run @@ -112769,10 +111983,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -113457,10 +112671,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -114139,10 +113353,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -114311,7 +113525,7 @@ webhooks: required: - login - id - dismissed_comment: *404 + dismissed_comment: *401 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -114463,20 +113677,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &696 + commit_oid: &694 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: *689 - installation: *690 - organization: *691 - ref: &697 + enterprise: *687 + installation: *688 + organization: *689 + ref: &695 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: *692 + repository: *690 sender: *4 required: - action @@ -114643,7 +113857,7 @@ webhooks: required: - login - id - dismissed_comment: *404 + dismissed_comment: *401 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -114884,12 +114098,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *696 - enterprise: *689 - installation: *690 - organization: *691 - ref: *697 - repository: *692 + commit_oid: *694 + enterprise: *687 + installation: *688 + organization: *689 + ref: *695 + repository: *690 sender: *4 required: - action @@ -114987,7 +114201,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *404 + dismissed_comment: *401 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -115172,12 +114386,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *696 - enterprise: *689 - installation: *690 - organization: *691 - ref: *697 - repository: *692 + commit_oid: *694 + enterprise: *687 + installation: *688 + organization: *689 + ref: *695 + repository: *690 sender: *4 required: - action @@ -115346,7 +114560,7 @@ webhooks: required: - login - id - dismissed_comment: *404 + dismissed_comment: *401 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -115523,12 +114737,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *696 - enterprise: *689 - installation: *690 - organization: *691 - ref: *697 - repository: *692 + commit_oid: *694 + enterprise: *687 + installation: *688 + organization: *689 + ref: *695 + repository: *690 sender: *4 required: - action @@ -115631,7 +114845,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *404 + dismissed_comment: *401 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -115811,9 +115025,9 @@ webhooks: type: - string - 'null' - enterprise: *689 - installation: *690 - organization: *691 + enterprise: *687 + installation: *688 + organization: *689 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -115821,7 +115035,7 @@ webhooks: type: - string - 'null' - repository: *692 + repository: *690 sender: *4 required: - action @@ -115920,7 +115134,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *404 + dismissed_comment: *401 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -116067,12 +115281,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *696 - enterprise: *689 - installation: *690 - organization: *691 - ref: *697 - repository: *692 + commit_oid: *694 + enterprise: *687 + installation: *688 + organization: *689 + ref: *695 + repository: *690 sender: *4 required: - action @@ -116334,10 +115548,10 @@ webhooks: - updated_at - author_association - body - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -116418,18 +115632,18 @@ webhooks: type: - string - 'null' - enterprise: *689 - installation: *690 + enterprise: *687 + installation: *688 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *691 - pusher_type: &698 + organization: *689 + pusher_type: &696 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &699 + ref: &697 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -116439,7 +115653,7 @@ webhooks: enum: - tag - branch - repository: *692 + repository: *690 sender: *4 required: - ref @@ -116521,10 +115735,10 @@ webhooks: type: string enum: - created - definition: *250 - enterprise: *689 - installation: *690 - organization: *691 + definition: *249 + enterprise: *687 + installation: *688 + organization: *689 sender: *4 required: - action @@ -116609,9 +115823,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *689 - installation: *690 - organization: *691 + enterprise: *687 + installation: *688 + organization: *689 sender: *4 required: - action @@ -116688,10 +115902,10 @@ webhooks: type: string enum: - promote_to_enterprise - definition: *250 - enterprise: *689 - installation: *690 - organization: *691 + definition: *249 + enterprise: *687 + installation: *688 + organization: *689 sender: *4 required: - action @@ -116768,10 +115982,10 @@ webhooks: type: string enum: - updated - definition: *250 - enterprise: *689 - installation: *690 - organization: *691 + definition: *249 + enterprise: *687 + installation: *688 + organization: *689 sender: *4 required: - action @@ -116848,10 +116062,10 @@ webhooks: type: string enum: - updated - enterprise: *689 - installation: *690 - repository: *692 - organization: *691 + enterprise: *687 + installation: *688 + repository: *690 + organization: *689 sender: *4 new_property_values: type: array @@ -116936,18 +116150,18 @@ webhooks: title: delete event type: object properties: - enterprise: *689 - installation: *690 - organization: *691 - pusher_type: *698 - ref: *699 + enterprise: *687 + installation: *688 + organization: *689 + pusher_type: *696 + ref: *697 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *692 + repository: *690 sender: *4 required: - ref @@ -117031,11 +116245,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *456 - installation: *690 - organization: *691 - enterprise: *689 - repository: *692 + alert: *453 + installation: *688 + organization: *689 + enterprise: *687 + repository: *690 sender: *4 required: - action @@ -117119,11 +116333,11 @@ webhooks: type: string enum: - auto_reopened - alert: *456 - installation: *690 - organization: *691 - enterprise: *689 - repository: *692 + alert: *453 + installation: *688 + organization: *689 + enterprise: *687 + repository: *690 sender: *4 required: - action @@ -117207,11 +116421,11 @@ webhooks: type: string enum: - created - alert: *456 - installation: *690 - organization: *691 - enterprise: *689 - repository: *692 + alert: *453 + installation: *688 + organization: *689 + enterprise: *687 + repository: *690 sender: *4 required: - action @@ -117293,11 +116507,11 @@ webhooks: type: string enum: - dismissed - alert: *456 - installation: *690 - organization: *691 - enterprise: *689 - repository: *692 + alert: *453 + installation: *688 + organization: *689 + enterprise: *687 + repository: *690 sender: *4 required: - action @@ -117379,11 +116593,11 @@ webhooks: type: string enum: - fixed - alert: *456 - installation: *690 - organization: *691 - enterprise: *689 - repository: *692 + alert: *453 + installation: *688 + organization: *689 + enterprise: *687 + repository: *690 sender: *4 required: - action @@ -117466,11 +116680,11 @@ webhooks: type: string enum: - reintroduced - alert: *456 - installation: *690 - organization: *691 - enterprise: *689 - repository: *692 + alert: *453 + installation: *688 + organization: *689 + enterprise: *687 + repository: *690 sender: *4 required: - action @@ -117552,11 +116766,11 @@ webhooks: type: string enum: - reopened - alert: *456 - installation: *690 - organization: *691 - enterprise: *689 - repository: *692 + alert: *453 + installation: *688 + organization: *689 + enterprise: *687 + repository: *690 sender: *4 required: - action @@ -117633,9 +116847,9 @@ webhooks: type: string enum: - created - enterprise: *689 - installation: *690 - key: &700 + enterprise: *687 + installation: *688 + key: &698 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -117673,8 +116887,8 @@ webhooks: - verified - created_at - read_only - organization: *691 - repository: *692 + organization: *689 + repository: *690 sender: *4 required: - action @@ -117751,11 +116965,11 @@ webhooks: type: string enum: - deleted - enterprise: *689 - installation: *690 - key: *700 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + key: *698 + organization: *689 + repository: *690 sender: *4 required: - action @@ -118327,12 +117541,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 - workflow: &704 + workflow: &702 title: Workflow type: - object @@ -119070,13 +118284,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *462 + deployment: *459 pull_requests: type: array - items: *545 - repository: *692 - organization: *691 - installation: *690 + items: *543 + repository: *690 + organization: *689 + installation: *688 sender: *4 responses: '200': @@ -119147,7 +118361,7 @@ webhooks: type: string enum: - approved - approver: &701 + approver: &699 type: object properties: avatar_url: @@ -119190,11 +118404,11 @@ webhooks: type: string comment: type: string - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 - reviewers: &702 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 + reviewers: &700 type: array items: type: object @@ -119275,7 +118489,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &703 + workflow_job_run: &701 type: object properties: conclusion: @@ -120021,18 +119235,18 @@ webhooks: type: string enum: - rejected - approver: *701 + approver: *699 comment: type: string - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 - reviewers: *702 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 + reviewers: *700 sender: *4 since: type: string - workflow_job_run: *703 + workflow_job_run: *701 workflow_job_runs: type: array items: @@ -120749,13 +119963,13 @@ webhooks: type: string enum: - requested - enterprise: *689 + enterprise: *687 environment: type: string - installation: *690 - organization: *691 - repository: *692 - requestor: &709 + installation: *688 + organization: *689 + repository: *690 + requestor: &707 title: User type: - object @@ -122698,12 +121912,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 - workflow: *704 + workflow: *702 workflow_run: title: Deployment Workflow Run type: @@ -123394,7 +122608,7 @@ webhooks: type: string enum: - answered - answer: &707 + answer: &705 type: object properties: author_association: @@ -123554,7 +122768,7 @@ webhooks: - created_at - updated_at - body - discussion: &705 + discussion: &703 title: Discussion description: A Discussion in a repository. type: object @@ -123850,7 +123064,7 @@ webhooks: - id labels: type: array - items: *508 + items: *506 required: - repository_url - category @@ -123872,10 +123086,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -124002,11 +123216,11 @@ webhooks: - from required: - category - discussion: *705 - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + discussion: *703 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -124089,11 +123303,11 @@ webhooks: type: string enum: - closed - discussion: *705 - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + discussion: *703 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -124175,7 +123389,7 @@ webhooks: type: string enum: - created - comment: &706 + comment: &704 type: object properties: author_association: @@ -124335,11 +123549,11 @@ webhooks: - updated_at - body - reactions - discussion: *705 - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + discussion: *703 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -124422,12 +123636,12 @@ webhooks: type: string enum: - deleted - comment: *706 - discussion: *705 - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + comment: *704 + discussion: *703 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -124522,12 +123736,12 @@ webhooks: - from required: - body - comment: *706 - discussion: *705 - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + comment: *704 + discussion: *703 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -124611,11 +123825,11 @@ webhooks: type: string enum: - created - discussion: *705 - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + discussion: *703 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -124697,11 +123911,11 @@ webhooks: type: string enum: - deleted - discussion: *705 - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + discussion: *703 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -124801,11 +124015,11 @@ webhooks: type: string required: - from - discussion: *705 - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + discussion: *703 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -124887,10 +124101,10 @@ webhooks: type: string enum: - labeled - discussion: *705 - enterprise: *689 - installation: *690 - label: &708 + discussion: *703 + enterprise: *687 + installation: *688 + label: &706 title: Label type: object properties: @@ -124923,8 +124137,8 @@ webhooks: - color - default - description - organization: *691 - repository: *692 + organization: *689 + repository: *690 sender: *4 required: - action @@ -125007,11 +124221,11 @@ webhooks: type: string enum: - locked - discussion: *705 - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + discussion: *703 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -125093,11 +124307,11 @@ webhooks: type: string enum: - pinned - discussion: *705 - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + discussion: *703 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -125179,11 +124393,11 @@ webhooks: type: string enum: - reopened - discussion: *705 - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + discussion: *703 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -125268,16 +124482,16 @@ webhooks: changes: type: object properties: - new_discussion: *705 - new_repository: *692 + new_discussion: *703 + new_repository: *690 required: - new_discussion - new_repository - discussion: *705 - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + discussion: *703 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -125360,10 +124574,10 @@ webhooks: type: string enum: - unanswered - discussion: *705 - old_answer: *707 - organization: *691 - repository: *692 + discussion: *703 + old_answer: *705 + organization: *689 + repository: *690 sender: *4 required: - action @@ -125445,12 +124659,12 @@ webhooks: type: string enum: - unlabeled - discussion: *705 - enterprise: *689 - installation: *690 - label: *708 - organization: *691 - repository: *692 + discussion: *703 + enterprise: *687 + installation: *688 + label: *706 + organization: *689 + repository: *690 sender: *4 required: - action @@ -125533,11 +124747,11 @@ webhooks: type: string enum: - unlocked - discussion: *705 - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + discussion: *703 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -125619,11 +124833,11 @@ webhooks: type: string enum: - unpinned - discussion: *705 - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + discussion: *703 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -125696,7 +124910,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *689 + enterprise: *687 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -126374,9 +125588,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *690 - organization: *691 - repository: *692 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - forkee @@ -126522,9 +125736,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *689 - installation: *690 - organization: *691 + enterprise: *687 + installation: *688 + organization: *689 pages: description: The pages that were updated. type: array @@ -126562,7 +125776,7 @@ webhooks: - action - sha - html_url - repository: *692 + repository: *690 sender: *4 required: - pages @@ -126638,10 +125852,10 @@ webhooks: type: string enum: - created - enterprise: *689 + enterprise: *687 installation: *20 - organization: *691 - repositories: &710 + organization: *689 + repositories: &708 description: An array of repository objects that the installation can access. type: array @@ -126667,8 +125881,8 @@ webhooks: - name - full_name - private - repository: *692 - requester: *709 + repository: *690 + requester: *707 sender: *4 required: - action @@ -126743,11 +125957,11 @@ webhooks: type: string enum: - deleted - enterprise: *689 + enterprise: *687 installation: *20 - organization: *691 - repositories: *710 - repository: *692 + organization: *689 + repositories: *708 + repository: *690 requester: type: - 'null' @@ -126824,11 +126038,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *689 + enterprise: *687 installation: *20 - organization: *691 - repositories: *710 - repository: *692 + organization: *689 + repositories: *708 + repository: *690 requester: type: - 'null' @@ -126905,10 +126119,10 @@ webhooks: type: string enum: - added - enterprise: *689 + enterprise: *687 installation: *20 - organization: *691 - repositories_added: &711 + organization: *689 + repositories_added: &709 description: An array of repository objects, which were added to the installation. type: array @@ -126954,15 +126168,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *692 - repository_selection: &712 + repository: *690 + repository_selection: &710 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *709 + requester: *707 sender: *4 required: - action @@ -127041,10 +126255,10 @@ webhooks: type: string enum: - removed - enterprise: *689 + enterprise: *687 installation: *20 - organization: *691 - repositories_added: *711 + organization: *689 + repositories_added: *709 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -127071,9 +126285,9 @@ webhooks: - name - full_name - private - repository: *692 - repository_selection: *712 - requester: *709 + repository: *690 + repository_selection: *710 + requester: *707 sender: *4 required: - action @@ -127152,11 +126366,11 @@ webhooks: type: string enum: - suspend - enterprise: *689 + enterprise: *687 installation: *20 - organization: *691 - repositories: *710 - repository: *692 + organization: *689 + repositories: *708 + repository: *690 requester: type: - 'null' @@ -127338,10 +126552,10 @@ webhooks: type: string required: - from - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 target_type: type: string @@ -127420,11 +126634,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *689 + enterprise: *687 installation: *20 - organization: *691 - repositories: *710 - repository: *692 + organization: *689 + repositories: *708 + repository: *690 requester: type: - 'null' @@ -127672,8 +126886,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *689 - installation: *690 + enterprise: *687 + installation: *688 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -128490,8 +127704,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *621 + issue_dependencies_summary: *622 state: description: State of the issue; either 'open' or 'closed' type: string @@ -128852,8 +128066,8 @@ webhooks: - state - locked - assignee - organization: *691 - repository: *692 + organization: *689 + repository: *690 sender: *4 required: - action @@ -128933,7 +128147,7 @@ webhooks: type: string enum: - deleted - comment: &713 + comment: &711 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -129100,8 +128314,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *689 - installation: *690 + enterprise: *687 + installation: *688 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -129914,8 +129128,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *621 + issue_dependencies_summary: *622 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130278,8 +129492,8 @@ webhooks: - state - locked - assignee - organization: *691 - repository: *692 + organization: *689 + repository: *690 sender: *4 required: - action @@ -130359,7 +129573,7 @@ webhooks: type: string enum: - edited - changes: &737 + changes: &735 description: The changes to the comment. type: object properties: @@ -130371,9 +129585,9 @@ webhooks: type: string required: - from - comment: *713 - enterprise: *689 - installation: *690 + comment: *711 + enterprise: *687 + installation: *688 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -131189,8 +130403,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *621 + issue_dependencies_summary: *622 state: description: State of the issue; either 'open' or 'closed' type: string @@ -131551,8 +130765,8 @@ webhooks: - state - locked - assignee - organization: *691 - repository: *692 + organization: *689 + repository: *690 sender: *4 required: - action @@ -131642,9 +130856,9 @@ webhooks: type: number blocking_issue: *78 blocking_issue_repo: *64 - installation: *690 - organization: *691 - repository: *692 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -131738,9 +130952,9 @@ webhooks: type: number blocking_issue: *78 blocking_issue_repo: *64 - installation: *690 - organization: *691 - repository: *692 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -131833,9 +131047,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *78 - installation: *690 - organization: *691 - repository: *692 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -131929,9 +131143,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *78 - installation: *690 - organization: *691 - repository: *692 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -132016,10 +131230,10 @@ webhooks: type: string enum: - assigned - assignee: *709 - enterprise: *689 - installation: *690 - issue: &716 + assignee: *707 + enterprise: *687 + installation: *688 + issue: &714 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -132831,11 +132045,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *621 + issue_dependencies_summary: *622 issue_field_values: type: array - items: *625 + items: *623 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132955,8 +132169,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *691 - repository: *692 + organization: *689 + repository: *690 sender: *4 required: - action @@ -133036,8 +132250,8 @@ webhooks: type: string enum: - closed - enterprise: *689 - installation: *690 + enterprise: *687 + installation: *688 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -133854,11 +133068,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *621 + issue_dependencies_summary: *622 issue_field_values: type: array - items: *625 + items: *623 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134121,8 +133335,8 @@ webhooks: required: - state - closed_at - organization: *691 - repository: *692 + organization: *689 + repository: *690 sender: *4 required: - action @@ -134201,8 +133415,8 @@ webhooks: type: string enum: - deleted - enterprise: *689 - installation: *690 + enterprise: *687 + installation: *688 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135010,11 +134224,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *621 + issue_dependencies_summary: *622 issue_field_values: type: array - items: *625 + items: *623 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135133,8 +134347,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *691 - repository: *692 + organization: *689 + repository: *690 sender: *4 required: - action @@ -135213,8 +134427,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *689 - installation: *690 + enterprise: *687 + installation: *688 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -136045,11 +135259,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *621 + issue_dependencies_summary: *622 issue_field_values: type: array - items: *625 + items: *623 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136147,7 +135361,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &714 + milestone: &712 title: Milestone description: A collection of related issues and pull requests. type: object @@ -136290,8 +135504,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *691 - repository: *692 + organization: *689 + repository: *690 sender: *4 required: - action @@ -136390,8 +135604,8 @@ webhooks: type: string required: - from - enterprise: *689 - installation: *690 + enterprise: *687 + installation: *688 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -137203,11 +136417,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *621 + issue_dependencies_summary: *622 issue_field_values: type: array - items: *625 + items: *623 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137327,9 +136541,9 @@ webhooks: - active_lock_reason - body - reactions - label: *708 - organization: *691 - repository: *692 + label: *706 + organization: *689 + repository: *690 sender: *4 required: - action @@ -137409,8 +136623,8 @@ webhooks: type: string enum: - labeled - enterprise: *689 - installation: *690 + enterprise: *687 + installation: *688 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -138221,11 +137435,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *621 + issue_dependencies_summary: *622 issue_field_values: type: array - items: *625 + items: *623 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138345,9 +137559,9 @@ webhooks: - active_lock_reason - body - reactions - label: *708 - organization: *691 - repository: *692 + label: *706 + organization: *689 + repository: *690 sender: *4 required: - action @@ -138427,8 +137641,8 @@ webhooks: type: string enum: - locked - enterprise: *689 - installation: *690 + enterprise: *687 + installation: *688 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -139264,11 +138478,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *621 + issue_dependencies_summary: *622 issue_field_values: type: array - items: *625 + items: *623 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139365,8 +138579,8 @@ webhooks: format: uri user_view_type: type: string - organization: *691 - repository: *692 + organization: *689 + repository: *690 sender: *4 required: - action @@ -139445,8 +138659,8 @@ webhooks: type: string enum: - milestoned - enterprise: *689 - installation: *690 + enterprise: *687 + installation: *688 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -140276,11 +139490,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *621 + issue_dependencies_summary: *622 issue_field_values: type: array - items: *625 + items: *623 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140377,9 +139591,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *714 - organization: *691 - repository: *692 + milestone: *712 + organization: *689 + repository: *690 sender: *4 required: - action @@ -141271,11 +140485,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *621 + issue_dependencies_summary: *622 issue_field_values: type: array - items: *625 + items: *623 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141852,8 +141066,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *689 - installation: *690 + enterprise: *687 + installation: *688 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -142665,11 +141879,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *621 + issue_dependencies_summary: *622 issue_field_values: type: array - items: *625 + items: *623 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142788,8 +142002,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *691 - repository: *692 + organization: *689 + repository: *690 sender: *4 required: - action @@ -142869,9 +142083,9 @@ webhooks: type: string enum: - pinned - enterprise: *689 - installation: *690 - issue: &715 + enterprise: *687 + installation: *688 + issue: &713 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -143677,11 +142891,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *621 + issue_dependencies_summary: *622 issue_field_values: type: array - items: *625 + items: *623 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143800,8 +143014,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *691 - repository: *692 + organization: *689 + repository: *690 sender: *4 required: - action @@ -143880,8 +143094,8 @@ webhooks: type: string enum: - reopened - enterprise: *689 - installation: *690 + enterprise: *687 + installation: *688 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -144715,11 +143929,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *621 + issue_dependencies_summary: *622 issue_field_values: type: array - items: *625 + items: *623 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144817,8 +144031,8 @@ webhooks: user_view_type: type: string type: *205 - organization: *691 - repository: *692 + organization: *689 + repository: *690 sender: *4 required: - action @@ -145707,11 +144921,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *621 + issue_dependencies_summary: *622 issue_field_values: type: array - items: *625 + items: *623 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146310,11 +145524,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *689 - installation: *690 - issue: *715 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + issue: *713 + organization: *689 + repository: *690 sender: *4 required: - action @@ -146394,12 +145608,12 @@ webhooks: type: string enum: - typed - enterprise: *689 - installation: *690 - issue: *716 + enterprise: *687 + installation: *688 + issue: *714 type: *205 - organization: *691 - repository: *692 + organization: *689 + repository: *690 sender: *4 required: - action @@ -146480,7 +145694,7 @@ webhooks: type: string enum: - unassigned - assignee: &740 + assignee: &738 title: User type: - object @@ -146552,11 +145766,11 @@ webhooks: required: - login - id - enterprise: *689 - installation: *690 - issue: *716 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + issue: *714 + organization: *689 + repository: *690 sender: *4 required: - action @@ -146635,12 +145849,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *689 - installation: *690 - issue: *716 - label: *708 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + issue: *714 + label: *706 + organization: *689 + repository: *690 sender: *4 required: - action @@ -146720,8 +145934,8 @@ webhooks: type: string enum: - unlocked - enterprise: *689 - installation: *690 + enterprise: *687 + installation: *688 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -147555,11 +146769,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *621 + issue_dependencies_summary: *622 issue_field_values: type: array - items: *625 + items: *623 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147656,8 +146870,8 @@ webhooks: format: uri user_view_type: type: string - organization: *691 - repository: *692 + organization: *689 + repository: *690 sender: *4 required: - action @@ -147737,11 +146951,11 @@ webhooks: type: string enum: - unpinned - enterprise: *689 - installation: *690 - issue: *715 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + issue: *713 + organization: *689 + repository: *690 sender: *4 required: - action @@ -147820,12 +147034,12 @@ webhooks: type: string enum: - untyped - enterprise: *689 - installation: *690 - issue: *716 + enterprise: *687 + installation: *688 + issue: *714 type: *205 - organization: *691 - repository: *692 + organization: *689 + repository: *690 sender: *4 required: - action @@ -147905,11 +147119,11 @@ webhooks: type: string enum: - created - enterprise: *689 - installation: *690 - label: *708 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + label: *706 + organization: *689 + repository: *690 sender: *4 required: - action @@ -147987,11 +147201,11 @@ webhooks: type: string enum: - deleted - enterprise: *689 - installation: *690 - label: *708 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + label: *706 + organization: *689 + repository: *690 sender: *4 required: - action @@ -148101,11 +147315,11 @@ webhooks: type: string required: - from - enterprise: *689 - installation: *690 - label: *708 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + label: *706 + organization: *689 + repository: *690 sender: *4 required: - action @@ -148187,9 +147401,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *689 - installation: *690 - marketplace_purchase: &717 + enterprise: *687 + installation: *688 + marketplace_purchase: &715 title: Marketplace Purchase type: object required: @@ -148277,8 +147491,8 @@ webhooks: type: integer unit_count: type: integer - organization: *691 - previous_marketplace_purchase: &718 + organization: *689 + previous_marketplace_purchase: &716 title: Marketplace Purchase type: object properties: @@ -148362,7 +147576,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *692 + repository: *690 sender: *4 required: - action @@ -148442,10 +147656,10 @@ webhooks: - changed effective_date: type: string - enterprise: *689 - installation: *690 - marketplace_purchase: *717 - organization: *691 + enterprise: *687 + installation: *688 + marketplace_purchase: *715 + organization: *689 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -148533,7 +147747,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *692 + repository: *690 sender: *4 required: - action @@ -148615,10 +147829,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *689 - installation: *690 - marketplace_purchase: *717 - organization: *691 + enterprise: *687 + installation: *688 + marketplace_purchase: *715 + organization: *689 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -148704,7 +147918,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *692 + repository: *690 sender: *4 required: - action @@ -148785,8 +147999,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *689 - installation: *690 + enterprise: *687 + installation: *688 marketplace_purchase: title: Marketplace Purchase type: object @@ -148872,9 +148086,9 @@ webhooks: type: integer unit_count: type: integer - organization: *691 - previous_marketplace_purchase: *718 - repository: *692 + organization: *689 + previous_marketplace_purchase: *716 + repository: *690 sender: *4 required: - action @@ -148954,12 +148168,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *689 - installation: *690 - marketplace_purchase: *717 - organization: *691 - previous_marketplace_purchase: *718 - repository: *692 + enterprise: *687 + installation: *688 + marketplace_purchase: *715 + organization: *689 + previous_marketplace_purchase: *716 + repository: *690 sender: *4 required: - action @@ -149061,11 +148275,11 @@ webhooks: type: string required: - to - enterprise: *689 - installation: *690 - member: *709 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + member: *707 + organization: *689 + repository: *690 sender: *4 required: - action @@ -149167,11 +148381,11 @@ webhooks: type: - string - 'null' - enterprise: *689 - installation: *690 - member: *709 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + member: *707 + organization: *689 + repository: *690 sender: *4 required: - action @@ -149250,11 +148464,11 @@ webhooks: type: string enum: - removed - enterprise: *689 - installation: *690 - member: *709 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + member: *707 + organization: *689 + repository: *690 sender: *4 required: - action @@ -149332,11 +148546,11 @@ webhooks: type: string enum: - added - enterprise: *689 - installation: *690 - member: *709 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + member: *707 + organization: *689 + repository: *690 scope: description: The scope of the membership. Currently, can only be `team`. @@ -149414,7 +148628,7 @@ webhooks: required: - login - id - team: &719 + team: &717 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -149644,11 +148858,11 @@ webhooks: type: string enum: - removed - enterprise: *689 - installation: *690 - member: *709 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + member: *707 + organization: *689 + repository: *690 scope: description: The scope of the membership. Currently, can only be `team`. @@ -149727,7 +148941,7 @@ webhooks: required: - login - id - team: *719 + team: *717 required: - action - scope @@ -149809,8 +149023,8 @@ webhooks: type: string enum: - checks_requested - installation: *690 - merge_group: &720 + installation: *688 + merge_group: &718 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -149829,15 +149043,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *393 + head_commit: *390 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *691 - repository: *692 + organization: *689 + repository: *690 sender: *4 required: - action @@ -149923,10 +149137,10 @@ webhooks: - merged - invalidated - dequeued - installation: *690 - merge_group: *720 - organization: *691 - repository: *692 + installation: *688 + merge_group: *718 + organization: *689 + repository: *690 sender: *4 required: - action @@ -149999,7 +149213,7 @@ webhooks: type: string enum: - deleted - enterprise: *689 + enterprise: *687 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -150108,12 +149322,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *690 - organization: *691 + installation: *688 + organization: *689 repository: anyOf: - type: 'null' - - *692 + - *690 sender: *4 required: - action @@ -150193,11 +149407,11 @@ webhooks: type: string enum: - closed - enterprise: *689 - installation: *690 - milestone: *714 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + milestone: *712 + organization: *689 + repository: *690 sender: *4 required: - action @@ -150276,9 +149490,9 @@ webhooks: type: string enum: - created - enterprise: *689 - installation: *690 - milestone: &721 + enterprise: *687 + installation: *688 + milestone: &719 title: Milestone description: A collection of related issues and pull requests. type: object @@ -150420,8 +149634,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *691 - repository: *692 + organization: *689 + repository: *690 sender: *4 required: - action @@ -150500,11 +149714,11 @@ webhooks: type: string enum: - deleted - enterprise: *689 - installation: *690 - milestone: *714 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + milestone: *712 + organization: *689 + repository: *690 sender: *4 required: - action @@ -150614,11 +149828,11 @@ webhooks: type: string required: - from - enterprise: *689 - installation: *690 - milestone: *714 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + milestone: *712 + organization: *689 + repository: *690 sender: *4 required: - action @@ -150698,11 +149912,11 @@ webhooks: type: string enum: - opened - enterprise: *689 - installation: *690 - milestone: *721 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + milestone: *719 + organization: *689 + repository: *690 sender: *4 required: - action @@ -150781,11 +149995,11 @@ webhooks: type: string enum: - blocked - blocked_user: *709 - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + blocked_user: *707 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -150864,11 +150078,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *709 - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + blocked_user: *707 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -150947,9 +150161,9 @@ webhooks: type: string enum: - deleted - enterprise: *689 - installation: *690 - membership: &722 + enterprise: *687 + installation: *688 + membership: &720 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -151059,8 +150273,8 @@ webhooks: - role - organization_url - user - organization: *691 - repository: *692 + organization: *689 + repository: *690 sender: *4 required: - action @@ -151138,11 +150352,11 @@ webhooks: type: string enum: - member_added - enterprise: *689 - installation: *690 - membership: *722 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + membership: *720 + organization: *689 + repository: *690 sender: *4 required: - action @@ -151221,8 +150435,8 @@ webhooks: type: string enum: - member_invited - enterprise: *689 - installation: *690 + enterprise: *687 + installation: *688 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -151344,10 +150558,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *691 - repository: *692 + organization: *689 + repository: *690 sender: *4 - user: *709 + user: *707 required: - action - invitation @@ -151425,11 +150639,11 @@ webhooks: type: string enum: - member_removed - enterprise: *689 - installation: *690 - membership: *722 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + membership: *720 + organization: *689 + repository: *690 sender: *4 required: - action @@ -151516,11 +150730,11 @@ webhooks: properties: from: type: string - enterprise: *689 - installation: *690 - membership: *722 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + membership: *720 + organization: *689 + repository: *690 sender: *4 required: - action @@ -151596,9 +150810,9 @@ webhooks: type: string enum: - published - enterprise: *689 - installation: *690 - organization: *691 + enterprise: *687 + installation: *688 + organization: *689 package: description: Information about the package. type: object @@ -152121,7 +151335,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &723 + items: &721 title: Ruby Gems metadata type: object properties: @@ -152218,7 +151432,7 @@ webhooks: - owner - package_version - registry - repository: *692 + repository: *690 sender: *4 required: - action @@ -152294,9 +151508,9 @@ webhooks: type: string enum: - updated - enterprise: *689 - installation: *690 - organization: *691 + enterprise: *687 + installation: *688 + organization: *689 package: description: Information about the package. type: object @@ -152658,7 +151872,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *723 + items: *721 source_url: type: string format: uri @@ -152729,7 +151943,7 @@ webhooks: - owner - package_version - registry - repository: *692 + repository: *690 sender: *4 required: - action @@ -152910,12 +152124,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *689 + enterprise: *687 id: type: integer - installation: *690 - organization: *691 - repository: *692 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - id @@ -152992,7 +152206,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &724 + personal_access_token_request: &722 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -153142,10 +152356,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *689 - organization: *691 + enterprise: *687 + organization: *689 sender: *4 - installation: *690 + installation: *688 required: - action - personal_access_token_request @@ -153222,11 +152436,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *724 - enterprise: *689 - organization: *691 + personal_access_token_request: *722 + enterprise: *687 + organization: *689 sender: *4 - installation: *690 + installation: *688 required: - action - personal_access_token_request @@ -153302,11 +152516,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *724 - enterprise: *689 - organization: *691 + personal_access_token_request: *722 + enterprise: *687 + organization: *689 sender: *4 - installation: *690 + installation: *688 required: - action - personal_access_token_request @@ -153381,11 +152595,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *724 - organization: *691 - enterprise: *689 + personal_access_token_request: *722 + organization: *689 + enterprise: *687 sender: *4 - installation: *690 + installation: *688 required: - action - personal_access_token_request @@ -153490,7 +152704,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *725 + last_response: *723 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -153522,8 +152736,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *691 - repository: *692 + organization: *689 + repository: *690 sender: *4 zen: description: Random string of GitHub zen. @@ -153768,10 +152982,10 @@ webhooks: - from required: - note - enterprise: *689 - installation: *690 - organization: *691 - project_card: &726 + enterprise: *687 + installation: *688 + organization: *689 + project_card: &724 title: Project Card type: object properties: @@ -153894,7 +153108,7 @@ webhooks: - creator - created_at - updated_at - repository: *692 + repository: *690 sender: *4 required: - action @@ -153975,11 +153189,11 @@ webhooks: type: string enum: - created - enterprise: *689 - installation: *690 - organization: *691 - project_card: *726 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + project_card: *724 + repository: *690 sender: *4 required: - action @@ -154059,9 +153273,9 @@ webhooks: type: string enum: - deleted - enterprise: *689 - installation: *690 - organization: *691 + enterprise: *687 + installation: *688 + organization: *689 project_card: title: Project Card type: object @@ -154191,7 +153405,7 @@ webhooks: repository: anyOf: - type: 'null' - - *692 + - *690 sender: *4 required: - action @@ -154285,11 +153499,11 @@ webhooks: - from required: - note - enterprise: *689 - installation: *690 - organization: *691 - project_card: *726 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + project_card: *724 + repository: *690 sender: *4 required: - action @@ -154383,9 +153597,9 @@ webhooks: - from required: - column_id - enterprise: *689 - installation: *690 - organization: *691 + enterprise: *687 + installation: *688 + organization: *689 project_card: allOf: - title: Project Card @@ -154582,7 +153796,7 @@ webhooks: type: string required: - after_id - repository: *692 + repository: *690 sender: *4 required: - action @@ -154662,10 +153876,10 @@ webhooks: type: string enum: - closed - enterprise: *689 - installation: *690 - organization: *691 - project: &728 + enterprise: *687 + installation: *688 + organization: *689 + project: &726 title: Project type: object properties: @@ -154792,7 +154006,7 @@ webhooks: - creator - created_at - updated_at - repository: *692 + repository: *690 sender: *4 required: - action @@ -154872,10 +154086,10 @@ webhooks: type: string enum: - created - enterprise: *689 - installation: *690 - organization: *691 - project_column: &727 + enterprise: *687 + installation: *688 + organization: *689 + project_column: &725 title: Project Column type: object properties: @@ -154915,7 +154129,7 @@ webhooks: - name - created_at - updated_at - repository: *692 + repository: *690 sender: *4 required: - action @@ -154994,14 +154208,14 @@ webhooks: type: string enum: - deleted - enterprise: *689 - installation: *690 - organization: *691 - project_column: *727 + enterprise: *687 + installation: *688 + organization: *689 + project_column: *725 repository: anyOf: - type: 'null' - - *692 + - *690 sender: *4 required: - action @@ -155090,11 +154304,11 @@ webhooks: type: string required: - from - enterprise: *689 - installation: *690 - organization: *691 - project_column: *727 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + project_column: *725 + repository: *690 sender: *4 required: - action @@ -155174,11 +154388,11 @@ webhooks: type: string enum: - moved - enterprise: *689 - installation: *690 - organization: *691 - project_column: *727 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + project_column: *725 + repository: *690 sender: *4 required: - action @@ -155258,11 +154472,11 @@ webhooks: type: string enum: - created - enterprise: *689 - installation: *690 - organization: *691 - project: *728 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + project: *726 + repository: *690 sender: *4 required: - action @@ -155342,14 +154556,14 @@ webhooks: type: string enum: - deleted - enterprise: *689 - installation: *690 - organization: *691 - project: *728 + enterprise: *687 + installation: *688 + organization: *689 + project: *726 repository: anyOf: - type: 'null' - - *692 + - *690 sender: *4 required: - action @@ -155450,11 +154664,11 @@ webhooks: type: string required: - from - enterprise: *689 - installation: *690 - organization: *691 - project: *728 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + project: *726 + repository: *690 sender: *4 required: - action @@ -155533,11 +154747,11 @@ webhooks: type: string enum: - reopened - enterprise: *689 - installation: *690 - organization: *691 - project: *728 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + project: *726 + repository: *690 sender: *4 required: - action @@ -155618,9 +154832,9 @@ webhooks: type: string enum: - closed - installation: *690 - organization: *691 - projects_v2: *239 + installation: *688 + organization: *689 + projects_v2: *238 sender: *4 required: - action @@ -155701,9 +154915,9 @@ webhooks: type: string enum: - created - installation: *690 - organization: *691 - projects_v2: *239 + installation: *688 + organization: *689 + projects_v2: *238 sender: *4 required: - action @@ -155784,9 +154998,9 @@ webhooks: type: string enum: - deleted - installation: *690 - organization: *691 - projects_v2: *239 + installation: *688 + organization: *689 + projects_v2: *238 sender: *4 required: - action @@ -155907,9 +155121,9 @@ webhooks: type: string to: type: string - installation: *690 - organization: *691 - projects_v2: *239 + installation: *688 + organization: *689 + projects_v2: *238 sender: *4 required: - action @@ -155992,7 +155206,7 @@ webhooks: type: string enum: - archived - changes: &732 + changes: &730 type: object properties: archived_at: @@ -156008,9 +155222,9 @@ webhooks: - string - 'null' format: date-time - installation: *690 - organization: *691 - projects_v2_item: &729 + installation: *688 + organization: *689 + projects_v2_item: &727 title: Projects v2 Item description: An item belonging to a project type: object @@ -156028,7 +155242,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *245 + content_type: *244 creator: *4 created_at: type: string @@ -156150,9 +155364,9 @@ webhooks: - 'null' to: type: string - installation: *690 - organization: *691 - projects_v2_item: *729 + installation: *688 + organization: *689 + projects_v2_item: *727 sender: *4 required: - action @@ -156234,9 +155448,9 @@ webhooks: type: string enum: - created - installation: *690 - organization: *691 - projects_v2_item: *729 + installation: *688 + organization: *689 + projects_v2_item: *727 sender: *4 required: - action @@ -156317,9 +155531,9 @@ webhooks: type: string enum: - deleted - installation: *690 - organization: *691 - projects_v2_item: *729 + installation: *688 + organization: *689 + projects_v2_item: *727 sender: *4 required: - action @@ -156424,7 +155638,7 @@ webhooks: oneOf: - type: string - type: integer - - &730 + - &728 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -156448,7 +155662,7 @@ webhooks: required: - id - name - - &731 + - &729 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -156488,8 +155702,8 @@ webhooks: oneOf: - type: string - type: integer - - *730 - - *731 + - *728 + - *729 type: - 'null' - string @@ -156512,9 +155726,9 @@ webhooks: - 'null' required: - body - installation: *690 - organization: *691 - projects_v2_item: *729 + installation: *688 + organization: *689 + projects_v2_item: *727 sender: *4 required: - action @@ -156611,9 +155825,9 @@ webhooks: type: - string - 'null' - installation: *690 - organization: *691 - projects_v2_item: *729 + installation: *688 + organization: *689 + projects_v2_item: *727 sender: *4 required: - action @@ -156696,10 +155910,10 @@ webhooks: type: string enum: - restored - changes: *732 - installation: *690 - organization: *691 - projects_v2_item: *729 + changes: *730 + installation: *688 + organization: *689 + projects_v2_item: *727 sender: *4 required: - action @@ -156781,9 +155995,9 @@ webhooks: type: string enum: - reopened - installation: *690 - organization: *691 - projects_v2: *239 + installation: *688 + organization: *689 + projects_v2: *238 sender: *4 required: - action @@ -156864,9 +156078,9 @@ webhooks: type: string enum: - created - installation: *690 - organization: *691 - projects_v2_status_update: *733 + installation: *688 + organization: *689 + projects_v2_status_update: *731 sender: *4 required: - action @@ -156947,9 +156161,9 @@ webhooks: type: string enum: - deleted - installation: *690 - organization: *691 - projects_v2_status_update: *733 + installation: *688 + organization: *689 + projects_v2_status_update: *731 sender: *4 required: - action @@ -157095,9 +156309,9 @@ webhooks: - string - 'null' format: date - installation: *690 - organization: *691 - projects_v2_status_update: *733 + installation: *688 + organization: *689 + projects_v2_status_update: *731 sender: *4 required: - action @@ -157168,10 +156382,10 @@ webhooks: title: public event type: object properties: - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - repository @@ -157248,13 +156462,13 @@ webhooks: type: string enum: - assigned - assignee: *709 - enterprise: *689 - installation: *690 - number: &734 + assignee: *707 + enterprise: *687 + installation: *688 + number: &732 description: The pull request number. type: integer - organization: *691 + organization: *689 pull_request: title: Pull Request type: object @@ -159603,7 +158817,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *692 + repository: *690 sender: *4 required: - action @@ -159685,11 +158899,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *689 - installation: *690 + enterprise: *687 + installation: *688 number: type: integer - organization: *691 + organization: *689 pull_request: title: Pull Request type: object @@ -162031,7 +161245,7 @@ webhooks: - draft reason: type: string - repository: *692 + repository: *690 sender: *4 required: - action @@ -162113,11 +161327,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *689 - installation: *690 + enterprise: *687 + installation: *688 number: type: integer - organization: *691 + organization: *689 pull_request: title: Pull Request type: object @@ -164459,7 +163673,7 @@ webhooks: - draft reason: type: string - repository: *692 + repository: *690 sender: *4 required: - action @@ -164541,13 +163755,13 @@ webhooks: type: string enum: - closed - enterprise: *689 - installation: *690 - number: *734 - organization: *691 - pull_request: &735 + enterprise: *687 + installation: *688 + number: *732 + organization: *689 + pull_request: &733 allOf: - - *545 + - *543 - type: object properties: allow_auto_merge: @@ -164609,7 +163823,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *692 + repository: *690 sender: *4 required: - action @@ -164690,12 +163904,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *689 - installation: *690 - number: *734 - organization: *691 - pull_request: *735 - repository: *692 + enterprise: *687 + installation: *688 + number: *732 + organization: *689 + pull_request: *733 + repository: *690 sender: *4 required: - action @@ -164775,11 +163989,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *689 - milestone: *243 - number: *734 - organization: *691 - pull_request: &736 + enterprise: *687 + milestone: *242 + number: *732 + organization: *689 + pull_request: &734 title: Pull Request type: object properties: @@ -167106,7 +166320,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *692 + repository: *690 sender: *4 required: - action @@ -167185,11 +166399,11 @@ webhooks: type: string enum: - dequeued - enterprise: *689 - installation: *690 + enterprise: *687 + installation: *688 number: type: integer - organization: *691 + organization: *689 pull_request: title: Pull Request type: object @@ -169535,7 +168749,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *692 + repository: *690 sender: *4 required: - action @@ -169659,12 +168873,12 @@ webhooks: type: string required: - from - enterprise: *689 - installation: *690 - number: *734 - organization: *691 - pull_request: *735 - repository: *692 + enterprise: *687 + installation: *688 + number: *732 + organization: *689 + pull_request: *733 + repository: *690 sender: *4 required: - action @@ -169744,11 +168958,11 @@ webhooks: type: string enum: - enqueued - enterprise: *689 - installation: *690 + enterprise: *687 + installation: *688 number: type: integer - organization: *691 + organization: *689 pull_request: title: Pull Request type: object @@ -172079,7 +171293,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *692 + repository: *690 sender: *4 required: - action @@ -172159,11 +171373,11 @@ webhooks: type: string enum: - labeled - enterprise: *689 - installation: *690 - label: *708 - number: *734 - organization: *691 + enterprise: *687 + installation: *688 + label: *706 + number: *732 + organization: *689 pull_request: title: Pull Request type: object @@ -174511,7 +173725,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *692 + repository: *690 sender: *4 required: - action @@ -174592,10 +173806,10 @@ webhooks: type: string enum: - locked - enterprise: *689 - installation: *690 - number: *734 - organization: *691 + enterprise: *687 + installation: *688 + number: *732 + organization: *689 pull_request: title: Pull Request type: object @@ -176941,7 +176155,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *692 + repository: *690 sender: *4 required: - action @@ -177021,12 +176235,12 @@ webhooks: type: string enum: - milestoned - enterprise: *689 - milestone: *243 - number: *734 - organization: *691 - pull_request: *736 - repository: *692 + enterprise: *687 + milestone: *242 + number: *732 + organization: *689 + pull_request: *734 + repository: *690 sender: *4 required: - action @@ -177105,12 +176319,12 @@ webhooks: type: string enum: - opened - enterprise: *689 - installation: *690 - number: *734 - organization: *691 - pull_request: *735 - repository: *692 + enterprise: *687 + installation: *688 + number: *732 + organization: *689 + pull_request: *733 + repository: *690 sender: *4 required: - action @@ -177191,12 +176405,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *689 - installation: *690 - number: *734 - organization: *691 - pull_request: *735 - repository: *692 + enterprise: *687 + installation: *688 + number: *732 + organization: *689 + pull_request: *733 + repository: *690 sender: *4 required: - action @@ -177276,12 +176490,12 @@ webhooks: type: string enum: - reopened - enterprise: *689 - installation: *690 - number: *734 - organization: *691 - pull_request: *735 - repository: *692 + enterprise: *687 + installation: *688 + number: *732 + organization: *689 + pull_request: *733 + repository: *690 sender: *4 required: - action @@ -177656,9 +176870,9 @@ webhooks: - start_side - side - reactions - enterprise: *689 - installation: *690 - organization: *691 + enterprise: *687 + installation: *688 + organization: *689 pull_request: type: object properties: @@ -179888,7 +179102,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *692 + repository: *690 sender: *4 required: - action @@ -179968,7 +179182,7 @@ webhooks: type: string enum: - deleted - comment: &738 + comment: &736 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -180261,9 +179475,9 @@ webhooks: - start_side - side - reactions - enterprise: *689 - installation: *690 - organization: *691 + enterprise: *687 + installation: *688 + organization: *689 pull_request: type: object properties: @@ -182481,7 +181695,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *692 + repository: *690 sender: *4 required: - action @@ -182561,11 +181775,11 @@ webhooks: type: string enum: - edited - changes: *737 - comment: *738 - enterprise: *689 - installation: *690 - organization: *691 + changes: *735 + comment: *736 + enterprise: *687 + installation: *688 + organization: *689 pull_request: type: object properties: @@ -184786,7 +184000,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *692 + repository: *690 sender: *4 required: - action @@ -184867,9 +184081,9 @@ webhooks: type: string enum: - dismissed - enterprise: *689 - installation: *690 - organization: *691 + enterprise: *687 + installation: *688 + organization: *689 pull_request: title: Simple Pull Request type: object @@ -187102,7 +186316,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *692 + repository: *690 review: description: The review that was affected. type: object @@ -187353,9 +186567,9 @@ webhooks: type: string required: - from - enterprise: *689 - installation: *690 - organization: *691 + enterprise: *687 + installation: *688 + organization: *689 pull_request: title: Simple Pull Request type: object @@ -189469,8 +188683,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *692 - review: &739 + repository: *690 + review: &737 description: The review that was affected. type: object properties: @@ -189708,12 +188922,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *689 - installation: *690 + enterprise: *687 + installation: *688 number: description: The pull request number. type: integer - organization: *691 + organization: *689 pull_request: title: Pull Request type: object @@ -192060,7 +191274,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *692 + repository: *690 requested_reviewer: title: User type: @@ -192146,12 +191360,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *689 - installation: *690 + enterprise: *687 + installation: *688 number: description: The pull request number. type: integer - organization: *691 + organization: *689 pull_request: title: Pull Request type: object @@ -194505,7 +193719,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *692 + repository: *690 requested_team: title: Team description: Groups of organization members that gives permissions @@ -194700,12 +193914,12 @@ webhooks: type: string enum: - review_requested - enterprise: *689 - installation: *690 + enterprise: *687 + installation: *688 number: description: The pull request number. type: integer - organization: *691 + organization: *689 pull_request: title: Pull Request type: object @@ -197054,7 +196268,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *692 + repository: *690 requested_reviewer: title: User type: @@ -197141,12 +196355,12 @@ webhooks: type: string enum: - review_requested - enterprise: *689 - installation: *690 + enterprise: *687 + installation: *688 number: description: The pull request number. type: integer - organization: *691 + organization: *689 pull_request: title: Pull Request type: object @@ -199486,7 +198700,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *692 + repository: *690 requested_team: title: Team description: Groups of organization members that gives permissions @@ -199670,9 +198884,9 @@ webhooks: type: string enum: - submitted - enterprise: *689 - installation: *690 - organization: *691 + enterprise: *687 + installation: *688 + organization: *689 pull_request: title: Simple Pull Request type: object @@ -201908,8 +201122,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *692 - review: *739 + repository: *690 + review: *737 sender: *4 required: - action @@ -201989,9 +201203,9 @@ webhooks: type: string enum: - resolved - enterprise: *689 - installation: *690 - organization: *691 + enterprise: *687 + installation: *688 + organization: *689 pull_request: title: Simple Pull Request type: object @@ -204122,7 +203336,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *692 + repository: *690 sender: *4 thread: type: object @@ -204519,9 +203733,9 @@ webhooks: type: string enum: - unresolved - enterprise: *689 - installation: *690 - organization: *691 + enterprise: *687 + installation: *688 + organization: *689 pull_request: title: Simple Pull Request type: object @@ -206635,7 +205849,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *692 + repository: *690 sender: *4 thread: type: object @@ -207034,10 +206248,10 @@ webhooks: type: string before: type: string - enterprise: *689 - installation: *690 - number: *734 - organization: *691 + enterprise: *687 + installation: *688 + number: *732 + organization: *689 pull_request: title: Pull Request type: object @@ -209372,7 +208586,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *692 + repository: *690 sender: *4 required: - action @@ -209454,11 +208668,11 @@ webhooks: type: string enum: - unassigned - assignee: *740 - enterprise: *689 - installation: *690 - number: *734 - organization: *691 + assignee: *738 + enterprise: *687 + installation: *688 + number: *732 + organization: *689 pull_request: title: Pull Request type: object @@ -211808,7 +211022,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *692 + repository: *690 sender: *4 required: - action @@ -211887,11 +211101,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *689 - installation: *690 - label: *708 - number: *734 - organization: *691 + enterprise: *687 + installation: *688 + label: *706 + number: *732 + organization: *689 pull_request: title: Pull Request type: object @@ -214230,7 +213444,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *692 + repository: *690 sender: *4 required: - action @@ -214311,10 +213525,10 @@ webhooks: type: string enum: - unlocked - enterprise: *689 - installation: *690 - number: *734 - organization: *691 + enterprise: *687 + installation: *688 + number: *732 + organization: *689 pull_request: title: Pull Request type: object @@ -216643,7 +215857,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *692 + repository: *690 sender: *4 required: - action @@ -216846,7 +216060,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *689 + enterprise: *687 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -216941,8 +216155,8 @@ webhooks: - url - author - committer - installation: *690 - organization: *691 + installation: *688 + organization: *689 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -217530,9 +216744,9 @@ webhooks: type: string enum: - published - enterprise: *689 - installation: *690 - organization: *691 + enterprise: *687 + installation: *688 + organization: *689 registry_package: type: object properties: @@ -218009,7 +217223,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *723 + items: *721 summary: type: string tag_name: @@ -218065,7 +217279,7 @@ webhooks: - owner - package_version - registry - repository: *692 + repository: *690 sender: *4 required: - action @@ -218143,9 +217357,9 @@ webhooks: type: string enum: - updated - enterprise: *689 - installation: *690 - organization: *691 + enterprise: *687 + installation: *688 + organization: *689 registry_package: type: object properties: @@ -218457,7 +217671,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *723 + items: *721 summary: type: string tag_name: @@ -218507,7 +217721,7 @@ webhooks: - owner - package_version - registry - repository: *692 + repository: *690 sender: *4 required: - action @@ -218584,10 +217798,10 @@ webhooks: type: string enum: - created - enterprise: *689 - installation: *690 - organization: *691 - release: &741 + enterprise: *687 + installation: *688 + organization: *689 + release: &739 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -218918,7 +218132,7 @@ webhooks: - updated_at - zipball_url - body - repository: *692 + repository: *690 sender: *4 required: - action @@ -218995,11 +218209,11 @@ webhooks: type: string enum: - deleted - enterprise: *689 - installation: *690 - organization: *691 - release: *741 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + release: *739 + repository: *690 sender: *4 required: - action @@ -219116,11 +218330,11 @@ webhooks: type: boolean required: - to - enterprise: *689 - installation: *690 - organization: *691 - release: *741 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + release: *739 + repository: *690 sender: *4 required: - action @@ -219198,9 +218412,9 @@ webhooks: type: string enum: - prereleased - enterprise: *689 - installation: *690 - organization: *691 + enterprise: *687 + installation: *688 + organization: *689 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -219536,7 +218750,7 @@ webhooks: - string - 'null' format: uri - repository: *692 + repository: *690 sender: *4 required: - action @@ -219612,10 +218826,10 @@ webhooks: type: string enum: - published - enterprise: *689 - installation: *690 - organization: *691 - release: &742 + enterprise: *687 + installation: *688 + organization: *689 + release: &740 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -219948,7 +219162,7 @@ webhooks: - string - 'null' format: uri - repository: *692 + repository: *690 sender: *4 required: - action @@ -220024,11 +219238,11 @@ webhooks: type: string enum: - released - enterprise: *689 - installation: *690 - organization: *691 - release: *741 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + release: *739 + repository: *690 sender: *4 required: - action @@ -220104,11 +219318,11 @@ webhooks: type: string enum: - unpublished - enterprise: *689 - installation: *690 - organization: *691 - release: *742 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + release: *740 + repository: *690 sender: *4 required: - action @@ -220184,11 +219398,11 @@ webhooks: type: string enum: - published - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 - repository_advisory: *609 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 + repository_advisory: *607 sender: *4 required: - action @@ -220264,11 +219478,11 @@ webhooks: type: string enum: - reported - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 - repository_advisory: *609 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 + repository_advisory: *607 sender: *4 required: - action @@ -220344,10 +219558,10 @@ webhooks: type: string enum: - archived - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -220424,10 +219638,10 @@ webhooks: type: string enum: - created - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -220505,10 +219719,10 @@ webhooks: type: string enum: - deleted - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -220593,10 +219807,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -220711,10 +219925,10 @@ webhooks: - 'null' items: type: string - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -220786,10 +220000,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 status: type: string @@ -220870,10 +220084,10 @@ webhooks: type: string enum: - privatized - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -220950,10 +220164,10 @@ webhooks: type: string enum: - publicized - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -221047,10 +220261,10 @@ webhooks: - name required: - repository - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -221130,11 +220344,11 @@ webhooks: type: string enum: - created - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 - repository_ruleset: *280 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 + repository_ruleset: *279 sender: *4 required: - action @@ -221212,11 +220426,11 @@ webhooks: type: string enum: - deleted - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 - repository_ruleset: *280 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 + repository_ruleset: *279 sender: *4 required: - action @@ -221294,11 +220508,11 @@ webhooks: type: string enum: - edited - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 - repository_ruleset: *280 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 + repository_ruleset: *279 changes: type: object properties: @@ -221317,16 +220531,16 @@ webhooks: properties: added: type: array - items: *255 + items: *254 deleted: type: array - items: *255 + items: *254 updated: type: array items: type: object properties: - condition: *255 + condition: *254 changes: type: object properties: @@ -221359,16 +220573,16 @@ webhooks: properties: added: type: array - items: *566 + items: *564 deleted: type: array - items: *566 + items: *564 updated: type: array items: type: object properties: - rule: *566 + rule: *564 changes: type: object properties: @@ -221605,10 +220819,10 @@ webhooks: - from required: - owner - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -221686,10 +220900,10 @@ webhooks: type: string enum: - unarchived - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -221767,7 +220981,7 @@ webhooks: type: string enum: - create - alert: &743 + alert: &741 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -221891,10 +221105,10 @@ webhooks: type: string enum: - open - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -222104,10 +221318,10 @@ webhooks: type: string enum: - dismissed - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -222185,11 +221399,11 @@ webhooks: type: string enum: - reopen - alert: *743 - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + alert: *741 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -222391,10 +221605,10 @@ webhooks: enum: - fixed - open - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -222472,7 +221686,7 @@ webhooks: type: string enum: - created - alert: &744 + alert: &742 type: object properties: number: *151 @@ -222586,10 +221800,10 @@ webhooks: anyOf: - type: 'null' - *4 - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -222670,11 +221884,11 @@ webhooks: type: string enum: - created - alert: *744 - installation: *690 - location: *745 - organization: *691 - repository: *692 + alert: *742 + installation: *688 + location: *743 + organization: *689 + repository: *690 sender: *4 required: - location @@ -222912,11 +222126,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *744 - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + alert: *742 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -222994,11 +222208,11 @@ webhooks: type: string enum: - reopened - alert: *744 - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + alert: *742 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -223076,11 +222290,11 @@ webhooks: type: string enum: - resolved - alert: *744 - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + alert: *742 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -223158,11 +222372,11 @@ webhooks: type: string enum: - validated - alert: *744 - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + alert: *742 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -223292,10 +222506,10 @@ webhooks: - organization - enterprise - - repository: *692 - enterprise: *689 - installation: *690 - organization: *691 + repository: *690 + enterprise: *687 + installation: *688 + organization: *689 sender: *4 required: - action @@ -223373,11 +222587,11 @@ webhooks: type: string enum: - published - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 - security_advisory: &746 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 + security_advisory: &744 description: The details of the security advisory, including summary, description, and severity. type: object @@ -223563,11 +222777,11 @@ webhooks: type: string enum: - updated - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 - security_advisory: *746 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 + security_advisory: *744 sender: *4 required: - action @@ -223640,10 +222854,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -223829,11 +223043,11 @@ webhooks: from: type: object properties: - security_and_analysis: *254 - enterprise: *689 - installation: *690 - organization: *691 - repository: *316 + security_and_analysis: *253 + enterprise: *687 + installation: *688 + organization: *689 + repository: *313 sender: *4 required: - changes @@ -223911,12 +223125,12 @@ webhooks: type: string enum: - cancelled - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 - sponsorship: &747 + sponsorship: &745 type: object properties: created_at: @@ -224221,12 +223435,12 @@ webhooks: type: string enum: - created - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 - sponsorship: *747 + sponsorship: *745 required: - action - sponsorship @@ -224314,12 +223528,12 @@ webhooks: type: string required: - from - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 - sponsorship: *747 + sponsorship: *745 required: - action - changes @@ -224396,17 +223610,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &748 + effective_date: &746 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 - sponsorship: *747 + sponsorship: *745 required: - action - sponsorship @@ -224480,7 +223694,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &749 + changes: &747 type: object properties: tier: @@ -224524,13 +223738,13 @@ webhooks: - from required: - tier - effective_date: *748 - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + effective_date: *746 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 - sponsorship: *747 + sponsorship: *745 required: - action - changes @@ -224607,13 +223821,13 @@ webhooks: type: string enum: - tier_changed - changes: *749 - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + changes: *747 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 - sponsorship: *747 + sponsorship: *745 required: - action - changes @@ -224687,10 +223901,10 @@ webhooks: type: string enum: - created - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -224774,10 +223988,10 @@ webhooks: type: string enum: - deleted - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -225211,15 +224425,15 @@ webhooks: type: - string - 'null' - enterprise: *689 + enterprise: *687 id: description: The unique identifier of the status. type: integer - installation: *690 + installation: *688 name: type: string - organization: *691 - repository: *692 + organization: *689 + repository: *690 sender: *4 sha: description: The Commit SHA. @@ -225335,9 +224549,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *78 - installation: *690 - organization: *691 - repository: *692 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -225427,9 +224641,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *78 - installation: *690 - organization: *691 - repository: *692 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -225519,9 +224733,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *78 - installation: *690 - organization: *691 - repository: *692 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -225611,9 +224825,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *78 - installation: *690 - organization: *691 - repository: *692 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -225690,12 +224904,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 - team: &750 + team: &748 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -225925,9 +225139,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *689 - installation: *690 - organization: *691 + enterprise: *687 + installation: *688 + organization: *689 repository: title: Repository description: A git repository @@ -226397,7 +225611,7 @@ webhooks: - topics - visibility sender: *4 - team: *750 + team: *748 required: - action - team @@ -226473,9 +225687,9 @@ webhooks: type: string enum: - created - enterprise: *689 - installation: *690 - organization: *691 + enterprise: *687 + installation: *688 + organization: *689 repository: title: Repository description: A git repository @@ -226945,7 +226159,7 @@ webhooks: - topics - visibility sender: *4 - team: *750 + team: *748 required: - action - team @@ -227022,9 +226236,9 @@ webhooks: type: string enum: - deleted - enterprise: *689 - installation: *690 - organization: *691 + enterprise: *687 + installation: *688 + organization: *689 repository: title: Repository description: A git repository @@ -227494,7 +226708,7 @@ webhooks: - topics - visibility sender: *4 - team: *750 + team: *748 required: - action - team @@ -227638,9 +226852,9 @@ webhooks: - from required: - permissions - enterprise: *689 - installation: *690 - organization: *691 + enterprise: *687 + installation: *688 + organization: *689 repository: title: Repository description: A git repository @@ -228110,7 +227324,7 @@ webhooks: - topics - visibility sender: *4 - team: *750 + team: *748 required: - action - changes @@ -228188,9 +227402,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *689 - installation: *690 - organization: *691 + enterprise: *687 + installation: *688 + organization: *689 repository: title: Repository description: A git repository @@ -228660,7 +227874,7 @@ webhooks: - topics - visibility sender: *4 - team: *750 + team: *748 required: - action - team @@ -228736,10 +227950,10 @@ webhooks: type: string enum: - started - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -228812,17 +228026,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *689 + enterprise: *687 inputs: type: - object - 'null' additionalProperties: true - installation: *690 - organization: *691 + installation: *688 + organization: *689 ref: type: string - repository: *692 + repository: *690 sender: *4 workflow: type: string @@ -228904,10 +228118,10 @@ webhooks: type: string enum: - completed - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 workflow_job: allOf: @@ -229163,7 +228377,7 @@ webhooks: type: string required: - conclusion - deployment: *462 + deployment: *459 required: - action - repository @@ -229242,10 +228456,10 @@ webhooks: type: string enum: - in_progress - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 workflow_job: allOf: @@ -229527,7 +228741,7 @@ webhooks: required: - status - steps - deployment: *462 + deployment: *459 required: - action - repository @@ -229606,10 +228820,10 @@ webhooks: type: string enum: - queued - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 workflow_job: type: object @@ -229755,7 +228969,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *462 + deployment: *459 required: - action - repository @@ -229834,10 +229048,10 @@ webhooks: type: string enum: - waiting - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 workflow_job: type: object @@ -229984,7 +229198,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *462 + deployment: *459 required: - action - repository @@ -230064,12 +229278,12 @@ webhooks: type: string enum: - completed - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 - workflow: *704 + workflow: *702 workflow_run: title: Workflow Run type: object @@ -231088,12 +230302,12 @@ webhooks: type: string enum: - in_progress - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 - workflow: *704 + workflow: *702 workflow_run: title: Workflow Run type: object @@ -232097,12 +231311,12 @@ webhooks: type: string enum: - requested - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 - workflow: *704 + workflow: *702 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json index 818f8ff31..07c4d89e6 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json @@ -62309,7 +62309,7 @@ }, "/organizations/{org}/settings/billing/usage/summary": { "get": { - "summary": "Get billing usage summary report for an organization", + "summary": "Get billing usage summary for an organization", "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets a summary report of usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" @@ -62317,7 +62317,7 @@ "operationId": "billing/get-github-billing-usage-summary-report-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-summary-report-for-an-organization" + "url": "https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-summary-for-an-organization" }, "parameters": [ { @@ -62386,7 +62386,7 @@ ], "responses": { "200": { - "description": "Response when getting a billing usage summary report", + "description": "Response when getting a billing usage summary", "content": { "application/json": { "schema": { @@ -147419,999 +147419,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", - "examples": [ - "https://api.github.com/repos/api-playground/projects-test" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/api-playground/projects-test/projects/12" - ] - }, - "columns_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604/columns" - ] - }, - "id": { - "type": "integer", - "examples": [ - 1002604 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDc6UHJvamVjdDEwMDI2MDQ=" - ] - }, - "name": { - "description": "Name of the project", - "type": "string", - "examples": [ - "Week One Sprint" - ] - }, - "body": { - "description": "Body of the project", - "type": [ - "string", - "null" - ], - "examples": [ - "This project represents the sprint of the first week in January" - ] - }, - "number": { - "type": "integer", - "examples": [ - 1 - ] - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "type": "string", - "examples": [ - "open" - ] - }, - "creator": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2011-04-10T20:09:31Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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", - "examples": [ - "https://api.github.com/repos/api-playground/projects-test" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/api-playground/projects-test/projects/12" - ] - }, - "columns_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604/columns" - ] - }, - "id": { - "type": "integer", - "examples": [ - 1002604 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDc6UHJvamVjdDEwMDI2MDQ=" - ] - }, - "name": { - "description": "Name of the project", - "type": "string", - "examples": [ - "Week One Sprint" - ] - }, - "body": { - "description": "Body of the project", - "type": [ - "string", - "null" - ], - "examples": [ - "This project represents the sprint of the first week in January" - ] - }, - "number": { - "type": "integer", - "examples": [ - 1 - ] - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "type": "string", - "examples": [ - "open" - ] - }, - "creator": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2011-04-10T20:09:31Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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", @@ -207200,1125 +206207,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", - "examples": [ - "https://api.github.com/repos/api-playground/projects-test" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/api-playground/projects-test/projects/12" - ] - }, - "columns_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604/columns" - ] - }, - "id": { - "type": "integer", - "examples": [ - 1002604 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDc6UHJvamVjdDEwMDI2MDQ=" - ] - }, - "name": { - "description": "Name of the project", - "type": "string", - "examples": [ - "Week One Sprint" - ] - }, - "body": { - "description": "Body of the project", - "type": [ - "string", - "null" - ], - "examples": [ - "This project represents the sprint of the first week in January" - ] - }, - "number": { - "type": "integer", - "examples": [ - 1 - ] - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "type": "string", - "examples": [ - "open" - ] - }, - "creator": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2011-04-10T20:09:31Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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", - "type": "string", - "examples": [ - "Week One Sprint" - ] - }, - "body": { - "description": "Body of the project", - "type": [ - "string", - "null" - ], - "examples": [ - "This project represents the sprint of the first week in January" - ] - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "type": "string", - "examples": [ - "open" - ] - }, - "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", - "examples": [ - "https://api.github.com/repos/api-playground/projects-test" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/api-playground/projects-test/projects/12" - ] - }, - "columns_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604/columns" - ] - }, - "id": { - "type": "integer", - "examples": [ - 1002604 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDc6UHJvamVjdDEwMDI2MDQ=" - ] - }, - "name": { - "description": "Name of the project", - "type": "string", - "examples": [ - "Week One Sprint" - ] - }, - "body": { - "description": "Body of the project", - "type": [ - "string", - "null" - ], - "examples": [ - "This project represents the sprint of the first week in January" - ] - }, - "number": { - "type": "integer", - "examples": [ - 1 - ] - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "type": "string", - "examples": [ - "open" - ] - }, - "creator": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2011-04-10T20:09:31Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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", @@ -478767,1119 +476655,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", - "examples": [ - "https://api.github.com/repos/api-playground/projects-test" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/api-playground/projects-test/projects/12" - ] - }, - "columns_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604/columns" - ] - }, - "id": { - "type": "integer", - "examples": [ - 1002604 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDc6UHJvamVjdDEwMDI2MDQ=" - ] - }, - "name": { - "description": "Name of the project", - "type": "string", - "examples": [ - "Week One Sprint" - ] - }, - "body": { - "description": "Body of the project", - "type": [ - "string", - "null" - ], - "examples": [ - "This project represents the sprint of the first week in January" - ] - }, - "number": { - "type": "integer", - "examples": [ - 1 - ] - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "type": "string", - "examples": [ - "open" - ] - }, - "creator": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2011-04-10T20:09:31Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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", - "examples": [ - "https://api.github.com/repos/api-playground/projects-test" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/api-playground/projects-test/projects/12" - ] - }, - "columns_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604/columns" - ] - }, - "id": { - "type": "integer", - "examples": [ - 1002604 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDc6UHJvamVjdDEwMDI2MDQ=" - ] - }, - "name": { - "description": "Name of the project", - "type": "string", - "examples": [ - "Week One Sprint" - ] - }, - "body": { - "description": "Body of the project", - "type": [ - "string", - "null" - ], - "examples": [ - "This project represents the sprint of the first week in January" - ] - }, - "number": { - "type": "integer", - "examples": [ - 1 - ] - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "type": "string", - "examples": [ - "open" - ] - }, - "creator": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2011-04-10T20:09:31Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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", @@ -649247,498 +646022,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", - "type": "string", - "examples": [ - "Week One Sprint" - ] - }, - "body": { - "description": "Body of the project", - "type": [ - "string", - "null" - ], - "examples": [ - "This project represents the sprint of the first week in January" - ] - } - }, - "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", - "examples": [ - "https://api.github.com/repos/api-playground/projects-test" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/api-playground/projects-test/projects/12" - ] - }, - "columns_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604/columns" - ] - }, - "id": { - "type": "integer", - "examples": [ - 1002604 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDc6UHJvamVjdDEwMDI2MDQ=" - ] - }, - "name": { - "description": "Name of the project", - "type": "string", - "examples": [ - "Week One Sprint" - ] - }, - "body": { - "description": "Body of the project", - "type": [ - "string", - "null" - ], - "examples": [ - "This project represents the sprint of the first week in January" - ] - }, - "number": { - "type": "integer", - "examples": [ - 1 - ] - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "type": "string", - "examples": [ - "open" - ] - }, - "creator": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2011-04-10T20:09:31Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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", @@ -686792,503 +683075,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", - "examples": [ - "https://api.github.com/repos/api-playground/projects-test" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/api-playground/projects-test/projects/12" - ] - }, - "columns_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604/columns" - ] - }, - "id": { - "type": "integer", - "examples": [ - 1002604 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDc6UHJvamVjdDEwMDI2MDQ=" - ] - }, - "name": { - "description": "Name of the project", - "type": "string", - "examples": [ - "Week One Sprint" - ] - }, - "body": { - "description": "Body of the project", - "type": [ - "string", - "null" - ], - "examples": [ - "This project represents the sprint of the first week in January" - ] - }, - "number": { - "type": "integer", - "examples": [ - 1 - ] - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "type": "string", - "examples": [ - "open" - ] - }, - "creator": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2011-04-10T20:09:31Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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", - "null" - ] - }, - { - "type": [ - "integer", - "null" - ] - }, - { - "type": [ - "array", - "null" - ], - "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", @@ -714740,7 +710526,7 @@ }, "/users/{username}/settings/billing/usage/summary": { "get": { - "summary": "Get billing usage summary report for a user", + "summary": "Get billing usage summary for a user", "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets a summary report of usage for a user.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" @@ -714748,7 +710534,7 @@ "operationId": "billing/get-github-billing-usage-summary-report-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-summary-report-for-a-user" + "url": "https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-summary-for-a-user" }, "parameters": [ { @@ -714817,7 +710603,7 @@ ], "responses": { "200": { - "description": "Response when getting a billing usage summary report", + "description": "Response when getting a billing usage summary", "content": { "application/json": { "schema": { diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml index 4c00cbb86..54fe292fc 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml @@ -907,7 +907,7 @@ paths: - subscriptions_url - type - url - type: &286 + type: &285 type: string description: The type of credit the user is receiving. enum: @@ -1073,7 +1073,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &611 + - &609 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -8978,7 +8978,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 - - &453 + - &450 name: has in: query description: |- @@ -9098,7 +9098,7 @@ paths: - direct - transitive - - security_advisory: &454 + security_advisory: &451 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -9366,7 +9366,7 @@ paths: and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - auto_dismissed_at: &455 + auto_dismissed_at: &452 type: - string - 'null' @@ -10806,7 +10806,7 @@ paths: milestone: anyOf: - type: 'null' - - &243 + - &242 title: Milestone description: A collection of related issues and pull requests. @@ -11087,7 +11087,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &623 + sub_issues_summary: &621 title: Sub-issues Summary type: object properties: @@ -11108,7 +11108,7 @@ paths: - string - 'null' format: uri - issue_dependencies_summary: &624 + issue_dependencies_summary: &622 title: Issue Dependencies Summary type: object properties: @@ -11127,7 +11127,7 @@ paths: - total_blocking issue_field_values: type: array - items: &625 + items: &623 title: Issue Field Value description: A value assigned to an issue field type: object @@ -11222,7 +11222,7 @@ paths: - user - created_at - updated_at - comment: &501 + comment: &499 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -11800,7 +11800,7 @@ paths: url: type: string format: uri - user: &637 + user: &635 title: Public User description: Public User type: object @@ -15158,14 +15158,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &308 + - &307 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &309 + - &308 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -15227,7 +15227,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &317 + '301': &314 description: Moved permanently content: application/json: @@ -15249,7 +15249,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &530 + - &528 name: all description: If `true`, show notifications marked as read. in: query @@ -15257,7 +15257,7 @@ paths: schema: type: boolean default: false - - &531 + - &529 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -15267,7 +15267,7 @@ paths: type: boolean default: false - *68 - - &532 + - &530 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: @@ -15638,7 +15638,7 @@ paths: type: boolean examples: - false - security_and_analysis: &254 + security_and_analysis: &253 type: - object - 'null' @@ -15803,7 +15803,7 @@ paths: - url - subscription_url examples: - default: &533 + default: &531 value: - id: '1' repository: @@ -16682,7 +16682,7 @@ paths: - property_name - value examples: - default: &539 + default: &537 value: - property_name: environment value: production @@ -16732,7 +16732,7 @@ paths: required: - properties examples: - default: &540 + default: &538 value: properties: - property_name: environment @@ -16801,7 +16801,7 @@ paths: required: false schema: type: string - - &680 + - &678 name: model description: The model name to query usage for. The name is not case sensitive. in: query @@ -16947,7 +16947,7 @@ paths: parameters: - *61 - *98 - - &683 + - &681 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 @@ -17040,7 +17040,7 @@ paths: subcategory: enhanced-billing "/organizations/{org}/settings/billing/usage/summary": get: - summary: Get billing usage summary report for an organization + summary: Get billing usage summary for an organization description: |- > [!NOTE] > This endpoint is in public preview and is subject to change. @@ -17053,13 +17053,13 @@ paths: operationId: billing/get-github-billing-usage-summary-report-org externalDocs: description: API method documentation - url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-summary-report-for-an-organization + url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-summary-for-an-organization parameters: - *61 - *98 - *100 - *99 - - &684 + - &682 name: repository description: The repository name to query for usage in the format owner/repository. in: query @@ -17067,7 +17067,7 @@ paths: schema: type: string - *101 - - &685 + - &683 name: sku description: The SKU to query for usage. in: query @@ -17076,7 +17076,7 @@ paths: type: string responses: '200': - description: Response when getting a billing usage summary report + description: Response when getting a billing usage summary content: application/json: schema: @@ -18046,7 +18046,7 @@ paths: type: integer repository_cache_usages: type: array - items: &322 + items: &319 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -19284,7 +19284,7 @@ paths: - all - local_only - selected - selected_actions_url: &328 + selected_actions_url: &325 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` @@ -19367,7 +19367,7 @@ paths: description: Response content: application/json: - schema: &332 + schema: &329 type: object properties: days: @@ -19409,7 +19409,7 @@ paths: required: true content: application/json: - schema: &333 + schema: &330 type: object properties: days: @@ -19466,7 +19466,7 @@ paths: required: - approval_policy examples: - default: &334 + default: &331 value: approval_policy: first_time_contributors '404': *6 @@ -19525,7 +19525,7 @@ paths: description: Response content: application/json: - schema: &335 + schema: &332 type: object required: - run_workflows_from_fork_pull_requests @@ -19579,7 +19579,7 @@ paths: required: true content: application/json: - schema: &336 + schema: &333 type: object required: - run_workflows_from_fork_pull_requests @@ -20214,7 +20214,7 @@ paths: description: Response content: application/json: - schema: &337 + schema: &334 type: object properties: default_workflow_permissions: &128 @@ -20265,7 +20265,7 @@ paths: required: false content: application/json: - schema: &338 + schema: &335 type: object properties: default_workflow_permissions: *128 @@ -20758,7 +20758,7 @@ paths: type: array items: *135 examples: - default: &640 + default: &638 value: total_count: 1 repositories: @@ -21405,7 +21405,7 @@ paths: application/json: schema: type: array - items: &339 + items: &336 title: Runner Application description: Runner Application type: object @@ -21430,7 +21430,7 @@ paths: - download_url - filename examples: - default: &340 + default: &337 value: - os: osx architecture: x64 @@ -21516,7 +21516,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &341 + '201': &338 description: Response content: application/json: @@ -21631,7 +21631,7 @@ paths: - token - expires_at examples: - default: &342 + default: &339 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -21670,7 +21670,7 @@ paths: application/json: schema: *139 examples: - default: &343 + default: &340 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -21704,7 +21704,7 @@ paths: application/json: schema: *137 examples: - default: &344 + default: &341 value: id: 23 name: MBP @@ -21930,7 +21930,7 @@ paths: - *61 - *136 responses: - '200': &345 + '200': &342 description: Response content: application/json: @@ -21987,7 +21987,7 @@ paths: parameters: - *61 - *136 - - &346 + - &343 name: name description: The name of a self-hosted runner's custom label. in: path @@ -22119,7 +22119,7 @@ paths: description: Response content: application/json: - schema: &358 + schema: &355 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -22154,7 +22154,7 @@ paths: - key_id - key examples: - default: &359 + default: &356 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -22567,7 +22567,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *61 - - &327 + - &324 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)." @@ -23317,12 +23317,12 @@ paths: required: - subject_digests examples: - default: &667 + default: &665 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &668 + withPredicateType: &666 value: subject_digests: - sha256:abc123 @@ -23381,7 +23381,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &669 + default: &667 value: attestations_subject_digests: - sha256:abc: @@ -23730,7 +23730,7 @@ paths: initiator: type: string examples: - default: &372 + default: &369 value: attestations: - bundle: @@ -24686,7 +24686,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *61 - - &397 + - &394 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`, @@ -24696,7 +24696,7 @@ paths: schema: &158 type: string description: The name of the tool used to generate the code scanning analysis. - - &398 + - &395 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 @@ -24720,7 +24720,7 @@ paths: be returned. in: query required: false - schema: &400 + schema: &397 type: string description: State of a code scanning alert. enum: @@ -24743,7 +24743,7 @@ paths: be returned. in: query required: false - schema: &401 + schema: &398 type: string description: Severity of a code scanning alert. enum: @@ -24769,7 +24769,7 @@ paths: updated_at: *153 url: *154 html_url: *155 - instances_url: &402 + instances_url: &399 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -24791,7 +24791,7 @@ paths: - type: 'null' - *4 dismissed_at: *157 - dismissed_reason: &403 + dismissed_reason: &400 type: - string - 'null' @@ -24802,14 +24802,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &404 + dismissed_comment: &401 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &405 + rule: &402 type: object properties: id: @@ -24870,7 +24870,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &406 + tool: &403 type: object properties: name: *158 @@ -24881,15 +24881,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *159 - most_recent_instance: &407 + most_recent_instance: &404 type: object properties: - ref: &399 + ref: &396 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &417 + analysis_key: &414 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -24900,7 +24900,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &418 + category: &415 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -26228,7 +26228,7 @@ paths: machine: anyOf: - type: 'null' - - &430 + - &427 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -27180,7 +27180,7 @@ paths: - updated_at - visibility examples: - default: &431 + default: &428 value: total_count: 2 secrets: @@ -27218,7 +27218,7 @@ paths: description: Response content: application/json: - schema: &432 + schema: &429 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -27253,7 +27253,7 @@ paths: - key_id - key examples: - default: &433 + default: &430 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -27285,7 +27285,7 @@ paths: application/json: schema: *168 examples: - default: &435 + default: &432 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -28283,7 +28283,7 @@ paths: application/json: schema: type: array - items: &290 + items: &289 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -28598,7 +28598,7 @@ paths: - date additionalProperties: true examples: - default: &291 + default: &290 value: - date: '2024-06-24' total_active_users: 24 @@ -28700,7 +28700,7 @@ paths: '500': *96 '403': *27 '404': *6 - '422': &292 + '422': &291 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -28908,7 +28908,7 @@ paths: description: Response content: application/json: - schema: &458 + schema: &455 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -28927,7 +28927,7 @@ paths: - key_id - key examples: - default: &459 + default: &456 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -30755,7 +30755,7 @@ paths: application/json: schema: *20 examples: - default: &497 + default: &494 value: id: 1 account: @@ -30983,7 +30983,7 @@ paths: required: true content: application/json: - schema: &498 + schema: &495 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -31843,7 +31843,7 @@ paths: application/json: schema: *210 examples: - default: &429 + default: &426 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -33101,7 +33101,7 @@ paths: parameters: - *61 - *217 - - &652 + - &650 name: repo_name description: repo_name parameter in: path @@ -34160,7 +34160,7 @@ paths: - nuget - container - *61 - - &653 + - &651 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -34201,7 +34201,7 @@ paths: default: *223 '403': *27 '401': *23 - '400': &655 + '400': &653 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -35924,275 +35924,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: - - *61 - - 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: &238 - title: Project - description: Projects are a way to organize columns and cards of - work. - type: object - properties: - owner_url: - type: string - format: uri - examples: - - https://api.github.com/repos/api-playground/projects-test - url: - type: string - format: uri - examples: - - https://api.github.com/projects/1002604 - html_url: - type: string - format: uri - examples: - - https://github.com/api-playground/projects-test/projects/12 - columns_url: - type: string - format: uri - examples: - - https://api.github.com/projects/1002604/columns - id: - type: integer - examples: - - 1002604 - node_id: - type: string - examples: - - MDc6UHJvamVjdDEwMDI2MDQ= - name: - description: Name of the project - type: string - examples: - - Week One Sprint - body: - description: Body of the project - type: - - string - - 'null' - examples: - - This project represents the sprint of the first week in January - number: - type: integer - examples: - - 1 - state: - description: State of the project; either 'open' or 'closed' - type: string - examples: - - open - creator: - anyOf: - - type: 'null' - - *4 - created_at: - type: string - format: date-time - examples: - - '2011-04-10T20:09:31Z' - updated_at: - type: string - format: date-time - examples: - - '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: *52 - '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: - - *61 - 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: *238 - 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': *23 - '403': *27 - '404': *6 - '410': &314 - 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 @@ -36222,7 +35953,7 @@ paths: application/json: schema: type: array - items: &239 + items: &238 title: Projects v2 Project description: A projects v2 project type: object @@ -36296,7 +36027,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &733 + - &731 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -36381,7 +36112,7 @@ paths: - deleted_at - deleted_by examples: - default: &240 + default: &239 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -36484,7 +36215,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &241 + - &240 name: project_number description: The project's number. in: path @@ -36497,9 +36228,9 @@ paths: description: Response content: application/json: - schema: *239 + schema: *238 examples: - default: *240 + default: *239 headers: Link: *52 '304': *35 @@ -36521,7 +36252,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *241 + - *240 - *61 - *17 - *38 @@ -36533,7 +36264,7 @@ paths: application/json: schema: type: array - items: &242 + items: &241 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -36683,7 +36414,7 @@ paths: - updated_at - project_url examples: - default: &672 + default: &670 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -36786,8 +36517,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *241 - - &673 + - *240 + - &671 name: field_id description: The unique identifier of the field. in: path @@ -36800,9 +36531,9 @@ paths: description: Response content: application/json: - schema: *242 + schema: *241 examples: - default: &674 + default: &672 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -36846,7 +36577,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *241 + - *240 - *61 - 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) @@ -36879,7 +36610,7 @@ paths: application/json: schema: type: array - items: &247 + items: &246 title: Projects v2 Item description: An item belonging to a project type: object @@ -36896,7 +36627,7 @@ paths: description: The API URL of the project that contains this item. examples: - https://api.github.com/users/monalisa/2/projectsV2/3 - content_type: &245 + content_type: &244 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -36953,7 +36684,7 @@ paths: - updated_at - archived_at examples: - default: &248 + default: &247 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -37648,7 +37379,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - *61 - - *241 + - *240 requestBody: required: true description: Details of the item to add to the project. @@ -37685,7 +37416,7 @@ paths: description: Response content: application/json: - schema: &675 + schema: &673 title: Projects v2 Item description: An item belonging to a project type: object @@ -37699,7 +37430,7 @@ paths: content: oneOf: - *78 - - &442 + - &439 title: Pull Request Simple description: Pull Request Simple type: object @@ -37819,7 +37550,7 @@ paths: milestone: anyOf: - type: 'null' - - *243 + - *242 active_lock_reason: type: - string @@ -37918,7 +37649,7 @@ paths: _links: type: object properties: - comments: &244 + comments: &243 title: Link description: Hypermedia Link type: object @@ -37927,13 +37658,13 @@ paths: type: string required: - href - commits: *244 - statuses: *244 - html: *244 - issue: *244 - review_comments: *244 - review_comment: *244 - self: *244 + commits: *243 + statuses: *243 + html: *243 + issue: *243 + review_comments: *243 + review_comment: *243 + self: *243 required: - comments - commits @@ -37944,7 +37675,7 @@ paths: - review_comment - self author_association: *65 - auto_merge: &542 + auto_merge: &540 title: Auto merge description: The status of auto merging a pull request. type: @@ -38046,7 +37777,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *245 + content_type: *244 creator: *4 created_at: type: string @@ -38083,7 +37814,7 @@ paths: - updated_at - archived_at examples: - issue: &246 + issue: &245 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -38138,7 +37869,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: *246 + pull_request: *245 '304': *35 '403': *27 '401': *23 @@ -38158,9 +37889,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *241 + - *240 - *61 - - &249 + - &248 name: item_id description: The unique identifier of the project item. in: path @@ -38186,9 +37917,9 @@ paths: description: Response content: application/json: - schema: *247 + schema: *246 examples: - default: *248 + default: *247 headers: Link: *52 '304': *35 @@ -38209,9 +37940,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *241 + - *240 - *61 - - *249 + - *248 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -38284,13 +38015,13 @@ paths: description: Response content: application/json: - schema: *247 + schema: *246 examples: - text_field: *248 - number_field: *248 - date_field: *248 - single_select_field: *248 - iteration_field: *248 + text_field: *247 + number_field: *247 + date_field: *247 + single_select_field: *247 + iteration_field: *247 '401': *23 '403': *27 '404': *6 @@ -38310,9 +38041,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *241 + - *240 - *61 - - *249 + - *248 responses: '204': description: Response @@ -38344,7 +38075,7 @@ paths: application/json: schema: type: array - items: &250 + items: &249 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -38420,7 +38151,7 @@ paths: - property_name - value_type examples: - default: &251 + default: &250 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -38479,7 +38210,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *250 + items: *249 minItems: 1 maxItems: 100 required: @@ -38509,9 +38240,9 @@ paths: application/json: schema: type: array - items: *250 + items: *249 examples: - default: *251 + default: *250 '403': *27 '404': *6 x-github: @@ -38533,7 +38264,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *61 - - &252 + - &251 name: custom_property_name description: The custom property name in: path @@ -38545,9 +38276,9 @@ paths: description: Response content: application/json: - schema: *250 + schema: *249 examples: - default: &253 + default: &252 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -38582,7 +38313,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *61 - - *252 + - *251 requestBody: required: true content: @@ -38660,9 +38391,9 @@ paths: description: Response content: application/json: - schema: *250 + schema: *249 examples: - default: *253 + default: *252 '403': *27 '404': *6 x-github: @@ -38686,7 +38417,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *61 - - *252 + - *251 responses: '204': *165 '403': *27 @@ -39214,7 +38945,7 @@ paths: description: Response content: application/json: - schema: &316 + schema: &313 title: Full Repository description: Full Repository type: object @@ -39679,7 +39410,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &447 + code_of_conduct: &444 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -39709,7 +39440,7 @@ paths: - key - name - html_url - security_and_analysis: *254 + security_and_analysis: *253 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -39793,7 +39524,7 @@ paths: - network_count - subscribers_count examples: - default: &318 + default: &315 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -40314,7 +40045,7 @@ paths: - *61 - *17 - *19 - - &565 + - &563 name: targets description: | A comma-separated list of rule targets to filter by. @@ -40333,7 +40064,7 @@ paths: application/json: schema: type: array - items: &280 + items: &279 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -40368,7 +40099,7 @@ paths: source: type: string description: The name of the source - enforcement: &257 + enforcement: &256 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -40381,7 +40112,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &258 + items: &257 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -40452,7 +40183,7 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - &255 + - &254 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -40476,7 +40207,7 @@ paths: match. items: type: string - - &259 + - &258 title: Organization ruleset conditions type: object description: |- @@ -40490,7 +40221,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *255 + - *254 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -40524,7 +40255,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *255 + - *254 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -40546,7 +40277,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *255 + - *254 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -40559,7 +40290,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &256 + items: &255 title: Repository ruleset property targeting definition type: object @@ -40592,7 +40323,7 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *256 + items: *255 required: - repository_property type: @@ -40600,12 +40331,12 @@ paths: - object rules: type: array - items: &566 + items: &564 title: Repository Rule type: object description: A repository rule. oneOf: - - &260 + - &259 title: creation description: Only allow users with bypass permission to create matching refs. @@ -40617,7 +40348,7 @@ paths: type: string enum: - creation - - &261 + - &260 title: update description: Only allow users with bypass permission to update matching refs. @@ -40638,7 +40369,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &262 + - &261 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -40650,7 +40381,7 @@ paths: type: string enum: - deletion - - &263 + - &262 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -40662,7 +40393,7 @@ paths: type: string enum: - required_linear_history - - &563 + - &561 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -40740,7 +40471,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &264 + - &263 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -40764,7 +40495,7 @@ paths: type: string required: - required_deployment_environments - - &265 + - &264 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -40776,7 +40507,7 @@ paths: type: string enum: - required_signatures - - &266 + - &265 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -40838,7 +40569,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &267 + - &266 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -40886,7 +40617,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &268 + - &267 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -40898,7 +40629,7 @@ paths: type: string enum: - non_fast_forward - - &269 + - &268 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -40934,7 +40665,7 @@ paths: required: - operator - pattern - - &270 + - &269 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -40970,7 +40701,7 @@ paths: required: - operator - pattern - - &271 + - &270 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -41006,7 +40737,7 @@ paths: required: - operator - pattern - - &272 + - &271 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -41042,7 +40773,7 @@ paths: required: - operator - pattern - - &273 + - &272 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -41078,7 +40809,7 @@ paths: required: - operator - pattern - - &274 + - &273 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -41103,7 +40834,7 @@ paths: type: string required: - restricted_file_paths - - &275 + - &274 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -41127,7 +40858,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &276 + - &275 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -41150,7 +40881,7 @@ paths: type: string required: - restricted_file_extensions - - &277 + - &276 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -41175,7 +40906,7 @@ paths: maximum: 100 required: - max_file_size - - &278 + - &277 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -41225,7 +40956,7 @@ paths: - repository_id required: - workflows - - &279 + - &278 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -41286,7 +41017,7 @@ paths: - tool required: - code_scanning_tools - - &564 + - &562 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -41384,20 +41115,21 @@ paths: - push - repository default: branch - enforcement: *257 + enforcement: *256 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *258 - conditions: *259 + items: *257 + conditions: *258 rules: type: array description: An array of rules within the ruleset. - items: &282 + items: &281 title: Repository Rule type: object description: A repository rule. oneOf: + - *259 - *260 - *261 - *262 @@ -41417,7 +41149,6 @@ paths: - *276 - *277 - *278 - - *279 required: - name - enforcement @@ -41455,9 +41186,9 @@ paths: description: Response content: application/json: - schema: *280 + schema: *279 examples: - default: &281 + default: &280 value: id: 21 name: super cool ruleset @@ -41512,7 +41243,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *61 - - &567 + - &565 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 @@ -41527,7 +41258,7 @@ paths: in: query schema: type: string - - &568 + - &566 name: time_period description: |- The time period to filter by. @@ -41543,14 +41274,14 @@ paths: - week - month default: day - - &569 + - &567 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 - - &570 + - &568 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -41570,7 +41301,7 @@ paths: description: Response content: application/json: - schema: &571 + schema: &569 title: Rule Suites description: Response type: array @@ -41626,7 +41357,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &572 + default: &570 value: - id: 21 actor_id: 12 @@ -41670,7 +41401,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *61 - - &573 + - &571 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -41686,7 +41417,7 @@ paths: description: Response content: application/json: - schema: &574 + schema: &572 title: Rule Suite description: Response type: object @@ -41793,7 +41524,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &575 + default: &573 value: id: 21 actor_id: 12 @@ -41866,9 +41597,9 @@ paths: description: Response content: application/json: - schema: *280 + schema: *279 examples: - default: *281 + default: *280 '404': *6 '500': *96 put: @@ -41912,16 +41643,16 @@ paths: - tag - push - repository - enforcement: *257 + enforcement: *256 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *258 - conditions: *259 + items: *257 + conditions: *258 rules: description: An array of rules within the ruleset. type: array - items: *282 + items: *281 examples: default: value: @@ -41956,9 +41687,9 @@ paths: description: Response content: application/json: - schema: *280 + schema: *279 examples: - default: *281 + default: *280 '404': *6 '500': *96 delete: @@ -42015,7 +41746,7 @@ paths: application/json: schema: type: array - items: &283 + items: &282 title: Ruleset version type: object description: The historical version of a ruleset @@ -42039,7 +41770,7 @@ paths: type: string format: date-time examples: - default: &577 + default: &575 value: - version_id: 3 actor: @@ -42092,9 +41823,9 @@ paths: description: Response content: application/json: - schema: &578 + schema: &576 allOf: - - *283 + - *282 - type: object required: - state @@ -42164,7 +41895,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *61 - - &579 + - &577 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -42175,7 +41906,7 @@ paths: enum: - open - resolved - - &580 + - &578 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -42185,7 +41916,7 @@ paths: required: false schema: type: string - - &581 + - &579 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -42194,7 +41925,7 @@ paths: required: false schema: type: string - - &582 + - &580 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. @@ -42209,7 +41940,7 @@ paths: - *46 - *19 - *17 - - &583 + - &581 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 @@ -42219,7 +41950,7 @@ paths: required: false schema: type: string - - &584 + - &582 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 @@ -42229,7 +41960,7 @@ paths: required: false schema: type: string - - &585 + - &583 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -42238,7 +41969,7 @@ paths: required: false schema: type: string - - &586 + - &584 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -42247,7 +41978,7 @@ paths: schema: type: boolean default: false - - &587 + - &585 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -42256,7 +41987,7 @@ paths: schema: type: boolean default: false - - &588 + - &586 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -42288,14 +42019,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &589 + state: &587 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: &590 + resolution: &588 type: - string - 'null' @@ -42402,14 +42133,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &591 + - &589 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &593 + - &591 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -42466,7 +42197,7 @@ paths: - blob_url - commit_sha - commit_url - - &594 + - &592 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. @@ -42527,7 +42258,7 @@ paths: - page_url - commit_sha - commit_url - - &595 + - &593 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -42542,7 +42273,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &596 + - &594 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -42557,7 +42288,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &597 + - &595 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -42572,7 +42303,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &598 + - &596 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -42587,7 +42318,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &599 + - &597 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -42602,7 +42333,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &600 + - &598 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -42617,7 +42348,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &601 + - &599 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. @@ -42632,7 +42363,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &602 + - &600 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. @@ -42647,7 +42378,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &603 + - &601 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. @@ -42662,7 +42393,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &604 + - &602 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. @@ -42677,7 +42408,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &605 + - &603 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 @@ -42917,7 +42648,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &285 + pattern_config_version: &284 type: - string - 'null' @@ -42927,7 +42658,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &284 + items: &283 type: object properties: token_type: @@ -42996,7 +42727,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *284 + items: *283 examples: default: value: @@ -43053,7 +42784,7 @@ paths: schema: type: object properties: - pattern_config_version: *285 + pattern_config_version: *284 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -43079,7 +42810,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *285 + custom_pattern_version: *284 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -43177,7 +42908,7 @@ paths: application/json: schema: type: array - items: &609 + items: &607 description: A repository security advisory. type: object properties: @@ -43421,7 +43152,7 @@ paths: login: type: string description: The username of the user credited. - type: *286 + type: *285 credits_detailed: type: - array @@ -43432,7 +43163,7 @@ paths: type: object properties: user: *4 - type: *286 + type: *285 state: type: string description: The state of the user's acceptance of the @@ -43496,7 +43227,7 @@ paths: - private_fork additionalProperties: false examples: - default: &610 + default: &608 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -43970,7 +43701,7 @@ paths: description: Response content: application/json: - schema: &676 + schema: &674 type: object properties: total_minutes_used: @@ -44040,7 +43771,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &677 + default: &675 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -44076,7 +43807,7 @@ paths: description: Response content: application/json: - schema: &678 + schema: &676 type: object properties: total_gigabytes_bandwidth_used: @@ -44094,7 +43825,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &679 + default: &677 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -44126,7 +43857,7 @@ paths: description: Response content: application/json: - schema: &681 + schema: &679 type: object properties: days_left_in_billing_cycle: @@ -44144,7 +43875,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &682 + default: &680 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -44429,7 +44160,7 @@ paths: type: integer network_configurations: type: array - items: &287 + items: &286 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -44554,9 +44285,9 @@ paths: description: Response content: application/json: - schema: *287 + schema: *286 examples: - default: &288 + default: &287 value: id: 123456789ABCDEF name: My network configuration @@ -44585,7 +44316,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *61 - - &289 + - &288 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -44597,9 +44328,9 @@ paths: description: Response content: application/json: - schema: *287 + schema: *286 examples: - default: *288 + default: *287 headers: Link: *52 x-github: @@ -44621,7 +44352,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *61 - - *289 + - *288 requestBody: required: true content: @@ -44660,9 +44391,9 @@ paths: description: Response content: application/json: - schema: *287 + schema: *286 examples: - default: *288 + default: *287 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44682,7 +44413,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *61 - - *289 + - *288 responses: '204': description: Response @@ -44827,13 +44558,13 @@ paths: application/json: schema: type: array - items: *290 + items: *289 examples: - default: *291 + default: *290 '500': *96 '403': *27 '404': *6 - '422': *292 + '422': *291 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44957,7 +44688,7 @@ paths: description: Response content: application/json: - schema: &293 + schema: &292 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -45356,7 +45087,7 @@ paths: - repos_count - organization examples: - default: &294 + default: &293 value: id: 1 node_id: MDQ6VGVhbTE= @@ -45433,9 +45164,9 @@ paths: description: Response content: application/json: - schema: *293 + schema: *292 examples: - default: *294 + default: *293 '404': *6 x-github: githubCloudOnly: false @@ -45520,16 +45251,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *293 + schema: *292 examples: - default: *294 + default: *293 '201': description: Response content: application/json: - schema: *293 + schema: *292 examples: - default: *294 + default: *293 '404': *6 '422': *15 '403': *27 @@ -45599,7 +45330,7 @@ paths: application/json: schema: type: array - items: &295 + items: &294 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -45710,7 +45441,7 @@ paths: - updated_at - url examples: - default: &627 + default: &625 value: - author: login: octocat @@ -45819,9 +45550,9 @@ paths: description: Response content: application/json: - schema: *295 + schema: *294 examples: - default: &296 + default: &295 value: author: login: octocat @@ -45895,7 +45626,7 @@ paths: parameters: - *61 - *62 - - &297 + - &296 name: discussion_number description: The number that identifies the discussion. in: path @@ -45907,9 +45638,9 @@ paths: description: Response content: application/json: - schema: *295 + schema: *294 examples: - default: *296 + default: *295 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45933,7 +45664,7 @@ paths: parameters: - *61 - *62 - - *297 + - *296 requestBody: required: false content: @@ -45956,9 +45687,9 @@ paths: description: Response content: application/json: - schema: *295 + schema: *294 examples: - default: &628 + default: &626 value: author: login: octocat @@ -46030,7 +45761,7 @@ paths: parameters: - *61 - *62 - - *297 + - *296 responses: '204': description: Response @@ -46058,7 +45789,7 @@ paths: parameters: - *61 - *62 - - *297 + - *296 - *46 - *17 - *19 @@ -46069,7 +45800,7 @@ paths: application/json: schema: type: array - items: &298 + items: &297 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -46149,7 +45880,7 @@ paths: - updated_at - url examples: - default: &629 + default: &627 value: - author: login: octocat @@ -46219,7 +45950,7 @@ paths: parameters: - *61 - *62 - - *297 + - *296 requestBody: required: true content: @@ -46241,9 +45972,9 @@ paths: description: Response content: application/json: - schema: *298 + schema: *297 examples: - default: &299 + default: &298 value: author: login: octocat @@ -46311,8 +46042,8 @@ paths: parameters: - *61 - *62 - - *297 - - &300 + - *296 + - &299 name: comment_number description: The number that identifies the comment. in: path @@ -46324,9 +46055,9 @@ paths: description: Response content: application/json: - schema: *298 + schema: *297 examples: - default: *299 + default: *298 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46350,8 +46081,8 @@ paths: parameters: - *61 - *62 - - *297 - - *300 + - *296 + - *299 requestBody: required: true content: @@ -46373,9 +46104,9 @@ paths: description: Response content: application/json: - schema: *298 + schema: *297 examples: - default: &630 + default: &628 value: author: login: octocat @@ -46441,8 +46172,8 @@ paths: parameters: - *61 - *62 - - *297 - - *300 + - *296 + - *299 responses: '204': description: Response @@ -46470,8 +46201,8 @@ paths: parameters: - *61 - *62 - - *297 - - *300 + - *296 + - *299 - 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. @@ -46497,7 +46228,7 @@ paths: application/json: schema: type: array - items: &301 + items: &300 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -46541,7 +46272,7 @@ paths: - content - created_at examples: - default: &303 + default: &302 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -46593,8 +46324,8 @@ paths: parameters: - *61 - *62 - - *297 - - *300 + - *296 + - *299 requestBody: required: true content: @@ -46627,9 +46358,9 @@ paths: team discussion comment content: application/json: - schema: *301 + schema: *300 examples: - default: &302 + default: &301 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -46658,9 +46389,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *300 examples: - default: *302 + default: *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46685,9 +46416,9 @@ paths: parameters: - *61 - *62 - - *297 - - *300 - - &304 + - *296 + - *299 + - &303 name: reaction_id description: The unique identifier of the reaction. in: path @@ -46721,7 +46452,7 @@ paths: parameters: - *61 - *62 - - *297 + - *296 - 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. @@ -46747,9 +46478,9 @@ paths: application/json: schema: type: array - items: *301 + items: *300 examples: - default: *303 + default: *302 headers: Link: *52 x-github: @@ -46777,7 +46508,7 @@ paths: parameters: - *61 - *62 - - *297 + - *296 requestBody: required: true content: @@ -46809,16 +46540,16 @@ paths: description: Response content: application/json: - schema: *301 + schema: *300 examples: - default: *302 + default: *301 '201': description: Response content: application/json: - schema: *301 + schema: *300 examples: - default: *302 + default: *301 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -46843,8 +46574,8 @@ paths: parameters: - *61 - *62 - - *297 - - *304 + - *296 + - *303 responses: '204': description: Response @@ -46965,7 +46696,7 @@ paths: description: Response content: application/json: - schema: &305 + schema: &304 title: Team Membership description: Team Membership type: object @@ -46993,7 +46724,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &631 + response-if-user-is-a-team-maintainer: &629 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -47056,9 +46787,9 @@ paths: description: Response content: application/json: - schema: *305 + schema: *304 examples: - response-if-users-membership-with-team-is-now-pending: &632 + response-if-users-membership-with-team-is-now-pending: &630 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -47131,7 +46862,7 @@ paths: application/json: schema: type: array - items: &306 + items: &305 title: Team Project description: A team's access to a project. type: object @@ -47200,7 +46931,7 @@ paths: - updated_at - permissions examples: - default: &633 + default: &631 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -47265,7 +46996,7 @@ paths: parameters: - *61 - *62 - - &307 + - &306 name: project_id description: The unique identifier of the project. in: path @@ -47277,9 +47008,9 @@ paths: description: Response content: application/json: - schema: *306 + schema: *305 examples: - default: &634 + default: &632 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -47343,7 +47074,7 @@ paths: parameters: - *61 - *62 - - *307 + - *306 requestBody: required: false content: @@ -47412,7 +47143,7 @@ paths: parameters: - *61 - *62 - - *307 + - *306 responses: '204': description: Response @@ -47483,14 +47214,14 @@ paths: parameters: - *61 - *62 + - *307 - *308 - - *309 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &635 + schema: &633 title: Team Repository description: A team's access to a repository. type: object @@ -48133,8 +47864,8 @@ paths: parameters: - *61 - *62 + - *307 - *308 - - *309 requestBody: required: false content: @@ -48181,8 +47912,8 @@ paths: parameters: - *61 - *62 + - *307 - *308 - - *309 responses: '204': description: Response @@ -48219,7 +47950,7 @@ paths: type: array items: *169 examples: - response-if-child-teams-exist: &636 + response-if-child-teams-exist: &634 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -48346,7 +48077,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#get-a-project-column parameters: - - &310 + - &309 name: column_id description: The unique identifier of the column. in: path @@ -48358,7 +48089,7 @@ paths: description: Response content: application/json: - schema: &311 + schema: &310 title: Project Column description: Project columns contain cards of work. type: object @@ -48412,7 +48143,7 @@ paths: - created_at - updated_at examples: - default: &312 + default: &311 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -48447,7 +48178,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#update-an-existing-project-column parameters: - - *310 + - *309 requestBody: required: true content: @@ -48472,9 +48203,9 @@ paths: description: Response content: application/json: - schema: *311 + schema: *310 examples: - default: *312 + default: *311 '304': *35 '403': *27 '401': *23 @@ -48499,7 +48230,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#delete-a-project-column parameters: - - *310 + - *309 responses: '204': description: Response @@ -48528,7 +48259,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#move-a-project-column parameters: - - *310 + - *309 requestBody: required: true content: @@ -48575,211 +48306,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: - - *307 - responses: - '200': - description: Response - content: - application/json: - schema: *238 - examples: - default: &313 - 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': *35 - '403': *27 - '401': *23 - 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: - - *307 - requestBody: - required: false - content: - application/json: - schema: - properties: - name: - description: Name of the project - type: string - examples: - - Week One Sprint - body: - description: Body of the project - type: - - string - - 'null' - examples: - - This project represents the sprint of the first week in January - state: - description: State of the project; either 'open' or 'closed' - type: string - examples: - - open - 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: *238 - examples: - default: *313 - '404': - description: Not Found if the authenticated user does not have access to - the project - '304': *35 - '403': - description: Forbidden - content: - application/json: - schema: - type: object - properties: - message: - type: string - documentation_url: - type: string - errors: - type: array - items: - type: string - '401': *23 - '410': *314 - '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: - - *307 - responses: - '204': - description: Delete Success - '304': *35 - '403': - description: Forbidden - content: - application/json: - schema: - type: object - properties: - message: - type: string - documentation_url: - type: string - errors: - type: array - items: - type: string - '401': *23 - '410': *314 - '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 @@ -48794,7 +48320,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#list-project-collaborators parameters: - - *307 + - *306 - 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 @@ -48851,7 +48377,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#add-project-collaborator parameters: - - *307 + - *306 - *57 requestBody: required: false @@ -48906,7 +48432,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *307 + - *306 - *57 responses: '204': @@ -48938,7 +48464,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *307 + - *306 - *57 responses: '200': @@ -49036,7 +48562,7 @@ paths: resources: type: object properties: - core: &315 + core: &312 title: Rate Limit type: object properties: @@ -49053,21 +48579,21 @@ paths: - remaining - reset - used - graphql: *315 - search: *315 - code_search: *315 - source_import: *315 - integration_manifest: *315 - code_scanning_upload: *315 - actions_runner_registration: *315 - scim: *315 - dependency_snapshots: *315 - dependency_sbom: *315 - code_scanning_autofix: *315 + graphql: *312 + search: *312 + code_search: *312 + source_import: *312 + integration_manifest: *312 + code_scanning_upload: *312 + actions_runner_registration: *312 + scim: *312 + dependency_snapshots: *312 + dependency_sbom: *312 + code_scanning_autofix: *312 required: - core - search - rate: *315 + rate: *312 required: - rate - resources @@ -49172,14 +48698,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: + - *307 - *308 - - *309 responses: '200': description: Response content: application/json: - schema: *316 + schema: *313 examples: default-response: summary: Default response @@ -49680,7 +49206,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *317 + '301': *314 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49698,8 +49224,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: + - *307 - *308 - - *309 requestBody: required: false content: @@ -49947,10 +49473,10 @@ paths: description: Response content: application/json: - schema: *316 + schema: *313 examples: - default: *318 - '307': &319 + default: *315 + '307': &316 description: Temporary Redirect content: application/json: @@ -49979,8 +49505,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: + - *307 - *308 - - *309 responses: '204': description: Response @@ -50002,7 +49528,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *319 + '307': *316 '404': *6 '409': *45 x-github: @@ -50026,11 +49552,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: + - *307 - *308 - - *309 - *17 - *19 - - &350 + - &347 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -50053,7 +49579,7 @@ paths: type: integer artifacts: type: array - items: &320 + items: &317 title: Artifact description: An artifact type: object @@ -50148,7 +49674,7 @@ paths: - expires_at - updated_at examples: - default: &351 + default: &348 value: total_count: 2 artifacts: @@ -50209,9 +49735,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: + - *307 - *308 - - *309 - - &321 + - &318 name: artifact_id description: The unique identifier of the artifact. in: path @@ -50223,7 +49749,7 @@ paths: description: Response content: application/json: - schema: *320 + schema: *317 examples: default: value: @@ -50261,9 +49787,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: + - *307 - *308 - - *309 - - *321 + - *318 responses: '204': description: Response @@ -50287,9 +49813,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: + - *307 - *308 - - *309 - - *321 + - *318 - name: archive_format in: path required: true @@ -50303,7 +49829,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': *314 + '410': &498 + description: Gone + content: + application/json: + schema: *3 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50326,14 +49856,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: + - *307 - *308 - - *309 responses: '200': description: Response content: application/json: - schema: *322 + schema: *319 examples: default: value: @@ -50359,11 +49889,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: + - *307 - *308 - - *309 - *17 - *19 - - &323 + - &320 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 @@ -50397,7 +49927,7 @@ paths: description: Response content: application/json: - schema: &324 + schema: &321 title: Repository actions caches description: Repository actions caches type: object @@ -50447,7 +49977,7 @@ paths: - total_count - actions_caches examples: - default: &325 + default: &322 value: total_count: 1 actions_caches: @@ -50479,23 +50009,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: + - *307 - *308 - - *309 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *323 + - *320 responses: '200': description: Response content: application/json: - schema: *324 + schema: *321 examples: - default: *325 + default: *322 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50515,8 +50045,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: + - *307 - *308 - - *309 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -50547,9 +50077,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: + - *307 - *308 - - *309 - - &326 + - &323 name: job_id description: The unique identifier of the job. in: path @@ -50561,7 +50091,7 @@ paths: description: Response content: application/json: - schema: &354 + schema: &351 title: Job description: Information of a job execution in a workflow run type: object @@ -50908,9 +50438,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: + - *307 - *308 - - *309 - - *326 + - *323 responses: '302': description: Response @@ -50938,9 +50468,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: + - *307 - *308 - - *309 - - *326 + - *323 requestBody: required: false content: @@ -50986,8 +50516,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: + - *307 - *308 - - *309 responses: '200': description: Status response @@ -51037,8 +50567,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: + - *307 - *308 - - *309 requestBody: required: true content: @@ -51101,8 +50631,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: + - *307 - *308 - - *309 - *17 - *19 responses: @@ -51120,7 +50650,7 @@ paths: type: integer secrets: type: array - items: &356 + items: &353 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -51141,7 +50671,7 @@ paths: - created_at - updated_at examples: - default: &357 + default: &354 value: total_count: 2 secrets: @@ -51174,9 +50704,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: + - *307 - *308 - - *309 - - *327 + - *324 - *19 responses: '200': @@ -51193,7 +50723,7 @@ paths: type: integer variables: type: array - items: &360 + items: &357 title: Actions Variable type: object properties: @@ -51227,7 +50757,7 @@ paths: - created_at - updated_at examples: - default: &361 + default: &358 value: total_count: 2 variables: @@ -51260,8 +50790,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: + - *307 - *308 - - *309 responses: '200': description: Response @@ -51270,11 +50800,11 @@ paths: schema: type: object properties: - enabled: &329 + enabled: &326 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *120 - selected_actions_url: *328 + selected_actions_url: *325 sha_pinning_required: *121 required: - enabled @@ -51303,8 +50833,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: + - *307 - *308 - - *309 responses: '204': description: Response @@ -51315,7 +50845,7 @@ paths: schema: type: object properties: - enabled: *329 + enabled: *326 allowed_actions: *120 sha_pinning_required: *121 required: @@ -51347,14 +50877,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: + - *307 - *308 - - *309 responses: '200': description: Response content: application/json: - schema: &330 + schema: &327 type: object properties: access_level: @@ -51371,7 +50901,7 @@ paths: required: - access_level examples: - default: &331 + default: &328 value: access_level: organization x-github: @@ -51395,15 +50925,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: + - *307 - *308 - - *309 requestBody: required: true content: application/json: - schema: *330 + schema: *327 examples: - default: *331 + default: *328 responses: '204': description: Response @@ -51427,14 +50957,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: + - *307 - *308 - - *309 responses: '200': description: Response content: application/json: - schema: *332 + schema: *329 examples: default: value: @@ -51458,8 +50988,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: + - *307 - *308 - - *309 responses: '204': description: Empty response for successful settings update @@ -51469,7 +50999,7 @@ paths: required: true content: application/json: - schema: *333 + schema: *330 examples: default: summary: Set retention days @@ -51493,8 +51023,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: + - *307 - *308 - - *309 responses: '200': description: Response @@ -51502,7 +51032,7 @@ paths: application/json: schema: *122 examples: - default: *334 + default: *331 '404': *6 x-github: enabledForGitHubApps: true @@ -51521,8 +51051,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: + - *307 - *308 - - *309 responses: '204': description: Response @@ -51556,14 +51086,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: + - *307 - *308 - - *309 responses: '200': description: Response content: application/json: - schema: *335 + schema: *332 examples: default: *123 '403': *27 @@ -51585,13 +51115,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: + - *307 - *308 - - *309 requestBody: required: true content: application/json: - schema: *336 + schema: *333 examples: default: *123 responses: @@ -51617,8 +51147,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: + - *307 - *308 - - *309 responses: '200': description: Response @@ -51645,8 +51175,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: + - *307 - *308 - - *309 responses: '204': description: Response @@ -51678,14 +51208,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: + - *307 - *308 - - *309 responses: '200': description: Response content: application/json: - schema: *337 + schema: *334 examples: default: *130 x-github: @@ -51708,8 +51238,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: + - *307 - *308 - - *309 responses: '204': description: Success response @@ -51720,7 +51250,7 @@ paths: required: true content: application/json: - schema: *338 + schema: *335 examples: default: *130 x-github: @@ -51749,8 +51279,8 @@ paths: in: query schema: type: string + - *307 - *308 - - *309 - *17 - *19 responses: @@ -51794,8 +51324,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: + - *307 - *308 - - *309 responses: '200': description: Response @@ -51803,9 +51333,9 @@ paths: application/json: schema: type: array - items: *339 + items: *336 examples: - default: *340 + default: *337 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51827,8 +51357,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: + - *307 - *308 - - *309 requestBody: required: true content: @@ -51871,7 +51401,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *341 + '201': *338 '404': *6 '422': *7 '409': *45 @@ -51902,8 +51432,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: + - *307 - *308 - - *309 responses: '201': description: Response @@ -51911,7 +51441,7 @@ paths: application/json: schema: *139 examples: - default: *342 + default: *339 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51939,8 +51469,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: + - *307 - *308 - - *309 responses: '201': description: Response @@ -51948,7 +51478,7 @@ paths: application/json: schema: *139 examples: - default: *343 + default: *340 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51970,8 +51500,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: + - *307 - *308 - - *309 - *136 responses: '200': @@ -51980,7 +51510,7 @@ paths: application/json: schema: *137 examples: - default: *344 + default: *341 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52001,8 +51531,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: + - *307 - *308 - - *309 - *136 responses: '204': @@ -52029,8 +51559,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: + - *307 - *308 - - *309 - *136 responses: '200': *141 @@ -52055,8 +51585,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: + - *307 - *308 - - *309 - *136 requestBody: required: true @@ -52105,8 +51635,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: + - *307 - *308 - - *309 - *136 requestBody: required: true @@ -52156,11 +51686,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: + - *307 - *308 - - *309 - *136 responses: - '200': *345 + '200': *342 '404': *6 x-github: githubCloudOnly: false @@ -52187,10 +51717,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: + - *307 - *308 - - *309 - *136 - - *346 + - *343 responses: '200': *141 '404': *6 @@ -52218,9 +51748,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: + - *307 - *308 - - *309 - - &364 + - &361 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. @@ -52228,7 +51758,7 @@ paths: required: false schema: type: string - - &365 + - &362 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -52236,7 +51766,7 @@ paths: required: false schema: type: string - - &366 + - &363 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -52245,7 +51775,7 @@ paths: required: false schema: type: string - - &367 + - &364 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 @@ -52272,7 +51802,7 @@ paths: - pending - *17 - *19 - - &368 + - &365 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)." @@ -52281,7 +51811,7 @@ paths: schema: type: string format: date-time - - &347 + - &344 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -52290,13 +51820,13 @@ paths: schema: type: boolean default: false - - &369 + - &366 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &370 + - &367 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -52319,7 +51849,7 @@ paths: type: integer workflow_runs: type: array - items: &348 + items: &345 title: Workflow Run description: An invocation of a workflow type: object @@ -52436,7 +51966,7 @@ paths: type: - array - 'null' - items: &389 + items: &386 title: Pull Request Minimal type: object properties: @@ -52563,7 +52093,7 @@ paths: head_commit: anyOf: - type: 'null' - - &393 + - &390 title: Simple Commit description: A commit. type: object @@ -52678,7 +52208,7 @@ paths: - workflow_url - pull_requests examples: - default: &371 + default: &368 value: total_count: 1 workflow_runs: @@ -52914,24 +52444,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: + - *307 - *308 - - *309 - - &349 + - &346 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *347 + - *344 responses: '200': description: Response content: application/json: - schema: *348 + schema: *345 examples: - default: &352 + default: &349 value: id: 30433642 name: Build @@ -53172,9 +52702,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: + - *307 - *308 - - *309 - - *349 + - *346 responses: '204': description: Response @@ -53197,9 +52727,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: + - *307 - *308 - - *309 - - *349 + - *346 responses: '200': description: Response @@ -53327,9 +52857,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: + - *307 - *308 - - *309 - - *349 + - *346 responses: '201': description: Response @@ -53362,12 +52892,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: + - *307 - *308 - - *309 - - *349 + - *346 - *17 - *19 - - *350 + - *347 responses: '200': description: Response @@ -53383,9 +52913,9 @@ paths: type: integer artifacts: type: array - items: *320 + items: *317 examples: - default: *351 + default: *348 headers: Link: *52 x-github: @@ -53409,25 +52939,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: + - *307 - *308 - - *309 - - *349 - - &353 + - *346 + - &350 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *347 + - *344 responses: '200': description: Response content: application/json: - schema: *348 + schema: *345 examples: - default: *352 + default: *349 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53450,10 +52980,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: + - *307 - *308 - - *309 - - *349 - - *353 + - *346 + - *350 - *17 - *19 responses: @@ -53471,9 +53001,9 @@ paths: type: integer jobs: type: array - items: *354 + items: *351 examples: - default: &355 + default: &352 value: total_count: 1 jobs: @@ -53586,10 +53116,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: + - *307 - *308 - - *309 - - *349 - - *353 + - *346 + - *350 responses: '302': description: Response @@ -53617,9 +53147,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: + - *307 - *308 - - *309 - - *349 + - *346 responses: '202': description: Response @@ -53652,9 +53182,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: + - *307 - *308 - - *309 - - *349 + - *346 requestBody: required: true content: @@ -53721,9 +53251,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: + - *307 - *308 - - *309 - - *349 + - *346 responses: '202': description: Response @@ -53756,9 +53286,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: + - *307 - *308 - - *309 - - *349 + - *346 - 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 @@ -53788,9 +53318,9 @@ paths: type: integer jobs: type: array - items: *354 + items: *351 examples: - default: *355 + default: *352 headers: Link: *52 x-github: @@ -53815,9 +53345,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: + - *307 - *308 - - *309 - - *349 + - *346 responses: '302': description: Response @@ -53844,9 +53374,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: + - *307 - *308 - - *309 - - *349 + - *346 responses: '204': description: Response @@ -53873,9 +53403,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: + - *307 - *308 - - *309 - - *349 + - *346 responses: '200': description: Response @@ -53944,7 +53474,7 @@ paths: items: type: object properties: - type: &467 + type: &464 type: string description: The type of reviewer. enum: @@ -54030,9 +53560,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: + - *307 - *308 - - *309 - - *349 + - *346 requestBody: required: true content: @@ -54082,7 +53612,7 @@ paths: application/json: schema: type: array - items: &462 + items: &459 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -54194,7 +53724,7 @@ paths: - created_at - updated_at examples: - default: &463 + default: &460 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -54250,9 +53780,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: + - *307 - *308 - - *309 - - *349 + - *346 requestBody: required: false content: @@ -54297,9 +53827,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: + - *307 - *308 - - *309 - - *349 + - *346 requestBody: required: false content: @@ -54353,9 +53883,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: + - *307 - *308 - - *309 - - *349 + - *346 responses: '200': description: Response @@ -54492,8 +54022,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: + - *307 - *308 - - *309 - *17 - *19 responses: @@ -54511,9 +54041,9 @@ paths: type: integer secrets: type: array - items: *356 + items: *353 examples: - default: *357 + default: *354 headers: Link: *52 x-github: @@ -54538,16 +54068,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: + - *307 - *308 - - *309 responses: '200': description: Response content: application/json: - schema: *358 + schema: *355 examples: - default: *359 + default: *356 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54569,17 +54099,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: + - *307 - *308 - - *309 - *143 responses: '200': description: Response content: application/json: - schema: *356 + schema: *353 examples: - default: &480 + default: &477 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -54605,8 +54135,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: + - *307 - *308 - - *309 - *143 requestBody: required: true @@ -54664,8 +54194,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: + - *307 - *308 - - *309 - *143 responses: '204': @@ -54691,9 +54221,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: + - *307 - *308 - - *309 - - *327 + - *324 - *19 responses: '200': @@ -54710,9 +54240,9 @@ paths: type: integer variables: type: array - items: *360 + items: *357 examples: - default: *361 + default: *358 headers: Link: *52 x-github: @@ -54735,8 +54265,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -54788,17 +54318,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: + - *307 - *308 - - *309 - *146 responses: '200': description: Response content: application/json: - schema: *360 + schema: *357 examples: - default: &481 + default: &478 value: name: USERNAME value: octocat @@ -54824,8 +54354,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: + - *307 - *308 - - *309 - *146 requestBody: required: true @@ -54868,8 +54398,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: + - *307 - *308 - - *309 - *146 responses: '204': @@ -54895,8 +54425,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: + - *307 - *308 - - *309 - *17 - *19 responses: @@ -54914,7 +54444,7 @@ paths: type: integer workflows: type: array - items: &362 + items: &359 title: Workflow description: A GitHub Actions workflow type: object @@ -55032,9 +54562,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: + - *307 - *308 - - *309 - - &363 + - &360 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -55049,7 +54579,7 @@ paths: description: Response content: application/json: - schema: *362 + schema: *359 examples: default: value: @@ -55082,9 +54612,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: + - *307 - *308 - - *309 - - *363 + - *360 responses: '204': description: Response @@ -55109,9 +54639,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: + - *307 - *308 - - *309 - - *363 + - *360 responses: '204': description: Response @@ -55162,9 +54692,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: + - *307 - *308 - - *309 - - *363 + - *360 responses: '204': description: Response @@ -55191,19 +54721,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: + - *307 - *308 - - *309 + - *360 + - *361 + - *362 - *363 - *364 + - *17 + - *19 - *365 + - *344 - *366 - *367 - - *17 - - *19 - - *368 - - *347 - - *369 - - *370 responses: '200': description: Response @@ -55219,9 +54749,9 @@ paths: type: integer workflow_runs: type: array - items: *348 + items: *345 examples: - default: *371 + default: *368 headers: Link: *52 x-github: @@ -55253,9 +54783,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: + - *307 - *308 - - *309 - - *363 + - *360 responses: '200': description: Response @@ -55316,8 +54846,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: + - *307 - *308 - - *309 - *46 - *17 - *38 @@ -55485,8 +55015,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: + - *307 - *308 - - *309 - *17 - *19 responses: @@ -55523,8 +55053,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: + - *307 - *308 - - *309 - name: assignee in: path required: true @@ -55560,8 +55090,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -55673,8 +55203,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: + - *307 - *308 - - *309 - *17 - *38 - *39 @@ -55731,7 +55261,7 @@ paths: initiator: type: string examples: - default: *372 + default: *369 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55751,8 +55281,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: + - *307 - *308 - - *309 responses: '200': description: Response @@ -55760,7 +55290,7 @@ paths: application/json: schema: type: array - items: &373 + items: &370 title: Autolink reference description: An autolink reference. type: object @@ -55819,8 +55349,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -55859,9 +55389,9 @@ paths: description: response content: application/json: - schema: *373 + schema: *370 examples: - default: &374 + default: &371 value: id: 1 key_prefix: TICKET- @@ -55892,9 +55422,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: + - *307 - *308 - - *309 - - &375 + - &372 name: autolink_id description: The unique identifier of the autolink. in: path @@ -55906,9 +55436,9 @@ paths: description: Response content: application/json: - schema: *373 + schema: *370 examples: - default: *374 + default: *371 '404': *6 x-github: githubCloudOnly: false @@ -55928,9 +55458,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: + - *307 - *308 - - *309 - - *375 + - *372 responses: '204': description: Response @@ -55954,8 +55484,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: + - *307 - *308 - - *309 responses: '200': description: Response if Dependabot is enabled @@ -56005,8 +55535,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: + - *307 - *308 - - *309 responses: '204': description: Response @@ -56027,8 +55557,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: + - *307 - *308 - - *309 responses: '204': description: Response @@ -56048,8 +55578,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: + - *307 - *308 - - *309 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -56087,7 +55617,7 @@ paths: - url protected: type: boolean - protection: &377 + protection: &374 title: Branch Protection description: Branch Protection type: object @@ -56130,7 +55660,7 @@ paths: required: - contexts - checks - enforce_admins: &380 + enforce_admins: &377 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -56147,7 +55677,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &382 + required_pull_request_reviews: &379 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -56231,7 +55761,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &379 + restrictions: &376 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -56524,9 +56054,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: + - *307 - *308 - - *309 - - &378 + - &375 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). @@ -56540,14 +56070,14 @@ paths: description: Response content: application/json: - schema: &388 + schema: &385 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &438 + commit: &435 title: Commit description: Commit type: object @@ -56586,7 +56116,7 @@ paths: author: anyOf: - type: 'null' - - &376 + - &373 title: Git User description: Metaproperties for Git author/committer information. @@ -56607,7 +56137,7 @@ paths: committer: anyOf: - type: 'null' - - *376 + - *373 message: type: string examples: @@ -56631,7 +56161,7 @@ paths: required: - sha - url - verification: &487 + verification: &484 title: Verification type: object properties: @@ -56711,7 +56241,7 @@ paths: type: integer files: type: array - items: &449 + items: &446 title: Diff Entry description: Diff Entry type: object @@ -56807,7 +56337,7 @@ paths: - self protected: type: boolean - protection: *377 + protection: *374 protection_url: type: string format: uri @@ -56916,7 +56446,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *317 + '301': *314 '404': *6 x-github: githubCloudOnly: false @@ -56938,15 +56468,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: + - *307 - *308 - - *309 - - *378 + - *375 responses: '200': description: Response content: application/json: - schema: *377 + schema: *374 examples: default: value: @@ -57140,9 +56670,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: + - *307 - *308 - - *309 - - *378 + - *375 requestBody: required: true content: @@ -57402,7 +56932,7 @@ paths: url: type: string format: uri - required_status_checks: &385 + required_status_checks: &382 title: Status Check Policy description: Status Check Policy type: object @@ -57561,7 +57091,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *379 + restrictions: *376 required_conversation_resolution: type: object properties: @@ -57673,9 +57203,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: + - *307 - *308 - - *309 - - *378 + - *375 responses: '204': description: Response @@ -57700,17 +57230,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: + - *307 - *308 - - *309 - - *378 + - *375 responses: '200': description: Response content: application/json: - schema: *380 + schema: *377 examples: - default: &381 + default: &378 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -57732,17 +57262,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: + - *307 - *308 - - *309 - - *378 + - *375 responses: '200': description: Response content: application/json: - schema: *380 + schema: *377 examples: - default: *381 + default: *378 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57761,9 +57291,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: + - *307 - *308 - - *309 - - *378 + - *375 responses: '204': description: Response @@ -57788,17 +57318,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: + - *307 - *308 - - *309 - - *378 + - *375 responses: '200': description: Response content: application/json: - schema: *382 + schema: *379 examples: - default: &383 + default: &380 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -57894,9 +57424,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: + - *307 - *308 - - *309 - - *378 + - *375 requestBody: required: false content: @@ -57994,9 +57524,9 @@ paths: description: Response content: application/json: - schema: *382 + schema: *379 examples: - default: *383 + default: *380 '422': *15 x-github: githubCloudOnly: false @@ -58017,9 +57547,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: + - *307 - *308 - - *309 - - *378 + - *375 responses: '204': description: Response @@ -58046,17 +57576,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: + - *307 - *308 - - *309 - - *378 + - *375 responses: '200': description: Response content: application/json: - schema: *380 + schema: *377 examples: - default: &384 + default: &381 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -58079,17 +57609,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: + - *307 - *308 - - *309 - - *378 + - *375 responses: '200': description: Response content: application/json: - schema: *380 + schema: *377 examples: - default: *384 + default: *381 '404': *6 x-github: githubCloudOnly: false @@ -58109,9 +57639,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: + - *307 - *308 - - *309 - - *378 + - *375 responses: '204': description: Response @@ -58136,17 +57666,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: + - *307 - *308 - - *309 - - *378 + - *375 responses: '200': description: Response content: application/json: - schema: *385 + schema: *382 examples: - default: &386 + default: &383 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -58172,9 +57702,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: + - *307 - *308 - - *309 - - *378 + - *375 requestBody: required: false content: @@ -58226,9 +57756,9 @@ paths: description: Response content: application/json: - schema: *385 + schema: *382 examples: - default: *386 + default: *383 '404': *6 '422': *15 x-github: @@ -58250,9 +57780,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: + - *307 - *308 - - *309 - - *378 + - *375 responses: '204': description: Response @@ -58276,9 +57806,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: + - *307 - *308 - - *309 - - *378 + - *375 responses: '200': description: Response @@ -58312,9 +57842,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: + - *307 - *308 - - *309 - - *378 + - *375 requestBody: required: false content: @@ -58381,9 +57911,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: + - *307 - *308 - - *309 - - *378 + - *375 requestBody: required: false content: @@ -58447,9 +57977,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: + - *307 - *308 - - *309 - - *378 + - *375 requestBody: content: application/json: @@ -58515,15 +58045,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: + - *307 - *308 - - *309 - - *378 + - *375 responses: '200': description: Response content: application/json: - schema: *379 + schema: *376 examples: default: value: @@ -58614,9 +58144,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: + - *307 - *308 - - *309 - - *378 + - *375 responses: '204': description: Response @@ -58639,9 +58169,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: + - *307 - *308 - - *309 - - *378 + - *375 responses: '200': description: Response @@ -58651,7 +58181,7 @@ paths: type: array items: *5 examples: - default: &387 + default: &384 value: - id: 1 slug: octoapp @@ -58708,9 +58238,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: + - *307 - *308 - - *309 - - *378 + - *375 requestBody: required: true content: @@ -58744,7 +58274,7 @@ paths: type: array items: *5 examples: - default: *387 + default: *384 '422': *15 x-github: githubCloudOnly: false @@ -58765,9 +58295,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: + - *307 - *308 - - *309 - - *378 + - *375 requestBody: required: true content: @@ -58801,7 +58331,7 @@ paths: type: array items: *5 examples: - default: *387 + default: *384 '422': *15 x-github: githubCloudOnly: false @@ -58822,9 +58352,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: + - *307 - *308 - - *309 - - *378 + - *375 requestBody: required: true content: @@ -58858,7 +58388,7 @@ paths: type: array items: *5 examples: - default: *387 + default: *384 '422': *15 x-github: githubCloudOnly: false @@ -58880,9 +58410,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: + - *307 - *308 - - *309 - - *378 + - *375 responses: '200': description: Response @@ -58912,9 +58442,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: + - *307 - *308 - - *309 - - *378 + - *375 requestBody: required: false content: @@ -58973,9 +58503,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: + - *307 - *308 - - *309 - - *378 + - *375 requestBody: required: false content: @@ -59034,9 +58564,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: + - *307 - *308 - - *309 - - *378 + - *375 requestBody: content: application/json: @@ -59095,9 +58625,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: + - *307 - *308 - - *309 - - *378 + - *375 responses: '200': description: Response @@ -59131,9 +58661,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: + - *307 - *308 - - *309 - - *378 + - *375 requestBody: required: true content: @@ -59191,9 +58721,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: + - *307 - *308 - - *309 - - *378 + - *375 requestBody: required: true content: @@ -59251,9 +58781,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: + - *307 - *308 - - *309 - - *378 + - *375 requestBody: required: true content: @@ -59313,9 +58843,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: + - *307 - *308 - - *309 - - *378 + - *375 requestBody: required: true content: @@ -59337,7 +58867,7 @@ paths: description: Response content: application/json: - schema: *388 + schema: *385 examples: default: value: @@ -59453,8 +58983,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -59733,7 +59263,7 @@ paths: description: Response content: application/json: - schema: &390 + schema: &387 title: CheckRun description: A check performed on the code of a given code change type: object @@ -59868,8 +59398,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *389 - deployment: &694 + items: *386 + deployment: &692 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -60156,9 +59686,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: + - *307 - *308 - - *309 - - &391 + - &388 name: check_run_id description: The unique identifier of the check run. in: path @@ -60170,9 +59700,9 @@ paths: description: Response content: application/json: - schema: *390 + schema: *387 examples: - default: &392 + default: &389 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -60272,9 +59802,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: + - *307 - *308 - - *309 - - *391 + - *388 requestBody: required: true content: @@ -60514,9 +60044,9 @@ paths: description: Response content: application/json: - schema: *390 + schema: *387 examples: - default: *392 + default: *389 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60536,9 +60066,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: + - *307 - *308 - - *309 - - *391 + - *388 - *17 - *19 responses: @@ -60648,9 +60178,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: + - *307 - *308 - - *309 - - *391 + - *388 responses: '201': description: Response @@ -60694,8 +60224,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -60717,7 +60247,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &394 + schema: &391 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -60799,7 +60329,7 @@ paths: type: - array - 'null' - items: *389 + items: *386 app: anyOf: - type: 'null' @@ -60815,7 +60345,7 @@ paths: - string - 'null' format: date-time - head_commit: *393 + head_commit: *390 latest_check_runs_count: type: integer check_runs_url: @@ -60843,7 +60373,7 @@ paths: - check_runs_url - pull_requests examples: - default: &395 + default: &392 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -61134,9 +60664,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *394 + schema: *391 examples: - default: *395 + default: *392 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61155,8 +60685,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -61465,9 +60995,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: + - *307 - *308 - - *309 - - &396 + - &393 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -61479,9 +61009,9 @@ paths: description: Response content: application/json: - schema: *394 + schema: *391 examples: - default: *395 + default: *392 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61504,17 +61034,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: + - *307 - *308 - - *309 - - *396 - - &444 + - *393 + - &441 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &445 + - &442 name: status description: Returns check runs with the specified `status`. in: query @@ -61553,9 +61083,9 @@ paths: type: integer check_runs: type: array - items: *390 + items: *387 examples: - default: &446 + default: &443 value: total_count: 1 check_runs: @@ -61657,9 +61187,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: + - *307 - *308 - - *309 - - *396 + - *393 responses: '201': description: Response @@ -61692,21 +61222,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: + - *307 - *308 - - *309 - - *397 - - *398 + - *394 + - *395 - *19 - *17 - - &415 + - &412 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: *399 - - &416 + schema: *396 + - &413 name: pr description: The number of the pull request for the results you want to list. in: query @@ -61731,13 +61261,13 @@ paths: be returned. in: query required: false - schema: *400 + schema: *397 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *401 + schema: *398 responses: '200': description: Response @@ -61753,7 +61283,7 @@ paths: updated_at: *153 url: *154 html_url: *155 - instances_url: *402 + instances_url: *399 state: *160 fixed_at: *156 dismissed_by: @@ -61761,11 +61291,11 @@ paths: - type: 'null' - *4 dismissed_at: *157 - dismissed_reason: *403 - dismissed_comment: *404 - rule: *405 - tool: *406 - most_recent_instance: *407 + dismissed_reason: *400 + dismissed_comment: *401 + rule: *402 + tool: *403 + most_recent_instance: *404 dismissal_approved_by: anyOf: - type: 'null' @@ -61888,7 +61418,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &408 + '403': &405 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -61915,9 +61445,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: + - *307 - *308 - - *309 - - &409 + - &406 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -61931,7 +61461,7 @@ paths: description: Response content: application/json: - schema: &410 + schema: &407 type: object properties: number: *151 @@ -61939,7 +61469,7 @@ paths: updated_at: *153 url: *154 html_url: *155 - instances_url: *402 + instances_url: *399 state: *160 fixed_at: *156 dismissed_by: @@ -61947,8 +61477,8 @@ paths: - type: 'null' - *4 dismissed_at: *157 - dismissed_reason: *403 - dismissed_comment: *404 + dismissed_reason: *400 + dismissed_comment: *401 rule: type: object properties: @@ -62010,8 +61540,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *406 - most_recent_instance: *407 + tool: *403 + most_recent_instance: *404 dismissal_approved_by: anyOf: - type: 'null' @@ -62107,7 +61637,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *408 + '403': *405 '404': *6 '503': *97 x-github: @@ -62127,9 +61657,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: + - *307 - *308 - - *309 - - *409 + - *406 requestBody: required: true content: @@ -62144,8 +61674,8 @@ paths: enum: - open - dismissed - dismissed_reason: *403 - dismissed_comment: *404 + dismissed_reason: *400 + dismissed_comment: *401 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -62164,7 +61694,7 @@ paths: description: Response content: application/json: - schema: *410 + schema: *407 examples: default: value: @@ -62240,7 +61770,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &414 + '403': &411 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -62267,15 +61797,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: + - *307 - *308 - - *309 - - *409 + - *406 responses: '200': description: Response content: application/json: - schema: &411 + schema: &408 type: object properties: status: @@ -62302,13 +61832,13 @@ paths: - description - started_at examples: - default: &412 + default: &409 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &413 + '400': &410 description: Bad Request content: application/json: @@ -62319,7 +61849,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': *408 + '403': *405 '404': *6 '503': *97 x-github: @@ -62344,29 +61874,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: + - *307 - *308 - - *309 - - *409 + - *406 responses: '200': description: OK content: application/json: - schema: *411 + schema: *408 examples: - default: *412 + default: *409 '202': description: Accepted content: application/json: - schema: *411 + schema: *408 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *413 + '400': *410 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -62398,9 +61928,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: + - *307 - *308 - - *309 - - *409 + - *406 requestBody: required: false content: @@ -62446,8 +61976,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *413 - '403': *414 + '400': *410 + '403': *411 '404': *6 '422': description: Unprocessable Entity @@ -62471,13 +62001,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: + - *307 - *308 - - *309 - - *409 + - *406 - *19 - *17 - - *415 - - *416 + - *412 + - *413 responses: '200': description: Response @@ -62485,7 +62015,7 @@ paths: application/json: schema: type: array - items: *407 + items: *404 examples: default: value: @@ -62524,7 +62054,7 @@ paths: end_column: 50 classifications: - source - '403': *408 + '403': *405 '404': *6 '503': *97 x-github: @@ -62558,25 +62088,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: + - *307 - *308 - - *309 - - *397 - - *398 + - *394 + - *395 - *19 - *17 - - *416 + - *413 - 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: *399 + schema: *396 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &419 + schema: &416 type: string description: An identifier for the upload. examples: @@ -62598,23 +62128,23 @@ paths: application/json: schema: type: array - items: &420 + items: &417 type: object properties: - ref: *399 - commit_sha: &428 + ref: *396 + commit_sha: &425 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: *417 + analysis_key: *414 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *418 + category: *415 error: type: string examples: @@ -62639,8 +62169,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *419 - tool: *406 + sarif_id: *416 + tool: *403 deletable: type: boolean warning: @@ -62702,7 +62232,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *408 + '403': *405 '404': *6 '503': *97 x-github: @@ -62738,8 +62268,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: + - *307 - *308 - - *309 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -62752,7 +62282,7 @@ paths: description: Response content: application/json: - schema: *420 + schema: *417 examples: response: summary: application/json response @@ -62806,7 +62336,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *408 + '403': *405 '404': *6 '422': description: Response if analysis could not be processed @@ -62893,8 +62423,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: + - *307 - *308 - - *309 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -62950,7 +62480,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': *414 + '403': *411 '404': *6 '503': *97 x-github: @@ -62972,8 +62502,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: + - *307 - *308 - - *309 responses: '200': description: Response @@ -62981,7 +62511,7 @@ paths: application/json: schema: type: array - items: &421 + items: &418 title: CodeQL Database description: A CodeQL database. type: object @@ -63093,7 +62623,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': *408 + '403': *405 '404': *6 '503': *97 x-github: @@ -63122,8 +62652,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: + - *307 - *308 - - *309 - name: language in: path description: The language of the CodeQL database. @@ -63135,7 +62665,7 @@ paths: description: Response content: application/json: - schema: *421 + schema: *418 examples: default: value: @@ -63167,9 +62697,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': &451 + '302': &448 description: Found - '403': *408 + '403': *405 '404': *6 '503': *97 x-github: @@ -63191,8 +62721,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: + - *307 - *308 - - *309 - name: language in: path description: The language of the CodeQL database. @@ -63202,7 +62732,7 @@ paths: responses: '204': description: Response - '403': *414 + '403': *411 '404': *6 '503': *97 x-github: @@ -63230,8 +62760,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -63240,7 +62770,7 @@ paths: type: object additionalProperties: false properties: - language: &422 + language: &419 type: string description: The language targeted by the CodeQL query enum: @@ -63319,7 +62849,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &426 + schema: &423 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -63329,7 +62859,7 @@ paths: description: The ID of the variant analysis. controller_repo: *51 actor: *4 - query_language: *422 + query_language: *419 query_pack_url: type: string description: The download url for the query pack. @@ -63377,7 +62907,7 @@ paths: items: type: object properties: - repository: &423 + repository: &420 title: Repository Identifier description: Repository Identifier type: object @@ -63419,7 +62949,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &427 + analysis_status: &424 type: string description: The new status of the CodeQL variant analysis repository task. @@ -63451,7 +62981,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &424 + access_mismatch_repos: &421 type: object properties: repository_count: @@ -63466,7 +62996,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: *423 + items: *420 required: - repository_count - repositories @@ -63489,8 +63019,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *424 - over_limit_repos: *424 + no_codeql_db_repos: *421 + over_limit_repos: *421 required: - access_mismatch_repos - not_found_repos @@ -63506,7 +63036,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &425 + value: &422 summary: Default response value: id: 1 @@ -63658,10 +63188,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *425 + value: *422 repository_lists: summary: Response for a successful variant analysis submission - value: *425 + value: *422 '404': *6 '422': description: Unable to process variant analysis submission @@ -63689,8 +63219,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: + - *307 - *308 - - *309 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -63702,9 +63232,9 @@ paths: description: Response content: application/json: - schema: *426 + schema: *423 examples: - default: *425 + default: *422 '404': *6 '503': *97 x-github: @@ -63727,7 +63257,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: - - *308 + - *307 - name: repo in: path description: The name of the controller repository. @@ -63762,7 +63292,7 @@ paths: type: object properties: repository: *51 - analysis_status: *427 + analysis_status: *424 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -63887,8 +63417,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: + - *307 - *308 - - *309 responses: '200': description: Response @@ -63981,7 +63511,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *408 + '403': *405 '404': *6 '503': *97 x-github: @@ -64002,8 +63532,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -64097,7 +63627,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *414 + '403': *411 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -64168,8 +63698,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -64177,7 +63707,7 @@ paths: schema: type: object properties: - commit_sha: *428 + commit_sha: *425 ref: type: string description: |- @@ -64237,7 +63767,7 @@ paths: schema: type: object properties: - id: *419 + id: *416 url: type: string description: The REST API URL for checking the status of the upload. @@ -64251,7 +63781,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': *414 + '403': *411 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -64274,8 +63804,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: + - *307 - *308 - - *309 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -64323,7 +63853,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': *408 + '403': *405 '404': description: Not Found if the sarif id does not match any upload '503': *97 @@ -64348,8 +63878,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: + - *307 - *308 - - *309 responses: '200': description: Response @@ -64430,8 +63960,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: + - *307 - *308 - - *309 - 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 @@ -64559,8 +64089,8 @@ paths: parameters: - *17 - *19 + - *307 - *308 - - *309 responses: '200': description: Response @@ -64874,8 +64404,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -64941,7 +64471,7 @@ paths: application/json: schema: *210 examples: - default: *429 + default: *426 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -64949,7 +64479,7 @@ paths: application/json: schema: *210 examples: - default: *429 + default: *426 '400': *14 '401': *23 '403': *27 @@ -64978,8 +64508,8 @@ paths: parameters: - *17 - *19 + - *307 - *308 - - *309 responses: '200': description: Response @@ -65043,8 +64573,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: + - *307 - *308 - - *309 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -65081,9 +64611,9 @@ paths: type: integer machines: type: array - items: *430 + items: *427 examples: - default: &643 + default: &641 value: total_count: 2 machines: @@ -65123,8 +64653,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: + - *307 - *308 - - *309 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -65211,8 +64741,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: + - *307 - *308 - - *309 - 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 @@ -65281,8 +64811,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: + - *307 - *308 - - *309 - *17 - *19 responses: @@ -65300,7 +64830,7 @@ paths: type: integer secrets: type: array - items: &434 + items: &431 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -65321,7 +64851,7 @@ paths: - created_at - updated_at examples: - default: *431 + default: *428 headers: Link: *52 x-github: @@ -65344,16 +64874,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: + - *307 - *308 - - *309 responses: '200': description: Response content: application/json: - schema: *432 + schema: *429 examples: - default: *433 + default: *430 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -65373,17 +64903,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: + - *307 - *308 - - *309 - *143 responses: '200': description: Response content: application/json: - schema: *434 + schema: *431 examples: - default: *435 + default: *432 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65403,8 +64933,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: + - *307 - *308 - - *309 - *143 requestBody: required: true @@ -65457,8 +64987,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: + - *307 - *308 - - *309 - *143 responses: '204': @@ -65487,8 +65017,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: + - *307 - *308 - - *309 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -65526,7 +65056,7 @@ paths: application/json: schema: type: array - items: &436 + items: &433 title: Collaborator description: Collaborator type: object @@ -65719,8 +65249,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: + - *307 - *308 - - *309 - *57 responses: '204': @@ -65767,8 +65297,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: + - *307 - *308 - - *309 - *57 requestBody: required: false @@ -65795,7 +65325,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &500 + schema: &497 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -66023,8 +65553,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: + - *307 - *308 - - *309 - *57 responses: '204': @@ -66056,8 +65586,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: + - *307 - *308 - - *309 - *57 responses: '200': @@ -66078,7 +65608,7 @@ paths: user: anyOf: - type: 'null' - - *436 + - *433 required: - permission - role_name @@ -66132,8 +65662,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: + - *307 - *308 - - *309 - *17 - *19 responses: @@ -66143,7 +65673,7 @@ paths: application/json: schema: type: array - items: &437 + items: &434 title: Commit Comment description: Commit Comment type: object @@ -66201,7 +65731,7 @@ paths: - created_at - updated_at examples: - default: &440 + default: &437 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -66260,17 +65790,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: + - *307 - *308 - - *309 - *77 responses: '200': description: Response content: application/json: - schema: *437 + schema: *434 examples: - default: &441 + default: &438 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -66327,8 +65857,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: + - *307 - *308 - - *309 - *77 requestBody: required: true @@ -66351,7 +65881,7 @@ paths: description: Response content: application/json: - schema: *437 + schema: *434 examples: default: value: @@ -66402,8 +65932,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: + - *307 - *308 - - *309 - *77 responses: '204': @@ -66425,8 +65955,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: + - *307 - *308 - - *309 - *77 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -66453,9 +65983,9 @@ paths: application/json: schema: type: array - items: *301 + items: *300 examples: - default: *303 + default: *302 headers: Link: *52 '404': *6 @@ -66476,8 +66006,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: + - *307 - *308 - - *309 - *77 requestBody: required: true @@ -66510,16 +66040,16 @@ paths: description: Reaction exists content: application/json: - schema: *301 + schema: *300 examples: - default: *302 + default: *301 '201': description: Reaction created content: application/json: - schema: *301 + schema: *300 examples: - default: *302 + default: *301 '422': *15 x-github: githubCloudOnly: false @@ -66541,10 +66071,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: + - *307 - *308 - - *309 - *77 - - *304 + - *303 responses: '204': description: Response @@ -66593,8 +66123,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: + - *307 - *308 - - *309 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -66650,9 +66180,9 @@ paths: application/json: schema: type: array - items: *438 + items: *435 examples: - default: &549 + default: &547 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -66746,9 +66276,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: + - *307 - *308 - - *309 - - &439 + - &436 name: commit_sha description: The SHA of the commit. in: path @@ -66820,9 +66350,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: + - *307 - *308 - - *309 - - *439 + - *436 - *17 - *19 responses: @@ -66832,9 +66362,9 @@ paths: application/json: schema: type: array - items: *437 + items: *434 examples: - default: *440 + default: *437 headers: Link: *52 x-github: @@ -66862,9 +66392,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: + - *307 - *308 - - *309 - - *439 + - *436 requestBody: required: true content: @@ -66899,9 +66429,9 @@ paths: description: Response content: application/json: - schema: *437 + schema: *434 examples: - default: *441 + default: *438 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -66929,9 +66459,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: + - *307 - *308 - - *309 - - *439 + - *436 - *17 - *19 responses: @@ -66941,9 +66471,9 @@ paths: application/json: schema: type: array - items: *442 + items: *439 examples: - default: &541 + default: &539 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -67480,11 +67010,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: + - *307 - *308 - - *309 - *19 - *17 - - &443 + - &440 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)" @@ -67499,9 +67029,9 @@ paths: description: Response content: application/json: - schema: *438 + schema: *435 examples: - default: &527 + default: &525 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -67614,11 +67144,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: + - *307 - *308 - - *309 - - *443 - - *444 - - *445 + - *440 + - *441 + - *442 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -67652,9 +67182,9 @@ paths: type: integer check_runs: type: array - items: *390 + items: *387 examples: - default: *446 + default: *443 headers: Link: *52 x-github: @@ -67679,9 +67209,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: + - *307 - *308 - - *309 - - *443 + - *440 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -67689,7 +67219,7 @@ paths: schema: type: integer example: 1 - - *444 + - *441 - *17 - *19 responses: @@ -67707,7 +67237,7 @@ paths: type: integer check_suites: type: array - items: *394 + items: *391 examples: default: value: @@ -67907,9 +67437,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: + - *307 - *308 - - *309 - - *443 + - *440 - *17 - *19 responses: @@ -68111,9 +67641,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: + - *307 - *308 - - *309 - - *443 + - *440 - *17 - *19 responses: @@ -68123,7 +67653,7 @@ paths: application/json: schema: type: array - items: &614 + items: &612 title: Status description: The status of a commit. type: object @@ -68204,7 +67734,7 @@ paths: site_admin: false headers: Link: *52 - '301': *317 + '301': *314 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68232,8 +67762,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: + - *307 - *308 - - *309 responses: '200': description: Response @@ -68266,11 +67796,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *447 + - *444 code_of_conduct_file: anyOf: - type: 'null' - - &448 + - &445 title: Community Health File type: object properties: @@ -68290,19 +67820,19 @@ paths: contributing: anyOf: - type: 'null' - - *448 + - *445 readme: anyOf: - type: 'null' - - *448 + - *445 issue_template: anyOf: - type: 'null' - - *448 + - *445 pull_request_template: anyOf: - type: 'null' - - *448 + - *445 required: - code_of_conduct - code_of_conduct_file @@ -68431,8 +67961,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: + - *307 - *308 - - *309 - *19 - *17 - name: basehead @@ -68480,8 +68010,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *438 - merge_base_commit: *438 + base_commit: *435 + merge_base_commit: *435 status: type: string enum: @@ -68505,10 +68035,10 @@ paths: - 6 commits: type: array - items: *438 + items: *435 files: type: array - items: *449 + items: *446 required: - url - html_url @@ -68794,8 +68324,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: + - *307 - *308 - - *309 - name: path description: path parameter in: path @@ -68948,7 +68478,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &450 + response-if-content-is-a-file: &447 summary: Response if content is a file value: type: file @@ -69085,7 +68615,7 @@ paths: - size - type - url - - &554 + - &552 title: Content File description: Content File type: object @@ -69303,7 +68833,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *450 + response-if-content-is-a-file: *447 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -69372,7 +68902,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *451 + '302': *448 '304': *35 x-github: githubCloudOnly: false @@ -69395,8 +68925,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: + - *307 - *308 - - *309 - name: path description: path parameter in: path @@ -69491,7 +69021,7 @@ paths: description: Response content: application/json: - schema: &452 + schema: &449 title: File Commit description: File Commit type: object @@ -69647,7 +69177,7 @@ paths: description: Response content: application/json: - schema: *452 + schema: *449 examples: example-for-creating-a-file: value: @@ -69701,7 +69231,7 @@ paths: schema: oneOf: - *3 - - &482 + - &479 description: Repository rule violation was detected type: object properties: @@ -69722,7 +69252,7 @@ paths: items: type: object properties: - placeholder_id: &606 + placeholder_id: &604 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -69754,8 +69284,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: + - *307 - *308 - - *309 - name: path description: path parameter in: path @@ -69816,7 +69346,7 @@ paths: description: Response content: application/json: - schema: *452 + schema: *449 examples: default: value: @@ -69871,8 +69401,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: + - *307 - *308 - - *309 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -69996,8 +69526,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: + - *307 - *308 - - *309 - *170 - *171 - *172 @@ -70009,7 +69539,7 @@ paths: schema: type: string - *174 - - *453 + - *450 - *175 - *176 - *46 @@ -70030,7 +69560,7 @@ paths: application/json: schema: type: array - items: &456 + items: &453 type: object description: A Dependabot alert. properties: @@ -70080,7 +69610,7 @@ paths: - direct - transitive - - security_advisory: *454 + security_advisory: *451 security_vulnerability: *50 url: *154 html_url: *155 @@ -70111,7 +69641,7 @@ paths: dismissal. maxLength: 280 fixed_at: *156 - auto_dismissed_at: *455 + auto_dismissed_at: *452 required: - number - state @@ -70341,9 +69871,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: + - *307 - *308 - - *309 - - &457 + - &454 name: alert_number in: path description: |- @@ -70358,7 +69888,7 @@ paths: description: Response content: application/json: - schema: *456 + schema: *453 examples: default: value: @@ -70471,9 +70001,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: + - *307 - *308 - - *309 - - *457 + - *454 requestBody: required: true content: @@ -70518,7 +70048,7 @@ paths: description: Response content: application/json: - schema: *456 + schema: *453 examples: default: value: @@ -70647,8 +70177,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: + - *307 - *308 - - *309 - *17 - *19 responses: @@ -70666,7 +70196,7 @@ paths: type: integer secrets: type: array - items: &460 + items: &457 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -70720,16 +70250,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: + - *307 - *308 - - *309 responses: '200': description: Response content: application/json: - schema: *458 + schema: *455 examples: - default: *459 + default: *456 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70749,15 +70279,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: + - *307 - *308 - - *309 - *143 responses: '200': description: Response content: application/json: - schema: *460 + schema: *457 examples: default: value: @@ -70783,8 +70313,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: + - *307 - *308 - - *309 - *143 requestBody: required: true @@ -70837,8 +70367,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: + - *307 - *308 - - *309 - *143 responses: '204': @@ -70861,8 +70391,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: + - *307 - *308 - - *309 - 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 @@ -71036,8 +70566,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: + - *307 - *308 - - *309 responses: '200': description: Response @@ -71297,8 +70827,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: + - *307 - *308 - - *309 requestBody: required: true content: @@ -71381,7 +70911,7 @@ paths: - version - url additionalProperties: false - metadata: &461 + metadata: &458 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -71420,7 +70950,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *461 + metadata: *458 resolved: type: object description: A collection of resolved package dependencies. @@ -71434,7 +70964,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *461 + metadata: *458 relationship: type: string description: A notation of whether a dependency is requested @@ -71567,8 +71097,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: + - *307 - *308 - - *309 - name: sha description: The SHA recorded at creation time. in: query @@ -71609,9 +71139,9 @@ paths: application/json: schema: type: array - items: *462 + items: *459 examples: - default: *463 + default: *460 headers: Link: *52 x-github: @@ -71677,8 +71207,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -71760,7 +71290,7 @@ paths: description: Response content: application/json: - schema: *462 + schema: *459 examples: simple-example: summary: Simple example @@ -71833,9 +71363,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: + - *307 - *308 - - *309 - - &464 + - &461 name: deployment_id description: deployment_id parameter in: path @@ -71847,7 +71377,7 @@ paths: description: Response content: application/json: - schema: *462 + schema: *459 examples: default: value: @@ -71912,9 +71442,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: + - *307 - *308 - - *309 - - *464 + - *461 responses: '204': description: Response @@ -71936,9 +71466,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: + - *307 - *308 - - *309 - - *464 + - *461 - *17 - *19 responses: @@ -71948,7 +71478,7 @@ paths: application/json: schema: type: array - items: &465 + items: &462 title: Deployment Status description: The status of a deployment. type: object @@ -72112,9 +71642,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: + - *307 - *308 - - *309 - - *464 + - *461 requestBody: required: true content: @@ -72189,9 +71719,9 @@ paths: description: Response content: application/json: - schema: *465 + schema: *462 examples: - default: &466 + default: &463 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -72247,9 +71777,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: + - *307 - *308 - - *309 - - *464 + - *461 - name: status_id in: path required: true @@ -72260,9 +71790,9 @@ paths: description: Response content: application/json: - schema: *465 + schema: *462 examples: - default: *466 + default: *463 '404': *6 x-github: githubCloudOnly: false @@ -72287,8 +71817,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -72345,8 +71875,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: + - *307 - *308 - - *309 - *17 - *19 responses: @@ -72364,7 +71894,7 @@ paths: - 5 environments: type: array - items: &468 + items: &465 title: Environment description: Details of a deployment environment type: object @@ -72426,7 +71956,7 @@ paths: type: string examples: - wait_timer - wait_timer: &470 + wait_timer: &467 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -72468,7 +71998,7 @@ paths: items: type: object properties: - type: *467 + type: *464 reviewer: anyOf: - *4 @@ -72495,7 +72025,7 @@ paths: - id - node_id - type - deployment_branch_policy: &471 + deployment_branch_policy: &468 type: - object - 'null' @@ -72612,9 +72142,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: + - *307 - *308 - - *309 - - &469 + - &466 name: environment_name in: path required: true @@ -72627,9 +72157,9 @@ paths: description: Response content: application/json: - schema: *468 + schema: *465 examples: - default: &472 + default: &469 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -72713,9 +72243,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: + - *307 - *308 - - *309 - - *469 + - *466 requestBody: required: false content: @@ -72725,7 +72255,7 @@ paths: - object - 'null' properties: - wait_timer: *470 + wait_timer: *467 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -72744,14 +72274,14 @@ paths: items: type: object properties: - type: *467 + type: *464 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *471 + deployment_branch_policy: *468 additionalProperties: false examples: default: @@ -72771,9 +72301,9 @@ paths: description: Response content: application/json: - schema: *468 + schema: *465 examples: - default: *472 + default: *469 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -72797,9 +72327,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: + - *307 - *308 - - *309 - - *469 + - *466 responses: '204': description: Default response @@ -72824,9 +72354,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: + - *307 - *308 - - *309 - - *469 + - *466 - *17 - *19 responses: @@ -72845,7 +72375,7 @@ paths: - 2 branch_policies: type: array - items: &473 + items: &470 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -72906,9 +72436,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: + - *307 - *308 - - *309 - - *469 + - *466 requestBody: required: true content: @@ -72956,9 +72486,9 @@ paths: description: Response content: application/json: - schema: *473 + schema: *470 examples: - example-wildcard: &474 + example-wildcard: &471 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -73000,10 +72530,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: + - *307 - *308 - - *309 - - *469 - - &475 + - *466 + - &472 name: branch_policy_id in: path required: true @@ -73015,9 +72545,9 @@ paths: description: Response content: application/json: - schema: *473 + schema: *470 examples: - default: *474 + default: *471 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73036,10 +72566,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: + - *307 - *308 - - *309 - - *469 - - *475 + - *466 + - *472 requestBody: required: true content: @@ -73068,9 +72598,9 @@ paths: description: Response content: application/json: - schema: *473 + schema: *470 examples: - default: *474 + default: *471 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73089,10 +72619,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: + - *307 - *308 - - *309 - - *469 - - *475 + - *466 + - *472 responses: '204': description: Response @@ -73117,9 +72647,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *469 - - *309 + - *466 - *308 + - *307 responses: '200': description: List of deployment protection rules @@ -73136,7 +72666,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &476 + items: &473 title: Deployment protection rule description: Deployment protection rule type: object @@ -73158,7 +72688,7 @@ paths: for the environment. examples: - true - app: &477 + app: &474 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -73261,9 +72791,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: - - *469 - - *309 + - *466 - *308 + - *307 requestBody: content: application/json: @@ -73284,9 +72814,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *476 + schema: *473 examples: - default: &478 + default: &475 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -73321,9 +72851,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: - - *469 - - *309 + - *466 - *308 + - *307 - *19 - *17 responses: @@ -73343,7 +72873,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *477 + items: *474 examples: default: value: @@ -73378,10 +72908,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: + - *307 - *308 - - *309 - - *469 - - &479 + - *466 + - &476 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -73393,9 +72923,9 @@ paths: description: Response content: application/json: - schema: *476 + schema: *473 examples: - default: *478 + default: *475 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73416,10 +72946,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *469 - - *309 + - *466 - *308 - - *479 + - *307 + - *476 responses: '204': description: Response @@ -73445,9 +72975,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: + - *307 - *308 - - *309 - - *469 + - *466 - *17 - *19 responses: @@ -73465,9 +72995,9 @@ paths: type: integer secrets: type: array - items: *356 + items: *353 examples: - default: *357 + default: *354 headers: Link: *52 x-github: @@ -73492,17 +73022,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: + - *307 - *308 - - *309 - - *469 + - *466 responses: '200': description: Response content: application/json: - schema: *358 + schema: *355 examples: - default: *359 + default: *356 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73524,18 +73054,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: + - *307 - *308 - - *309 - - *469 + - *466 - *143 responses: '200': description: Response content: application/json: - schema: *356 + schema: *353 examples: - default: *480 + default: *477 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73557,9 +73087,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: + - *307 - *308 - - *309 - - *469 + - *466 - *143 requestBody: required: true @@ -73617,9 +73147,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: + - *307 - *308 - - *309 - - *469 + - *466 - *143 responses: '204': @@ -73645,10 +73175,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: + - *307 - *308 - - *309 - - *469 - - *327 + - *466 + - *324 - *19 responses: '200': @@ -73665,9 +73195,9 @@ paths: type: integer variables: type: array - items: *360 + items: *357 examples: - default: *361 + default: *358 headers: Link: *52 x-github: @@ -73690,9 +73220,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: + - *307 - *308 - - *309 - - *469 + - *466 requestBody: required: true content: @@ -73744,18 +73274,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: + - *307 - *308 - - *309 - - *469 + - *466 - *146 responses: '200': description: Response content: application/json: - schema: *360 + schema: *357 examples: - default: *481 + default: *478 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73776,10 +73306,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: + - *307 - *308 - - *309 - *146 - - *469 + - *466 requestBody: required: true content: @@ -73821,10 +73351,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: + - *307 - *308 - - *309 - *146 - - *469 + - *466 responses: '204': description: Response @@ -73846,8 +73376,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: + - *307 - *308 - - *309 - *17 - *19 responses: @@ -73915,8 +73445,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: + - *307 - *308 - - *309 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -74075,8 +73605,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: + - *307 - *308 - - *309 requestBody: required: false content: @@ -74109,9 +73639,9 @@ paths: description: Response content: application/json: - schema: *316 + schema: *313 examples: - default: *318 + default: *315 '400': *14 '422': *15 '403': *27 @@ -74132,8 +73662,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -74193,7 +73723,7 @@ paths: schema: oneOf: - *104 - - *482 + - *479 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74218,8 +73748,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: + - *307 - *308 - - *309 - name: file_sha in: path required: true @@ -74319,8 +73849,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -74429,7 +73959,7 @@ paths: description: Response content: application/json: - schema: &483 + schema: &480 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -74656,15 +74186,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: + - *307 - *308 - - *309 - - *439 + - *436 responses: '200': description: Response content: application/json: - schema: *483 + schema: *480 examples: default: value: @@ -74720,9 +74250,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: + - *307 - *308 - - *309 - - &484 + - &481 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. @@ -74739,7 +74269,7 @@ paths: application/json: schema: type: array - items: &485 + items: &482 title: Git Reference description: Git references within a repository type: object @@ -74815,17 +74345,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: + - *307 - *308 - - *309 - - *484 + - *481 responses: '200': description: Response content: application/json: - schema: *485 + schema: *482 examples: - default: &486 + default: &483 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -74854,8 +74384,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -74884,9 +74414,9 @@ paths: description: Response content: application/json: - schema: *485 + schema: *482 examples: - default: *486 + default: *483 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -74912,9 +74442,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: + - *307 - *308 - - *309 - - *484 + - *481 requestBody: required: true content: @@ -74943,9 +74473,9 @@ paths: description: Response content: application/json: - schema: *485 + schema: *482 examples: - default: *486 + default: *483 '422': *15 '409': *45 x-github: @@ -74963,9 +74493,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: + - *307 - *308 - - *309 - - *484 + - *481 responses: '204': description: Response @@ -75020,8 +74550,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -75088,7 +74618,7 @@ paths: description: Response content: application/json: - schema: &488 + schema: &485 title: Git Tag description: Metadata for a Git tag type: object @@ -75144,7 +74674,7 @@ paths: - sha - type - url - verification: *487 + verification: *484 required: - sha - url @@ -75154,7 +74684,7 @@ paths: - tag - message examples: - default: &489 + default: &486 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -75227,8 +74757,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: + - *307 - *308 - - *309 - name: tag_sha in: path required: true @@ -75239,9 +74769,9 @@ paths: description: Response content: application/json: - schema: *488 + schema: *485 examples: - default: *489 + default: *486 '404': *6 '409': *45 x-github: @@ -75265,8 +74795,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -75340,7 +74870,7 @@ paths: description: Response content: application/json: - schema: &490 + schema: &487 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -75442,8 +74972,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: + - *307 - *308 - - *309 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -75466,7 +74996,7 @@ paths: description: Response content: application/json: - schema: *490 + schema: *487 examples: default-response: summary: Default response @@ -75525,8 +75055,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: + - *307 - *308 - - *309 - *17 - *19 responses: @@ -75536,7 +75066,7 @@ paths: application/json: schema: type: array - items: &491 + items: &488 title: Webhook description: Webhooks for repositories. type: object @@ -75599,7 +75129,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &725 + last_response: &723 title: Hook Response type: object properties: @@ -75676,8 +75206,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: + - *307 - *308 - - *309 requestBody: required: false content: @@ -75730,9 +75260,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *488 examples: - default: &492 + default: &489 value: type: Repository id: 12345678 @@ -75780,17 +75310,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: + - *307 - *308 - - *309 - *182 responses: '200': description: Response content: application/json: - schema: *491 + schema: *488 examples: - default: *492 + default: *489 '404': *6 x-github: githubCloudOnly: false @@ -75810,8 +75340,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: + - *307 - *308 - - *309 - *182 requestBody: required: true @@ -75857,9 +75387,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *488 examples: - default: *492 + default: *489 '422': *15 '404': *6 x-github: @@ -75880,8 +75410,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: + - *307 - *308 - - *309 - *182 responses: '204': @@ -75906,8 +75436,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: + - *307 - *308 - - *309 - *182 responses: '200': @@ -75935,8 +75465,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: + - *307 - *308 - - *309 - *182 requestBody: required: false @@ -75981,8 +75511,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: + - *307 - *308 - - *309 - *182 - *17 - *183 @@ -76014,8 +75544,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: + - *307 - *308 - - *309 - *182 - *16 responses: @@ -76044,8 +75574,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: + - *307 - *308 - - *309 - *182 - *16 responses: @@ -76069,8 +75599,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: + - *307 - *308 - - *309 - *182 responses: '204': @@ -76096,8 +75626,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: + - *307 - *308 - - *309 - *182 responses: '204': @@ -76121,8 +75651,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: + - *307 - *308 - - *309 responses: '200': description: Response if immutable releases are enabled @@ -76170,8 +75700,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: + - *307 - *308 - - *309 responses: '204': *165 '409': *45 @@ -76191,8 +75721,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: + - *307 - *308 - - *309 responses: '204': *165 '409': *45 @@ -76249,14 +75779,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: + - *307 - *308 - - *309 responses: '200': description: Response content: application/json: - schema: &493 + schema: &490 title: Import description: A repository import from an external source. type: object @@ -76363,7 +75893,7 @@ paths: - html_url - authors_url examples: - default: &496 + default: &493 value: vcs: subversion use_lfs: true @@ -76379,7 +75909,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': &494 + '503': &491 description: Unavailable due to service under maintenance. content: application/json: @@ -76408,8 +75938,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -76457,7 +75987,7 @@ paths: description: Response content: application/json: - schema: *493 + schema: *490 examples: default: value: @@ -76482,7 +76012,7 @@ paths: type: string '422': *15 '404': *6 - '503': *494 + '503': *491 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76510,8 +76040,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: + - *307 - *308 - - *309 requestBody: required: false content: @@ -76563,7 +76093,7 @@ paths: description: Response content: application/json: - schema: *493 + schema: *490 examples: example-1: summary: Example 1 @@ -76611,7 +76141,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': *494 + '503': *491 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76634,12 +76164,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: + - *307 - *308 - - *309 responses: '204': description: Response - '503': *494 + '503': *491 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76665,9 +76195,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: + - *307 - *308 - - *309 - - &664 + - &662 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -76681,7 +76211,7 @@ paths: application/json: schema: type: array - items: &495 + items: &492 title: Porter Author description: Porter Author type: object @@ -76735,7 +76265,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': *494 + '503': *491 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76760,8 +76290,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: + - *307 - *308 - - *309 - name: author_id in: path required: true @@ -76791,7 +76321,7 @@ paths: description: Response content: application/json: - schema: *495 + schema: *492 examples: default: value: @@ -76804,7 +76334,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *494 + '503': *491 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76828,8 +76358,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: + - *307 - *308 - - *309 responses: '200': description: Response @@ -76870,7 +76400,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *494 + '503': *491 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76898,8 +76428,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -76926,11 +76456,11 @@ paths: description: Response content: application/json: - schema: *493 + schema: *490 examples: - default: *496 + default: *493 '422': *15 - '503': *494 + '503': *491 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76953,8 +76483,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: + - *307 - *308 - - *309 responses: '200': description: Response @@ -76962,8 +76492,8 @@ paths: application/json: schema: *20 examples: - default: *497 - '301': *317 + default: *494 + '301': *314 '404': *6 x-github: githubCloudOnly: false @@ -76983,8 +76513,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: + - *307 - *308 - - *309 responses: '200': description: Response @@ -76997,7 +76527,7 @@ paths: properties: {} additionalProperties: false examples: - default: &499 + default: &496 value: limit: collaborators_only origin: repository @@ -77022,13 +76552,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: + - *307 - *308 - - *309 requestBody: required: true content: application/json: - schema: *498 + schema: *495 examples: default: summary: Example request body @@ -77042,7 +76572,7 @@ paths: application/json: schema: *200 examples: - default: *499 + default: *496 '409': description: Response x-github: @@ -77064,8 +76594,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: + - *307 - *308 - - *309 responses: '204': description: Response @@ -77088,8 +76618,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: + - *307 - *308 - - *309 - *17 - *19 responses: @@ -77099,9 +76629,9 @@ paths: application/json: schema: type: array - items: *500 + items: *497 examples: - default: &657 + default: &655 value: - id: 1 repository: @@ -77232,8 +76762,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: + - *307 - *308 - - *309 - *204 requestBody: required: false @@ -77263,7 +76793,7 @@ paths: description: Response content: application/json: - schema: *500 + schema: *497 examples: default: value: @@ -77394,8 +76924,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: + - *307 - *308 - - *309 - *204 responses: '204': @@ -77427,8 +76957,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: + - *307 - *308 - - *309 - 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 @@ -77501,7 +77031,7 @@ paths: type: array items: *78 examples: - default: &507 + default: &505 value: - id: 1 node_id: MDU6SXNzdWUx @@ -77649,7 +77179,7 @@ paths: state_reason: completed headers: Link: *52 - '301': *317 + '301': *314 '422': *15 '404': *6 x-github: @@ -77678,8 +77208,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -77771,7 +77301,7 @@ paths: application/json: schema: *78 examples: - default: &504 + default: &502 value: id: 1 node_id: MDU6SXNzdWUx @@ -77927,7 +77457,7 @@ paths: '422': *15 '503': *97 '404': *6 - '410': *314 + '410': *498 x-github: triggersNotification: true githubCloudOnly: false @@ -77955,8 +77485,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: + - *307 - *308 - - *309 - *87 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -77977,9 +77507,9 @@ paths: application/json: schema: type: array - items: *501 + items: *499 examples: - default: &506 + default: &504 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -78037,17 +77567,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: + - *307 - *308 - - *309 - *77 responses: '200': description: Response content: application/json: - schema: *501 + schema: *499 examples: - default: &502 + default: &500 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -78101,8 +77631,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: + - *307 - *308 - - *309 - *77 requestBody: required: true @@ -78125,9 +77655,9 @@ paths: description: Response content: application/json: - schema: *501 + schema: *499 examples: - default: *502 + default: *500 '422': *15 x-github: githubCloudOnly: false @@ -78145,8 +77675,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: + - *307 - *308 - - *309 - *77 responses: '204': @@ -78167,8 +77697,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: + - *307 - *308 - - *309 - *77 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -78195,9 +77725,9 @@ paths: application/json: schema: type: array - items: *301 + items: *300 examples: - default: *303 + default: *302 headers: Link: *52 '404': *6 @@ -78218,8 +77748,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: + - *307 - *308 - - *309 - *77 requestBody: required: true @@ -78252,16 +77782,16 @@ paths: description: Reaction exists content: application/json: - schema: *301 + schema: *300 examples: - default: *302 + default: *301 '201': description: Reaction created content: application/json: - schema: *301 + schema: *300 examples: - default: *302 + default: *301 '422': *15 x-github: githubCloudOnly: false @@ -78283,10 +77813,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: + - *307 - *308 - - *309 - *77 - - *304 + - *303 responses: '204': description: Response @@ -78306,8 +77836,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: + - *307 - *308 - - *309 - *17 - *19 responses: @@ -78317,7 +77847,7 @@ paths: application/json: schema: type: array - items: &503 + items: &501 title: Issue Event description: Issue Event type: object @@ -78656,8 +78186,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: + - *307 - *308 - - *309 - name: event_id in: path required: true @@ -78668,7 +78198,7 @@ paths: description: Response content: application/json: - schema: *503 + schema: *501 examples: default: value: @@ -78861,7 +78391,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *314 + '410': *498 '403': *27 x-github: githubCloudOnly: false @@ -78895,9 +78425,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: + - *307 - *308 - - *309 - - &505 + - &503 name: issue_number description: The number that identifies the issue. in: path @@ -78911,10 +78441,10 @@ paths: application/json: schema: *78 examples: - default: *504 - '301': *317 + default: *502 + '301': *314 '404': *6 - '410': *314 + '410': *498 '304': *35 x-github: githubCloudOnly: false @@ -78939,9 +78469,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: + - *307 - *308 - - *309 - - *505 + - *503 requestBody: required: false content: @@ -79062,13 +78592,13 @@ paths: application/json: schema: *78 examples: - default: *504 + default: *502 '422': *15 '503': *97 '403': *27 - '301': *317 + '301': *314 '404': *6 - '410': *314 + '410': *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79086,9 +78616,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: + - *307 - *308 - - *309 - - *505 + - *503 requestBody: required: false content: @@ -79116,7 +78646,7 @@ paths: application/json: schema: *78 examples: - default: *504 + default: *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79132,9 +78662,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: + - *307 - *308 - - *309 - - *505 + - *503 requestBody: content: application/json: @@ -79161,7 +78691,7 @@ paths: application/json: schema: *78 examples: - default: *504 + default: *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79183,9 +78713,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: + - *307 - *308 - - *309 - - *505 + - *503 - name: assignee in: path required: true @@ -79225,9 +78755,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: + - *307 - *308 - - *309 - - *505 + - *503 - *68 - *17 - *19 @@ -79238,13 +78768,13 @@ paths: application/json: schema: type: array - items: *501 + items: *499 examples: - default: *506 + default: *504 headers: Link: *52 '404': *6 - '410': *314 + '410': *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79273,9 +78803,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: + - *307 - *308 - - *309 - - *505 + - *503 requestBody: required: true content: @@ -79297,16 +78827,16 @@ paths: description: Response content: application/json: - schema: *501 + schema: *499 examples: - default: *502 + default: *500 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *314 + '410': *498 '422': *15 '404': *6 x-github: @@ -79334,9 +78864,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: + - *307 - *308 - - *309 - - *505 + - *503 - *17 - *19 responses: @@ -79348,12 +78878,12 @@ paths: type: array items: *78 examples: - default: *507 + default: *505 headers: Link: *52 - '301': *317 + '301': *314 '404': *6 - '410': *314 + '410': *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79381,9 +78911,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: + - *307 - *308 - - *309 - - *505 + - *503 requestBody: required: true content: @@ -79407,15 +78937,15 @@ paths: application/json: schema: *78 examples: - default: *504 + default: *502 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *317 + '301': *314 '403': *27 - '410': *314 + '410': *498 '422': *15 '404': *6 x-github: @@ -79446,9 +78976,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: + - *307 - *308 - - *309 - - *505 + - *503 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -79462,13 +78992,13 @@ paths: application/json: schema: *78 examples: - default: *504 - '301': *317 + default: *502 + '301': *314 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *314 + '410': *498 x-github: triggersNotification: true githubCloudOnly: false @@ -79494,9 +79024,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: + - *307 - *308 - - *309 - - *505 + - *503 - *17 - *19 responses: @@ -79508,12 +79038,12 @@ paths: type: array items: *78 examples: - default: *507 + default: *505 headers: Link: *52 - '301': *317 + '301': *314 '404': *6 - '410': *314 + '410': *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79530,9 +79060,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: + - *307 - *308 - - *309 - - *505 + - *503 - *17 - *19 responses: @@ -79546,7 +79076,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &510 + - &508 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -79595,7 +79125,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &511 + - &509 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -79723,7 +79253,7 @@ paths: - performed_via_github_app - assignee - assigner - - &512 + - &510 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -79769,7 +79299,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &513 + - &511 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -79815,7 +79345,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &514 + - &512 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -79864,7 +79394,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &515 + - &513 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -79906,7 +79436,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &516 + - &514 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -79948,7 +79478,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &517 + - &515 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -80004,7 +79534,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &518 + - &516 title: Locked Issue Event description: Locked Issue Event type: object @@ -80049,7 +79579,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &519 + - &517 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -80110,7 +79640,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &520 + - &518 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -80171,7 +79701,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &521 + - &519 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -80232,7 +79762,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &522 + - &520 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -80325,7 +79855,7 @@ paths: color: red headers: Link: *52 - '410': *314 + '410': *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80342,9 +79872,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: + - *307 - *308 - - *309 - - *505 + - *503 - *17 - *19 responses: @@ -80354,7 +79884,7 @@ paths: application/json: schema: type: array - items: &508 + items: &506 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -80409,7 +79939,7 @@ paths: - color - default examples: - default: &509 + default: &507 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -80427,9 +79957,9 @@ paths: default: false headers: Link: *52 - '301': *317 + '301': *314 '404': *6 - '410': *314 + '410': *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80446,9 +79976,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: + - *307 - *308 - - *309 - - *505 + - *503 requestBody: required: false content: @@ -80507,12 +80037,12 @@ paths: application/json: schema: type: array - items: *508 + items: *506 examples: - default: *509 - '301': *317 + default: *507 + '301': *314 '404': *6 - '410': *314 + '410': *498 '422': *15 x-github: githubCloudOnly: false @@ -80529,9 +80059,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: + - *307 - *308 - - *309 - - *505 + - *503 requestBody: required: false content: @@ -80591,12 +80121,12 @@ paths: application/json: schema: type: array - items: *508 + items: *506 examples: - default: *509 - '301': *317 + default: *507 + '301': *314 '404': *6 - '410': *314 + '410': *498 '422': *15 x-github: githubCloudOnly: false @@ -80613,15 +80143,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: + - *307 - *308 - - *309 - - *505 + - *503 responses: '204': description: Response - '301': *317 + '301': *314 '404': *6 - '410': *314 + '410': *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80640,9 +80170,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: + - *307 - *308 - - *309 - - *505 + - *503 - name: name in: path required: true @@ -80655,7 +80185,7 @@ paths: application/json: schema: type: array - items: *508 + items: *506 examples: default: value: @@ -80666,9 +80196,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *317 + '301': *314 '404': *6 - '410': *314 + '410': *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80688,9 +80218,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: + - *307 - *308 - - *309 - - *505 + - *503 requestBody: required: false content: @@ -80719,7 +80249,7 @@ paths: '204': description: Response '403': *27 - '410': *314 + '410': *498 '404': *6 '422': *15 x-github: @@ -80737,9 +80267,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: + - *307 - *308 - - *309 - - *505 + - *503 responses: '204': description: Response @@ -80769,9 +80299,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: + - *307 - *308 - - *309 - - *505 + - *503 responses: '200': description: Response @@ -80779,10 +80309,10 @@ paths: application/json: schema: *78 examples: - default: *504 - '301': *317 + default: *502 + '301': *314 '404': *6 - '410': *314 + '410': *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80799,9 +80329,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: + - *307 - *308 - - *309 - - *505 + - *503 - 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. @@ -80827,13 +80357,13 @@ paths: application/json: schema: type: array - items: *301 + items: *300 examples: - default: *303 + default: *302 headers: Link: *52 '404': *6 - '410': *314 + '410': *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80851,9 +80381,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: + - *307 - *308 - - *309 - - *505 + - *503 requestBody: required: true content: @@ -80885,16 +80415,16 @@ paths: description: Response content: application/json: - schema: *301 + schema: *300 examples: - default: *302 + default: *301 '201': description: Response content: application/json: - schema: *301 + schema: *300 examples: - default: *302 + default: *301 '422': *15 x-github: githubCloudOnly: false @@ -80916,10 +80446,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: + - *307 - *308 - - *309 - - *505 - - *304 + - *503 + - *303 responses: '204': description: Response @@ -80948,9 +80478,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: + - *307 - *308 - - *309 - - *505 + - *503 requestBody: required: true content: @@ -80974,7 +80504,7 @@ paths: application/json: schema: *78 examples: - default: *504 + default: *502 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -81007,9 +80537,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: + - *307 - *308 - - *309 - - *505 + - *503 - *17 - *19 responses: @@ -81021,11 +80551,11 @@ paths: type: array items: *78 examples: - default: *507 + default: *505 headers: Link: *52 '404': *6 - '410': *314 + '410': *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81053,9 +80583,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: + - *307 - *308 - - *309 - - *505 + - *503 requestBody: required: true content: @@ -81084,14 +80614,14 @@ paths: application/json: schema: *78 examples: - default: *504 + default: *502 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *314 + '410': *498 '422': *15 '404': *6 x-github: @@ -81111,9 +80641,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: + - *307 - *308 - - *309 - - *505 + - *503 requestBody: required: true content: @@ -81146,7 +80676,7 @@ paths: application/json: schema: *78 examples: - default: *504 + default: *502 '403': *27 '404': *6 '422': *7 @@ -81168,9 +80698,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: + - *307 - *308 - - *309 - - *505 + - *503 - *17 - *19 responses: @@ -81185,6 +80715,8 @@ paths: description: Timeline Event type: object anyOf: + - *508 + - *509 - *510 - *511 - *512 @@ -81196,8 +80728,6 @@ paths: - *518 - *519 - *520 - - *521 - - *522 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -81526,7 +81056,7 @@ paths: type: string comments: type: array - items: &543 + items: &541 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -81764,7 +81294,7 @@ paths: type: string comments: type: array - items: *437 + items: *434 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -82039,7 +81569,7 @@ paths: headers: Link: *52 '404': *6 - '410': *314 + '410': *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82056,8 +81586,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: + - *307 - *308 - - *309 - *17 - *19 responses: @@ -82067,7 +81597,7 @@ paths: application/json: schema: type: array - items: &523 + items: &521 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -82135,8 +81665,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -82172,9 +81702,9 @@ paths: description: Response content: application/json: - schema: *523 + schema: *521 examples: - default: &524 + default: &522 value: id: 1 key: ssh-rsa AAA... @@ -82208,9 +81738,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: + - *307 - *308 - - *309 - - &525 + - &523 name: key_id description: The unique identifier of the key. in: path @@ -82222,9 +81752,9 @@ paths: description: Response content: application/json: - schema: *523 + schema: *521 examples: - default: *524 + default: *522 '404': *6 x-github: githubCloudOnly: false @@ -82242,9 +81772,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: + - *307 - *308 - - *309 - - *525 + - *523 responses: '204': description: Response @@ -82264,8 +81794,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: + - *307 - *308 - - *309 - *17 - *19 responses: @@ -82275,9 +81805,9 @@ paths: application/json: schema: type: array - items: *508 + items: *506 examples: - default: *509 + default: *507 headers: Link: *52 '404': *6 @@ -82298,8 +81828,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -82335,9 +81865,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *506 examples: - default: &526 + default: &524 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -82369,8 +81899,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: + - *307 - *308 - - *309 - name: name in: path required: true @@ -82381,9 +81911,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *506 examples: - default: *526 + default: *524 '404': *6 x-github: githubCloudOnly: false @@ -82400,8 +81930,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: + - *307 - *308 - - *309 - name: name in: path required: true @@ -82440,7 +81970,7 @@ paths: description: Response content: application/json: - schema: *508 + schema: *506 examples: default: value: @@ -82466,8 +81996,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: + - *307 - *308 - - *309 - name: name in: path required: true @@ -82493,8 +82023,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: + - *307 - *308 - - *309 responses: '200': description: Response @@ -82533,9 +82063,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: + - *307 - *308 - - *309 - - *415 + - *412 responses: '200': description: Response @@ -82682,8 +82212,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -82748,8 +82278,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -82783,9 +82313,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *438 + schema: *435 examples: - default: *527 + default: *525 '204': description: Response when already merged '404': @@ -82810,8 +82340,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: + - *307 - *308 - - *309 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -82852,7 +82382,7 @@ paths: application/json: schema: type: array - items: *243 + items: *242 examples: default: value: @@ -82908,8 +82438,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -82949,9 +82479,9 @@ paths: description: Response content: application/json: - schema: *243 + schema: *242 examples: - default: &528 + default: &526 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -83010,9 +82540,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: + - *307 - *308 - - *309 - - &529 + - &527 name: milestone_number description: The number that identifies the milestone. in: path @@ -83024,9 +82554,9 @@ paths: description: Response content: application/json: - schema: *243 + schema: *242 examples: - default: *528 + default: *526 '404': *6 x-github: githubCloudOnly: false @@ -83043,9 +82573,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: + - *307 - *308 - - *309 - - *529 + - *527 requestBody: required: false content: @@ -83083,9 +82613,9 @@ paths: description: Response content: application/json: - schema: *243 + schema: *242 examples: - default: *528 + default: *526 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83101,9 +82631,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: + - *307 - *308 - - *309 - - *529 + - *527 responses: '204': description: Response @@ -83124,9 +82654,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: + - *307 - *308 - - *309 - - *529 + - *527 - *17 - *19 responses: @@ -83136,9 +82666,9 @@ paths: application/json: schema: type: array - items: *508 + items: *506 examples: - default: *509 + default: *507 headers: Link: *52 x-github: @@ -83157,12 +82687,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: + - *307 - *308 - - *309 - - *530 - - *531 + - *528 + - *529 - *68 - - *532 + - *530 - *17 - *19 responses: @@ -83174,7 +82704,7 @@ paths: type: array items: *90 examples: - default: *533 + default: *531 headers: Link: *52 x-github: @@ -83198,8 +82728,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: + - *307 - *308 - - *309 requestBody: required: false content: @@ -83257,14 +82787,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: + - *307 - *308 - - *309 responses: '200': description: Response content: application/json: - schema: &534 + schema: &532 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -83408,7 +82938,7 @@ paths: - custom_404 - public examples: - default: &535 + default: &533 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -83449,8 +82979,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -83505,9 +83035,9 @@ paths: description: Response content: application/json: - schema: *534 + schema: *532 examples: - default: *535 + default: *533 '422': *15 '409': *45 x-github: @@ -83530,8 +83060,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -83631,8 +83161,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: + - *307 - *308 - - *309 responses: '204': description: Response @@ -83658,8 +83188,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: + - *307 - *308 - - *309 - *17 - *19 responses: @@ -83669,7 +83199,7 @@ paths: application/json: schema: type: array - items: &536 + items: &534 title: Page Build description: Page Build type: object @@ -83761,8 +83291,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: + - *307 - *308 - - *309 responses: '201': description: Response @@ -83809,16 +83339,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: + - *307 - *308 - - *309 responses: '200': description: Response content: application/json: - schema: *536 + schema: *534 examples: - default: &537 + default: &535 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -83866,8 +83396,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: + - *307 - *308 - - *309 - name: build_id in: path required: true @@ -83878,9 +83408,9 @@ paths: description: Response content: application/json: - schema: *536 + schema: *534 examples: - default: *537 + default: *535 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83900,8 +83430,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -84009,9 +83539,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: + - *307 - *308 - - *309 - - &538 + - &536 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -84069,9 +83599,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: + - *307 - *308 - - *309 - - *538 + - *536 responses: '204': *165 '404': *6 @@ -84098,8 +83628,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: + - *307 - *308 - - *309 responses: '200': description: Response @@ -84394,8 +83924,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: + - *307 - *308 - - *309 responses: '200': description: Private vulnerability reporting status @@ -84432,8 +83962,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: + - *307 - *308 - - *309 responses: '204': *165 '422': *14 @@ -84454,8 +83984,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: + - *307 - *308 - - *309 responses: '204': *165 '422': *14 @@ -84464,148 +83994,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: - - *308 - - *309 - - 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: *238 - 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: *52 - '401': *23 - '403': *27 - '404': *6 - '410': *314 - '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: - - *308 - - *309 - 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: *238 - examples: - default: *313 - '401': *23 - '403': *27 - '404': *6 - '410': *314 - '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 @@ -84619,8 +84007,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: + - *307 - *308 - - *309 responses: '200': description: Response @@ -84630,7 +84018,7 @@ paths: type: array items: *95 examples: - default: *539 + default: *537 '403': *27 '404': *6 x-github: @@ -84652,8 +84040,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: + - *307 - *308 - - *309 requestBody: required: true content: @@ -84669,7 +84057,7 @@ paths: required: - properties examples: - default: *540 + default: *538 responses: '204': description: No Content when custom property values are successfully created @@ -84707,8 +84095,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: + - *307 - *308 - - *309 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -84768,9 +84156,9 @@ paths: application/json: schema: type: array - items: *442 + items: *439 examples: - default: *541 + default: *539 headers: Link: *52 '304': *35 @@ -84802,8 +84190,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -84870,7 +84258,7 @@ paths: description: Response content: application/json: - schema: &545 + schema: &543 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -84999,7 +84387,7 @@ paths: milestone: anyOf: - type: 'null' - - *243 + - *242 active_lock_reason: type: - string @@ -85092,14 +84480,14 @@ paths: _links: type: object properties: - comments: *244 - commits: *244 - statuses: *244 - html: *244 - issue: *244 - review_comments: *244 - review_comment: *244 - self: *244 + comments: *243 + commits: *243 + statuses: *243 + html: *243 + issue: *243 + review_comments: *243 + review_comment: *243 + self: *243 required: - comments - commits @@ -85110,7 +84498,7 @@ paths: - review_comment - self author_association: *65 - auto_merge: *542 + auto_merge: *540 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -85212,7 +84600,7 @@ paths: - merged_by - review_comments examples: - default: &546 + default: &544 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -85739,8 +85127,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: + - *307 - *308 - - *309 - name: sort in: query required: false @@ -85769,9 +85157,9 @@ paths: application/json: schema: type: array - items: *543 + items: *541 examples: - default: &548 + default: &546 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -85848,17 +85236,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: + - *307 - *308 - - *309 - *77 responses: '200': description: Response content: application/json: - schema: *543 + schema: *541 examples: - default: &544 + default: &542 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -85933,8 +85321,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: + - *307 - *308 - - *309 - *77 requestBody: required: true @@ -85957,9 +85345,9 @@ paths: description: Response content: application/json: - schema: *543 + schema: *541 examples: - default: *544 + default: *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85975,8 +85363,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: + - *307 - *308 - - *309 - *77 responses: '204': @@ -85998,8 +85386,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: + - *307 - *308 - - *309 - *77 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -86026,9 +85414,9 @@ paths: application/json: schema: type: array - items: *301 + items: *300 examples: - default: *303 + default: *302 headers: Link: *52 '404': *6 @@ -86049,8 +85437,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: + - *307 - *308 - - *309 - *77 requestBody: required: true @@ -86083,16 +85471,16 @@ paths: description: Reaction exists content: application/json: - schema: *301 + schema: *300 examples: - default: *302 + default: *301 '201': description: Reaction created content: application/json: - schema: *301 + schema: *300 examples: - default: *302 + default: *301 '422': *15 x-github: githubCloudOnly: false @@ -86114,10 +85502,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: + - *307 - *308 - - *309 - *77 - - *304 + - *303 responses: '204': description: Response @@ -86160,9 +85548,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: + - *307 - *308 - - *309 - - &547 + - &545 name: pull_number description: The number that identifies the pull request. in: path @@ -86175,9 +85563,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *545 + schema: *543 examples: - default: *546 + default: *544 '304': *35 '404': *6 '406': @@ -86212,9 +85600,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: + - *307 - *308 - - *309 - - *547 + - *545 requestBody: required: false content: @@ -86256,9 +85644,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *543 examples: - default: *546 + default: *544 '422': *15 '403': *27 x-github: @@ -86280,9 +85668,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: + - *307 - *308 - - *309 - - *547 + - *545 requestBody: required: true content: @@ -86345,7 +85733,7 @@ paths: application/json: schema: *210 examples: - default: *429 + default: *426 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -86353,7 +85741,7 @@ paths: application/json: schema: *210 examples: - default: *429 + default: *426 '401': *23 '403': *27 '404': *6 @@ -86383,9 +85771,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: + - *307 - *308 - - *309 - - *547 + - *545 - *87 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -86406,9 +85794,9 @@ paths: application/json: schema: type: array - items: *543 + items: *541 examples: - default: *548 + default: *546 headers: Link: *52 x-github: @@ -86441,9 +85829,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: + - *307 - *308 - - *309 - - *547 + - *545 requestBody: required: true content: @@ -86549,7 +85937,7 @@ paths: description: Response content: application/json: - schema: *543 + schema: *541 examples: example-for-a-multi-line-comment: value: @@ -86637,9 +86025,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: + - *307 - *308 - - *309 - - *547 + - *545 - *77 requestBody: required: true @@ -86662,7 +86050,7 @@ paths: description: Response content: application/json: - schema: *543 + schema: *541 examples: default: value: @@ -86748,9 +86136,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: + - *307 - *308 - - *309 - - *547 + - *545 - *17 - *19 responses: @@ -86760,9 +86148,9 @@ paths: application/json: schema: type: array - items: *438 + items: *435 examples: - default: *549 + default: *547 headers: Link: *52 x-github: @@ -86792,9 +86180,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: + - *307 - *308 - - *309 - - *547 + - *545 - *17 - *19 responses: @@ -86804,7 +86192,7 @@ paths: application/json: schema: type: array - items: *449 + items: *446 examples: default: value: @@ -86842,9 +86230,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: + - *307 - *308 - - *309 - - *547 + - *545 responses: '204': description: Response if pull request has been merged @@ -86867,9 +86255,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: + - *307 - *308 - - *309 - - *547 + - *545 requestBody: required: false content: @@ -86981,9 +86369,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: + - *307 - *308 - - *309 - - *547 + - *545 responses: '200': description: Response @@ -87058,9 +86446,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: + - *307 - *308 - - *309 - - *547 + - *545 requestBody: required: false content: @@ -87097,7 +86485,7 @@ paths: description: Response content: application/json: - schema: *442 + schema: *439 examples: default: value: @@ -87633,9 +87021,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: + - *307 - *308 - - *309 - - *547 + - *545 requestBody: required: true content: @@ -87669,7 +87057,7 @@ paths: description: Response content: application/json: - schema: *442 + schema: *439 examples: default: value: @@ -88174,9 +87562,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: + - *307 - *308 - - *309 - - *547 + - *545 - *17 - *19 responses: @@ -88186,7 +87574,7 @@ paths: application/json: schema: type: array - items: &550 + items: &548 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -88342,9 +87730,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: + - *307 - *308 - - *309 - - *547 + - *545 requestBody: required: false content: @@ -88434,9 +87822,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *548 examples: - default: &552 + default: &550 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -88499,10 +87887,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: + - *307 - *308 - - *309 - - *547 - - &551 + - *545 + - &549 name: review_id description: The unique identifier of the review. in: path @@ -88514,9 +87902,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *548 examples: - default: &553 + default: &551 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -88575,10 +87963,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: + - *307 - *308 - - *309 - - *547 - - *551 + - *545 + - *549 requestBody: required: true content: @@ -88601,7 +87989,7 @@ paths: description: Response content: application/json: - schema: *550 + schema: *548 examples: default: value: @@ -88663,18 +88051,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: + - *307 - *308 - - *309 - - *547 - - *551 + - *545 + - *549 responses: '200': description: Response content: application/json: - schema: *550 + schema: *548 examples: - default: *552 + default: *550 '422': *7 '404': *6 x-github: @@ -88701,10 +88089,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: + - *307 - *308 - - *309 - - *547 - - *551 + - *545 + - *549 - *17 - *19 responses: @@ -88802,9 +88190,9 @@ paths: _links: type: object properties: - self: *244 - html: *244 - pull_request: *244 + self: *243 + html: *243 + pull_request: *243 required: - self - html @@ -88962,10 +88350,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: + - *307 - *308 - - *309 - - *547 - - *551 + - *545 + - *549 requestBody: required: true content: @@ -88994,7 +88382,7 @@ paths: description: Response content: application/json: - schema: *550 + schema: *548 examples: default: value: @@ -89057,10 +88445,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: + - *307 - *308 - - *309 - - *547 - - *551 + - *545 + - *549 requestBody: required: true content: @@ -89095,9 +88483,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *548 examples: - default: *553 + default: *551 '404': *6 '422': *7 '403': *27 @@ -89119,9 +88507,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: + - *307 - *308 - - *309 - - *547 + - *545 requestBody: required: false content: @@ -89185,8 +88573,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: + - *307 - *308 - - *309 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -89199,9 +88587,9 @@ paths: description: Response content: application/json: - schema: *554 + schema: *552 examples: - default: &555 + default: &553 value: type: file encoding: base64 @@ -89243,8 +88631,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: + - *307 - *308 - - *309 - name: dir description: The alternate path to look for a README file in: path @@ -89264,9 +88652,9 @@ paths: description: Response content: application/json: - schema: *554 + schema: *552 examples: - default: *555 + default: *553 '404': *6 '422': *15 x-github: @@ -89288,8 +88676,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: + - *307 - *308 - - *309 - *17 - *19 responses: @@ -89299,7 +88687,7 @@ paths: application/json: schema: type: array - items: &556 + items: &554 title: Release description: A release. type: object @@ -89381,7 +88769,7 @@ paths: author: *4 assets: type: array - items: &557 + items: &555 title: Release Asset description: Data related to a release. type: object @@ -89568,8 +88956,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -89645,9 +89033,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *554 examples: - default: &560 + default: &558 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -89752,9 +89140,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: + - *307 - *308 - - *309 - - &558 + - &556 name: asset_id description: The unique identifier of the asset. in: path @@ -89766,9 +89154,9 @@ paths: description: Response content: application/json: - schema: *557 + schema: *555 examples: - default: &559 + default: &557 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 @@ -89803,7 +89191,7 @@ paths: type: User site_admin: false '404': *6 - '302': *451 + '302': *448 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89819,9 +89207,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: + - *307 - *308 - - *309 - - *558 + - *556 requestBody: required: false content: @@ -89850,9 +89238,9 @@ paths: description: Response content: application/json: - schema: *557 + schema: *555 examples: - default: *559 + default: *557 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89868,9 +89256,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: + - *307 - *308 - - *309 - - *558 + - *556 responses: '204': description: Response @@ -89894,8 +89282,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -89981,16 +89369,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: + - *307 - *308 - - *309 responses: '200': description: Response content: application/json: - schema: *556 + schema: *554 examples: - default: *560 + default: *558 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90007,8 +89395,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: + - *307 - *308 - - *309 - name: tag description: tag parameter in: path @@ -90021,9 +89409,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *554 examples: - default: *560 + default: *558 '404': *6 x-github: githubCloudOnly: false @@ -90045,9 +89433,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: + - *307 - *308 - - *309 - - &561 + - &559 name: release_id description: The unique identifier of the release. in: path @@ -90061,9 +89449,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: *556 + schema: *554 examples: - default: *560 + default: *558 '401': description: Unauthorized x-github: @@ -90081,9 +89469,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: + - *307 - *308 - - *309 - - *561 + - *559 requestBody: required: false content: @@ -90147,9 +89535,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *554 examples: - default: *560 + default: *558 '404': description: Not Found if the discussion category name is invalid content: @@ -90170,9 +89558,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: + - *307 - *308 - - *309 - - *561 + - *559 responses: '204': description: Response @@ -90192,9 +89580,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: + - *307 - *308 - - *309 - - *561 + - *559 - *17 - *19 responses: @@ -90204,7 +89592,7 @@ paths: application/json: schema: type: array - items: *557 + items: *555 examples: default: value: @@ -90285,9 +89673,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: + - *307 - *308 - - *309 - - *561 + - *559 - name: name in: query required: true @@ -90313,7 +89701,7 @@ paths: description: Response for successful upload content: application/json: - schema: *557 + schema: *555 examples: response-for-successful-upload: value: @@ -90368,9 +89756,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: + - *307 - *308 - - *309 - - *561 + - *559 - 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. @@ -90394,9 +89782,9 @@ paths: application/json: schema: type: array - items: *301 + items: *300 examples: - default: *303 + default: *302 headers: Link: *52 '404': *6 @@ -90417,9 +89805,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: + - *307 - *308 - - *309 - - *561 + - *559 requestBody: required: true content: @@ -90449,16 +89837,16 @@ paths: description: Reaction exists content: application/json: - schema: *301 + schema: *300 examples: - default: *302 + default: *301 '201': description: Reaction created content: application/json: - schema: *301 + schema: *300 examples: - default: *302 + default: *301 '422': *15 x-github: githubCloudOnly: false @@ -90480,10 +89868,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: + - *307 - *308 - - *309 - - *561 - - *304 + - *559 + - *303 responses: '204': description: Response @@ -90507,9 +89895,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: + - *307 - *308 - - *309 - - *378 + - *375 - *17 - *19 responses: @@ -90525,8 +89913,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *260 - - &562 + - *259 + - &560 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -90545,69 +89933,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. + - allOf: + - *260 + - *560 - allOf: - *261 - - *562 + - *560 - allOf: - *262 - - *562 + - *560 - allOf: - - *263 - - *562 + - *561 + - *560 - allOf: - - *563 - - *562 + - *263 + - *560 - allOf: - *264 - - *562 + - *560 - allOf: - *265 - - *562 + - *560 - allOf: - *266 - - *562 + - *560 - allOf: - *267 - - *562 + - *560 - allOf: - *268 - - *562 + - *560 - allOf: - *269 - - *562 + - *560 - allOf: - *270 - - *562 + - *560 - allOf: - *271 - - *562 + - *560 - allOf: - *272 - - *562 + - *560 - allOf: - *273 - - *562 + - *560 - allOf: - *274 - - *562 + - *560 - allOf: - *275 - - *562 + - *560 - allOf: - *276 - - *562 + - *560 - allOf: - *277 - - *562 + - *560 - allOf: - *278 - - *562 - - allOf: - - *279 - - *562 + - *560 - allOf: - - *564 - *562 + - *560 examples: default: value: @@ -90646,8 +90034,8 @@ paths: category: repos subcategory: rules parameters: + - *307 - *308 - - *309 - *17 - *19 - name: includes_parents @@ -90658,7 +90046,7 @@ paths: schema: type: boolean default: true - - *565 + - *563 responses: '200': description: Response @@ -90666,7 +90054,7 @@ paths: application/json: schema: type: array - items: *280 + items: *279 examples: default: value: @@ -90713,8 +90101,8 @@ paths: category: repos subcategory: rules parameters: + - *307 - *308 - - *309 requestBody: description: Request body required: true @@ -90734,16 +90122,16 @@ paths: - tag - push default: branch - enforcement: *257 + enforcement: *256 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *258 - conditions: *255 + items: *257 + conditions: *254 rules: type: array description: An array of rules within the ruleset. - items: *566 + items: *564 required: - name - enforcement @@ -90774,9 +90162,9 @@ paths: description: Response content: application/json: - schema: *280 + schema: *279 examples: - default: &576 + default: &574 value: id: 42 name: super cool ruleset @@ -90823,12 +90211,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: + - *307 - *308 - - *309 + - *565 + - *566 - *567 - *568 - - *569 - - *570 - *17 - *19 responses: @@ -90836,9 +90224,9 @@ paths: description: Response content: application/json: - schema: *571 + schema: *569 examples: - default: *572 + default: *570 '404': *6 '500': *96 x-github: @@ -90859,17 +90247,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: + - *307 - *308 - - *309 - - *573 + - *571 responses: '200': description: Response content: application/json: - schema: *574 + schema: *572 examples: - default: *575 + default: *573 '404': *6 '500': *96 x-github: @@ -90897,8 +90285,8 @@ paths: category: repos subcategory: rules parameters: + - *307 - *308 - - *309 - name: ruleset_id description: The ID of the ruleset. in: path @@ -90918,9 +90306,9 @@ paths: description: Response content: application/json: - schema: *280 + schema: *279 examples: - default: *576 + default: *574 '404': *6 '500': *96 put: @@ -90938,8 +90326,8 @@ paths: category: repos subcategory: rules parameters: + - *307 - *308 - - *309 - name: ruleset_id description: The ID of the ruleset. in: path @@ -90964,16 +90352,16 @@ paths: - branch - tag - push - enforcement: *257 + enforcement: *256 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *258 - conditions: *255 + items: *257 + conditions: *254 rules: description: An array of rules within the ruleset. type: array - items: *566 + items: *564 examples: default: value: @@ -91001,9 +90389,9 @@ paths: description: Response content: application/json: - schema: *280 + schema: *279 examples: - default: *576 + default: *574 '404': *6 '500': *96 delete: @@ -91021,8 +90409,8 @@ paths: category: repos subcategory: rules parameters: + - *307 - *308 - - *309 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91045,8 +90433,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: + - *307 - *308 - - *309 - *17 - *19 - name: ruleset_id @@ -91062,9 +90450,9 @@ paths: application/json: schema: type: array - items: *283 + items: *282 examples: - default: *577 + default: *575 '404': *6 '500': *96 x-github: @@ -91083,8 +90471,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: + - *307 - *308 - - *309 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91102,7 +90490,7 @@ paths: description: Response content: application/json: - schema: *578 + schema: *576 examples: default: value: @@ -91157,21 +90545,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: + - *307 - *308 - - *309 + - *577 + - *578 - *579 - *580 - - *581 - - *582 - *46 - *19 - *17 + - *581 + - *582 - *583 - *584 - *585 - *586 - - *587 - - *588 responses: '200': description: Response @@ -91179,7 +90567,7 @@ paths: application/json: schema: type: array - items: &592 + items: &590 type: object properties: number: *151 @@ -91195,8 +90583,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *589 - resolution: *590 + state: *587 + resolution: *588 resolved_at: type: - string @@ -91290,7 +90678,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *591 + - *589 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -91435,16 +90823,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: + - *307 - *308 - - *309 - - *409 - - *588 + - *406 + - *586 responses: '200': description: Response content: application/json: - schema: *592 + schema: *590 examples: default: value: @@ -91496,9 +90884,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: + - *307 - *308 - - *309 - - *409 + - *406 requestBody: required: true content: @@ -91506,8 +90894,8 @@ paths: schema: type: object properties: - state: *589 - resolution: *590 + state: *587 + resolution: *588 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -91526,7 +90914,7 @@ paths: description: Response content: application/json: - schema: *592 + schema: *590 examples: default: value: @@ -91601,9 +90989,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: + - *307 - *308 - - *309 - - *409 + - *406 - *19 - *17 responses: @@ -91614,7 +91002,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &745 + items: &743 type: object properties: type: @@ -91641,6 +91029,8 @@ paths: - commit details: oneOf: + - *591 + - *592 - *593 - *594 - *595 @@ -91652,8 +91042,6 @@ paths: - *601 - *602 - *603 - - *604 - - *605 examples: default: value: @@ -91739,8 +91127,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -91748,14 +91136,14 @@ paths: schema: type: object properties: - reason: &607 + reason: &605 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *606 + placeholder_id: *604 required: - reason - placeholder_id @@ -91772,7 +91160,7 @@ paths: schema: type: object properties: - reason: *607 + reason: *605 expire_at: type: - string @@ -91819,8 +91207,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: + - *307 - *308 - - *309 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -91835,7 +91223,7 @@ paths: properties: incremental_scans: type: array - items: &608 + items: &606 description: Information on a single scan performed by secret scanning on the repository type: object @@ -91863,15 +91251,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *608 + items: *606 backfill_scans: type: array - items: *608 + items: *606 custom_pattern_backfill_scans: type: array items: allOf: - - *608 + - *606 - type: object properties: pattern_name: @@ -91941,8 +91329,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: + - *307 - *308 - - *309 - *46 - name: sort description: The property to sort the results by. @@ -91986,9 +91374,9 @@ paths: application/json: schema: type: array - items: *609 + items: *607 examples: - default: *610 + default: *608 '400': *14 '404': *6 x-github: @@ -92011,8 +91399,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -92092,7 +91480,7 @@ paths: login: type: string description: The username of the user credited. - type: *286 + type: *285 required: - login - type @@ -92182,9 +91570,9 @@ paths: description: Response content: application/json: - schema: *609 + schema: *607 examples: - default: &612 + default: &610 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -92417,8 +91805,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -92531,7 +91919,7 @@ paths: description: Response content: application/json: - schema: *609 + schema: *607 examples: default: value: @@ -92678,17 +92066,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: + - *307 - *308 - - *309 - - *611 + - *609 responses: '200': description: Response content: application/json: - schema: *609 + schema: *607 examples: - default: *612 + default: *610 '403': *27 '404': *6 x-github: @@ -92712,9 +92100,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: + - *307 - *308 - - *309 - - *611 + - *609 requestBody: required: true content: @@ -92794,7 +92182,7 @@ paths: login: type: string description: The username of the user credited. - type: *286 + type: *285 required: - login - type @@ -92885,10 +92273,10 @@ paths: description: Response content: application/json: - schema: *609 + schema: *607 examples: - default: *612 - add_credit: *612 + default: *610 + add_credit: *610 '403': *27 '404': *6 '422': @@ -92926,9 +92314,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: + - *307 - *308 - - *309 - - *611 + - *609 responses: '202': *37 '400': *14 @@ -92955,17 +92343,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: + - *307 - *308 - - *309 - - *611 + - *609 responses: '202': description: Response content: application/json: - schema: *316 + schema: *313 examples: - default: *318 + default: *315 '400': *14 '422': *15 '403': *27 @@ -92991,8 +92379,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: + - *307 - *308 - - *309 - *17 - *19 responses: @@ -93088,8 +92476,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: + - *307 - *308 - - *309 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -93098,7 +92486,7 @@ paths: application/json: schema: type: array - items: &613 + items: &611 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -93131,8 +92519,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: + - *307 - *308 - - *309 responses: '200': description: Response @@ -93210,8 +92598,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: + - *307 - *308 - - *309 responses: '200': description: Response @@ -93305,8 +92693,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: + - *307 - *308 - - *309 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -93460,8 +92848,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: + - *307 - *308 - - *309 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -93471,7 +92859,7 @@ paths: application/json: schema: type: array - items: *613 + items: *611 examples: default: value: @@ -93504,8 +92892,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: + - *307 - *308 - - *309 - name: sha in: path required: true @@ -93561,7 +92949,7 @@ paths: description: Response content: application/json: - schema: *614 + schema: *612 examples: default: value: @@ -93615,8 +93003,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: + - *307 - *308 - - *309 - *17 - *19 responses: @@ -93648,14 +93036,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: + - *307 - *308 - - *309 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &615 + schema: &613 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -93728,8 +93116,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: + - *307 - *308 - - *309 requestBody: required: false content: @@ -93755,7 +93143,7 @@ paths: description: Response content: application/json: - schema: *615 + schema: *613 examples: default: value: @@ -93782,8 +93170,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: + - *307 - *308 - - *309 responses: '204': description: Response @@ -93803,8 +93191,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: + - *307 - *308 - - *309 - *17 - *19 responses: @@ -93886,8 +93274,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: + - *307 - *308 - - *309 responses: '200': description: Response @@ -93895,7 +93283,7 @@ paths: application/json: schema: type: array - items: &616 + items: &614 title: Tag protection description: Tag protection type: object @@ -93952,8 +93340,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: + - *307 - *308 - - *309 requestBody: required: true content: @@ -93976,7 +93364,7 @@ paths: description: Response content: application/json: - schema: *616 + schema: *614 examples: default: value: @@ -94007,8 +93395,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: + - *307 - *308 - - *309 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -94045,8 +93433,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: + - *307 - *308 - - *309 - name: ref in: path required: true @@ -94082,8 +93470,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: + - *307 - *308 - - *309 - *17 - *19 responses: @@ -94115,8 +93503,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: + - *307 - *308 - - *309 - *19 - *17 responses: @@ -94124,7 +93512,7 @@ paths: description: Response content: application/json: - schema: &617 + schema: &615 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -94136,7 +93524,7 @@ paths: required: - names examples: - default: &618 + default: &616 value: names: - octocat @@ -94159,8 +93547,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -94191,9 +93579,9 @@ paths: description: Response content: application/json: - schema: *617 + schema: *615 examples: - default: *618 + default: *616 '404': *6 '422': *7 x-github: @@ -94214,9 +93602,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: + - *307 - *308 - - *309 - - &619 + - &617 name: per description: The time frame to display results for. in: query @@ -94247,7 +93635,7 @@ paths: - 128 clones: type: array - items: &620 + items: &618 title: Traffic type: object properties: @@ -94334,8 +93722,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: + - *307 - *308 - - *309 responses: '200': description: Response @@ -94429,8 +93817,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: + - *307 - *308 - - *309 responses: '200': description: Response @@ -94493,9 +93881,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: + - *307 - *308 - - *309 - - *619 + - *617 responses: '200': description: Response @@ -94516,7 +93904,7 @@ paths: - 3782 views: type: array - items: *620 + items: *618 required: - uniques - count @@ -94593,8 +93981,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: + - *307 - *308 - - *309 requestBody: required: true content: @@ -94868,8 +94256,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: + - *307 - *308 - - *309 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -94892,8 +94280,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: + - *307 - *308 - - *309 responses: '204': description: Response @@ -94915,8 +94303,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: + - *307 - *308 - - *309 responses: '204': description: Response @@ -94942,8 +94330,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: + - *307 - *308 - - *309 - name: ref in: path required: true @@ -95035,9 +94423,9 @@ paths: description: Response content: application/json: - schema: *316 + schema: *313 examples: - default: *318 + default: *315 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -95286,7 +94674,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &621 + text_matches: &619 title: Search Result Text Matches type: array items: @@ -95449,7 +94837,7 @@ paths: enum: - author-date - committer-date - - &622 + - &620 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 @@ -95518,7 +94906,7 @@ paths: committer: anyOf: - type: 'null' - - *376 + - *373 comment_count: type: integer message: @@ -95537,7 +94925,7 @@ paths: url: type: string format: uri - verification: *487 + verification: *484 required: - author - committer @@ -95552,7 +94940,7 @@ paths: committer: anyOf: - type: 'null' - - *376 + - *373 parents: type: array items: @@ -95569,7 +94957,7 @@ paths: type: number node_id: type: string - text_matches: *621 + text_matches: *619 required: - sha - node_id @@ -95761,7 +95149,7 @@ paths: - interactions - created - updated - - *622 + - *620 - *17 - *19 - name: advanced_search @@ -95858,11 +95246,11 @@ paths: type: - string - 'null' - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *621 + issue_dependencies_summary: *622 issue_field_values: type: array - items: *625 + items: *623 state: type: string state_reason: @@ -95876,7 +95264,7 @@ paths: milestone: anyOf: - type: 'null' - - *243 + - *242 comments: type: integer created_at: @@ -95890,7 +95278,7 @@ paths: - string - 'null' format: date-time - text_matches: *621 + text_matches: *619 pull_request: type: object properties: @@ -96113,7 +95501,7 @@ paths: enum: - created - updated - - *622 + - *620 - *17 - *19 responses: @@ -96158,7 +95546,7 @@ paths: - 'null' score: type: number - text_matches: *621 + text_matches: *619 required: - id - node_id @@ -96243,7 +95631,7 @@ paths: - forks - help-wanted-issues - updated - - *622 + - *620 - *17 - *19 responses: @@ -96480,7 +95868,7 @@ paths: - admin - pull - push - text_matches: *621 + text_matches: *619 temp_clone_token: type: string allow_merge_commit: @@ -96788,7 +96176,7 @@ paths: - string - 'null' format: uri - text_matches: *621 + text_matches: *619 related: type: - array @@ -96981,7 +96369,7 @@ paths: - followers - repositories - joined - - *622 + - *620 - *17 - *19 responses: @@ -97091,7 +96479,7 @@ paths: type: - boolean - 'null' - text_matches: *621 + text_matches: *619 blog: type: - string @@ -97173,7 +96561,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &626 + - &624 name: team_id description: The unique identifier of the team. in: path @@ -97185,9 +96573,9 @@ paths: description: Response content: application/json: - schema: *293 + schema: *292 examples: - default: *294 + default: *293 '404': *6 x-github: githubCloudOnly: false @@ -97214,7 +96602,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *626 + - *624 requestBody: required: true content: @@ -97278,16 +96666,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *293 + schema: *292 examples: - default: *294 + default: *293 '201': description: Response content: application/json: - schema: *293 + schema: *292 examples: - default: *294 + default: *293 '404': *6 '422': *15 '403': *27 @@ -97315,7 +96703,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *626 + - *624 responses: '204': description: Response @@ -97346,7 +96734,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *626 + - *624 - *46 - *17 - *19 @@ -97357,9 +96745,9 @@ paths: application/json: schema: type: array - items: *295 + items: *294 examples: - default: *627 + default: *625 headers: Link: *52 x-github: @@ -97388,7 +96776,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *626 + - *624 requestBody: required: true content: @@ -97422,9 +96810,9 @@ paths: description: Response content: application/json: - schema: *295 + schema: *294 examples: - default: *296 + default: *295 x-github: triggersNotification: true githubCloudOnly: false @@ -97451,16 +96839,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *626 - - *297 + - *624 + - *296 responses: '200': description: Response content: application/json: - schema: *295 + schema: *294 examples: - default: *296 + default: *295 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97485,8 +96873,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *626 - - *297 + - *624 + - *296 requestBody: required: false content: @@ -97509,9 +96897,9 @@ paths: description: Response content: application/json: - schema: *295 + schema: *294 examples: - default: *628 + default: *626 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97536,8 +96924,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *626 - - *297 + - *624 + - *296 responses: '204': description: Response @@ -97566,8 +96954,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *626 - - *297 + - *624 + - *296 - *46 - *17 - *19 @@ -97578,9 +96966,9 @@ paths: application/json: schema: type: array - items: *298 + items: *297 examples: - default: *629 + default: *627 headers: Link: *52 x-github: @@ -97609,8 +96997,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *626 - - *297 + - *624 + - *296 requestBody: required: true content: @@ -97632,9 +97020,9 @@ paths: description: Response content: application/json: - schema: *298 + schema: *297 examples: - default: *299 + default: *298 x-github: triggersNotification: true githubCloudOnly: false @@ -97661,17 +97049,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *626 - - *297 - - *300 + - *624 + - *296 + - *299 responses: '200': description: Response content: application/json: - schema: *298 + schema: *297 examples: - default: *299 + default: *298 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97696,9 +97084,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *626 - - *297 - - *300 + - *624 + - *296 + - *299 requestBody: required: true content: @@ -97720,9 +97108,9 @@ paths: description: Response content: application/json: - schema: *298 + schema: *297 examples: - default: *630 + default: *628 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97747,9 +97135,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *626 - - *297 - - *300 + - *624 + - *296 + - *299 responses: '204': description: Response @@ -97778,9 +97166,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *626 - - *297 - - *300 + - *624 + - *296 + - *299 - 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. @@ -97806,9 +97194,9 @@ paths: application/json: schema: type: array - items: *301 + items: *300 examples: - default: *303 + default: *302 headers: Link: *52 x-github: @@ -97837,9 +97225,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *626 - - *297 - - *300 + - *624 + - *296 + - *299 requestBody: required: true content: @@ -97871,9 +97259,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *300 examples: - default: *302 + default: *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97899,8 +97287,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *626 - - *297 + - *624 + - *296 - 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. @@ -97926,9 +97314,9 @@ paths: application/json: schema: type: array - items: *301 + items: *300 examples: - default: *303 + default: *302 headers: Link: *52 x-github: @@ -97957,8 +97345,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *626 - - *297 + - *624 + - *296 requestBody: required: true content: @@ -97990,9 +97378,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *300 examples: - default: *302 + default: *301 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98016,7 +97404,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *626 + - *624 - *17 - *19 responses: @@ -98054,7 +97442,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *626 + - *624 - name: role description: Filters members returned by their role in the team. in: query @@ -98105,7 +97493,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *626 + - *624 - *57 responses: '204': @@ -98142,7 +97530,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *626 + - *624 - *57 responses: '204': @@ -98182,7 +97570,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *626 + - *624 - *57 responses: '204': @@ -98219,16 +97607,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *626 + - *624 - *57 responses: '200': description: Response content: application/json: - schema: *305 + schema: *304 examples: - response-if-user-is-a-team-maintainer: *631 + response-if-user-is-a-team-maintainer: *629 '404': *6 x-github: githubCloudOnly: false @@ -98261,7 +97649,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *626 + - *624 - *57 requestBody: required: false @@ -98287,9 +97675,9 @@ paths: description: Response content: application/json: - schema: *305 + schema: *304 examples: - response-if-users-membership-with-team-is-now-pending: *632 + response-if-users-membership-with-team-is-now-pending: *630 '403': description: Forbidden if team synchronization is set up '422': @@ -98323,7 +97711,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *626 + - *624 - *57 responses: '204': @@ -98352,7 +97740,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *626 + - *624 - *17 - *19 responses: @@ -98362,9 +97750,9 @@ paths: application/json: schema: type: array - items: *306 + items: *305 examples: - default: *633 + default: *631 headers: Link: *52 '404': *6 @@ -98390,16 +97778,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *626 - - *307 + - *624 + - *306 responses: '200': description: Response content: application/json: - schema: *306 + schema: *305 examples: - default: *634 + default: *632 '404': description: Not Found if project is not managed by this team x-github: @@ -98423,8 +97811,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *626 - - *307 + - *624 + - *306 requestBody: required: false content: @@ -98491,8 +97879,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *626 - - *307 + - *624 + - *306 responses: '204': description: Response @@ -98519,7 +97907,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *626 + - *624 - *17 - *19 responses: @@ -98561,15 +97949,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *626 + - *624 + - *307 - *308 - - *309 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *635 + schema: *633 examples: alternative-response-with-extra-repository-information: value: @@ -98720,9 +98108,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *626 + - *624 + - *307 - *308 - - *309 requestBody: required: false content: @@ -98772,9 +98160,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *626 + - *624 + - *307 - *308 - - *309 responses: '204': description: Response @@ -98799,7 +98187,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *626 + - *624 - *17 - *19 responses: @@ -98811,7 +98199,7 @@ paths: type: array items: *169 examples: - response-if-child-teams-exist: *636 + response-if-child-teams-exist: *634 headers: Link: *52 '404': *6 @@ -98844,7 +98232,7 @@ paths: application/json: schema: oneOf: - - &638 + - &636 title: Private User description: Private User type: object @@ -99094,7 +98482,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *637 + - *635 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -99254,7 +98642,7 @@ paths: description: Response content: application/json: - schema: *638 + schema: *636 examples: default: value: @@ -99600,7 +98988,7 @@ paths: application/json: schema: *210 examples: - default: *429 + default: *426 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -99608,7 +98996,7 @@ paths: application/json: schema: *210 examples: - default: *429 + default: *426 '401': *23 '403': *27 '404': *6 @@ -99652,7 +99040,7 @@ paths: type: integer secrets: type: array - items: &639 + items: &637 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -99694,7 +99082,7 @@ paths: - visibility - selected_repositories_url examples: - default: *431 + default: *428 headers: Link: *52 x-github: @@ -99772,7 +99160,7 @@ paths: description: Response content: application/json: - schema: *639 + schema: *637 examples: default: value: @@ -99918,7 +99306,7 @@ paths: type: array items: *135 examples: - default: *640 + default: *638 '401': *23 '403': *27 '404': *6 @@ -100070,7 +99458,7 @@ paths: application/json: schema: *210 examples: - default: *429 + default: *426 '304': *35 '500': *96 '401': *23 @@ -100128,7 +99516,7 @@ paths: application/json: schema: *210 examples: - default: *429 + default: *426 '401': *23 '403': *27 '404': *6 @@ -100185,7 +99573,7 @@ paths: description: Response content: application/json: - schema: &641 + schema: &639 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -100238,7 +99626,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &642 + default: &640 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -100283,9 +99671,9 @@ paths: description: Response content: application/json: - schema: *641 + schema: *639 examples: - default: *642 + default: *640 '404': *6 x-github: githubCloudOnly: false @@ -100322,9 +99710,9 @@ paths: type: integer machines: type: array - items: *430 + items: *427 examples: - default: *643 + default: *641 '304': *35 '500': *96 '401': *23 @@ -100409,11 +99797,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *316 + repository: *313 machine: anyOf: - type: 'null' - - *430 + - *427 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -101218,7 +100606,7 @@ paths: application/json: schema: *210 examples: - default: *429 + default: *426 '304': *35 '500': *96 '400': *14 @@ -101258,7 +100646,7 @@ paths: application/json: schema: *210 examples: - default: *429 + default: *426 '500': *96 '401': *23 '403': *27 @@ -101290,7 +100678,7 @@ paths: type: array items: *222 examples: - default: &654 + default: &652 value: - id: 197 name: hello_docker @@ -101391,7 +100779,7 @@ paths: application/json: schema: type: array - items: &644 + items: &642 title: Email description: Email type: object @@ -101461,9 +100849,9 @@ paths: application/json: schema: type: array - items: *644 + items: *642 examples: - default: &656 + default: &654 value: - email: octocat@github.com verified: true @@ -101540,7 +100928,7 @@ paths: application/json: schema: type: array - items: *644 + items: *642 examples: default: value: @@ -101798,7 +101186,7 @@ paths: application/json: schema: type: array - items: &645 + items: &643 title: GPG Key description: A unique encryption key type: object @@ -101943,7 +101331,7 @@ paths: - subkeys - revoked examples: - default: &670 + default: &668 value: - id: 3 name: Octocat's GPG Key @@ -102028,9 +101416,9 @@ paths: description: Response content: application/json: - schema: *645 + schema: *643 examples: - default: &646 + default: &644 value: id: 3 name: Octocat's GPG Key @@ -102087,7 +101475,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &647 + - &645 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -102099,9 +101487,9 @@ paths: description: Response content: application/json: - schema: *645 + schema: *643 examples: - default: *646 + default: *644 '404': *6 '304': *35 '403': *27 @@ -102124,7 +101512,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *647 + - *645 responses: '204': description: Response @@ -102429,7 +101817,7 @@ paths: required: true content: application/json: - schema: *498 + schema: *495 examples: default: value: @@ -102579,7 +101967,7 @@ paths: application/json: schema: type: array - items: &648 + items: &646 title: Key description: Key type: object @@ -102682,9 +102070,9 @@ paths: description: Response content: application/json: - schema: *648 + schema: *646 examples: - default: &649 + default: &647 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -102717,15 +102105,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *525 + - *523 responses: '200': description: Response content: application/json: - schema: *648 + schema: *646 examples: - default: *649 + default: *647 '404': *6 '304': *35 '403': *27 @@ -102748,7 +102136,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *525 + - *523 responses: '204': description: Response @@ -102781,7 +102169,7 @@ paths: application/json: schema: type: array - items: &650 + items: &648 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -102860,7 +102248,7 @@ paths: - account - plan examples: - default: &651 + default: &649 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -102922,9 +102310,9 @@ paths: application/json: schema: type: array - items: *650 + items: *648 examples: - default: *651 + default: *649 headers: Link: *52 '304': *35 @@ -103928,7 +103316,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *217 - - *652 + - *650 responses: '204': description: Response @@ -104043,7 +103431,7 @@ paths: - docker - nuget - container - - *653 + - *651 - *19 - *17 responses: @@ -104055,8 +103443,8 @@ paths: type: array items: *222 examples: - default: *654 - '400': *655 + default: *652 + '400': *653 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104085,7 +103473,7 @@ paths: application/json: schema: *222 examples: - default: &671 + default: &669 value: id: 40201 name: octo-name @@ -104422,99 +103810,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 - type: string - examples: - - Week One Sprint - body: - description: Body of the project - type: - - string - - 'null' - examples: - - This project represents the sprint of the first week in January - 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: *238 - 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': *35 - '403': *27 - '401': *23 - '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 @@ -104540,9 +103835,9 @@ paths: application/json: schema: type: array - items: *644 + items: *642 examples: - default: *656 + default: *654 headers: Link: *52 '304': *35 @@ -104655,7 +103950,7 @@ paths: type: array items: *64 examples: - default: &663 + default: &661 summary: Default response value: - id: 1296269 @@ -104973,9 +104268,9 @@ paths: description: Response content: application/json: - schema: *316 + schema: *313 examples: - default: *318 + default: *315 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -105013,9 +104308,9 @@ paths: application/json: schema: type: array - items: *500 + items: *497 examples: - default: *657 + default: *655 headers: Link: *52 '304': *35 @@ -105094,7 +104389,7 @@ paths: application/json: schema: type: array - items: &658 + items: &656 title: Social account description: Social media account type: object @@ -105111,7 +104406,7 @@ paths: - provider - url examples: - default: &659 + default: &657 value: - provider: twitter url: https://twitter.com/github @@ -105174,9 +104469,9 @@ paths: application/json: schema: type: array - items: *658 + items: *656 examples: - default: *659 + default: *657 '422': *15 '304': *35 '404': *6 @@ -105264,7 +104559,7 @@ paths: application/json: schema: type: array - items: &660 + items: &658 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -105284,7 +104579,7 @@ paths: - title - created_at examples: - default: &686 + default: &684 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -105351,9 +104646,9 @@ paths: description: Response content: application/json: - schema: *660 + schema: *658 examples: - default: &661 + default: &659 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -105384,7 +104679,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: - - &662 + - &660 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -105396,9 +104691,9 @@ paths: description: Response content: application/json: - schema: *660 + schema: *658 examples: - default: *661 + default: *659 '404': *6 '304': *35 '403': *27 @@ -105421,7 +104716,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: - - *662 + - *660 responses: '204': description: Response @@ -105450,7 +104745,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &687 + - &685 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 @@ -105475,11 +104770,11 @@ paths: type: array items: *64 examples: - default-response: *663 + default-response: *661 application/vnd.github.v3.star+json: schema: type: array - items: &688 + items: &686 title: Starred Repository description: Starred Repository type: object @@ -105635,8 +104930,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: + - *307 - *308 - - *309 responses: '204': description: Response if this repository is starred by you @@ -105664,8 +104959,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: + - *307 - *308 - - *309 responses: '204': description: Response @@ -105689,8 +104984,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: + - *307 - *308 - - *309 responses: '204': description: Response @@ -105762,7 +105057,7 @@ paths: application/json: schema: type: array - items: *293 + items: *292 examples: default: value: @@ -105848,10 +105143,10 @@ paths: application/json: schema: oneOf: - - *638 - - *637 + - *636 + - *635 examples: - default-response: &665 + default-response: &663 summary: Default response value: login: octocat @@ -105886,7 +105181,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &666 + response-with-git-hub-plan-information: &664 summary: Response with GitHub plan information value: login: octocat @@ -105946,7 +105241,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *664 + - *662 - *17 responses: '200': @@ -105995,11 +105290,11 @@ paths: application/json: schema: oneOf: - - *638 - - *637 + - *636 + - *635 examples: - default-response: *665 - response-with-git-hub-plan-information: *666 + default-response: *663 + response-with-git-hub-plan-information: *664 '404': *6 x-github: githubCloudOnly: false @@ -106049,8 +105344,8 @@ paths: required: - subject_digests examples: - default: *667 - withPredicateType: *668 + default: *665 + withPredicateType: *666 responses: '200': description: Response @@ -106104,7 +105399,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *669 + default: *667 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106309,7 +105604,7 @@ paths: initiator: type: string examples: - default: *372 + default: *369 '201': description: Response content: @@ -106350,7 +105645,7 @@ paths: type: array items: *222 examples: - default: *654 + default: *652 '403': *27 '401': *23 x-github: @@ -106734,9 +106029,9 @@ paths: application/json: schema: type: array - items: *645 + items: *643 examples: - default: *670 + default: *668 headers: Link: *52 x-github: @@ -106840,7 +106135,7 @@ paths: application/json: schema: *20 examples: - default: *497 + default: *494 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106965,7 +106260,7 @@ paths: - docker - nuget - container - - *653 + - *651 - *57 - *19 - *17 @@ -106978,10 +106273,10 @@ paths: type: array items: *222 examples: - default: *654 + default: *652 '403': *27 '401': *23 - '400': *655 + '400': *653 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107011,7 +106306,7 @@ paths: application/json: schema: *222 examples: - default: *671 + default: *669 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107262,87 +106557,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: - - *57 - - 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: *238 - 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: *52 - '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 @@ -107372,9 +106586,9 @@ paths: application/json: schema: type: array - items: *239 + items: *238 examples: - default: *240 + default: *239 headers: Link: *52 '304': *35 @@ -107396,16 +106610,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *241 + - *240 - *57 responses: '200': description: Response content: application/json: - schema: *239 + schema: *238 examples: - default: *240 + default: *239 headers: Link: *52 '304': *35 @@ -107427,7 +106641,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *241 + - *240 - *57 - *17 - *38 @@ -107439,9 +106653,9 @@ paths: application/json: schema: type: array - items: *242 + items: *241 examples: - default: *672 + default: *670 headers: Link: *52 '304': *35 @@ -107463,17 +106677,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *241 - - *673 + - *240 + - *671 - *57 responses: '200': description: Response content: application/json: - schema: *242 + schema: *241 examples: - default: *674 + default: *672 headers: Link: *52 '304': *35 @@ -107496,7 +106710,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *241 + - *240 - *57 - *38 - *39 @@ -107529,9 +106743,9 @@ paths: application/json: schema: type: array - items: *247 + items: *246 examples: - default: *248 + default: *247 headers: Link: *52 '304': *35 @@ -107553,7 +106767,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - *57 - - *241 + - *240 requestBody: required: true description: Details of the item to add to the project. @@ -107590,10 +106804,10 @@ paths: description: Response content: application/json: - schema: *675 + schema: *673 examples: - issue: *246 - pull_request: *246 + issue: *245 + pull_request: *245 '304': *35 '403': *27 '401': *23 @@ -107613,9 +106827,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *241 + - *240 - *57 - - *249 + - *248 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -107635,9 +106849,9 @@ paths: description: Response content: application/json: - schema: *247 + schema: *246 examples: - default: *248 + default: *247 headers: Link: *52 '304': *35 @@ -107658,9 +106872,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *241 + - *240 - *57 - - *249 + - *248 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -107733,13 +106947,13 @@ paths: description: Response content: application/json: - schema: *247 + schema: *246 examples: - text_field: *248 - number_field: *248 - date_field: *248 - single_select_field: *248 - iteration_field: *248 + text_field: *247 + number_field: *247 + date_field: *247 + single_select_field: *247 + iteration_field: *247 '401': *23 '403': *27 '404': *6 @@ -107759,9 +106973,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *241 + - *240 - *57 - - *249 + - *248 responses: '204': description: Response @@ -108011,9 +107225,9 @@ paths: description: Response content: application/json: - schema: *676 + schema: *674 examples: - default: *677 + default: *675 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108041,9 +107255,9 @@ paths: description: Response content: application/json: - schema: *678 + schema: *676 examples: - default: *679 + default: *677 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108067,7 +107281,7 @@ paths: - *98 - *100 - *99 - - *680 + - *678 - *101 responses: '200': @@ -108204,9 +107418,9 @@ paths: description: Response content: application/json: - schema: *681 + schema: *679 examples: - default: *682 + default: *680 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108228,7 +107442,7 @@ paths: parameters: - *57 - *98 - - *683 + - *681 - *99 responses: '200': @@ -108308,7 +107522,7 @@ paths: subcategory: enhanced-billing "/users/{username}/settings/billing/usage/summary": get: - summary: Get billing usage summary report for a user + summary: Get billing usage summary for a user description: |- > [!NOTE] > This endpoint is in public preview and is subject to change. @@ -108321,18 +107535,18 @@ paths: operationId: billing/get-github-billing-usage-summary-report-user externalDocs: description: API method documentation - url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-summary-report-for-a-user + url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-summary-for-a-user parameters: - *57 - *98 - *100 - *99 - - *684 + - *682 - *101 - - *685 + - *683 responses: '200': - description: Response when getting a billing usage summary report + description: Response when getting a billing usage summary content: application/json: schema: @@ -108463,9 +107677,9 @@ paths: application/json: schema: type: array - items: *658 + items: *656 examples: - default: *659 + default: *657 headers: Link: *52 x-github: @@ -108495,9 +107709,9 @@ paths: application/json: schema: type: array - items: *660 + items: *658 examples: - default: *686 + default: *684 headers: Link: *52 x-github: @@ -108522,7 +107736,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *57 - - *687 + - *685 - *46 - *17 - *19 @@ -108534,11 +107748,11 @@ paths: schema: anyOf: - type: array - items: *688 + items: *686 - type: array items: *64 examples: - default-response: *663 + default-response: *661 headers: Link: *52 x-github: @@ -108698,7 +107912,7 @@ webhooks: type: string enum: - disabled - enterprise: &689 + enterprise: &687 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -108767,7 +107981,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &690 + installation: &688 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -108788,7 +108002,7 @@ webhooks: required: - id - node_id - organization: &691 + organization: &689 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -108861,7 +108075,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &692 + repository: &690 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -109774,10 +108988,10 @@ webhooks: type: string enum: - enabled - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -109853,11 +109067,11 @@ webhooks: type: string enum: - created - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 - rule: &693 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 + rule: &691 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) @@ -110080,11 +109294,11 @@ webhooks: type: string enum: - deleted - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 - rule: *693 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 + rule: *691 sender: *4 required: - action @@ -110272,11 +109486,11 @@ webhooks: - everyone required: - from - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 - rule: *693 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 + rule: *691 sender: *4 required: - action @@ -110360,7 +109574,7 @@ webhooks: type: string enum: - completed - check_run: &695 + check_run: &693 title: CheckRun description: A check performed on the code of a given code change type: object @@ -110425,7 +109639,7 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *389 + items: *386 repository: *135 status: type: string @@ -110470,7 +109684,7 @@ webhooks: - examples: - neutral - deployment: *694 + deployment: *692 details_url: type: string examples: @@ -110530,7 +109744,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *389 + items: *386 started_at: type: string format: date-time @@ -110568,10 +109782,10 @@ webhooks: - output - app - pull_requests - installation: *690 - enterprise: *689 - organization: *691 - repository: *692 + installation: *688 + enterprise: *687 + organization: *689 + repository: *690 sender: *4 required: - check_run @@ -110964,11 +110178,11 @@ webhooks: type: string enum: - created - check_run: *695 - installation: *690 - enterprise: *689 - organization: *691 - repository: *692 + check_run: *693 + installation: *688 + enterprise: *687 + organization: *689 + repository: *690 sender: *4 required: - check_run @@ -111364,11 +110578,11 @@ webhooks: type: string enum: - requested_action - check_run: *695 - installation: *690 - enterprise: *689 - organization: *691 - repository: *692 + check_run: *693 + installation: *688 + enterprise: *687 + organization: *689 + repository: *690 requested_action: description: The action requested by the user. type: object @@ -111773,11 +110987,11 @@ webhooks: type: string enum: - rerequested - check_run: *695 - installation: *690 - enterprise: *689 - organization: *691 - repository: *692 + check_run: *693 + installation: *688 + enterprise: *687 + organization: *689 + repository: *690 sender: *4 required: - check_run @@ -112769,10 +111983,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -113457,10 +112671,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -114139,10 +113353,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -114311,7 +113525,7 @@ webhooks: required: - login - id - dismissed_comment: *404 + dismissed_comment: *401 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -114463,20 +113677,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &696 + commit_oid: &694 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: *689 - installation: *690 - organization: *691 - ref: &697 + enterprise: *687 + installation: *688 + organization: *689 + ref: &695 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: *692 + repository: *690 sender: *4 required: - action @@ -114643,7 +113857,7 @@ webhooks: required: - login - id - dismissed_comment: *404 + dismissed_comment: *401 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -114884,12 +114098,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *696 - enterprise: *689 - installation: *690 - organization: *691 - ref: *697 - repository: *692 + commit_oid: *694 + enterprise: *687 + installation: *688 + organization: *689 + ref: *695 + repository: *690 sender: *4 required: - action @@ -114987,7 +114201,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *404 + dismissed_comment: *401 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -115172,12 +114386,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *696 - enterprise: *689 - installation: *690 - organization: *691 - ref: *697 - repository: *692 + commit_oid: *694 + enterprise: *687 + installation: *688 + organization: *689 + ref: *695 + repository: *690 sender: *4 required: - action @@ -115346,7 +114560,7 @@ webhooks: required: - login - id - dismissed_comment: *404 + dismissed_comment: *401 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -115523,12 +114737,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *696 - enterprise: *689 - installation: *690 - organization: *691 - ref: *697 - repository: *692 + commit_oid: *694 + enterprise: *687 + installation: *688 + organization: *689 + ref: *695 + repository: *690 sender: *4 required: - action @@ -115631,7 +114845,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *404 + dismissed_comment: *401 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -115811,9 +115025,9 @@ webhooks: type: - string - 'null' - enterprise: *689 - installation: *690 - organization: *691 + enterprise: *687 + installation: *688 + organization: *689 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -115821,7 +115035,7 @@ webhooks: type: - string - 'null' - repository: *692 + repository: *690 sender: *4 required: - action @@ -115920,7 +115134,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *404 + dismissed_comment: *401 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -116067,12 +115281,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *696 - enterprise: *689 - installation: *690 - organization: *691 - ref: *697 - repository: *692 + commit_oid: *694 + enterprise: *687 + installation: *688 + organization: *689 + ref: *695 + repository: *690 sender: *4 required: - action @@ -116334,10 +115548,10 @@ webhooks: - updated_at - author_association - body - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -116418,18 +115632,18 @@ webhooks: type: - string - 'null' - enterprise: *689 - installation: *690 + enterprise: *687 + installation: *688 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *691 - pusher_type: &698 + organization: *689 + pusher_type: &696 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &699 + ref: &697 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -116439,7 +115653,7 @@ webhooks: enum: - tag - branch - repository: *692 + repository: *690 sender: *4 required: - ref @@ -116521,10 +115735,10 @@ webhooks: type: string enum: - created - definition: *250 - enterprise: *689 - installation: *690 - organization: *691 + definition: *249 + enterprise: *687 + installation: *688 + organization: *689 sender: *4 required: - action @@ -116609,9 +115823,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *689 - installation: *690 - organization: *691 + enterprise: *687 + installation: *688 + organization: *689 sender: *4 required: - action @@ -116688,10 +115902,10 @@ webhooks: type: string enum: - promote_to_enterprise - definition: *250 - enterprise: *689 - installation: *690 - organization: *691 + definition: *249 + enterprise: *687 + installation: *688 + organization: *689 sender: *4 required: - action @@ -116768,10 +115982,10 @@ webhooks: type: string enum: - updated - definition: *250 - enterprise: *689 - installation: *690 - organization: *691 + definition: *249 + enterprise: *687 + installation: *688 + organization: *689 sender: *4 required: - action @@ -116848,10 +116062,10 @@ webhooks: type: string enum: - updated - enterprise: *689 - installation: *690 - repository: *692 - organization: *691 + enterprise: *687 + installation: *688 + repository: *690 + organization: *689 sender: *4 new_property_values: type: array @@ -116936,18 +116150,18 @@ webhooks: title: delete event type: object properties: - enterprise: *689 - installation: *690 - organization: *691 - pusher_type: *698 - ref: *699 + enterprise: *687 + installation: *688 + organization: *689 + pusher_type: *696 + ref: *697 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *692 + repository: *690 sender: *4 required: - ref @@ -117031,11 +116245,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *456 - installation: *690 - organization: *691 - enterprise: *689 - repository: *692 + alert: *453 + installation: *688 + organization: *689 + enterprise: *687 + repository: *690 sender: *4 required: - action @@ -117119,11 +116333,11 @@ webhooks: type: string enum: - auto_reopened - alert: *456 - installation: *690 - organization: *691 - enterprise: *689 - repository: *692 + alert: *453 + installation: *688 + organization: *689 + enterprise: *687 + repository: *690 sender: *4 required: - action @@ -117207,11 +116421,11 @@ webhooks: type: string enum: - created - alert: *456 - installation: *690 - organization: *691 - enterprise: *689 - repository: *692 + alert: *453 + installation: *688 + organization: *689 + enterprise: *687 + repository: *690 sender: *4 required: - action @@ -117293,11 +116507,11 @@ webhooks: type: string enum: - dismissed - alert: *456 - installation: *690 - organization: *691 - enterprise: *689 - repository: *692 + alert: *453 + installation: *688 + organization: *689 + enterprise: *687 + repository: *690 sender: *4 required: - action @@ -117379,11 +116593,11 @@ webhooks: type: string enum: - fixed - alert: *456 - installation: *690 - organization: *691 - enterprise: *689 - repository: *692 + alert: *453 + installation: *688 + organization: *689 + enterprise: *687 + repository: *690 sender: *4 required: - action @@ -117466,11 +116680,11 @@ webhooks: type: string enum: - reintroduced - alert: *456 - installation: *690 - organization: *691 - enterprise: *689 - repository: *692 + alert: *453 + installation: *688 + organization: *689 + enterprise: *687 + repository: *690 sender: *4 required: - action @@ -117552,11 +116766,11 @@ webhooks: type: string enum: - reopened - alert: *456 - installation: *690 - organization: *691 - enterprise: *689 - repository: *692 + alert: *453 + installation: *688 + organization: *689 + enterprise: *687 + repository: *690 sender: *4 required: - action @@ -117633,9 +116847,9 @@ webhooks: type: string enum: - created - enterprise: *689 - installation: *690 - key: &700 + enterprise: *687 + installation: *688 + key: &698 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -117673,8 +116887,8 @@ webhooks: - verified - created_at - read_only - organization: *691 - repository: *692 + organization: *689 + repository: *690 sender: *4 required: - action @@ -117751,11 +116965,11 @@ webhooks: type: string enum: - deleted - enterprise: *689 - installation: *690 - key: *700 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + key: *698 + organization: *689 + repository: *690 sender: *4 required: - action @@ -118327,12 +117541,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 - workflow: &704 + workflow: &702 title: Workflow type: - object @@ -119070,13 +118284,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *462 + deployment: *459 pull_requests: type: array - items: *545 - repository: *692 - organization: *691 - installation: *690 + items: *543 + repository: *690 + organization: *689 + installation: *688 sender: *4 responses: '200': @@ -119147,7 +118361,7 @@ webhooks: type: string enum: - approved - approver: &701 + approver: &699 type: object properties: avatar_url: @@ -119190,11 +118404,11 @@ webhooks: type: string comment: type: string - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 - reviewers: &702 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 + reviewers: &700 type: array items: type: object @@ -119275,7 +118489,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &703 + workflow_job_run: &701 type: object properties: conclusion: @@ -120021,18 +119235,18 @@ webhooks: type: string enum: - rejected - approver: *701 + approver: *699 comment: type: string - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 - reviewers: *702 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 + reviewers: *700 sender: *4 since: type: string - workflow_job_run: *703 + workflow_job_run: *701 workflow_job_runs: type: array items: @@ -120749,13 +119963,13 @@ webhooks: type: string enum: - requested - enterprise: *689 + enterprise: *687 environment: type: string - installation: *690 - organization: *691 - repository: *692 - requestor: &709 + installation: *688 + organization: *689 + repository: *690 + requestor: &707 title: User type: - object @@ -122698,12 +121912,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 - workflow: *704 + workflow: *702 workflow_run: title: Deployment Workflow Run type: @@ -123394,7 +122608,7 @@ webhooks: type: string enum: - answered - answer: &707 + answer: &705 type: object properties: author_association: @@ -123554,7 +122768,7 @@ webhooks: - created_at - updated_at - body - discussion: &705 + discussion: &703 title: Discussion description: A Discussion in a repository. type: object @@ -123850,7 +123064,7 @@ webhooks: - id labels: type: array - items: *508 + items: *506 required: - repository_url - category @@ -123872,10 +123086,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -124002,11 +123216,11 @@ webhooks: - from required: - category - discussion: *705 - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + discussion: *703 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -124089,11 +123303,11 @@ webhooks: type: string enum: - closed - discussion: *705 - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + discussion: *703 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -124175,7 +123389,7 @@ webhooks: type: string enum: - created - comment: &706 + comment: &704 type: object properties: author_association: @@ -124335,11 +123549,11 @@ webhooks: - updated_at - body - reactions - discussion: *705 - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + discussion: *703 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -124422,12 +123636,12 @@ webhooks: type: string enum: - deleted - comment: *706 - discussion: *705 - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + comment: *704 + discussion: *703 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -124522,12 +123736,12 @@ webhooks: - from required: - body - comment: *706 - discussion: *705 - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + comment: *704 + discussion: *703 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -124611,11 +123825,11 @@ webhooks: type: string enum: - created - discussion: *705 - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + discussion: *703 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -124697,11 +123911,11 @@ webhooks: type: string enum: - deleted - discussion: *705 - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + discussion: *703 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -124801,11 +124015,11 @@ webhooks: type: string required: - from - discussion: *705 - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + discussion: *703 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -124887,10 +124101,10 @@ webhooks: type: string enum: - labeled - discussion: *705 - enterprise: *689 - installation: *690 - label: &708 + discussion: *703 + enterprise: *687 + installation: *688 + label: &706 title: Label type: object properties: @@ -124923,8 +124137,8 @@ webhooks: - color - default - description - organization: *691 - repository: *692 + organization: *689 + repository: *690 sender: *4 required: - action @@ -125007,11 +124221,11 @@ webhooks: type: string enum: - locked - discussion: *705 - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + discussion: *703 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -125093,11 +124307,11 @@ webhooks: type: string enum: - pinned - discussion: *705 - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + discussion: *703 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -125179,11 +124393,11 @@ webhooks: type: string enum: - reopened - discussion: *705 - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + discussion: *703 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -125268,16 +124482,16 @@ webhooks: changes: type: object properties: - new_discussion: *705 - new_repository: *692 + new_discussion: *703 + new_repository: *690 required: - new_discussion - new_repository - discussion: *705 - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + discussion: *703 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -125360,10 +124574,10 @@ webhooks: type: string enum: - unanswered - discussion: *705 - old_answer: *707 - organization: *691 - repository: *692 + discussion: *703 + old_answer: *705 + organization: *689 + repository: *690 sender: *4 required: - action @@ -125445,12 +124659,12 @@ webhooks: type: string enum: - unlabeled - discussion: *705 - enterprise: *689 - installation: *690 - label: *708 - organization: *691 - repository: *692 + discussion: *703 + enterprise: *687 + installation: *688 + label: *706 + organization: *689 + repository: *690 sender: *4 required: - action @@ -125533,11 +124747,11 @@ webhooks: type: string enum: - unlocked - discussion: *705 - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + discussion: *703 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -125619,11 +124833,11 @@ webhooks: type: string enum: - unpinned - discussion: *705 - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + discussion: *703 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -125696,7 +124910,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *689 + enterprise: *687 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -126374,9 +125588,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *690 - organization: *691 - repository: *692 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - forkee @@ -126522,9 +125736,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *689 - installation: *690 - organization: *691 + enterprise: *687 + installation: *688 + organization: *689 pages: description: The pages that were updated. type: array @@ -126562,7 +125776,7 @@ webhooks: - action - sha - html_url - repository: *692 + repository: *690 sender: *4 required: - pages @@ -126638,10 +125852,10 @@ webhooks: type: string enum: - created - enterprise: *689 + enterprise: *687 installation: *20 - organization: *691 - repositories: &710 + organization: *689 + repositories: &708 description: An array of repository objects that the installation can access. type: array @@ -126667,8 +125881,8 @@ webhooks: - name - full_name - private - repository: *692 - requester: *709 + repository: *690 + requester: *707 sender: *4 required: - action @@ -126743,11 +125957,11 @@ webhooks: type: string enum: - deleted - enterprise: *689 + enterprise: *687 installation: *20 - organization: *691 - repositories: *710 - repository: *692 + organization: *689 + repositories: *708 + repository: *690 requester: type: - 'null' @@ -126824,11 +126038,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *689 + enterprise: *687 installation: *20 - organization: *691 - repositories: *710 - repository: *692 + organization: *689 + repositories: *708 + repository: *690 requester: type: - 'null' @@ -126905,10 +126119,10 @@ webhooks: type: string enum: - added - enterprise: *689 + enterprise: *687 installation: *20 - organization: *691 - repositories_added: &711 + organization: *689 + repositories_added: &709 description: An array of repository objects, which were added to the installation. type: array @@ -126954,15 +126168,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *692 - repository_selection: &712 + repository: *690 + repository_selection: &710 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *709 + requester: *707 sender: *4 required: - action @@ -127041,10 +126255,10 @@ webhooks: type: string enum: - removed - enterprise: *689 + enterprise: *687 installation: *20 - organization: *691 - repositories_added: *711 + organization: *689 + repositories_added: *709 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -127071,9 +126285,9 @@ webhooks: - name - full_name - private - repository: *692 - repository_selection: *712 - requester: *709 + repository: *690 + repository_selection: *710 + requester: *707 sender: *4 required: - action @@ -127152,11 +126366,11 @@ webhooks: type: string enum: - suspend - enterprise: *689 + enterprise: *687 installation: *20 - organization: *691 - repositories: *710 - repository: *692 + organization: *689 + repositories: *708 + repository: *690 requester: type: - 'null' @@ -127338,10 +126552,10 @@ webhooks: type: string required: - from - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 target_type: type: string @@ -127420,11 +126634,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *689 + enterprise: *687 installation: *20 - organization: *691 - repositories: *710 - repository: *692 + organization: *689 + repositories: *708 + repository: *690 requester: type: - 'null' @@ -127672,8 +126886,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *689 - installation: *690 + enterprise: *687 + installation: *688 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -128490,8 +127704,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *621 + issue_dependencies_summary: *622 state: description: State of the issue; either 'open' or 'closed' type: string @@ -128852,8 +128066,8 @@ webhooks: - state - locked - assignee - organization: *691 - repository: *692 + organization: *689 + repository: *690 sender: *4 required: - action @@ -128933,7 +128147,7 @@ webhooks: type: string enum: - deleted - comment: &713 + comment: &711 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -129100,8 +128314,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *689 - installation: *690 + enterprise: *687 + installation: *688 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -129914,8 +129128,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *621 + issue_dependencies_summary: *622 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130278,8 +129492,8 @@ webhooks: - state - locked - assignee - organization: *691 - repository: *692 + organization: *689 + repository: *690 sender: *4 required: - action @@ -130359,7 +129573,7 @@ webhooks: type: string enum: - edited - changes: &737 + changes: &735 description: The changes to the comment. type: object properties: @@ -130371,9 +129585,9 @@ webhooks: type: string required: - from - comment: *713 - enterprise: *689 - installation: *690 + comment: *711 + enterprise: *687 + installation: *688 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -131189,8 +130403,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *621 + issue_dependencies_summary: *622 state: description: State of the issue; either 'open' or 'closed' type: string @@ -131551,8 +130765,8 @@ webhooks: - state - locked - assignee - organization: *691 - repository: *692 + organization: *689 + repository: *690 sender: *4 required: - action @@ -131642,9 +130856,9 @@ webhooks: type: number blocking_issue: *78 blocking_issue_repo: *64 - installation: *690 - organization: *691 - repository: *692 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -131738,9 +130952,9 @@ webhooks: type: number blocking_issue: *78 blocking_issue_repo: *64 - installation: *690 - organization: *691 - repository: *692 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -131833,9 +131047,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *78 - installation: *690 - organization: *691 - repository: *692 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -131929,9 +131143,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *78 - installation: *690 - organization: *691 - repository: *692 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -132016,10 +131230,10 @@ webhooks: type: string enum: - assigned - assignee: *709 - enterprise: *689 - installation: *690 - issue: &716 + assignee: *707 + enterprise: *687 + installation: *688 + issue: &714 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -132831,11 +132045,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *621 + issue_dependencies_summary: *622 issue_field_values: type: array - items: *625 + items: *623 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132955,8 +132169,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *691 - repository: *692 + organization: *689 + repository: *690 sender: *4 required: - action @@ -133036,8 +132250,8 @@ webhooks: type: string enum: - closed - enterprise: *689 - installation: *690 + enterprise: *687 + installation: *688 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -133854,11 +133068,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *621 + issue_dependencies_summary: *622 issue_field_values: type: array - items: *625 + items: *623 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134121,8 +133335,8 @@ webhooks: required: - state - closed_at - organization: *691 - repository: *692 + organization: *689 + repository: *690 sender: *4 required: - action @@ -134201,8 +133415,8 @@ webhooks: type: string enum: - deleted - enterprise: *689 - installation: *690 + enterprise: *687 + installation: *688 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135010,11 +134224,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *621 + issue_dependencies_summary: *622 issue_field_values: type: array - items: *625 + items: *623 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135133,8 +134347,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *691 - repository: *692 + organization: *689 + repository: *690 sender: *4 required: - action @@ -135213,8 +134427,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *689 - installation: *690 + enterprise: *687 + installation: *688 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -136045,11 +135259,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *621 + issue_dependencies_summary: *622 issue_field_values: type: array - items: *625 + items: *623 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136147,7 +135361,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &714 + milestone: &712 title: Milestone description: A collection of related issues and pull requests. type: object @@ -136290,8 +135504,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *691 - repository: *692 + organization: *689 + repository: *690 sender: *4 required: - action @@ -136390,8 +135604,8 @@ webhooks: type: string required: - from - enterprise: *689 - installation: *690 + enterprise: *687 + installation: *688 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -137203,11 +136417,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *621 + issue_dependencies_summary: *622 issue_field_values: type: array - items: *625 + items: *623 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137327,9 +136541,9 @@ webhooks: - active_lock_reason - body - reactions - label: *708 - organization: *691 - repository: *692 + label: *706 + organization: *689 + repository: *690 sender: *4 required: - action @@ -137409,8 +136623,8 @@ webhooks: type: string enum: - labeled - enterprise: *689 - installation: *690 + enterprise: *687 + installation: *688 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -138221,11 +137435,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *621 + issue_dependencies_summary: *622 issue_field_values: type: array - items: *625 + items: *623 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138345,9 +137559,9 @@ webhooks: - active_lock_reason - body - reactions - label: *708 - organization: *691 - repository: *692 + label: *706 + organization: *689 + repository: *690 sender: *4 required: - action @@ -138427,8 +137641,8 @@ webhooks: type: string enum: - locked - enterprise: *689 - installation: *690 + enterprise: *687 + installation: *688 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -139264,11 +138478,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *621 + issue_dependencies_summary: *622 issue_field_values: type: array - items: *625 + items: *623 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139365,8 +138579,8 @@ webhooks: format: uri user_view_type: type: string - organization: *691 - repository: *692 + organization: *689 + repository: *690 sender: *4 required: - action @@ -139445,8 +138659,8 @@ webhooks: type: string enum: - milestoned - enterprise: *689 - installation: *690 + enterprise: *687 + installation: *688 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -140276,11 +139490,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *621 + issue_dependencies_summary: *622 issue_field_values: type: array - items: *625 + items: *623 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140377,9 +139591,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *714 - organization: *691 - repository: *692 + milestone: *712 + organization: *689 + repository: *690 sender: *4 required: - action @@ -141271,11 +140485,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *621 + issue_dependencies_summary: *622 issue_field_values: type: array - items: *625 + items: *623 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141852,8 +141066,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *689 - installation: *690 + enterprise: *687 + installation: *688 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -142665,11 +141879,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *621 + issue_dependencies_summary: *622 issue_field_values: type: array - items: *625 + items: *623 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142788,8 +142002,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *691 - repository: *692 + organization: *689 + repository: *690 sender: *4 required: - action @@ -142869,9 +142083,9 @@ webhooks: type: string enum: - pinned - enterprise: *689 - installation: *690 - issue: &715 + enterprise: *687 + installation: *688 + issue: &713 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -143677,11 +142891,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *621 + issue_dependencies_summary: *622 issue_field_values: type: array - items: *625 + items: *623 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143800,8 +143014,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *691 - repository: *692 + organization: *689 + repository: *690 sender: *4 required: - action @@ -143880,8 +143094,8 @@ webhooks: type: string enum: - reopened - enterprise: *689 - installation: *690 + enterprise: *687 + installation: *688 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -144715,11 +143929,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *621 + issue_dependencies_summary: *622 issue_field_values: type: array - items: *625 + items: *623 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144817,8 +144031,8 @@ webhooks: user_view_type: type: string type: *205 - organization: *691 - repository: *692 + organization: *689 + repository: *690 sender: *4 required: - action @@ -145707,11 +144921,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *621 + issue_dependencies_summary: *622 issue_field_values: type: array - items: *625 + items: *623 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146310,11 +145524,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *689 - installation: *690 - issue: *715 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + issue: *713 + organization: *689 + repository: *690 sender: *4 required: - action @@ -146394,12 +145608,12 @@ webhooks: type: string enum: - typed - enterprise: *689 - installation: *690 - issue: *716 + enterprise: *687 + installation: *688 + issue: *714 type: *205 - organization: *691 - repository: *692 + organization: *689 + repository: *690 sender: *4 required: - action @@ -146480,7 +145694,7 @@ webhooks: type: string enum: - unassigned - assignee: &740 + assignee: &738 title: User type: - object @@ -146552,11 +145766,11 @@ webhooks: required: - login - id - enterprise: *689 - installation: *690 - issue: *716 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + issue: *714 + organization: *689 + repository: *690 sender: *4 required: - action @@ -146635,12 +145849,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *689 - installation: *690 - issue: *716 - label: *708 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + issue: *714 + label: *706 + organization: *689 + repository: *690 sender: *4 required: - action @@ -146720,8 +145934,8 @@ webhooks: type: string enum: - unlocked - enterprise: *689 - installation: *690 + enterprise: *687 + installation: *688 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -147555,11 +146769,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *621 + issue_dependencies_summary: *622 issue_field_values: type: array - items: *625 + items: *623 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147656,8 +146870,8 @@ webhooks: format: uri user_view_type: type: string - organization: *691 - repository: *692 + organization: *689 + repository: *690 sender: *4 required: - action @@ -147737,11 +146951,11 @@ webhooks: type: string enum: - unpinned - enterprise: *689 - installation: *690 - issue: *715 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + issue: *713 + organization: *689 + repository: *690 sender: *4 required: - action @@ -147820,12 +147034,12 @@ webhooks: type: string enum: - untyped - enterprise: *689 - installation: *690 - issue: *716 + enterprise: *687 + installation: *688 + issue: *714 type: *205 - organization: *691 - repository: *692 + organization: *689 + repository: *690 sender: *4 required: - action @@ -147905,11 +147119,11 @@ webhooks: type: string enum: - created - enterprise: *689 - installation: *690 - label: *708 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + label: *706 + organization: *689 + repository: *690 sender: *4 required: - action @@ -147987,11 +147201,11 @@ webhooks: type: string enum: - deleted - enterprise: *689 - installation: *690 - label: *708 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + label: *706 + organization: *689 + repository: *690 sender: *4 required: - action @@ -148101,11 +147315,11 @@ webhooks: type: string required: - from - enterprise: *689 - installation: *690 - label: *708 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + label: *706 + organization: *689 + repository: *690 sender: *4 required: - action @@ -148187,9 +147401,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *689 - installation: *690 - marketplace_purchase: &717 + enterprise: *687 + installation: *688 + marketplace_purchase: &715 title: Marketplace Purchase type: object required: @@ -148277,8 +147491,8 @@ webhooks: type: integer unit_count: type: integer - organization: *691 - previous_marketplace_purchase: &718 + organization: *689 + previous_marketplace_purchase: &716 title: Marketplace Purchase type: object properties: @@ -148362,7 +147576,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *692 + repository: *690 sender: *4 required: - action @@ -148442,10 +147656,10 @@ webhooks: - changed effective_date: type: string - enterprise: *689 - installation: *690 - marketplace_purchase: *717 - organization: *691 + enterprise: *687 + installation: *688 + marketplace_purchase: *715 + organization: *689 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -148533,7 +147747,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *692 + repository: *690 sender: *4 required: - action @@ -148615,10 +147829,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *689 - installation: *690 - marketplace_purchase: *717 - organization: *691 + enterprise: *687 + installation: *688 + marketplace_purchase: *715 + organization: *689 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -148704,7 +147918,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *692 + repository: *690 sender: *4 required: - action @@ -148785,8 +147999,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *689 - installation: *690 + enterprise: *687 + installation: *688 marketplace_purchase: title: Marketplace Purchase type: object @@ -148872,9 +148086,9 @@ webhooks: type: integer unit_count: type: integer - organization: *691 - previous_marketplace_purchase: *718 - repository: *692 + organization: *689 + previous_marketplace_purchase: *716 + repository: *690 sender: *4 required: - action @@ -148954,12 +148168,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *689 - installation: *690 - marketplace_purchase: *717 - organization: *691 - previous_marketplace_purchase: *718 - repository: *692 + enterprise: *687 + installation: *688 + marketplace_purchase: *715 + organization: *689 + previous_marketplace_purchase: *716 + repository: *690 sender: *4 required: - action @@ -149061,11 +148275,11 @@ webhooks: type: string required: - to - enterprise: *689 - installation: *690 - member: *709 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + member: *707 + organization: *689 + repository: *690 sender: *4 required: - action @@ -149167,11 +148381,11 @@ webhooks: type: - string - 'null' - enterprise: *689 - installation: *690 - member: *709 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + member: *707 + organization: *689 + repository: *690 sender: *4 required: - action @@ -149250,11 +148464,11 @@ webhooks: type: string enum: - removed - enterprise: *689 - installation: *690 - member: *709 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + member: *707 + organization: *689 + repository: *690 sender: *4 required: - action @@ -149332,11 +148546,11 @@ webhooks: type: string enum: - added - enterprise: *689 - installation: *690 - member: *709 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + member: *707 + organization: *689 + repository: *690 scope: description: The scope of the membership. Currently, can only be `team`. @@ -149414,7 +148628,7 @@ webhooks: required: - login - id - team: &719 + team: &717 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -149644,11 +148858,11 @@ webhooks: type: string enum: - removed - enterprise: *689 - installation: *690 - member: *709 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + member: *707 + organization: *689 + repository: *690 scope: description: The scope of the membership. Currently, can only be `team`. @@ -149727,7 +148941,7 @@ webhooks: required: - login - id - team: *719 + team: *717 required: - action - scope @@ -149809,8 +149023,8 @@ webhooks: type: string enum: - checks_requested - installation: *690 - merge_group: &720 + installation: *688 + merge_group: &718 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -149829,15 +149043,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *393 + head_commit: *390 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *691 - repository: *692 + organization: *689 + repository: *690 sender: *4 required: - action @@ -149923,10 +149137,10 @@ webhooks: - merged - invalidated - dequeued - installation: *690 - merge_group: *720 - organization: *691 - repository: *692 + installation: *688 + merge_group: *718 + organization: *689 + repository: *690 sender: *4 required: - action @@ -149999,7 +149213,7 @@ webhooks: type: string enum: - deleted - enterprise: *689 + enterprise: *687 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -150108,12 +149322,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *690 - organization: *691 + installation: *688 + organization: *689 repository: anyOf: - type: 'null' - - *692 + - *690 sender: *4 required: - action @@ -150193,11 +149407,11 @@ webhooks: type: string enum: - closed - enterprise: *689 - installation: *690 - milestone: *714 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + milestone: *712 + organization: *689 + repository: *690 sender: *4 required: - action @@ -150276,9 +149490,9 @@ webhooks: type: string enum: - created - enterprise: *689 - installation: *690 - milestone: &721 + enterprise: *687 + installation: *688 + milestone: &719 title: Milestone description: A collection of related issues and pull requests. type: object @@ -150420,8 +149634,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *691 - repository: *692 + organization: *689 + repository: *690 sender: *4 required: - action @@ -150500,11 +149714,11 @@ webhooks: type: string enum: - deleted - enterprise: *689 - installation: *690 - milestone: *714 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + milestone: *712 + organization: *689 + repository: *690 sender: *4 required: - action @@ -150614,11 +149828,11 @@ webhooks: type: string required: - from - enterprise: *689 - installation: *690 - milestone: *714 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + milestone: *712 + organization: *689 + repository: *690 sender: *4 required: - action @@ -150698,11 +149912,11 @@ webhooks: type: string enum: - opened - enterprise: *689 - installation: *690 - milestone: *721 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + milestone: *719 + organization: *689 + repository: *690 sender: *4 required: - action @@ -150781,11 +149995,11 @@ webhooks: type: string enum: - blocked - blocked_user: *709 - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + blocked_user: *707 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -150864,11 +150078,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *709 - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + blocked_user: *707 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -150947,9 +150161,9 @@ webhooks: type: string enum: - deleted - enterprise: *689 - installation: *690 - membership: &722 + enterprise: *687 + installation: *688 + membership: &720 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -151059,8 +150273,8 @@ webhooks: - role - organization_url - user - organization: *691 - repository: *692 + organization: *689 + repository: *690 sender: *4 required: - action @@ -151138,11 +150352,11 @@ webhooks: type: string enum: - member_added - enterprise: *689 - installation: *690 - membership: *722 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + membership: *720 + organization: *689 + repository: *690 sender: *4 required: - action @@ -151221,8 +150435,8 @@ webhooks: type: string enum: - member_invited - enterprise: *689 - installation: *690 + enterprise: *687 + installation: *688 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -151344,10 +150558,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *691 - repository: *692 + organization: *689 + repository: *690 sender: *4 - user: *709 + user: *707 required: - action - invitation @@ -151425,11 +150639,11 @@ webhooks: type: string enum: - member_removed - enterprise: *689 - installation: *690 - membership: *722 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + membership: *720 + organization: *689 + repository: *690 sender: *4 required: - action @@ -151516,11 +150730,11 @@ webhooks: properties: from: type: string - enterprise: *689 - installation: *690 - membership: *722 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + membership: *720 + organization: *689 + repository: *690 sender: *4 required: - action @@ -151596,9 +150810,9 @@ webhooks: type: string enum: - published - enterprise: *689 - installation: *690 - organization: *691 + enterprise: *687 + installation: *688 + organization: *689 package: description: Information about the package. type: object @@ -152121,7 +151335,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &723 + items: &721 title: Ruby Gems metadata type: object properties: @@ -152218,7 +151432,7 @@ webhooks: - owner - package_version - registry - repository: *692 + repository: *690 sender: *4 required: - action @@ -152294,9 +151508,9 @@ webhooks: type: string enum: - updated - enterprise: *689 - installation: *690 - organization: *691 + enterprise: *687 + installation: *688 + organization: *689 package: description: Information about the package. type: object @@ -152658,7 +151872,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *723 + items: *721 source_url: type: string format: uri @@ -152729,7 +151943,7 @@ webhooks: - owner - package_version - registry - repository: *692 + repository: *690 sender: *4 required: - action @@ -152910,12 +152124,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *689 + enterprise: *687 id: type: integer - installation: *690 - organization: *691 - repository: *692 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - id @@ -152992,7 +152206,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &724 + personal_access_token_request: &722 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -153142,10 +152356,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *689 - organization: *691 + enterprise: *687 + organization: *689 sender: *4 - installation: *690 + installation: *688 required: - action - personal_access_token_request @@ -153222,11 +152436,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *724 - enterprise: *689 - organization: *691 + personal_access_token_request: *722 + enterprise: *687 + organization: *689 sender: *4 - installation: *690 + installation: *688 required: - action - personal_access_token_request @@ -153302,11 +152516,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *724 - enterprise: *689 - organization: *691 + personal_access_token_request: *722 + enterprise: *687 + organization: *689 sender: *4 - installation: *690 + installation: *688 required: - action - personal_access_token_request @@ -153381,11 +152595,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *724 - organization: *691 - enterprise: *689 + personal_access_token_request: *722 + organization: *689 + enterprise: *687 sender: *4 - installation: *690 + installation: *688 required: - action - personal_access_token_request @@ -153490,7 +152704,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *725 + last_response: *723 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -153522,8 +152736,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *691 - repository: *692 + organization: *689 + repository: *690 sender: *4 zen: description: Random string of GitHub zen. @@ -153768,10 +152982,10 @@ webhooks: - from required: - note - enterprise: *689 - installation: *690 - organization: *691 - project_card: &726 + enterprise: *687 + installation: *688 + organization: *689 + project_card: &724 title: Project Card type: object properties: @@ -153894,7 +153108,7 @@ webhooks: - creator - created_at - updated_at - repository: *692 + repository: *690 sender: *4 required: - action @@ -153975,11 +153189,11 @@ webhooks: type: string enum: - created - enterprise: *689 - installation: *690 - organization: *691 - project_card: *726 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + project_card: *724 + repository: *690 sender: *4 required: - action @@ -154059,9 +153273,9 @@ webhooks: type: string enum: - deleted - enterprise: *689 - installation: *690 - organization: *691 + enterprise: *687 + installation: *688 + organization: *689 project_card: title: Project Card type: object @@ -154191,7 +153405,7 @@ webhooks: repository: anyOf: - type: 'null' - - *692 + - *690 sender: *4 required: - action @@ -154285,11 +153499,11 @@ webhooks: - from required: - note - enterprise: *689 - installation: *690 - organization: *691 - project_card: *726 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + project_card: *724 + repository: *690 sender: *4 required: - action @@ -154383,9 +153597,9 @@ webhooks: - from required: - column_id - enterprise: *689 - installation: *690 - organization: *691 + enterprise: *687 + installation: *688 + organization: *689 project_card: allOf: - title: Project Card @@ -154582,7 +153796,7 @@ webhooks: type: string required: - after_id - repository: *692 + repository: *690 sender: *4 required: - action @@ -154662,10 +153876,10 @@ webhooks: type: string enum: - closed - enterprise: *689 - installation: *690 - organization: *691 - project: &728 + enterprise: *687 + installation: *688 + organization: *689 + project: &726 title: Project type: object properties: @@ -154792,7 +154006,7 @@ webhooks: - creator - created_at - updated_at - repository: *692 + repository: *690 sender: *4 required: - action @@ -154872,10 +154086,10 @@ webhooks: type: string enum: - created - enterprise: *689 - installation: *690 - organization: *691 - project_column: &727 + enterprise: *687 + installation: *688 + organization: *689 + project_column: &725 title: Project Column type: object properties: @@ -154915,7 +154129,7 @@ webhooks: - name - created_at - updated_at - repository: *692 + repository: *690 sender: *4 required: - action @@ -154994,14 +154208,14 @@ webhooks: type: string enum: - deleted - enterprise: *689 - installation: *690 - organization: *691 - project_column: *727 + enterprise: *687 + installation: *688 + organization: *689 + project_column: *725 repository: anyOf: - type: 'null' - - *692 + - *690 sender: *4 required: - action @@ -155090,11 +154304,11 @@ webhooks: type: string required: - from - enterprise: *689 - installation: *690 - organization: *691 - project_column: *727 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + project_column: *725 + repository: *690 sender: *4 required: - action @@ -155174,11 +154388,11 @@ webhooks: type: string enum: - moved - enterprise: *689 - installation: *690 - organization: *691 - project_column: *727 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + project_column: *725 + repository: *690 sender: *4 required: - action @@ -155258,11 +154472,11 @@ webhooks: type: string enum: - created - enterprise: *689 - installation: *690 - organization: *691 - project: *728 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + project: *726 + repository: *690 sender: *4 required: - action @@ -155342,14 +154556,14 @@ webhooks: type: string enum: - deleted - enterprise: *689 - installation: *690 - organization: *691 - project: *728 + enterprise: *687 + installation: *688 + organization: *689 + project: *726 repository: anyOf: - type: 'null' - - *692 + - *690 sender: *4 required: - action @@ -155450,11 +154664,11 @@ webhooks: type: string required: - from - enterprise: *689 - installation: *690 - organization: *691 - project: *728 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + project: *726 + repository: *690 sender: *4 required: - action @@ -155533,11 +154747,11 @@ webhooks: type: string enum: - reopened - enterprise: *689 - installation: *690 - organization: *691 - project: *728 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + project: *726 + repository: *690 sender: *4 required: - action @@ -155618,9 +154832,9 @@ webhooks: type: string enum: - closed - installation: *690 - organization: *691 - projects_v2: *239 + installation: *688 + organization: *689 + projects_v2: *238 sender: *4 required: - action @@ -155701,9 +154915,9 @@ webhooks: type: string enum: - created - installation: *690 - organization: *691 - projects_v2: *239 + installation: *688 + organization: *689 + projects_v2: *238 sender: *4 required: - action @@ -155784,9 +154998,9 @@ webhooks: type: string enum: - deleted - installation: *690 - organization: *691 - projects_v2: *239 + installation: *688 + organization: *689 + projects_v2: *238 sender: *4 required: - action @@ -155907,9 +155121,9 @@ webhooks: type: string to: type: string - installation: *690 - organization: *691 - projects_v2: *239 + installation: *688 + organization: *689 + projects_v2: *238 sender: *4 required: - action @@ -155992,7 +155206,7 @@ webhooks: type: string enum: - archived - changes: &732 + changes: &730 type: object properties: archived_at: @@ -156008,9 +155222,9 @@ webhooks: - string - 'null' format: date-time - installation: *690 - organization: *691 - projects_v2_item: &729 + installation: *688 + organization: *689 + projects_v2_item: &727 title: Projects v2 Item description: An item belonging to a project type: object @@ -156028,7 +155242,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *245 + content_type: *244 creator: *4 created_at: type: string @@ -156150,9 +155364,9 @@ webhooks: - 'null' to: type: string - installation: *690 - organization: *691 - projects_v2_item: *729 + installation: *688 + organization: *689 + projects_v2_item: *727 sender: *4 required: - action @@ -156234,9 +155448,9 @@ webhooks: type: string enum: - created - installation: *690 - organization: *691 - projects_v2_item: *729 + installation: *688 + organization: *689 + projects_v2_item: *727 sender: *4 required: - action @@ -156317,9 +155531,9 @@ webhooks: type: string enum: - deleted - installation: *690 - organization: *691 - projects_v2_item: *729 + installation: *688 + organization: *689 + projects_v2_item: *727 sender: *4 required: - action @@ -156424,7 +155638,7 @@ webhooks: oneOf: - type: string - type: integer - - &730 + - &728 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -156448,7 +155662,7 @@ webhooks: required: - id - name - - &731 + - &729 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -156488,8 +155702,8 @@ webhooks: oneOf: - type: string - type: integer - - *730 - - *731 + - *728 + - *729 type: - 'null' - string @@ -156512,9 +155726,9 @@ webhooks: - 'null' required: - body - installation: *690 - organization: *691 - projects_v2_item: *729 + installation: *688 + organization: *689 + projects_v2_item: *727 sender: *4 required: - action @@ -156611,9 +155825,9 @@ webhooks: type: - string - 'null' - installation: *690 - organization: *691 - projects_v2_item: *729 + installation: *688 + organization: *689 + projects_v2_item: *727 sender: *4 required: - action @@ -156696,10 +155910,10 @@ webhooks: type: string enum: - restored - changes: *732 - installation: *690 - organization: *691 - projects_v2_item: *729 + changes: *730 + installation: *688 + organization: *689 + projects_v2_item: *727 sender: *4 required: - action @@ -156781,9 +155995,9 @@ webhooks: type: string enum: - reopened - installation: *690 - organization: *691 - projects_v2: *239 + installation: *688 + organization: *689 + projects_v2: *238 sender: *4 required: - action @@ -156864,9 +156078,9 @@ webhooks: type: string enum: - created - installation: *690 - organization: *691 - projects_v2_status_update: *733 + installation: *688 + organization: *689 + projects_v2_status_update: *731 sender: *4 required: - action @@ -156947,9 +156161,9 @@ webhooks: type: string enum: - deleted - installation: *690 - organization: *691 - projects_v2_status_update: *733 + installation: *688 + organization: *689 + projects_v2_status_update: *731 sender: *4 required: - action @@ -157095,9 +156309,9 @@ webhooks: - string - 'null' format: date - installation: *690 - organization: *691 - projects_v2_status_update: *733 + installation: *688 + organization: *689 + projects_v2_status_update: *731 sender: *4 required: - action @@ -157168,10 +156382,10 @@ webhooks: title: public event type: object properties: - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - repository @@ -157248,13 +156462,13 @@ webhooks: type: string enum: - assigned - assignee: *709 - enterprise: *689 - installation: *690 - number: &734 + assignee: *707 + enterprise: *687 + installation: *688 + number: &732 description: The pull request number. type: integer - organization: *691 + organization: *689 pull_request: title: Pull Request type: object @@ -159603,7 +158817,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *692 + repository: *690 sender: *4 required: - action @@ -159685,11 +158899,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *689 - installation: *690 + enterprise: *687 + installation: *688 number: type: integer - organization: *691 + organization: *689 pull_request: title: Pull Request type: object @@ -162031,7 +161245,7 @@ webhooks: - draft reason: type: string - repository: *692 + repository: *690 sender: *4 required: - action @@ -162113,11 +161327,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *689 - installation: *690 + enterprise: *687 + installation: *688 number: type: integer - organization: *691 + organization: *689 pull_request: title: Pull Request type: object @@ -164459,7 +163673,7 @@ webhooks: - draft reason: type: string - repository: *692 + repository: *690 sender: *4 required: - action @@ -164541,13 +163755,13 @@ webhooks: type: string enum: - closed - enterprise: *689 - installation: *690 - number: *734 - organization: *691 - pull_request: &735 + enterprise: *687 + installation: *688 + number: *732 + organization: *689 + pull_request: &733 allOf: - - *545 + - *543 - type: object properties: allow_auto_merge: @@ -164609,7 +163823,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *692 + repository: *690 sender: *4 required: - action @@ -164690,12 +163904,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *689 - installation: *690 - number: *734 - organization: *691 - pull_request: *735 - repository: *692 + enterprise: *687 + installation: *688 + number: *732 + organization: *689 + pull_request: *733 + repository: *690 sender: *4 required: - action @@ -164775,11 +163989,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *689 - milestone: *243 - number: *734 - organization: *691 - pull_request: &736 + enterprise: *687 + milestone: *242 + number: *732 + organization: *689 + pull_request: &734 title: Pull Request type: object properties: @@ -167106,7 +166320,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *692 + repository: *690 sender: *4 required: - action @@ -167185,11 +166399,11 @@ webhooks: type: string enum: - dequeued - enterprise: *689 - installation: *690 + enterprise: *687 + installation: *688 number: type: integer - organization: *691 + organization: *689 pull_request: title: Pull Request type: object @@ -169535,7 +168749,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *692 + repository: *690 sender: *4 required: - action @@ -169659,12 +168873,12 @@ webhooks: type: string required: - from - enterprise: *689 - installation: *690 - number: *734 - organization: *691 - pull_request: *735 - repository: *692 + enterprise: *687 + installation: *688 + number: *732 + organization: *689 + pull_request: *733 + repository: *690 sender: *4 required: - action @@ -169744,11 +168958,11 @@ webhooks: type: string enum: - enqueued - enterprise: *689 - installation: *690 + enterprise: *687 + installation: *688 number: type: integer - organization: *691 + organization: *689 pull_request: title: Pull Request type: object @@ -172079,7 +171293,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *692 + repository: *690 sender: *4 required: - action @@ -172159,11 +171373,11 @@ webhooks: type: string enum: - labeled - enterprise: *689 - installation: *690 - label: *708 - number: *734 - organization: *691 + enterprise: *687 + installation: *688 + label: *706 + number: *732 + organization: *689 pull_request: title: Pull Request type: object @@ -174511,7 +173725,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *692 + repository: *690 sender: *4 required: - action @@ -174592,10 +173806,10 @@ webhooks: type: string enum: - locked - enterprise: *689 - installation: *690 - number: *734 - organization: *691 + enterprise: *687 + installation: *688 + number: *732 + organization: *689 pull_request: title: Pull Request type: object @@ -176941,7 +176155,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *692 + repository: *690 sender: *4 required: - action @@ -177021,12 +176235,12 @@ webhooks: type: string enum: - milestoned - enterprise: *689 - milestone: *243 - number: *734 - organization: *691 - pull_request: *736 - repository: *692 + enterprise: *687 + milestone: *242 + number: *732 + organization: *689 + pull_request: *734 + repository: *690 sender: *4 required: - action @@ -177105,12 +176319,12 @@ webhooks: type: string enum: - opened - enterprise: *689 - installation: *690 - number: *734 - organization: *691 - pull_request: *735 - repository: *692 + enterprise: *687 + installation: *688 + number: *732 + organization: *689 + pull_request: *733 + repository: *690 sender: *4 required: - action @@ -177191,12 +176405,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *689 - installation: *690 - number: *734 - organization: *691 - pull_request: *735 - repository: *692 + enterprise: *687 + installation: *688 + number: *732 + organization: *689 + pull_request: *733 + repository: *690 sender: *4 required: - action @@ -177276,12 +176490,12 @@ webhooks: type: string enum: - reopened - enterprise: *689 - installation: *690 - number: *734 - organization: *691 - pull_request: *735 - repository: *692 + enterprise: *687 + installation: *688 + number: *732 + organization: *689 + pull_request: *733 + repository: *690 sender: *4 required: - action @@ -177656,9 +176870,9 @@ webhooks: - start_side - side - reactions - enterprise: *689 - installation: *690 - organization: *691 + enterprise: *687 + installation: *688 + organization: *689 pull_request: type: object properties: @@ -179888,7 +179102,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *692 + repository: *690 sender: *4 required: - action @@ -179968,7 +179182,7 @@ webhooks: type: string enum: - deleted - comment: &738 + comment: &736 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -180261,9 +179475,9 @@ webhooks: - start_side - side - reactions - enterprise: *689 - installation: *690 - organization: *691 + enterprise: *687 + installation: *688 + organization: *689 pull_request: type: object properties: @@ -182481,7 +181695,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *692 + repository: *690 sender: *4 required: - action @@ -182561,11 +181775,11 @@ webhooks: type: string enum: - edited - changes: *737 - comment: *738 - enterprise: *689 - installation: *690 - organization: *691 + changes: *735 + comment: *736 + enterprise: *687 + installation: *688 + organization: *689 pull_request: type: object properties: @@ -184786,7 +184000,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *692 + repository: *690 sender: *4 required: - action @@ -184867,9 +184081,9 @@ webhooks: type: string enum: - dismissed - enterprise: *689 - installation: *690 - organization: *691 + enterprise: *687 + installation: *688 + organization: *689 pull_request: title: Simple Pull Request type: object @@ -187102,7 +186316,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *692 + repository: *690 review: description: The review that was affected. type: object @@ -187353,9 +186567,9 @@ webhooks: type: string required: - from - enterprise: *689 - installation: *690 - organization: *691 + enterprise: *687 + installation: *688 + organization: *689 pull_request: title: Simple Pull Request type: object @@ -189469,8 +188683,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *692 - review: &739 + repository: *690 + review: &737 description: The review that was affected. type: object properties: @@ -189708,12 +188922,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *689 - installation: *690 + enterprise: *687 + installation: *688 number: description: The pull request number. type: integer - organization: *691 + organization: *689 pull_request: title: Pull Request type: object @@ -192060,7 +191274,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *692 + repository: *690 requested_reviewer: title: User type: @@ -192146,12 +191360,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *689 - installation: *690 + enterprise: *687 + installation: *688 number: description: The pull request number. type: integer - organization: *691 + organization: *689 pull_request: title: Pull Request type: object @@ -194505,7 +193719,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *692 + repository: *690 requested_team: title: Team description: Groups of organization members that gives permissions @@ -194700,12 +193914,12 @@ webhooks: type: string enum: - review_requested - enterprise: *689 - installation: *690 + enterprise: *687 + installation: *688 number: description: The pull request number. type: integer - organization: *691 + organization: *689 pull_request: title: Pull Request type: object @@ -197054,7 +196268,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *692 + repository: *690 requested_reviewer: title: User type: @@ -197141,12 +196355,12 @@ webhooks: type: string enum: - review_requested - enterprise: *689 - installation: *690 + enterprise: *687 + installation: *688 number: description: The pull request number. type: integer - organization: *691 + organization: *689 pull_request: title: Pull Request type: object @@ -199486,7 +198700,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *692 + repository: *690 requested_team: title: Team description: Groups of organization members that gives permissions @@ -199670,9 +198884,9 @@ webhooks: type: string enum: - submitted - enterprise: *689 - installation: *690 - organization: *691 + enterprise: *687 + installation: *688 + organization: *689 pull_request: title: Simple Pull Request type: object @@ -201908,8 +201122,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *692 - review: *739 + repository: *690 + review: *737 sender: *4 required: - action @@ -201989,9 +201203,9 @@ webhooks: type: string enum: - resolved - enterprise: *689 - installation: *690 - organization: *691 + enterprise: *687 + installation: *688 + organization: *689 pull_request: title: Simple Pull Request type: object @@ -204122,7 +203336,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *692 + repository: *690 sender: *4 thread: type: object @@ -204519,9 +203733,9 @@ webhooks: type: string enum: - unresolved - enterprise: *689 - installation: *690 - organization: *691 + enterprise: *687 + installation: *688 + organization: *689 pull_request: title: Simple Pull Request type: object @@ -206635,7 +205849,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *692 + repository: *690 sender: *4 thread: type: object @@ -207034,10 +206248,10 @@ webhooks: type: string before: type: string - enterprise: *689 - installation: *690 - number: *734 - organization: *691 + enterprise: *687 + installation: *688 + number: *732 + organization: *689 pull_request: title: Pull Request type: object @@ -209372,7 +208586,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *692 + repository: *690 sender: *4 required: - action @@ -209454,11 +208668,11 @@ webhooks: type: string enum: - unassigned - assignee: *740 - enterprise: *689 - installation: *690 - number: *734 - organization: *691 + assignee: *738 + enterprise: *687 + installation: *688 + number: *732 + organization: *689 pull_request: title: Pull Request type: object @@ -211808,7 +211022,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *692 + repository: *690 sender: *4 required: - action @@ -211887,11 +211101,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *689 - installation: *690 - label: *708 - number: *734 - organization: *691 + enterprise: *687 + installation: *688 + label: *706 + number: *732 + organization: *689 pull_request: title: Pull Request type: object @@ -214230,7 +213444,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *692 + repository: *690 sender: *4 required: - action @@ -214311,10 +213525,10 @@ webhooks: type: string enum: - unlocked - enterprise: *689 - installation: *690 - number: *734 - organization: *691 + enterprise: *687 + installation: *688 + number: *732 + organization: *689 pull_request: title: Pull Request type: object @@ -216643,7 +215857,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *692 + repository: *690 sender: *4 required: - action @@ -216846,7 +216060,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *689 + enterprise: *687 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -216941,8 +216155,8 @@ webhooks: - url - author - committer - installation: *690 - organization: *691 + installation: *688 + organization: *689 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -217530,9 +216744,9 @@ webhooks: type: string enum: - published - enterprise: *689 - installation: *690 - organization: *691 + enterprise: *687 + installation: *688 + organization: *689 registry_package: type: object properties: @@ -218009,7 +217223,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *723 + items: *721 summary: type: string tag_name: @@ -218065,7 +217279,7 @@ webhooks: - owner - package_version - registry - repository: *692 + repository: *690 sender: *4 required: - action @@ -218143,9 +217357,9 @@ webhooks: type: string enum: - updated - enterprise: *689 - installation: *690 - organization: *691 + enterprise: *687 + installation: *688 + organization: *689 registry_package: type: object properties: @@ -218457,7 +217671,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *723 + items: *721 summary: type: string tag_name: @@ -218507,7 +217721,7 @@ webhooks: - owner - package_version - registry - repository: *692 + repository: *690 sender: *4 required: - action @@ -218584,10 +217798,10 @@ webhooks: type: string enum: - created - enterprise: *689 - installation: *690 - organization: *691 - release: &741 + enterprise: *687 + installation: *688 + organization: *689 + release: &739 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -218918,7 +218132,7 @@ webhooks: - updated_at - zipball_url - body - repository: *692 + repository: *690 sender: *4 required: - action @@ -218995,11 +218209,11 @@ webhooks: type: string enum: - deleted - enterprise: *689 - installation: *690 - organization: *691 - release: *741 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + release: *739 + repository: *690 sender: *4 required: - action @@ -219116,11 +218330,11 @@ webhooks: type: boolean required: - to - enterprise: *689 - installation: *690 - organization: *691 - release: *741 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + release: *739 + repository: *690 sender: *4 required: - action @@ -219198,9 +218412,9 @@ webhooks: type: string enum: - prereleased - enterprise: *689 - installation: *690 - organization: *691 + enterprise: *687 + installation: *688 + organization: *689 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -219536,7 +218750,7 @@ webhooks: - string - 'null' format: uri - repository: *692 + repository: *690 sender: *4 required: - action @@ -219612,10 +218826,10 @@ webhooks: type: string enum: - published - enterprise: *689 - installation: *690 - organization: *691 - release: &742 + enterprise: *687 + installation: *688 + organization: *689 + release: &740 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -219948,7 +219162,7 @@ webhooks: - string - 'null' format: uri - repository: *692 + repository: *690 sender: *4 required: - action @@ -220024,11 +219238,11 @@ webhooks: type: string enum: - released - enterprise: *689 - installation: *690 - organization: *691 - release: *741 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + release: *739 + repository: *690 sender: *4 required: - action @@ -220104,11 +219318,11 @@ webhooks: type: string enum: - unpublished - enterprise: *689 - installation: *690 - organization: *691 - release: *742 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + release: *740 + repository: *690 sender: *4 required: - action @@ -220184,11 +219398,11 @@ webhooks: type: string enum: - published - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 - repository_advisory: *609 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 + repository_advisory: *607 sender: *4 required: - action @@ -220264,11 +219478,11 @@ webhooks: type: string enum: - reported - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 - repository_advisory: *609 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 + repository_advisory: *607 sender: *4 required: - action @@ -220344,10 +219558,10 @@ webhooks: type: string enum: - archived - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -220424,10 +219638,10 @@ webhooks: type: string enum: - created - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -220505,10 +219719,10 @@ webhooks: type: string enum: - deleted - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -220593,10 +219807,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -220711,10 +219925,10 @@ webhooks: - 'null' items: type: string - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -220786,10 +220000,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 status: type: string @@ -220870,10 +220084,10 @@ webhooks: type: string enum: - privatized - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -220950,10 +220164,10 @@ webhooks: type: string enum: - publicized - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -221047,10 +220261,10 @@ webhooks: - name required: - repository - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -221130,11 +220344,11 @@ webhooks: type: string enum: - created - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 - repository_ruleset: *280 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 + repository_ruleset: *279 sender: *4 required: - action @@ -221212,11 +220426,11 @@ webhooks: type: string enum: - deleted - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 - repository_ruleset: *280 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 + repository_ruleset: *279 sender: *4 required: - action @@ -221294,11 +220508,11 @@ webhooks: type: string enum: - edited - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 - repository_ruleset: *280 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 + repository_ruleset: *279 changes: type: object properties: @@ -221317,16 +220531,16 @@ webhooks: properties: added: type: array - items: *255 + items: *254 deleted: type: array - items: *255 + items: *254 updated: type: array items: type: object properties: - condition: *255 + condition: *254 changes: type: object properties: @@ -221359,16 +220573,16 @@ webhooks: properties: added: type: array - items: *566 + items: *564 deleted: type: array - items: *566 + items: *564 updated: type: array items: type: object properties: - rule: *566 + rule: *564 changes: type: object properties: @@ -221605,10 +220819,10 @@ webhooks: - from required: - owner - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -221686,10 +220900,10 @@ webhooks: type: string enum: - unarchived - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -221767,7 +220981,7 @@ webhooks: type: string enum: - create - alert: &743 + alert: &741 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -221891,10 +221105,10 @@ webhooks: type: string enum: - open - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -222104,10 +221318,10 @@ webhooks: type: string enum: - dismissed - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -222185,11 +221399,11 @@ webhooks: type: string enum: - reopen - alert: *743 - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + alert: *741 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -222391,10 +221605,10 @@ webhooks: enum: - fixed - open - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -222472,7 +221686,7 @@ webhooks: type: string enum: - created - alert: &744 + alert: &742 type: object properties: number: *151 @@ -222586,10 +221800,10 @@ webhooks: anyOf: - type: 'null' - *4 - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -222670,11 +221884,11 @@ webhooks: type: string enum: - created - alert: *744 - installation: *690 - location: *745 - organization: *691 - repository: *692 + alert: *742 + installation: *688 + location: *743 + organization: *689 + repository: *690 sender: *4 required: - location @@ -222912,11 +222126,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *744 - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + alert: *742 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -222994,11 +222208,11 @@ webhooks: type: string enum: - reopened - alert: *744 - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + alert: *742 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -223076,11 +222290,11 @@ webhooks: type: string enum: - resolved - alert: *744 - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + alert: *742 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -223158,11 +222372,11 @@ webhooks: type: string enum: - validated - alert: *744 - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + alert: *742 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -223292,10 +222506,10 @@ webhooks: - organization - enterprise - - repository: *692 - enterprise: *689 - installation: *690 - organization: *691 + repository: *690 + enterprise: *687 + installation: *688 + organization: *689 sender: *4 required: - action @@ -223373,11 +222587,11 @@ webhooks: type: string enum: - published - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 - security_advisory: &746 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 + security_advisory: &744 description: The details of the security advisory, including summary, description, and severity. type: object @@ -223563,11 +222777,11 @@ webhooks: type: string enum: - updated - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 - security_advisory: *746 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 + security_advisory: *744 sender: *4 required: - action @@ -223640,10 +222854,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -223829,11 +223043,11 @@ webhooks: from: type: object properties: - security_and_analysis: *254 - enterprise: *689 - installation: *690 - organization: *691 - repository: *316 + security_and_analysis: *253 + enterprise: *687 + installation: *688 + organization: *689 + repository: *313 sender: *4 required: - changes @@ -223911,12 +223125,12 @@ webhooks: type: string enum: - cancelled - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 - sponsorship: &747 + sponsorship: &745 type: object properties: created_at: @@ -224221,12 +223435,12 @@ webhooks: type: string enum: - created - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 - sponsorship: *747 + sponsorship: *745 required: - action - sponsorship @@ -224314,12 +223528,12 @@ webhooks: type: string required: - from - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 - sponsorship: *747 + sponsorship: *745 required: - action - changes @@ -224396,17 +223610,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &748 + effective_date: &746 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 - sponsorship: *747 + sponsorship: *745 required: - action - sponsorship @@ -224480,7 +223694,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &749 + changes: &747 type: object properties: tier: @@ -224524,13 +223738,13 @@ webhooks: - from required: - tier - effective_date: *748 - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + effective_date: *746 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 - sponsorship: *747 + sponsorship: *745 required: - action - changes @@ -224607,13 +223821,13 @@ webhooks: type: string enum: - tier_changed - changes: *749 - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + changes: *747 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 - sponsorship: *747 + sponsorship: *745 required: - action - changes @@ -224687,10 +223901,10 @@ webhooks: type: string enum: - created - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -224774,10 +223988,10 @@ webhooks: type: string enum: - deleted - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -225211,15 +224425,15 @@ webhooks: type: - string - 'null' - enterprise: *689 + enterprise: *687 id: description: The unique identifier of the status. type: integer - installation: *690 + installation: *688 name: type: string - organization: *691 - repository: *692 + organization: *689 + repository: *690 sender: *4 sha: description: The Commit SHA. @@ -225335,9 +224549,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *78 - installation: *690 - organization: *691 - repository: *692 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -225427,9 +224641,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *78 - installation: *690 - organization: *691 - repository: *692 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -225519,9 +224733,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *78 - installation: *690 - organization: *691 - repository: *692 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -225611,9 +224825,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *78 - installation: *690 - organization: *691 - repository: *692 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -225690,12 +224904,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 - team: &750 + team: &748 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -225925,9 +225139,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *689 - installation: *690 - organization: *691 + enterprise: *687 + installation: *688 + organization: *689 repository: title: Repository description: A git repository @@ -226397,7 +225611,7 @@ webhooks: - topics - visibility sender: *4 - team: *750 + team: *748 required: - action - team @@ -226473,9 +225687,9 @@ webhooks: type: string enum: - created - enterprise: *689 - installation: *690 - organization: *691 + enterprise: *687 + installation: *688 + organization: *689 repository: title: Repository description: A git repository @@ -226945,7 +226159,7 @@ webhooks: - topics - visibility sender: *4 - team: *750 + team: *748 required: - action - team @@ -227022,9 +226236,9 @@ webhooks: type: string enum: - deleted - enterprise: *689 - installation: *690 - organization: *691 + enterprise: *687 + installation: *688 + organization: *689 repository: title: Repository description: A git repository @@ -227494,7 +226708,7 @@ webhooks: - topics - visibility sender: *4 - team: *750 + team: *748 required: - action - team @@ -227638,9 +226852,9 @@ webhooks: - from required: - permissions - enterprise: *689 - installation: *690 - organization: *691 + enterprise: *687 + installation: *688 + organization: *689 repository: title: Repository description: A git repository @@ -228110,7 +227324,7 @@ webhooks: - topics - visibility sender: *4 - team: *750 + team: *748 required: - action - changes @@ -228188,9 +227402,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *689 - installation: *690 - organization: *691 + enterprise: *687 + installation: *688 + organization: *689 repository: title: Repository description: A git repository @@ -228660,7 +227874,7 @@ webhooks: - topics - visibility sender: *4 - team: *750 + team: *748 required: - action - team @@ -228736,10 +227950,10 @@ webhooks: type: string enum: - started - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -228812,17 +228026,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *689 + enterprise: *687 inputs: type: - object - 'null' additionalProperties: true - installation: *690 - organization: *691 + installation: *688 + organization: *689 ref: type: string - repository: *692 + repository: *690 sender: *4 workflow: type: string @@ -228904,10 +228118,10 @@ webhooks: type: string enum: - completed - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 workflow_job: allOf: @@ -229163,7 +228377,7 @@ webhooks: type: string required: - conclusion - deployment: *462 + deployment: *459 required: - action - repository @@ -229242,10 +228456,10 @@ webhooks: type: string enum: - in_progress - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 workflow_job: allOf: @@ -229527,7 +228741,7 @@ webhooks: required: - status - steps - deployment: *462 + deployment: *459 required: - action - repository @@ -229606,10 +228820,10 @@ webhooks: type: string enum: - queued - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 workflow_job: type: object @@ -229755,7 +228969,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *462 + deployment: *459 required: - action - repository @@ -229834,10 +229048,10 @@ webhooks: type: string enum: - waiting - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 workflow_job: type: object @@ -229984,7 +229198,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *462 + deployment: *459 required: - action - repository @@ -230064,12 +229278,12 @@ webhooks: type: string enum: - completed - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 - workflow: *704 + workflow: *702 workflow_run: title: Workflow Run type: object @@ -231088,12 +230302,12 @@ webhooks: type: string enum: - in_progress - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 - workflow: *704 + workflow: *702 workflow_run: title: Workflow Run type: object @@ -232097,12 +231311,12 @@ webhooks: type: string enum: - requested - enterprise: *689 - installation: *690 - organization: *691 - repository: *692 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 - workflow: *704 + workflow: *702 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json index 383c409a5..ed4f48db2 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -69672,7 +69672,7 @@ }, "/enterprises/{enterprise}/settings/billing/usage/summary": { "get": { - "summary": "Get billing usage summary report for an enterprise", + "summary": "Get billing usage summary for an enterprise", "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets a summary report of usage for an enterprise. To use this endpoint, you must be an administrator or billing manager of the enterprise. By default, this endpoint will return usage across all cost centers in the enterprise.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" @@ -69680,7 +69680,7 @@ "operationId": "billing/get-github-billing-usage-summary-report-ghe", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-summary-report-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-summary-for-an-enterprise" }, "parameters": [ { @@ -69767,7 +69767,7 @@ ], "responses": { "200": { - "description": "Response when getting a billing usage summary report", + "description": "Response when getting a billing usage summary", "content": { "application/json": { "schema": { @@ -108893,7 +108893,7 @@ }, "/organizations/{org}/settings/billing/usage/summary": { "get": { - "summary": "Get billing usage summary report for an organization", + "summary": "Get billing usage summary for an organization", "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets a summary report of usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" @@ -108901,7 +108901,7 @@ "operationId": "billing/get-github-billing-usage-summary-report-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-summary-report-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-summary-for-an-organization" }, "parameters": [ { @@ -108970,7 +108970,7 @@ ], "responses": { "200": { - "description": "Response when getting a billing usage summary report", + "description": "Response when getting a billing usage summary", "content": { "application/json": { "schema": { @@ -201680,999 +201680,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", - "examples": [ - "https://api.github.com/repos/api-playground/projects-test" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/api-playground/projects-test/projects/12" - ] - }, - "columns_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604/columns" - ] - }, - "id": { - "type": "integer", - "examples": [ - 1002604 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDc6UHJvamVjdDEwMDI2MDQ=" - ] - }, - "name": { - "description": "Name of the project", - "type": "string", - "examples": [ - "Week One Sprint" - ] - }, - "body": { - "description": "Body of the project", - "type": [ - "string", - "null" - ], - "examples": [ - "This project represents the sprint of the first week in January" - ] - }, - "number": { - "type": "integer", - "examples": [ - 1 - ] - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "type": "string", - "examples": [ - "open" - ] - }, - "creator": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2011-04-10T20:09:31Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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", - "examples": [ - "https://api.github.com/repos/api-playground/projects-test" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/api-playground/projects-test/projects/12" - ] - }, - "columns_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604/columns" - ] - }, - "id": { - "type": "integer", - "examples": [ - 1002604 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDc6UHJvamVjdDEwMDI2MDQ=" - ] - }, - "name": { - "description": "Name of the project", - "type": "string", - "examples": [ - "Week One Sprint" - ] - }, - "body": { - "description": "Body of the project", - "type": [ - "string", - "null" - ], - "examples": [ - "This project represents the sprint of the first week in January" - ] - }, - "number": { - "type": "integer", - "examples": [ - 1 - ] - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "type": "string", - "examples": [ - "open" - ] - }, - "creator": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2011-04-10T20:09:31Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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", @@ -265042,1125 +264049,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", - "examples": [ - "https://api.github.com/repos/api-playground/projects-test" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/api-playground/projects-test/projects/12" - ] - }, - "columns_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604/columns" - ] - }, - "id": { - "type": "integer", - "examples": [ - 1002604 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDc6UHJvamVjdDEwMDI2MDQ=" - ] - }, - "name": { - "description": "Name of the project", - "type": "string", - "examples": [ - "Week One Sprint" - ] - }, - "body": { - "description": "Body of the project", - "type": [ - "string", - "null" - ], - "examples": [ - "This project represents the sprint of the first week in January" - ] - }, - "number": { - "type": "integer", - "examples": [ - 1 - ] - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "type": "string", - "examples": [ - "open" - ] - }, - "creator": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2011-04-10T20:09:31Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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", - "type": "string", - "examples": [ - "Week One Sprint" - ] - }, - "body": { - "description": "Body of the project", - "type": [ - "string", - "null" - ], - "examples": [ - "This project represents the sprint of the first week in January" - ] - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "type": "string", - "examples": [ - "open" - ] - }, - "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", - "examples": [ - "https://api.github.com/repos/api-playground/projects-test" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/api-playground/projects-test/projects/12" - ] - }, - "columns_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604/columns" - ] - }, - "id": { - "type": "integer", - "examples": [ - 1002604 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDc6UHJvamVjdDEwMDI2MDQ=" - ] - }, - "name": { - "description": "Name of the project", - "type": "string", - "examples": [ - "Week One Sprint" - ] - }, - "body": { - "description": "Body of the project", - "type": [ - "string", - "null" - ], - "examples": [ - "This project represents the sprint of the first week in January" - ] - }, - "number": { - "type": "integer", - "examples": [ - 1 - ] - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "type": "string", - "examples": [ - "open" - ] - }, - "creator": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2011-04-10T20:09:31Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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", @@ -541459,1119 +539347,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", - "examples": [ - "https://api.github.com/repos/api-playground/projects-test" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/api-playground/projects-test/projects/12" - ] - }, - "columns_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604/columns" - ] - }, - "id": { - "type": "integer", - "examples": [ - 1002604 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDc6UHJvamVjdDEwMDI2MDQ=" - ] - }, - "name": { - "description": "Name of the project", - "type": "string", - "examples": [ - "Week One Sprint" - ] - }, - "body": { - "description": "Body of the project", - "type": [ - "string", - "null" - ], - "examples": [ - "This project represents the sprint of the first week in January" - ] - }, - "number": { - "type": "integer", - "examples": [ - 1 - ] - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "type": "string", - "examples": [ - "open" - ] - }, - "creator": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2011-04-10T20:09:31Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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", - "examples": [ - "https://api.github.com/repos/api-playground/projects-test" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/api-playground/projects-test/projects/12" - ] - }, - "columns_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604/columns" - ] - }, - "id": { - "type": "integer", - "examples": [ - 1002604 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDc6UHJvamVjdDEwMDI2MDQ=" - ] - }, - "name": { - "description": "Name of the project", - "type": "string", - "examples": [ - "Week One Sprint" - ] - }, - "body": { - "description": "Body of the project", - "type": [ - "string", - "null" - ], - "examples": [ - "This project represents the sprint of the first week in January" - ] - }, - "number": { - "type": "integer", - "examples": [ - 1 - ] - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "type": "string", - "examples": [ - "open" - ] - }, - "creator": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2011-04-10T20:09:31Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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", @@ -724159,498 +720934,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", - "type": "string", - "examples": [ - "Week One Sprint" - ] - }, - "body": { - "description": "Body of the project", - "type": [ - "string", - "null" - ], - "examples": [ - "This project represents the sprint of the first week in January" - ] - } - }, - "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", - "examples": [ - "https://api.github.com/repos/api-playground/projects-test" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/api-playground/projects-test/projects/12" - ] - }, - "columns_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604/columns" - ] - }, - "id": { - "type": "integer", - "examples": [ - 1002604 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDc6UHJvamVjdDEwMDI2MDQ=" - ] - }, - "name": { - "description": "Name of the project", - "type": "string", - "examples": [ - "Week One Sprint" - ] - }, - "body": { - "description": "Body of the project", - "type": [ - "string", - "null" - ], - "examples": [ - "This project represents the sprint of the first week in January" - ] - }, - "number": { - "type": "integer", - "examples": [ - 1 - ] - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "type": "string", - "examples": [ - "open" - ] - }, - "creator": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2011-04-10T20:09:31Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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", @@ -761792,503 +758075,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", - "examples": [ - "https://api.github.com/repos/api-playground/projects-test" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/api-playground/projects-test/projects/12" - ] - }, - "columns_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604/columns" - ] - }, - "id": { - "type": "integer", - "examples": [ - 1002604 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDc6UHJvamVjdDEwMDI2MDQ=" - ] - }, - "name": { - "description": "Name of the project", - "type": "string", - "examples": [ - "Week One Sprint" - ] - }, - "body": { - "description": "Body of the project", - "type": [ - "string", - "null" - ], - "examples": [ - "This project represents the sprint of the first week in January" - ] - }, - "number": { - "type": "integer", - "examples": [ - 1 - ] - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "type": "string", - "examples": [ - "open" - ] - }, - "creator": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2011-04-10T20:09:31Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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", - "null" - ] - }, - { - "type": [ - "integer", - "null" - ] - }, - { - "type": [ - "array", - "null" - ], - "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", @@ -789752,7 +785538,7 @@ }, "/users/{username}/settings/billing/usage/summary": { "get": { - "summary": "Get billing usage summary report for a user", + "summary": "Get billing usage summary for a user", "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets a summary report of usage for a user.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" @@ -789760,7 +785546,7 @@ "operationId": "billing/get-github-billing-usage-summary-report-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-summary-report-for-a-user" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-summary-for-a-user" }, "parameters": [ { @@ -789829,7 +785615,7 @@ ], "responses": { "200": { - "description": "Response when getting a billing usage summary report", + "description": "Response when getting a billing usage summary", "content": { "application/json": { "schema": { diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml index 6af65f838..542ce16dd 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -915,7 +915,7 @@ paths: - subscriptions_url - type - url - type: &415 + type: &414 type: string description: The type of credit the user is receiving. enum: @@ -1081,7 +1081,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: - - &735 + - &733 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1810,7 +1810,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &745 + schema: &743 title: Scim Error description: Scim Error type: object @@ -9080,7 +9080,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &746 + '401': &744 description: Authorization failure '404': *6 x-github: @@ -13345,7 +13345,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &528 + instances_url: &525 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -13381,7 +13381,7 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_reason: &529 + dismissed_reason: &526 type: - string - 'null' @@ -13392,14 +13392,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &530 + dismissed_comment: &527 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &531 + rule: &528 type: object properties: id: @@ -13460,7 +13460,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &532 + tool: &529 type: object properties: name: *105 @@ -13471,15 +13471,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *106 - most_recent_instance: &533 + most_recent_instance: &530 type: object properties: - ref: &526 + ref: &523 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &543 + analysis_key: &540 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -13490,7 +13490,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &544 + category: &541 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -17288,7 +17288,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 - - &579 + - &576 name: has in: query description: |- @@ -17405,7 +17405,7 @@ paths: - direct - transitive - - security_advisory: &580 + security_advisory: &577 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -17641,7 +17641,7 @@ paths: dismissal. maxLength: 280 fixed_at: *129 - auto_dismissed_at: &581 + auto_dismissed_at: &578 type: - string - 'null' @@ -18786,7 +18786,7 @@ paths: - name - created_on examples: - default: &425 + default: &424 value: total_count: 2 network_configurations: @@ -19009,7 +19009,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise parameters: - *39 - - &426 + - &425 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -19021,7 +19021,7 @@ paths: description: Response content: application/json: - schema: &427 + schema: &426 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -19060,7 +19060,7 @@ paths: - subnet_id - region examples: - default: &428 + default: &427 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -19894,7 +19894,7 @@ paths: required: true content: application/json: - schema: &394 + schema: &393 title: Custom Property Set Payload description: Custom property set payload type: object @@ -21023,7 +21023,7 @@ paths: conditions: anyOf: - *151 - - &398 + - &397 title: Organization ruleset conditions type: object description: |- @@ -21073,7 +21073,7 @@ paths: - object rules: type: array - items: &701 + items: &699 title: Repository Rule type: object description: A repository rule. @@ -21082,7 +21082,7 @@ paths: - *160 - *161 - *162 - - &698 + - &696 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -21176,7 +21176,7 @@ paths: - *176 - *177 - *178 - - &699 + - &697 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code review. @@ -21432,7 +21432,7 @@ paths: type: string format: date-time examples: - default: &401 + default: &400 value: - version_id: 3 actor: @@ -21485,7 +21485,7 @@ paths: description: Response content: application/json: - schema: &402 + schema: &401 allOf: - *183 - type: object @@ -21540,7 +21540,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *39 - - &403 + - &402 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -21551,7 +21551,7 @@ paths: enum: - open - resolved - - &404 + - &403 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -21561,7 +21561,7 @@ paths: required: false schema: type: string - - &405 + - &404 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -21570,7 +21570,7 @@ paths: required: false schema: type: string - - &406 + - &405 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. @@ -21586,7 +21586,7 @@ paths: - *17 - *102 - *103 - - &407 + - &406 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -21595,7 +21595,7 @@ paths: required: false schema: type: string - - &408 + - &407 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -21604,7 +21604,7 @@ paths: schema: type: boolean default: false - - &409 + - &408 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -21613,7 +21613,7 @@ paths: schema: type: boolean default: false - - &410 + - &409 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -21629,7 +21629,7 @@ paths: application/json: schema: type: array - items: &411 + items: &410 type: object properties: number: *119 @@ -21645,14 +21645,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &713 + state: &711 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: &714 + resolution: &712 type: - string - 'null' @@ -21759,14 +21759,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &715 + - &713 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &717 + - &715 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -21823,7 +21823,7 @@ paths: - blob_url - commit_sha - commit_url - - &718 + - &716 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. @@ -21884,7 +21884,7 @@ paths: - page_url - commit_sha - commit_url - - &719 + - &717 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -21899,7 +21899,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &720 + - &718 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -21914,7 +21914,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &721 + - &719 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -21929,7 +21929,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &722 + - &720 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -21944,7 +21944,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &723 + - &721 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -21959,7 +21959,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &724 + - &722 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -21974,7 +21974,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &725 + - &723 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. @@ -21989,7 +21989,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &726 + - &724 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. @@ -22004,7 +22004,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &727 + - &725 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. @@ -22019,7 +22019,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &728 + - &726 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. @@ -22034,7 +22034,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &729 + - &727 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 @@ -22059,7 +22059,7 @@ paths: - type: 'null' - *4 examples: - default: &412 + default: &411 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -22268,7 +22268,7 @@ paths: description: Response content: application/json: - schema: &413 + schema: &412 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. @@ -22355,7 +22355,7 @@ paths: description: Overrides for custom patterns defined by the organization. items: *185 examples: - default: &414 + default: &413 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -22499,7 +22499,7 @@ paths: description: Response content: application/json: - schema: &416 + schema: &415 type: object properties: total_minutes_used: @@ -22569,7 +22569,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &417 + default: &416 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -22600,7 +22600,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *39 - - &418 + - &417 name: advanced_security_product in: query description: | @@ -22620,7 +22620,7 @@ paths: description: Success content: application/json: - schema: &419 + schema: &418 type: object properties: total_advanced_security_committers: @@ -22683,7 +22683,7 @@ paths: required: - repositories examples: - default: &420 + default: &419 value: total_advanced_security_committers: 2 total_count: 2 @@ -23307,7 +23307,7 @@ paths: description: Response content: application/json: - schema: &421 + schema: &420 type: object properties: total_gigabytes_bandwidth_used: @@ -23325,7 +23325,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &422 + default: &421 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -23569,7 +23569,7 @@ paths: description: Response content: application/json: - schema: &423 + schema: &422 type: object properties: days_left_in_billing_cycle: @@ -23587,7 +23587,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &424 + default: &423 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -23713,7 +23713,7 @@ paths: subcategory: billing "/enterprises/{enterprise}/settings/billing/usage/summary": get: - summary: Get billing usage summary report for an enterprise + summary: Get billing usage summary for an enterprise description: |- > [!NOTE] > This endpoint is in public preview and is subject to change. @@ -23726,7 +23726,7 @@ paths: operationId: billing/get-github-billing-usage-summary-report-ghe externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-summary-report-for-an-enterprise + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-summary-for-an-enterprise parameters: - *39 - *190 @@ -23757,7 +23757,7 @@ paths: type: string responses: '200': - description: Response when getting a billing usage summary report + description: Response when getting a billing usage summary content: application/json: schema: @@ -24942,7 +24942,7 @@ paths: milestone: anyOf: - type: 'null' - - &387 + - &386 title: Milestone description: A collection of related issues and pull requests. @@ -25223,7 +25223,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &773 + sub_issues_summary: &771 title: Sub-issues Summary type: object properties: @@ -25244,7 +25244,7 @@ paths: - string - 'null' format: uri - issue_dependencies_summary: &774 + issue_dependencies_summary: &772 title: Issue Dependencies Summary type: object properties: @@ -25263,7 +25263,7 @@ paths: - total_blocking issue_field_values: type: array - items: &775 + items: &773 title: Issue Field Value description: A value assigned to an issue field type: object @@ -25358,7 +25358,7 @@ paths: - user - created_at - updated_at - comment: &636 + comment: &634 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -25924,7 +25924,7 @@ paths: url: type: string format: uri - user: &787 + user: &785 title: Public User description: Public User type: object @@ -29282,14 +29282,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: - - &448 + - &447 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &449 + - &448 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -29351,7 +29351,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &462 + '301': &459 description: Moved permanently content: application/json: @@ -29373,7 +29373,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &665 + - &663 name: all description: If `true`, show notifications marked as read. in: query @@ -29381,7 +29381,7 @@ paths: schema: type: boolean default: false - - &666 + - &664 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -29391,7 +29391,7 @@ paths: type: boolean default: false - *208 - - &667 + - &665 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: @@ -29762,7 +29762,7 @@ paths: type: boolean examples: - false - security_and_analysis: &395 + security_and_analysis: &394 type: - object - 'null' @@ -29935,7 +29935,7 @@ paths: - url - subscription_url examples: - default: &668 + default: &666 value: - id: '1' repository: @@ -30916,7 +30916,7 @@ paths: type: array items: *145 examples: - default: &674 + default: &672 value: - property_name: environment value: production @@ -30966,7 +30966,7 @@ paths: required: - properties examples: - default: &675 + default: &673 value: properties: - property_name: environment @@ -31161,7 +31161,7 @@ paths: subcategory: enhanced-billing "/organizations/{org}/settings/billing/usage/summary": get: - summary: Get billing usage summary report for an organization + summary: Get billing usage summary for an organization description: |- > [!NOTE] > This endpoint is in public preview and is subject to change. @@ -31174,7 +31174,7 @@ paths: operationId: billing/get-github-billing-usage-summary-report-org externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-summary-report-for-an-organization + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-summary-for-an-organization parameters: - *81 - *190 @@ -31185,7 +31185,7 @@ paths: - *241 responses: '200': - description: Response when getting a billing usage summary report + description: Response when getting a billing usage summary content: application/json: schema: @@ -32163,7 +32163,7 @@ paths: type: integer repository_cache_usages: type: array - items: &467 + items: &464 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -34286,7 +34286,7 @@ paths: type: array items: *269 examples: - default: &790 + default: &788 value: total_count: 1 repositories: @@ -35330,7 +35330,7 @@ paths: description: Response content: application/json: - schema: &487 + schema: &484 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -35365,7 +35365,7 @@ paths: - key_id - key examples: - default: &488 + default: &485 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -35778,7 +35778,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *81 - - &472 + - &469 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)." @@ -36606,12 +36606,12 @@ paths: required: - subject_digests examples: - default: &817 + default: &815 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &818 + withPredicateType: &816 value: subject_digests: - sha256:abc123 @@ -36670,7 +36670,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &819 + default: &817 value: attestations_subject_digests: - sha256:abc: @@ -37019,7 +37019,7 @@ paths: initiator: type: string examples: - default: &501 + default: &498 value: attestations: - bundle: @@ -37941,7 +37941,7 @@ paths: be returned. in: query required: false - schema: &527 + schema: &524 type: string description: Severity of a code scanning alert. enum: @@ -38992,7 +38992,7 @@ paths: machine: anyOf: - type: 'null' - - &556 + - &553 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -39944,7 +39944,7 @@ paths: - updated_at - visibility examples: - default: &557 + default: &554 value: total_count: 2 secrets: @@ -39982,7 +39982,7 @@ paths: description: Response content: application/json: - schema: &558 + schema: &555 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -40017,7 +40017,7 @@ paths: - key_id - key examples: - default: &559 + default: &556 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -40049,7 +40049,7 @@ paths: application/json: schema: *311 examples: - default: &561 + default: &558 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -41778,7 +41778,7 @@ paths: description: Response content: application/json: - schema: &584 + schema: &581 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -41797,7 +41797,7 @@ paths: - key_id - key examples: - default: &585 + default: &582 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -42127,7 +42127,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *81 - - &593 + - &590 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -42135,7 +42135,7 @@ paths: required: false schema: type: string - - &594 + - &591 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -42143,7 +42143,7 @@ paths: required: false schema: type: string - - &595 + - &592 name: time_period description: |- The time period to filter by. @@ -42159,7 +42159,7 @@ paths: - week - month default: month - - &596 + - &593 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -42184,7 +42184,7 @@ paths: application/json: schema: type: array - items: &597 + items: &594 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -42347,7 +42347,7 @@ paths: examples: - https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &598 + default: &595 value: - id: 21 number: 42 @@ -42438,7 +42438,7 @@ paths: - *97 - *98 - *99 - - &599 + - &596 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -42464,7 +42464,7 @@ paths: application/json: schema: type: array - items: &600 + items: &597 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -42591,7 +42591,7 @@ paths: examples: - https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &601 + default: &598 value: - id: 21 number: 42 @@ -42937,7 +42937,7 @@ paths: description: Response content: application/json: - schema: &443 + schema: &442 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -43027,7 +43027,7 @@ paths: member_name: Octo Lisa member_email: octo_lisa@github.com examples: - default: &444 + default: &443 value: group_id: '123' group_name: Octocat admins @@ -43082,7 +43082,7 @@ paths: description: Response content: application/json: - schema: &441 + schema: &440 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -43122,7 +43122,7 @@ paths: group_name: group-azuread-test2 updated_at: 2021-06-03 22:27:15:000 -700 examples: - default: &442 + default: &441 value: groups: - group_id: '123' @@ -43287,7 +43287,7 @@ paths: application/json: schema: type: array - items: &396 + items: &395 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -43301,7 +43301,7 @@ paths: - name - description examples: - default: &397 + default: &396 value: - name: add_assignee description: Assign or remove a user @@ -44451,7 +44451,7 @@ paths: application/json: schema: *20 examples: - default: &632 + default: &629 value: id: 1 account: @@ -44679,7 +44679,7 @@ paths: required: true content: application/json: - schema: &633 + schema: &630 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -45547,7 +45547,7 @@ paths: application/json: schema: *356 examples: - default: &555 + default: &552 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -46805,7 +46805,7 @@ paths: parameters: - *81 - *362 - - &802 + - &800 name: repo_name description: repo_name parameter in: path @@ -48151,7 +48151,7 @@ paths: - nuget - container - *81 - - &803 + - &801 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -48192,7 +48192,7 @@ paths: default: *367 '403': *27 '401': *23 - '400': &805 + '400': &803 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -49915,275 +49915,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: - - *81 - - 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: &382 - title: Project - description: Projects are a way to organize columns and cards of - work. - type: object - properties: - owner_url: - type: string - format: uri - examples: - - https://api.github.com/repos/api-playground/projects-test - url: - type: string - format: uri - examples: - - https://api.github.com/projects/1002604 - html_url: - type: string - format: uri - examples: - - https://github.com/api-playground/projects-test/projects/12 - columns_url: - type: string - format: uri - examples: - - https://api.github.com/projects/1002604/columns - id: - type: integer - examples: - - 1002604 - node_id: - type: string - examples: - - MDc6UHJvamVjdDEwMDI2MDQ= - name: - description: Name of the project - type: string - examples: - - Week One Sprint - body: - description: Body of the project - type: - - string - - 'null' - examples: - - This project represents the sprint of the first week in January - number: - type: integer - examples: - - 1 - state: - description: State of the project; either 'open' or 'closed' - type: string - examples: - - open - creator: - anyOf: - - type: 'null' - - *4 - created_at: - type: string - format: date-time - examples: - - '2011-04-10T20:09:31Z' - updated_at: - type: string - format: date-time - examples: - - '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: *41 - '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: - - *81 - 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: *382 - 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': *23 - '403': *27 - '404': *6 - '410': &459 - 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 @@ -50213,7 +49944,7 @@ paths: application/json: schema: type: array - items: &383 + items: &382 title: Projects v2 Project description: A projects v2 project type: object @@ -50287,7 +50018,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &880 + - &878 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -50372,7 +50103,7 @@ paths: - deleted_at - deleted_by examples: - default: &384 + default: &383 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -50475,7 +50206,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-organization parameters: - - &385 + - &384 name: project_number description: The project's number. in: path @@ -50488,9 +50219,9 @@ paths: description: Response content: application/json: - schema: *383 + schema: *382 examples: - default: *384 + default: *383 headers: Link: *41 '304': *35 @@ -50512,7 +50243,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-organization parameters: - - *385 + - *384 - *81 - *17 - *102 @@ -50524,7 +50255,7 @@ paths: application/json: schema: type: array - items: &386 + items: &385 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -50674,7 +50405,7 @@ paths: - updated_at - project_url examples: - default: &822 + default: &820 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -50777,8 +50508,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-organization parameters: - - *385 - - &823 + - *384 + - &821 name: field_id description: The unique identifier of the field. in: path @@ -50791,9 +50522,9 @@ paths: description: Response content: application/json: - schema: *386 + schema: *385 examples: - default: &824 + default: &822 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -50837,7 +50568,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: - - *385 + - *384 - *81 - 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) @@ -50870,7 +50601,7 @@ paths: application/json: schema: type: array - items: &391 + items: &390 title: Projects v2 Item description: An item belonging to a project type: object @@ -50887,7 +50618,7 @@ paths: description: The API URL of the project that contains this item. examples: - https://api.github.com/users/monalisa/2/projectsV2/3 - content_type: &389 + content_type: &388 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -50944,7 +50675,7 @@ paths: - updated_at - archived_at examples: - default: &392 + default: &391 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -51639,7 +51370,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-organization-owned-project parameters: - *81 - - *385 + - *384 requestBody: required: true description: Details of the item to add to the project. @@ -51676,7 +51407,7 @@ paths: description: Response content: application/json: - schema: &825 + schema: &823 title: Projects v2 Item description: An item belonging to a project type: object @@ -51690,7 +51421,7 @@ paths: content: oneOf: - *218 - - &568 + - &565 title: Pull Request Simple description: Pull Request Simple type: object @@ -51810,7 +51541,7 @@ paths: milestone: anyOf: - type: 'null' - - *387 + - *386 active_lock_reason: type: - string @@ -51909,7 +51640,7 @@ paths: _links: type: object properties: - comments: &388 + comments: &387 title: Link description: Hypermedia Link type: object @@ -51918,13 +51649,13 @@ paths: type: string required: - href - commits: *388 - statuses: *388 - html: *388 - issue: *388 - review_comments: *388 - review_comment: *388 - self: *388 + commits: *387 + statuses: *387 + html: *387 + issue: *387 + review_comments: *387 + review_comment: *387 + self: *387 required: - comments - commits @@ -51935,7 +51666,7 @@ paths: - review_comment - self author_association: *205 - auto_merge: &677 + auto_merge: &675 title: Auto merge description: The status of auto merging a pull request. type: @@ -52037,7 +51768,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *389 + content_type: *388 creator: *4 created_at: type: string @@ -52074,7 +51805,7 @@ paths: - updated_at - archived_at examples: - issue: &390 + issue: &389 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -52129,7 +51860,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: *390 + pull_request: *389 '304': *35 '403': *27 '401': *23 @@ -52149,9 +51880,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: - - *385 + - *384 - *81 - - &393 + - &392 name: item_id description: The unique identifier of the project item. in: path @@ -52177,9 +51908,9 @@ paths: description: Response content: application/json: - schema: *391 + schema: *390 examples: - default: *392 + default: *391 headers: Link: *41 '304': *35 @@ -52200,9 +51931,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-organization parameters: - - *385 + - *384 - *81 - - *393 + - *392 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -52275,13 +52006,13 @@ paths: description: Response content: application/json: - schema: *391 + schema: *390 examples: - text_field: *392 - number_field: *392 - date_field: *392 - single_select_field: *392 - iteration_field: *392 + text_field: *391 + number_field: *391 + date_field: *391 + single_select_field: *391 + iteration_field: *391 '401': *23 '403': *27 '404': *6 @@ -52301,9 +52032,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-organization parameters: - - *385 + - *384 - *81 - - *393 + - *392 responses: '204': description: Response @@ -52466,7 +52197,7 @@ paths: required: true content: application/json: - schema: *394 + schema: *393 examples: default: value: @@ -53038,7 +52769,7 @@ paths: description: Response content: application/json: - schema: &461 + schema: &458 title: Full Repository description: Full Repository type: object @@ -53503,7 +53234,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &573 + code_of_conduct: &570 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -53533,7 +53264,7 @@ paths: - key - name - html_url - security_and_analysis: *395 + security_and_analysis: *394 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -53617,7 +53348,7 @@ paths: - network_count - subscribers_count examples: - default: &463 + default: &460 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -54143,9 +53874,9 @@ paths: application/json: schema: type: array - items: *396 + items: *395 examples: - default: *397 + default: *396 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -54170,7 +53901,7 @@ paths: - *81 - *17 - *19 - - &700 + - &698 name: targets description: | A comma-separated list of rule targets to filter by. @@ -54262,11 +53993,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *158 - conditions: *398 + conditions: *397 rules: type: array description: An array of rules within the ruleset. - items: &400 + items: &399 title: Repository Rule type: object description: A repository rule. @@ -54330,7 +54061,7 @@ paths: application/json: schema: *179 examples: - default: &399 + default: &398 value: id: 21 name: super cool ruleset @@ -54385,7 +54116,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *81 - - &702 + - &700 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 @@ -54397,14 +54128,14 @@ paths: x-multi-segment: true - *293 - *99 - - &703 + - &701 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 - - &704 + - &702 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -54424,7 +54155,7 @@ paths: description: Response content: application/json: - schema: &705 + schema: &703 title: Rule Suites description: Response type: array @@ -54480,7 +54211,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &706 + default: &704 value: - id: 21 actor_id: 12 @@ -54524,7 +54255,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *81 - - &707 + - &705 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -54540,7 +54271,7 @@ paths: description: Response content: application/json: - schema: &708 + schema: &706 title: Rule Suite description: Response type: object @@ -54647,7 +54378,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &709 + default: &707 value: id: 21 actor_id: 12 @@ -54722,7 +54453,7 @@ paths: application/json: schema: *179 examples: - default: *399 + default: *398 '404': *6 '500': *38 put: @@ -54771,11 +54502,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *158 - conditions: *398 + conditions: *397 rules: description: An array of rules within the ruleset. type: array - items: *400 + items: *399 examples: default: value: @@ -54812,7 +54543,7 @@ paths: application/json: schema: *179 examples: - default: *399 + default: *398 '404': *6 '500': *38 delete: @@ -54871,7 +54602,7 @@ paths: type: array items: *183 examples: - default: *401 + default: *400 '404': *6 '500': *38 x-github: @@ -54908,7 +54639,7 @@ paths: description: Response content: application/json: - schema: *402 + schema: *401 examples: default: value: @@ -54971,14 +54702,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *81 + - *402 - *403 - *404 - *405 - - *406 - *104 - *19 - *17 - - &711 + - &709 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 @@ -54988,7 +54719,7 @@ paths: required: false schema: type: string - - &712 + - &710 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 @@ -54998,10 +54729,10 @@ paths: required: false schema: type: string + - *406 - *407 - *408 - *409 - - *410 responses: '200': description: Response @@ -55009,9 +54740,9 @@ paths: application/json: schema: type: array - items: *411 + items: *410 examples: - default: *412 + default: *411 headers: Link: *41 '404': *6 @@ -55046,9 +54777,9 @@ paths: description: Response content: application/json: - schema: *413 + schema: *412 examples: - default: *414 + default: *413 '403': *27 '404': *6 patch: @@ -55201,7 +54932,7 @@ paths: application/json: schema: type: array - items: &733 + items: &731 description: A repository security advisory. type: object properties: @@ -55445,7 +55176,7 @@ paths: login: type: string description: The username of the user credited. - type: *415 + type: *414 credits_detailed: type: - array @@ -55456,7 +55187,7 @@ paths: type: object properties: user: *4 - type: *415 + type: *414 state: type: string description: The state of the user's acceptance of the @@ -55520,7 +55251,7 @@ paths: - private_fork additionalProperties: false examples: - default: &734 + default: &732 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -55994,9 +55725,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *415 examples: - default: *417 + default: *416 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -56021,7 +55752,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *81 - - *418 + - *417 - *17 - *19 responses: @@ -56029,9 +55760,9 @@ paths: description: Success content: application/json: - schema: *419 + schema: *418 examples: - default: *420 + default: *419 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -56059,9 +55790,9 @@ paths: description: Response content: application/json: - schema: *421 + schema: *420 examples: - default: *422 + default: *421 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -56089,9 +55820,9 @@ paths: description: Response content: application/json: - schema: *423 + schema: *422 examples: - default: *424 + default: *423 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -56374,7 +56105,7 @@ paths: type: array items: *137 examples: - default: *425 + default: *424 headers: Link: *41 x-github: @@ -56575,15 +56306,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: - *81 - - *426 + - *425 responses: '200': description: Response content: application/json: - schema: *427 + schema: *426 examples: - default: *428 + default: *427 headers: Link: *41 x-github: @@ -56621,7 +56352,7 @@ paths: description: Response content: application/json: - schema: &450 + schema: &449 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -56673,7 +56404,7 @@ paths: group_description: Another group of Developers working on AzureAD SAML SSO examples: - default: &451 + default: &450 value: groups: - group_id: '123' @@ -56881,7 +56612,7 @@ paths: description: Response content: application/json: - schema: &429 + schema: &428 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -57280,7 +57011,7 @@ paths: - repos_count - organization examples: - default: &430 + default: &429 value: id: 1 node_id: MDQ6VGVhbTE= @@ -57357,9 +57088,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *428 examples: - default: *430 + default: *429 '404': *6 x-github: githubCloudOnly: false @@ -57444,16 +57175,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *429 + schema: *428 examples: - default: *430 + default: *429 '201': description: Response content: application/json: - schema: *429 + schema: *428 examples: - default: *430 + default: *429 '404': *6 '422': *15 '403': *27 @@ -57523,7 +57254,7 @@ paths: application/json: schema: type: array - items: &431 + items: &430 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -57634,7 +57365,7 @@ paths: - updated_at - url examples: - default: &777 + default: &775 value: - author: login: octocat @@ -57743,9 +57474,9 @@ paths: description: Response content: application/json: - schema: *431 + schema: *430 examples: - default: &432 + default: &431 value: author: login: octocat @@ -57819,7 +57550,7 @@ paths: parameters: - *81 - *203 - - &433 + - &432 name: discussion_number description: The number that identifies the discussion. in: path @@ -57831,9 +57562,9 @@ paths: description: Response content: application/json: - schema: *431 + schema: *430 examples: - default: *432 + default: *431 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57857,7 +57588,7 @@ paths: parameters: - *81 - *203 - - *433 + - *432 requestBody: required: false content: @@ -57880,9 +57611,9 @@ paths: description: Response content: application/json: - schema: *431 + schema: *430 examples: - default: &778 + default: &776 value: author: login: octocat @@ -57954,7 +57685,7 @@ paths: parameters: - *81 - *203 - - *433 + - *432 responses: '204': description: Response @@ -57982,7 +57713,7 @@ paths: parameters: - *81 - *203 - - *433 + - *432 - *104 - *17 - *19 @@ -57993,7 +57724,7 @@ paths: application/json: schema: type: array - items: &434 + items: &433 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -58073,7 +57804,7 @@ paths: - updated_at - url examples: - default: &779 + default: &777 value: - author: login: octocat @@ -58143,7 +57874,7 @@ paths: parameters: - *81 - *203 - - *433 + - *432 requestBody: required: true content: @@ -58165,9 +57896,9 @@ paths: description: Response content: application/json: - schema: *434 + schema: *433 examples: - default: &435 + default: &434 value: author: login: octocat @@ -58235,8 +57966,8 @@ paths: parameters: - *81 - *203 - - *433 - - &436 + - *432 + - &435 name: comment_number description: The number that identifies the comment. in: path @@ -58248,9 +57979,9 @@ paths: description: Response content: application/json: - schema: *434 + schema: *433 examples: - default: *435 + default: *434 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58274,8 +58005,8 @@ paths: parameters: - *81 - *203 - - *433 - - *436 + - *432 + - *435 requestBody: required: true content: @@ -58297,9 +58028,9 @@ paths: description: Response content: application/json: - schema: *434 + schema: *433 examples: - default: &780 + default: &778 value: author: login: octocat @@ -58365,8 +58096,8 @@ paths: parameters: - *81 - *203 - - *433 - - *436 + - *432 + - *435 responses: '204': description: Response @@ -58394,8 +58125,8 @@ paths: parameters: - *81 - *203 - - *433 - - *436 + - *432 + - *435 - 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. @@ -58421,7 +58152,7 @@ paths: application/json: schema: type: array - items: &437 + items: &436 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -58465,7 +58196,7 @@ paths: - content - created_at examples: - default: &439 + default: &438 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -58517,8 +58248,8 @@ paths: parameters: - *81 - *203 - - *433 - - *436 + - *432 + - *435 requestBody: required: true content: @@ -58551,9 +58282,9 @@ paths: team discussion comment content: application/json: - schema: *437 + schema: *436 examples: - default: &438 + default: &437 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -58582,9 +58313,9 @@ paths: description: Response content: application/json: - schema: *437 + schema: *436 examples: - default: *438 + default: *437 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58609,9 +58340,9 @@ paths: parameters: - *81 - *203 - - *433 - - *436 - - &440 + - *432 + - *435 + - &439 name: reaction_id description: The unique identifier of the reaction. in: path @@ -58645,7 +58376,7 @@ paths: parameters: - *81 - *203 - - *433 + - *432 - 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. @@ -58671,9 +58402,9 @@ paths: application/json: schema: type: array - items: *437 + items: *436 examples: - default: *439 + default: *438 headers: Link: *41 x-github: @@ -58701,7 +58432,7 @@ paths: parameters: - *81 - *203 - - *433 + - *432 requestBody: required: true content: @@ -58733,16 +58464,16 @@ paths: description: Response content: application/json: - schema: *437 + schema: *436 examples: - default: *438 + default: *437 '201': description: Response content: application/json: - schema: *437 + schema: *436 examples: - default: *438 + default: *437 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -58767,8 +58498,8 @@ paths: parameters: - *81 - *203 - - *433 - - *440 + - *432 + - *439 responses: '204': description: Response @@ -58798,9 +58529,9 @@ paths: description: Response content: application/json: - schema: *441 + schema: *440 examples: - default: *442 + default: *441 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -58844,9 +58575,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *442 examples: - default: *444 + default: *443 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -58987,7 +58718,7 @@ paths: description: Response content: application/json: - schema: &445 + schema: &444 title: Team Membership description: Team Membership type: object @@ -59015,7 +58746,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &781 + response-if-user-is-a-team-maintainer: &779 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -59078,9 +58809,9 @@ paths: description: Response content: application/json: - schema: *445 + schema: *444 examples: - response-if-users-membership-with-team-is-now-pending: &782 + response-if-users-membership-with-team-is-now-pending: &780 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -59153,7 +58884,7 @@ paths: application/json: schema: type: array - items: &446 + items: &445 title: Team Project description: A team's access to a project. type: object @@ -59222,7 +58953,7 @@ paths: - updated_at - permissions examples: - default: &783 + default: &781 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -59287,7 +59018,7 @@ paths: parameters: - *81 - *203 - - &447 + - &446 name: project_id description: The unique identifier of the project. in: path @@ -59299,9 +59030,9 @@ paths: description: Response content: application/json: - schema: *446 + schema: *445 examples: - default: &784 + default: &782 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -59365,7 +59096,7 @@ paths: parameters: - *81 - *203 - - *447 + - *446 requestBody: required: false content: @@ -59434,7 +59165,7 @@ paths: parameters: - *81 - *203 - - *447 + - *446 responses: '204': description: Response @@ -59505,14 +59236,14 @@ paths: parameters: - *81 - *203 + - *447 - *448 - - *449 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &785 + schema: &783 title: Team Repository description: A team's access to a repository. type: object @@ -60155,8 +59886,8 @@ paths: parameters: - *81 - *203 + - *447 - *448 - - *449 requestBody: required: false content: @@ -60203,8 +59934,8 @@ paths: parameters: - *81 - *203 + - *447 - *448 - - *449 responses: '204': description: Response @@ -60237,9 +59968,9 @@ paths: description: Response content: application/json: - schema: *450 + schema: *449 examples: - default: *451 + default: *450 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -60305,7 +60036,7 @@ paths: description: Response content: application/json: - schema: *450 + schema: *449 examples: default: value: @@ -60350,7 +60081,7 @@ paths: type: array items: *296 examples: - response-if-child-teams-exist: &786 + response-if-child-teams-exist: &784 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -60477,7 +60208,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#get-a-project-card parameters: - - &452 + - &451 name: card_id description: The unique identifier of the card. in: path @@ -60489,7 +60220,7 @@ paths: description: Response content: application/json: - schema: &453 + schema: &452 title: Project Card description: Project cards represent a scope of work. type: object @@ -60564,7 +60295,7 @@ paths: - created_at - updated_at examples: - default: &454 + default: &453 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -60620,7 +60351,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#update-an-existing-project-card parameters: - - *452 + - *451 requestBody: required: false content: @@ -60650,9 +60381,9 @@ paths: description: Response content: application/json: - schema: *453 + schema: *452 examples: - default: *454 + default: *453 '304': *35 '403': *27 '401': *23 @@ -60679,7 +60410,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#delete-a-project-card parameters: - - *452 + - *451 responses: '204': description: Response @@ -60723,7 +60454,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#move-a-project-card parameters: - - *452 + - *451 requestBody: required: true content: @@ -60836,7 +60567,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#get-a-project-column parameters: - - &455 + - &454 name: column_id description: The unique identifier of the column. in: path @@ -60848,7 +60579,7 @@ paths: description: Response content: application/json: - schema: &456 + schema: &455 title: Project Column description: Project columns contain cards of work. type: object @@ -60902,7 +60633,7 @@ paths: - created_at - updated_at examples: - default: &457 + default: &456 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -60937,7 +60668,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#update-an-existing-project-column parameters: - - *455 + - *454 requestBody: required: true content: @@ -60962,9 +60693,9 @@ paths: description: Response content: application/json: - schema: *456 + schema: *455 examples: - default: *457 + default: *456 '304': *35 '403': *27 '401': *23 @@ -60989,7 +60720,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#delete-a-project-column parameters: - - *455 + - *454 responses: '204': description: Response @@ -61018,7 +60749,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#list-project-cards parameters: - - *455 + - *454 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -61039,7 +60770,7 @@ paths: application/json: schema: type: array - items: *453 + items: *452 examples: default: value: @@ -61098,7 +60829,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#create-a-project-card parameters: - - *455 + - *454 requestBody: required: true content: @@ -61142,9 +60873,9 @@ paths: description: Response content: application/json: - schema: *453 + schema: *452 examples: - default: *454 + default: *453 '304': *35 '403': *27 '401': *23 @@ -61200,7 +60931,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#move-a-project-column parameters: - - *455 + - *454 requestBody: required: true content: @@ -61247,211 +60978,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: - - *447 - responses: - '200': - description: Response - content: - application/json: - schema: *382 - examples: - default: &458 - 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': *35 - '403': *27 - '401': *23 - 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: - - *447 - requestBody: - required: false - content: - application/json: - schema: - properties: - name: - description: Name of the project - type: string - examples: - - Week One Sprint - body: - description: Body of the project - type: - - string - - 'null' - examples: - - This project represents the sprint of the first week in January - state: - description: State of the project; either 'open' or 'closed' - type: string - examples: - - open - 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: *382 - examples: - default: *458 - '404': - description: Not Found if the authenticated user does not have access to - the project - '304': *35 - '403': - description: Forbidden - content: - application/json: - schema: - type: object - properties: - message: - type: string - documentation_url: - type: string - errors: - type: array - items: - type: string - '401': *23 - '410': *459 - '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: - - *447 - responses: - '204': - description: Delete Success - '304': *35 - '403': - description: Forbidden - content: - application/json: - schema: - type: object - properties: - message: - type: string - documentation_url: - type: string - errors: - type: array - items: - type: string - '401': *23 - '410': *459 - '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 @@ -61466,7 +60992,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#list-project-collaborators parameters: - - *447 + - *446 - 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 @@ -61523,7 +61049,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#add-project-collaborator parameters: - - *447 + - *446 - *132 requestBody: required: false @@ -61578,7 +61104,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *447 + - *446 - *132 responses: '204': @@ -61610,7 +61136,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: - - *447 + - *446 - *132 responses: '200': @@ -61708,7 +61234,7 @@ paths: resources: type: object properties: - core: &460 + core: &457 title: Rate Limit type: object properties: @@ -61725,21 +61251,21 @@ paths: - remaining - reset - used - graphql: *460 - search: *460 - code_search: *460 - source_import: *460 - integration_manifest: *460 - code_scanning_upload: *460 - actions_runner_registration: *460 - scim: *460 - dependency_snapshots: *460 - dependency_sbom: *460 - code_scanning_autofix: *460 + graphql: *457 + search: *457 + code_search: *457 + source_import: *457 + integration_manifest: *457 + code_scanning_upload: *457 + actions_runner_registration: *457 + scim: *457 + dependency_snapshots: *457 + dependency_sbom: *457 + code_scanning_autofix: *457 required: - core - search - rate: *460 + rate: *457 required: - rate - resources @@ -61844,14 +61370,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: + - *447 - *448 - - *449 responses: '200': description: Response content: application/json: - schema: *461 + schema: *458 examples: default-response: summary: Default response @@ -62356,7 +61882,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *462 + '301': *459 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62374,8 +61900,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: + - *447 - *448 - - *449 requestBody: required: false content: @@ -62633,10 +62159,10 @@ paths: description: Response content: application/json: - schema: *461 + schema: *458 examples: - default: *463 - '307': &464 + default: *460 + '307': &461 description: Temporary Redirect content: application/json: @@ -62665,8 +62191,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: + - *447 - *448 - - *449 responses: '204': description: Response @@ -62688,7 +62214,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': *464 + '307': *461 '404': *6 '409': *112 x-github: @@ -62712,11 +62238,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: + - *447 - *448 - - *449 - *17 - *19 - - &479 + - &476 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -62739,7 +62265,7 @@ paths: type: integer artifacts: type: array - items: &465 + items: &462 title: Artifact description: An artifact type: object @@ -62834,7 +62360,7 @@ paths: - expires_at - updated_at examples: - default: &480 + default: &477 value: total_count: 2 artifacts: @@ -62895,9 +62421,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: + - *447 - *448 - - *449 - - &466 + - &463 name: artifact_id description: The unique identifier of the artifact. in: path @@ -62909,7 +62435,7 @@ paths: description: Response content: application/json: - schema: *465 + schema: *462 examples: default: value: @@ -62947,9 +62473,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: + - *447 - *448 - - *449 - - *466 + - *463 responses: '204': description: Response @@ -62973,9 +62499,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: + - *447 - *448 - - *449 - - *466 + - *463 - name: archive_format in: path required: true @@ -62989,7 +62515,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': *459 + '410': &633 + description: Gone + content: + application/json: + schema: *3 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63012,14 +62542,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: + - *447 - *448 - - *449 responses: '200': description: Response content: application/json: - schema: *467 + schema: *464 examples: default: value: @@ -63045,11 +62575,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: + - *447 - *448 - - *449 - *17 - *19 - - &468 + - &465 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 @@ -63083,7 +62613,7 @@ paths: description: Response content: application/json: - schema: &469 + schema: &466 title: Repository actions caches description: Repository actions caches type: object @@ -63133,7 +62663,7 @@ paths: - total_count - actions_caches examples: - default: &470 + default: &467 value: total_count: 1 actions_caches: @@ -63165,23 +62695,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: + - *447 - *448 - - *449 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *468 + - *465 responses: '200': description: Response content: application/json: - schema: *469 + schema: *466 examples: - default: *470 + default: *467 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63201,8 +62731,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: + - *447 - *448 - - *449 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -63233,9 +62763,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: + - *447 - *448 - - *449 - - &471 + - &468 name: job_id description: The unique identifier of the job. in: path @@ -63247,7 +62777,7 @@ paths: description: Response content: application/json: - schema: &483 + schema: &480 title: Job description: Information of a job execution in a workflow run type: object @@ -63594,9 +63124,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: + - *447 - *448 - - *449 - - *471 + - *468 responses: '302': description: Response @@ -63624,9 +63154,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: + - *447 - *448 - - *449 - - *471 + - *468 requestBody: required: false content: @@ -63672,8 +63202,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: + - *447 - *448 - - *449 responses: '200': description: Status response @@ -63723,8 +63253,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: + - *447 - *448 - - *449 requestBody: required: true content: @@ -63787,8 +63317,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: + - *447 - *448 - - *449 - *17 - *19 responses: @@ -63806,7 +63336,7 @@ paths: type: integer secrets: type: array - items: &485 + items: &482 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -63827,7 +63357,7 @@ paths: - created_at - updated_at examples: - default: &486 + default: &483 value: total_count: 2 secrets: @@ -63860,9 +63390,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: + - *447 - *448 - - *449 - - *472 + - *469 - *19 responses: '200': @@ -63879,7 +63409,7 @@ paths: type: integer variables: type: array - items: &489 + items: &486 title: Actions Variable type: object properties: @@ -63913,7 +63443,7 @@ paths: - created_at - updated_at examples: - default: &490 + default: &487 value: total_count: 2 variables: @@ -63946,8 +63476,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: + - *447 - *448 - - *449 responses: '200': description: Response @@ -63956,7 +63486,7 @@ paths: schema: type: object properties: - enabled: &473 + enabled: &470 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *54 @@ -63991,8 +63521,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: + - *447 - *448 - - *449 responses: '204': description: Response @@ -64003,7 +63533,7 @@ paths: schema: type: object properties: - enabled: *473 + enabled: *470 allowed_actions: *54 sha_pinning_required: *55 required: @@ -64036,14 +63566,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: + - *447 - *448 - - *449 responses: '200': description: Response content: application/json: - schema: &474 + schema: &471 type: object properties: access_level: @@ -64061,7 +63591,7 @@ paths: required: - access_level examples: - default: &475 + default: &472 value: access_level: organization x-github: @@ -64086,15 +63616,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: + - *447 - *448 - - *449 requestBody: required: true content: application/json: - schema: *474 + schema: *471 examples: - default: *475 + default: *472 responses: '204': description: Response @@ -64118,8 +63648,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: + - *447 - *448 - - *449 responses: '200': description: Response @@ -64149,8 +63679,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: + - *447 - *448 - - *449 responses: '204': description: Empty response for successful settings update @@ -64184,8 +63714,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: + - *447 - *448 - - *449 responses: '200': description: Response @@ -64212,8 +63742,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: + - *447 - *448 - - *449 responses: '204': description: Response @@ -64247,8 +63777,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: + - *447 - *448 - - *449 responses: '200': description: Response @@ -64276,8 +63806,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: + - *447 - *448 - - *449 requestBody: required: true content: @@ -64308,8 +63838,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: + - *447 - *448 - - *449 responses: '200': description: Response @@ -64340,8 +63870,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: + - *447 - *448 - - *449 responses: '204': description: Response @@ -64373,8 +63903,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: + - *447 - *448 - - *449 responses: '200': description: Response @@ -64403,8 +63933,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: + - *447 - *448 - - *449 responses: '204': description: Success response @@ -64444,8 +63974,8 @@ paths: in: query schema: type: string + - *447 - *448 - - *449 - *17 - *19 responses: @@ -64489,8 +64019,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: + - *447 - *448 - - *449 responses: '200': description: Response @@ -64522,8 +64052,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: + - *447 - *448 - - *449 requestBody: required: true content: @@ -64597,8 +64127,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: + - *447 - *448 - - *449 responses: '201': description: Response @@ -64634,8 +64164,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: + - *447 - *448 - - *449 responses: '201': description: Response @@ -64665,8 +64195,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: + - *447 - *448 - - *449 - *69 responses: '200': @@ -64696,8 +64226,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: + - *447 - *448 - - *449 - *69 responses: '204': @@ -64724,8 +64254,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: + - *447 - *448 - - *449 - *69 responses: '200': *75 @@ -64750,8 +64280,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: + - *447 - *448 - - *449 - *69 requestBody: required: true @@ -64800,8 +64330,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: + - *447 - *448 - - *449 - *69 requestBody: required: true @@ -64851,8 +64381,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: + - *447 - *448 - - *449 - *69 responses: '200': *276 @@ -64882,8 +64412,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: + - *447 - *448 - - *449 - *69 - *277 responses: @@ -64913,9 +64443,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: + - *447 - *448 - - *449 - - &493 + - &490 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. @@ -64923,7 +64453,7 @@ paths: required: false schema: type: string - - &494 + - &491 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -64931,7 +64461,7 @@ paths: required: false schema: type: string - - &495 + - &492 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -64940,7 +64470,7 @@ paths: required: false schema: type: string - - &496 + - &493 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 @@ -64967,7 +64497,7 @@ paths: - pending - *17 - *19 - - &497 + - &494 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)." @@ -64976,7 +64506,7 @@ paths: schema: type: string format: date-time - - &476 + - &473 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -64985,13 +64515,13 @@ paths: schema: type: boolean default: false - - &498 + - &495 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &499 + - &496 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -65014,7 +64544,7 @@ paths: type: integer workflow_runs: type: array - items: &477 + items: &474 title: Workflow Run description: An invocation of a workflow type: object @@ -65131,7 +64661,7 @@ paths: type: - array - 'null' - items: &518 + items: &515 title: Pull Request Minimal type: object properties: @@ -65258,7 +64788,7 @@ paths: head_commit: anyOf: - type: 'null' - - &522 + - &519 title: Simple Commit description: A commit. type: object @@ -65373,7 +64903,7 @@ paths: - workflow_url - pull_requests examples: - default: &500 + default: &497 value: total_count: 1 workflow_runs: @@ -65609,24 +65139,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: + - *447 - *448 - - *449 - - &478 + - &475 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *476 + - *473 responses: '200': description: Response content: application/json: - schema: *477 + schema: *474 examples: - default: &481 + default: &478 value: id: 30433642 name: Build @@ -65867,9 +65397,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: + - *447 - *448 - - *449 - - *478 + - *475 responses: '204': description: Response @@ -65892,9 +65422,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: + - *447 - *448 - - *449 - - *478 + - *475 responses: '200': description: Response @@ -66022,9 +65552,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: + - *447 - *448 - - *449 - - *478 + - *475 responses: '201': description: Response @@ -66057,12 +65587,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: + - *447 - *448 - - *449 - - *478 + - *475 - *17 - *19 - - *479 + - *476 responses: '200': description: Response @@ -66078,9 +65608,9 @@ paths: type: integer artifacts: type: array - items: *465 + items: *462 examples: - default: *480 + default: *477 headers: Link: *41 x-github: @@ -66104,25 +65634,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: + - *447 - *448 - - *449 - - *478 - - &482 + - *475 + - &479 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *476 + - *473 responses: '200': description: Response content: application/json: - schema: *477 + schema: *474 examples: - default: *481 + default: *478 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66145,10 +65675,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: + - *447 - *448 - - *449 - - *478 - - *482 + - *475 + - *479 - *17 - *19 responses: @@ -66166,9 +65696,9 @@ paths: type: integer jobs: type: array - items: *483 + items: *480 examples: - default: &484 + default: &481 value: total_count: 1 jobs: @@ -66281,10 +65811,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: + - *447 - *448 - - *449 - - *478 - - *482 + - *475 + - *479 responses: '302': description: Response @@ -66312,9 +65842,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: + - *447 - *448 - - *449 - - *478 + - *475 responses: '202': description: Response @@ -66347,9 +65877,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: + - *447 - *448 - - *449 - - *478 + - *475 requestBody: required: true content: @@ -66416,9 +65946,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: + - *447 - *448 - - *449 - - *478 + - *475 responses: '202': description: Response @@ -66451,9 +65981,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: + - *447 - *448 - - *449 - - *478 + - *475 - 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 @@ -66483,9 +66013,9 @@ paths: type: integer jobs: type: array - items: *483 + items: *480 examples: - default: *484 + default: *481 headers: Link: *41 x-github: @@ -66510,9 +66040,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: + - *447 - *448 - - *449 - - *478 + - *475 responses: '302': description: Response @@ -66539,9 +66069,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: + - *447 - *448 - - *449 - - *478 + - *475 responses: '204': description: Response @@ -66568,9 +66098,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: + - *447 - *448 - - *449 - - *478 + - *475 responses: '200': description: Response @@ -66639,7 +66169,7 @@ paths: items: type: object properties: - type: &602 + type: &599 type: string description: The type of reviewer. enum: @@ -66725,9 +66255,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: + - *447 - *448 - - *449 - - *478 + - *475 requestBody: required: true content: @@ -66777,7 +66307,7 @@ paths: application/json: schema: type: array - items: &588 + items: &585 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -66889,7 +66419,7 @@ paths: - created_at - updated_at examples: - default: &589 + default: &586 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -66945,9 +66475,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: + - *447 - *448 - - *449 - - *478 + - *475 requestBody: required: false content: @@ -66992,9 +66522,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: + - *447 - *448 - - *449 - - *478 + - *475 requestBody: required: false content: @@ -67049,9 +66579,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: + - *447 - *448 - - *449 - - *478 + - *475 responses: '200': description: Response @@ -67188,8 +66718,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: + - *447 - *448 - - *449 - *17 - *19 responses: @@ -67207,9 +66737,9 @@ paths: type: integer secrets: type: array - items: *485 + items: *482 examples: - default: *486 + default: *483 headers: Link: *41 x-github: @@ -67234,16 +66764,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: + - *447 - *448 - - *449 responses: '200': description: Response content: application/json: - schema: *487 + schema: *484 examples: - default: *488 + default: *485 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67265,17 +66795,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: + - *447 - *448 - - *449 - *279 responses: '200': description: Response content: application/json: - schema: *485 + schema: *482 examples: - default: &615 + default: &612 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -67301,8 +66831,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: + - *447 - *448 - - *449 - *279 requestBody: required: true @@ -67360,8 +66890,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: + - *447 - *448 - - *449 - *279 responses: '204': @@ -67387,9 +66917,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: + - *447 - *448 - - *449 - - *472 + - *469 - *19 responses: '200': @@ -67406,9 +66936,9 @@ paths: type: integer variables: type: array - items: *489 + items: *486 examples: - default: *490 + default: *487 headers: Link: *41 x-github: @@ -67431,8 +66961,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: + - *447 - *448 - - *449 requestBody: required: true content: @@ -67484,17 +67014,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: + - *447 - *448 - - *449 - *282 responses: '200': description: Response content: application/json: - schema: *489 + schema: *486 examples: - default: &616 + default: &613 value: name: USERNAME value: octocat @@ -67520,8 +67050,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: + - *447 - *448 - - *449 - *282 requestBody: required: true @@ -67564,8 +67094,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: + - *447 - *448 - - *449 - *282 responses: '204': @@ -67591,8 +67121,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: + - *447 - *448 - - *449 - *17 - *19 responses: @@ -67610,7 +67140,7 @@ paths: type: integer workflows: type: array - items: &491 + items: &488 title: Workflow description: A GitHub Actions workflow type: object @@ -67728,9 +67258,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: + - *447 - *448 - - *449 - - &492 + - &489 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -67745,7 +67275,7 @@ paths: description: Response content: application/json: - schema: *491 + schema: *488 examples: default: value: @@ -67778,9 +67308,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: + - *447 - *448 - - *449 - - *492 + - *489 responses: '204': description: Response @@ -67805,9 +67335,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: + - *447 - *448 - - *449 - - *492 + - *489 responses: '204': description: Response @@ -67858,9 +67388,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: + - *447 - *448 - - *449 - - *492 + - *489 responses: '204': description: Response @@ -67887,19 +67417,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: + - *447 - *448 - - *449 + - *489 + - *490 + - *491 - *492 - *493 + - *17 + - *19 - *494 + - *473 - *495 - *496 - - *17 - - *19 - - *497 - - *476 - - *498 - - *499 responses: '200': description: Response @@ -67915,9 +67445,9 @@ paths: type: integer workflow_runs: type: array - items: *477 + items: *474 examples: - default: *500 + default: *497 headers: Link: *41 x-github: @@ -67950,9 +67480,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: + - *447 - *448 - - *449 - - *492 + - *489 responses: '200': description: Response @@ -68013,8 +67543,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: + - *447 - *448 - - *449 - *104 - *17 - *102 @@ -68182,8 +67712,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: + - *447 - *448 - - *449 - *17 - *19 responses: @@ -68220,8 +67750,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: + - *447 - *448 - - *449 - name: assignee in: path required: true @@ -68257,8 +67787,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: + - *447 - *448 - - *449 requestBody: required: true content: @@ -68370,8 +67900,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: + - *447 - *448 - - *449 - *17 - *102 - *103 @@ -68428,7 +67958,7 @@ paths: initiator: type: string examples: - default: *501 + default: *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68448,8 +67978,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: + - *447 - *448 - - *449 responses: '200': description: Response @@ -68457,7 +67987,7 @@ paths: application/json: schema: type: array - items: &502 + items: &499 title: Autolink reference description: An autolink reference. type: object @@ -68516,8 +68046,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: + - *447 - *448 - - *449 requestBody: required: true content: @@ -68556,9 +68086,9 @@ paths: description: response content: application/json: - schema: *502 + schema: *499 examples: - default: &503 + default: &500 value: id: 1 key_prefix: TICKET- @@ -68589,9 +68119,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: + - *447 - *448 - - *449 - - &504 + - &501 name: autolink_id description: The unique identifier of the autolink. in: path @@ -68603,9 +68133,9 @@ paths: description: Response content: application/json: - schema: *502 + schema: *499 examples: - default: *503 + default: *500 '404': *6 x-github: githubCloudOnly: false @@ -68625,9 +68155,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: + - *447 - *448 - - *449 - - *504 + - *501 responses: '204': description: Response @@ -68651,8 +68181,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: + - *447 - *448 - - *449 responses: '200': description: Response if Dependabot is enabled @@ -68702,8 +68232,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: + - *447 - *448 - - *449 responses: '204': description: Response @@ -68724,8 +68254,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: + - *447 - *448 - - *449 responses: '204': description: Response @@ -68745,8 +68275,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: + - *447 - *448 - - *449 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -68784,7 +68314,7 @@ paths: - url protected: type: boolean - protection: &506 + protection: &503 title: Branch Protection description: Branch Protection type: object @@ -68827,7 +68357,7 @@ paths: required: - contexts - checks - enforce_admins: &509 + enforce_admins: &506 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -68844,7 +68374,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &511 + required_pull_request_reviews: &508 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -68928,7 +68458,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &508 + restrictions: &505 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -69221,9 +68751,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: + - *447 - *448 - - *449 - - &507 + - &504 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). @@ -69237,14 +68767,14 @@ paths: description: Response content: application/json: - schema: &517 + schema: &514 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &564 + commit: &561 title: Commit description: Commit type: object @@ -69283,7 +68813,7 @@ paths: author: anyOf: - type: 'null' - - &505 + - &502 title: Git User description: Metaproperties for Git author/committer information. @@ -69304,7 +68834,7 @@ paths: committer: anyOf: - type: 'null' - - *505 + - *502 message: type: string examples: @@ -69328,7 +68858,7 @@ paths: required: - sha - url - verification: &622 + verification: &619 title: Verification type: object properties: @@ -69408,7 +68938,7 @@ paths: type: integer files: type: array - items: &575 + items: &572 title: Diff Entry description: Diff Entry type: object @@ -69504,7 +69034,7 @@ paths: - self protected: type: boolean - protection: *506 + protection: *503 protection_url: type: string format: uri @@ -69613,7 +69143,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *462 + '301': *459 '404': *6 x-github: githubCloudOnly: false @@ -69635,15 +69165,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: + - *447 - *448 - - *449 - - *507 + - *504 responses: '200': description: Response content: application/json: - schema: *506 + schema: *503 examples: default: value: @@ -69837,9 +69367,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: + - *447 - *448 - - *449 - - *507 + - *504 requestBody: required: true content: @@ -70099,7 +69629,7 @@ paths: url: type: string format: uri - required_status_checks: &514 + required_status_checks: &511 title: Status Check Policy description: Status Check Policy type: object @@ -70258,7 +69788,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *508 + restrictions: *505 required_conversation_resolution: type: object properties: @@ -70370,9 +69900,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: + - *447 - *448 - - *449 - - *507 + - *504 responses: '204': description: Response @@ -70397,17 +69927,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: + - *447 - *448 - - *449 - - *507 + - *504 responses: '200': description: Response content: application/json: - schema: *509 + schema: *506 examples: - default: &510 + default: &507 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -70429,17 +69959,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: + - *447 - *448 - - *449 - - *507 + - *504 responses: '200': description: Response content: application/json: - schema: *509 + schema: *506 examples: - default: *510 + default: *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70458,9 +69988,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: + - *447 - *448 - - *449 - - *507 + - *504 responses: '204': description: Response @@ -70485,17 +70015,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: + - *447 - *448 - - *449 - - *507 + - *504 responses: '200': description: Response content: application/json: - schema: *511 + schema: *508 examples: - default: &512 + default: &509 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -70591,9 +70121,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: + - *447 - *448 - - *449 - - *507 + - *504 requestBody: required: false content: @@ -70691,9 +70221,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *508 examples: - default: *512 + default: *509 '422': *15 x-github: githubCloudOnly: false @@ -70714,9 +70244,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: + - *447 - *448 - - *449 - - *507 + - *504 responses: '204': description: Response @@ -70743,17 +70273,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: + - *447 - *448 - - *449 - - *507 + - *504 responses: '200': description: Response content: application/json: - schema: *509 + schema: *506 examples: - default: &513 + default: &510 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -70776,17 +70306,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: + - *447 - *448 - - *449 - - *507 + - *504 responses: '200': description: Response content: application/json: - schema: *509 + schema: *506 examples: - default: *513 + default: *510 '404': *6 x-github: githubCloudOnly: false @@ -70806,9 +70336,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: + - *447 - *448 - - *449 - - *507 + - *504 responses: '204': description: Response @@ -70833,17 +70363,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: + - *447 - *448 - - *449 - - *507 + - *504 responses: '200': description: Response content: application/json: - schema: *514 + schema: *511 examples: - default: &515 + default: &512 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -70869,9 +70399,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: + - *447 - *448 - - *449 - - *507 + - *504 requestBody: required: false content: @@ -70923,9 +70453,9 @@ paths: description: Response content: application/json: - schema: *514 + schema: *511 examples: - default: *515 + default: *512 '404': *6 '422': *15 x-github: @@ -70947,9 +70477,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: + - *447 - *448 - - *449 - - *507 + - *504 responses: '204': description: Response @@ -70973,9 +70503,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: + - *447 - *448 - - *449 - - *507 + - *504 responses: '200': description: Response @@ -71009,9 +70539,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: + - *447 - *448 - - *449 - - *507 + - *504 requestBody: required: false content: @@ -71078,9 +70608,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: + - *447 - *448 - - *449 - - *507 + - *504 requestBody: required: false content: @@ -71144,9 +70674,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: + - *447 - *448 - - *449 - - *507 + - *504 requestBody: content: application/json: @@ -71212,15 +70742,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: + - *447 - *448 - - *449 - - *507 + - *504 responses: '200': description: Response content: application/json: - schema: *508 + schema: *505 examples: default: value: @@ -71311,9 +70841,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: + - *447 - *448 - - *449 - - *507 + - *504 responses: '204': description: Response @@ -71336,9 +70866,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: + - *447 - *448 - - *449 - - *507 + - *504 responses: '200': description: Response @@ -71348,7 +70878,7 @@ paths: type: array items: *5 examples: - default: &516 + default: &513 value: - id: 1 slug: octoapp @@ -71405,9 +70935,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: + - *447 - *448 - - *449 - - *507 + - *504 requestBody: required: true content: @@ -71441,7 +70971,7 @@ paths: type: array items: *5 examples: - default: *516 + default: *513 '422': *15 x-github: githubCloudOnly: false @@ -71462,9 +70992,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: + - *447 - *448 - - *449 - - *507 + - *504 requestBody: required: true content: @@ -71498,7 +71028,7 @@ paths: type: array items: *5 examples: - default: *516 + default: *513 '422': *15 x-github: githubCloudOnly: false @@ -71519,9 +71049,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: + - *447 - *448 - - *449 - - *507 + - *504 requestBody: required: true content: @@ -71555,7 +71085,7 @@ paths: type: array items: *5 examples: - default: *516 + default: *513 '422': *15 x-github: githubCloudOnly: false @@ -71577,9 +71107,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: + - *447 - *448 - - *449 - - *507 + - *504 responses: '200': description: Response @@ -71609,9 +71139,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: + - *447 - *448 - - *449 - - *507 + - *504 requestBody: required: false content: @@ -71670,9 +71200,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: + - *447 - *448 - - *449 - - *507 + - *504 requestBody: required: false content: @@ -71731,9 +71261,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: + - *447 - *448 - - *449 - - *507 + - *504 requestBody: content: application/json: @@ -71792,9 +71322,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: + - *447 - *448 - - *449 - - *507 + - *504 responses: '200': description: Response @@ -71828,9 +71358,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: + - *447 - *448 - - *449 - - *507 + - *504 requestBody: required: true content: @@ -71888,9 +71418,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: + - *447 - *448 - - *449 - - *507 + - *504 requestBody: required: true content: @@ -71948,9 +71478,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: + - *447 - *448 - - *449 - - *507 + - *504 requestBody: required: true content: @@ -72010,9 +71540,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: + - *447 - *448 - - *449 - - *507 + - *504 requestBody: required: true content: @@ -72034,7 +71564,7 @@ paths: description: Response content: application/json: - schema: *517 + schema: *514 examples: default: value: @@ -72148,8 +71678,8 @@ paths: category: repos subcategory: bypass-requests parameters: + - *447 - *448 - - *449 - *97 - *98 - *99 @@ -72185,8 +71715,8 @@ paths: category: repos subcategory: bypass-requests parameters: + - *447 - *448 - - *449 - name: bypass_request_number in: path required: true @@ -72259,8 +71789,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: + - *447 - *448 - - *449 - *97 - *98 - *99 @@ -72300,8 +71830,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: + - *447 - *448 - - *449 - name: bypass_request_number in: path required: true @@ -72371,8 +71901,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: + - *447 - *448 - - *449 - name: bypass_request_number in: path required: true @@ -72443,8 +71973,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: + - *447 - *448 - - *449 - name: bypass_response_id in: path required: true @@ -72477,8 +72007,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: + - *447 - *448 - - *449 requestBody: required: true content: @@ -72757,7 +72287,7 @@ paths: description: Response content: application/json: - schema: &519 + schema: &516 title: CheckRun description: A check performed on the code of a given code change type: object @@ -72892,8 +72422,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *518 - deployment: &841 + items: *515 + deployment: &839 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -73180,9 +72710,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: + - *447 - *448 - - *449 - - &520 + - &517 name: check_run_id description: The unique identifier of the check run. in: path @@ -73194,9 +72724,9 @@ paths: description: Response content: application/json: - schema: *519 + schema: *516 examples: - default: &521 + default: &518 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -73296,9 +72826,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: + - *447 - *448 - - *449 - - *520 + - *517 requestBody: required: true content: @@ -73538,9 +73068,9 @@ paths: description: Response content: application/json: - schema: *519 + schema: *516 examples: - default: *521 + default: *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73560,9 +73090,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: + - *447 - *448 - - *449 - - *520 + - *517 - *17 - *19 responses: @@ -73672,9 +73202,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: + - *447 - *448 - - *449 - - *520 + - *517 responses: '201': description: Response @@ -73718,8 +73248,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: + - *447 - *448 - - *449 requestBody: required: true content: @@ -73741,7 +73271,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &523 + schema: &520 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -73823,7 +73353,7 @@ paths: type: - array - 'null' - items: *518 + items: *515 app: anyOf: - type: 'null' @@ -73839,7 +73369,7 @@ paths: - string - 'null' format: date-time - head_commit: *522 + head_commit: *519 latest_check_runs_count: type: integer check_runs_url: @@ -73867,7 +73397,7 @@ paths: - check_runs_url - pull_requests examples: - default: &524 + default: &521 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -74158,9 +73688,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *523 + schema: *520 examples: - default: *524 + default: *521 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74179,8 +73709,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: + - *447 - *448 - - *449 requestBody: required: true content: @@ -74489,9 +74019,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: + - *447 - *448 - - *449 - - &525 + - &522 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -74503,9 +74033,9 @@ paths: description: Response content: application/json: - schema: *523 + schema: *520 examples: - default: *524 + default: *521 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74528,17 +74058,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: + - *447 - *448 - - *449 - - *525 - - &570 + - *522 + - &567 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &571 + - &568 name: status description: Returns check runs with the specified `status`. in: query @@ -74577,9 +74107,9 @@ paths: type: integer check_runs: type: array - items: *519 + items: *516 examples: - default: &572 + default: &569 value: total_count: 1 check_runs: @@ -74681,9 +74211,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: + - *447 - *448 - - *449 - - *525 + - *522 responses: '201': description: Response @@ -74716,21 +74246,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: + - *447 - *448 - - *449 - *300 - *301 - *19 - *17 - - &541 + - &538 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: *526 - - &542 + schema: *523 + - &539 name: pr description: The number of the pull request for the results you want to list. in: query @@ -74761,7 +74291,7 @@ paths: be returned. in: query required: false - schema: *527 + schema: *524 responses: '200': description: Response @@ -74777,7 +74307,7 @@ paths: updated_at: *127 url: *124 html_url: *125 - instances_url: *528 + instances_url: *525 state: *107 fixed_at: *129 dismissed_by: @@ -74785,11 +74315,11 @@ paths: - type: 'null' - *4 dismissed_at: *128 - dismissed_reason: *529 - dismissed_comment: *530 - rule: *531 - tool: *532 - most_recent_instance: *533 + dismissed_reason: *526 + dismissed_comment: *527 + rule: *528 + tool: *529 + most_recent_instance: *530 dismissal_approved_by: anyOf: - type: 'null' @@ -74912,7 +74442,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &534 + '403': &531 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -74939,9 +74469,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: + - *447 - *448 - - *449 - - &535 + - &532 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -74955,7 +74485,7 @@ paths: description: Response content: application/json: - schema: &536 + schema: &533 type: object properties: number: *119 @@ -74963,7 +74493,7 @@ paths: updated_at: *127 url: *124 html_url: *125 - instances_url: *528 + instances_url: *525 state: *107 fixed_at: *129 dismissed_by: @@ -74971,8 +74501,8 @@ paths: - type: 'null' - *4 dismissed_at: *128 - dismissed_reason: *529 - dismissed_comment: *530 + dismissed_reason: *526 + dismissed_comment: *527 rule: type: object properties: @@ -75034,8 +74564,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *532 - most_recent_instance: *533 + tool: *529 + most_recent_instance: *530 dismissal_approved_by: anyOf: - type: 'null' @@ -75131,7 +74661,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *534 + '403': *531 '404': *6 '503': *184 x-github: @@ -75151,9 +74681,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: + - *447 - *448 - - *449 - - *535 + - *532 requestBody: required: true content: @@ -75168,8 +74698,8 @@ paths: enum: - open - dismissed - dismissed_reason: *529 - dismissed_comment: *530 + dismissed_reason: *526 + dismissed_comment: *527 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -75188,7 +74718,7 @@ paths: description: Response content: application/json: - schema: *536 + schema: *533 examples: default: value: @@ -75264,7 +74794,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &540 + '403': &537 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -75291,15 +74821,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: + - *447 - *448 - - *449 - - *535 + - *532 responses: '200': description: Response content: application/json: - schema: &537 + schema: &534 type: object properties: status: @@ -75326,13 +74856,13 @@ paths: - description - started_at examples: - default: &538 + default: &535 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &539 + '400': &536 description: Bad Request content: application/json: @@ -75343,7 +74873,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': *534 + '403': *531 '404': *6 '503': *184 x-github: @@ -75368,29 +74898,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: + - *447 - *448 - - *449 - - *535 + - *532 responses: '200': description: OK content: application/json: - schema: *537 + schema: *534 examples: - default: *538 + default: *535 '202': description: Accepted content: application/json: - schema: *537 + schema: *534 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *539 + '400': *536 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -75422,9 +74952,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: + - *447 - *448 - - *449 - - *535 + - *532 requestBody: required: false content: @@ -75470,8 +75000,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *539 - '403': *540 + '400': *536 + '403': *537 '404': *6 '422': description: Unprocessable Entity @@ -75495,13 +75025,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: + - *447 - *448 - - *449 - - *535 + - *532 - *19 - *17 - - *541 - - *542 + - *538 + - *539 responses: '200': description: Response @@ -75509,7 +75039,7 @@ paths: application/json: schema: type: array - items: *533 + items: *530 examples: default: value: @@ -75548,7 +75078,7 @@ paths: end_column: 50 classifications: - source - '403': *534 + '403': *531 '404': *6 '503': *184 x-github: @@ -75582,25 +75112,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: + - *447 - *448 - - *449 - *300 - *301 - *19 - *17 - - *542 + - *539 - 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: *526 + schema: *523 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &545 + schema: &542 type: string description: An identifier for the upload. examples: @@ -75622,23 +75152,23 @@ paths: application/json: schema: type: array - items: &546 + items: &543 type: object properties: - ref: *526 - commit_sha: &554 + ref: *523 + commit_sha: &551 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: *543 + analysis_key: *540 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *544 + category: *541 error: type: string examples: @@ -75663,8 +75193,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *545 - tool: *532 + sarif_id: *542 + tool: *529 deletable: type: boolean warning: @@ -75726,7 +75256,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *534 + '403': *531 '404': *6 '503': *184 x-github: @@ -75762,8 +75292,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: + - *447 - *448 - - *449 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -75776,7 +75306,7 @@ paths: description: Response content: application/json: - schema: *546 + schema: *543 examples: response: summary: application/json response @@ -75830,7 +75360,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *534 + '403': *531 '404': *6 '422': description: Response if analysis could not be processed @@ -75917,8 +75447,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: + - *447 - *448 - - *449 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -75974,7 +75504,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': *540 + '403': *537 '404': *6 '503': *184 x-github: @@ -75996,8 +75526,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: + - *447 - *448 - - *449 responses: '200': description: Response @@ -76005,7 +75535,7 @@ paths: application/json: schema: type: array - items: &547 + items: &544 title: CodeQL Database description: A CodeQL database. type: object @@ -76117,7 +75647,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': *534 + '403': *531 '404': *6 '503': *184 x-github: @@ -76146,8 +75676,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: + - *447 - *448 - - *449 - name: language in: path description: The language of the CodeQL database. @@ -76159,7 +75689,7 @@ paths: description: Response content: application/json: - schema: *547 + schema: *544 examples: default: value: @@ -76191,9 +75721,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': &577 + '302': &574 description: Found - '403': *534 + '403': *531 '404': *6 '503': *184 x-github: @@ -76215,8 +75745,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: + - *447 - *448 - - *449 - name: language in: path description: The language of the CodeQL database. @@ -76226,7 +75756,7 @@ paths: responses: '204': description: Response - '403': *540 + '403': *537 '404': *6 '503': *184 x-github: @@ -76254,8 +75784,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: + - *447 - *448 - - *449 requestBody: required: true content: @@ -76264,7 +75794,7 @@ paths: type: object additionalProperties: false properties: - language: &548 + language: &545 type: string description: The language targeted by the CodeQL query enum: @@ -76343,7 +75873,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &552 + schema: &549 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -76353,7 +75883,7 @@ paths: description: The ID of the variant analysis. controller_repo: *113 actor: *4 - query_language: *548 + query_language: *545 query_pack_url: type: string description: The download url for the query pack. @@ -76401,7 +75931,7 @@ paths: items: type: object properties: - repository: &549 + repository: &546 title: Repository Identifier description: Repository Identifier type: object @@ -76443,7 +75973,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &553 + analysis_status: &550 type: string description: The new status of the CodeQL variant analysis repository task. @@ -76475,7 +76005,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &550 + access_mismatch_repos: &547 type: object properties: repository_count: @@ -76490,7 +76020,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: *549 + items: *546 required: - repository_count - repositories @@ -76513,8 +76043,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *550 - over_limit_repos: *550 + no_codeql_db_repos: *547 + over_limit_repos: *547 required: - access_mismatch_repos - not_found_repos @@ -76530,7 +76060,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &551 + value: &548 summary: Default response value: id: 1 @@ -76682,10 +76212,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *551 + value: *548 repository_lists: summary: Response for a successful variant analysis submission - value: *551 + value: *548 '404': *6 '422': description: Unable to process variant analysis submission @@ -76713,8 +76243,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: + - *447 - *448 - - *449 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -76726,9 +76256,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *549 examples: - default: *551 + default: *548 '404': *6 '503': *184 x-github: @@ -76751,7 +76281,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: - - *448 + - *447 - name: repo in: path description: The name of the controller repository. @@ -76786,7 +76316,7 @@ paths: type: object properties: repository: *113 - analysis_status: *553 + analysis_status: *550 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -76911,8 +76441,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: + - *447 - *448 - - *449 responses: '200': description: Response @@ -77005,7 +76535,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *534 + '403': *531 '404': *6 '503': *184 x-github: @@ -77026,8 +76556,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: + - *447 - *448 - - *449 requestBody: required: true content: @@ -77121,7 +76651,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *540 + '403': *537 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -77192,8 +76722,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: + - *447 - *448 - - *449 requestBody: required: true content: @@ -77201,7 +76731,7 @@ paths: schema: type: object properties: - commit_sha: *554 + commit_sha: *551 ref: type: string description: |- @@ -77261,7 +76791,7 @@ paths: schema: type: object properties: - id: *545 + id: *542 url: type: string description: The REST API URL for checking the status of the upload. @@ -77275,7 +76805,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': *540 + '403': *537 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -77298,8 +76828,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: + - *447 - *448 - - *449 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -77347,7 +76877,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': *534 + '403': *531 '404': description: Not Found if the sarif id does not match any upload '503': *184 @@ -77372,8 +76902,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: + - *447 - *448 - - *449 responses: '200': description: Response @@ -77454,8 +76984,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: + - *447 - *448 - - *449 - 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 @@ -77583,8 +77113,8 @@ paths: parameters: - *17 - *19 + - *447 - *448 - - *449 responses: '200': description: Response @@ -77898,8 +77428,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: + - *447 - *448 - - *449 requestBody: required: true content: @@ -77965,7 +77495,7 @@ paths: application/json: schema: *356 examples: - default: *555 + default: *552 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -77973,7 +77503,7 @@ paths: application/json: schema: *356 examples: - default: *555 + default: *552 '400': *14 '401': *23 '403': *27 @@ -78002,8 +77532,8 @@ paths: parameters: - *17 - *19 + - *447 - *448 - - *449 responses: '200': description: Response @@ -78067,8 +77597,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: + - *447 - *448 - - *449 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -78105,9 +77635,9 @@ paths: type: integer machines: type: array - items: *556 + items: *553 examples: - default: &793 + default: &791 value: total_count: 2 machines: @@ -78147,8 +77677,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: + - *447 - *448 - - *449 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -78235,8 +77765,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: + - *447 - *448 - - *449 - 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 @@ -78305,8 +77835,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: + - *447 - *448 - - *449 - *17 - *19 responses: @@ -78324,7 +77854,7 @@ paths: type: integer secrets: type: array - items: &560 + items: &557 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -78345,7 +77875,7 @@ paths: - created_at - updated_at examples: - default: *557 + default: *554 headers: Link: *41 x-github: @@ -78368,16 +77898,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: + - *447 - *448 - - *449 responses: '200': description: Response content: application/json: - schema: *558 + schema: *555 examples: - default: *559 + default: *556 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -78397,17 +77927,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: + - *447 - *448 - - *449 - *279 responses: '200': description: Response content: application/json: - schema: *560 + schema: *557 examples: - default: *561 + default: *558 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78427,8 +77957,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: + - *447 - *448 - - *449 - *279 requestBody: required: true @@ -78481,8 +78011,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: + - *447 - *448 - - *449 - *279 responses: '204': @@ -78511,8 +78041,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: + - *447 - *448 - - *449 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -78550,7 +78080,7 @@ paths: application/json: schema: type: array - items: &562 + items: &559 title: Collaborator description: Collaborator type: object @@ -78743,8 +78273,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: + - *447 - *448 - - *449 - *132 responses: '204': @@ -78791,8 +78321,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: + - *447 - *448 - - *449 - *132 requestBody: required: false @@ -78819,7 +78349,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &635 + schema: &632 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -79047,8 +78577,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: + - *447 - *448 - - *449 - *132 responses: '204': @@ -79080,8 +78610,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: + - *447 - *448 - - *449 - *132 responses: '200': @@ -79102,7 +78632,7 @@ paths: user: anyOf: - type: 'null' - - *562 + - *559 required: - permission - role_name @@ -79156,8 +78686,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: + - *447 - *448 - - *449 - *17 - *19 responses: @@ -79167,7 +78697,7 @@ paths: application/json: schema: type: array - items: &563 + items: &560 title: Commit Comment description: Commit Comment type: object @@ -79225,7 +78755,7 @@ paths: - created_at - updated_at examples: - default: &566 + default: &563 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -79284,17 +78814,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: + - *447 - *448 - - *449 - *217 responses: '200': description: Response content: application/json: - schema: *563 + schema: *560 examples: - default: &567 + default: &564 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -79351,8 +78881,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: + - *447 - *448 - - *449 - *217 requestBody: required: true @@ -79375,7 +78905,7 @@ paths: description: Response content: application/json: - schema: *563 + schema: *560 examples: default: value: @@ -79426,8 +78956,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: + - *447 - *448 - - *449 - *217 responses: '204': @@ -79449,8 +78979,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: + - *447 - *448 - - *449 - *217 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -79477,9 +79007,9 @@ paths: application/json: schema: type: array - items: *437 + items: *436 examples: - default: *439 + default: *438 headers: Link: *41 '404': *6 @@ -79500,8 +79030,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: + - *447 - *448 - - *449 - *217 requestBody: required: true @@ -79534,16 +79064,16 @@ paths: description: Reaction exists content: application/json: - schema: *437 + schema: *436 examples: - default: *438 + default: *437 '201': description: Reaction created content: application/json: - schema: *437 + schema: *436 examples: - default: *438 + default: *437 '422': *15 x-github: githubCloudOnly: false @@ -79565,10 +79095,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: + - *447 - *448 - - *449 - *217 - - *440 + - *439 responses: '204': description: Response @@ -79617,8 +79147,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: + - *447 - *448 - - *449 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -79674,9 +79204,9 @@ paths: application/json: schema: type: array - items: *564 + items: *561 examples: - default: &684 + default: &682 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -79770,9 +79300,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: + - *447 - *448 - - *449 - - &565 + - &562 name: commit_sha description: The SHA of the commit. in: path @@ -79844,9 +79374,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: + - *447 - *448 - - *449 - - *565 + - *562 - *17 - *19 responses: @@ -79856,9 +79386,9 @@ paths: application/json: schema: type: array - items: *563 + items: *560 examples: - default: *566 + default: *563 headers: Link: *41 x-github: @@ -79886,9 +79416,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: + - *447 - *448 - - *449 - - *565 + - *562 requestBody: required: true content: @@ -79923,9 +79453,9 @@ paths: description: Response content: application/json: - schema: *563 + schema: *560 examples: - default: *567 + default: *564 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -79953,9 +79483,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: + - *447 - *448 - - *449 - - *565 + - *562 - *17 - *19 responses: @@ -79965,9 +79495,9 @@ paths: application/json: schema: type: array - items: *568 + items: *565 examples: - default: &676 + default: &674 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -80504,11 +80034,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: + - *447 - *448 - - *449 - *19 - *17 - - &569 + - &566 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)" @@ -80523,9 +80053,9 @@ paths: description: Response content: application/json: - schema: *564 + schema: *561 examples: - default: &662 + default: &660 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -80638,11 +80168,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: + - *447 - *448 - - *449 - - *569 - - *570 - - *571 + - *566 + - *567 + - *568 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -80676,9 +80206,9 @@ paths: type: integer check_runs: type: array - items: *519 + items: *516 examples: - default: *572 + default: *569 headers: Link: *41 x-github: @@ -80703,9 +80233,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: + - *447 - *448 - - *449 - - *569 + - *566 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -80713,7 +80243,7 @@ paths: schema: type: integer example: 1 - - *570 + - *567 - *17 - *19 responses: @@ -80731,7 +80261,7 @@ paths: type: integer check_suites: type: array - items: *523 + items: *520 examples: default: value: @@ -80931,9 +80461,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: + - *447 - *448 - - *449 - - *569 + - *566 - *17 - *19 responses: @@ -81135,9 +80665,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: + - *447 - *448 - - *449 - - *569 + - *566 - *17 - *19 responses: @@ -81147,7 +80677,7 @@ paths: application/json: schema: type: array - items: &738 + items: &736 title: Status description: The status of a commit. type: object @@ -81228,7 +80758,7 @@ paths: site_admin: false headers: Link: *41 - '301': *462 + '301': *459 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81256,8 +80786,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: + - *447 - *448 - - *449 responses: '200': description: Response @@ -81290,11 +80820,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *573 + - *570 code_of_conduct_file: anyOf: - type: 'null' - - &574 + - &571 title: Community Health File type: object properties: @@ -81314,19 +80844,19 @@ paths: contributing: anyOf: - type: 'null' - - *574 + - *571 readme: anyOf: - type: 'null' - - *574 + - *571 issue_template: anyOf: - type: 'null' - - *574 + - *571 pull_request_template: anyOf: - type: 'null' - - *574 + - *571 required: - code_of_conduct - code_of_conduct_file @@ -81455,8 +80985,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: + - *447 - *448 - - *449 - *19 - *17 - name: basehead @@ -81504,8 +81034,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *564 - merge_base_commit: *564 + base_commit: *561 + merge_base_commit: *561 status: type: string enum: @@ -81529,10 +81059,10 @@ paths: - 6 commits: type: array - items: *564 + items: *561 files: type: array - items: *575 + items: *572 required: - url - html_url @@ -81818,8 +81348,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: + - *447 - *448 - - *449 - name: path description: path parameter in: path @@ -81972,7 +81502,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &576 + response-if-content-is-a-file: &573 summary: Response if content is a file value: type: file @@ -82109,7 +81639,7 @@ paths: - size - type - url - - &689 + - &687 title: Content File description: Content File type: object @@ -82327,7 +81857,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *576 + response-if-content-is-a-file: *573 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -82396,7 +81926,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *577 + '302': *574 '304': *35 x-github: githubCloudOnly: false @@ -82419,8 +81949,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: + - *447 - *448 - - *449 - name: path description: path parameter in: path @@ -82515,7 +82045,7 @@ paths: description: Response content: application/json: - schema: &578 + schema: &575 title: File Commit description: File Commit type: object @@ -82671,7 +82201,7 @@ paths: description: Response content: application/json: - schema: *578 + schema: *575 examples: example-for-creating-a-file: value: @@ -82725,7 +82255,7 @@ paths: schema: oneOf: - *3 - - &617 + - &614 description: Repository rule violation was detected type: object properties: @@ -82746,7 +82276,7 @@ paths: items: type: object properties: - placeholder_id: &730 + placeholder_id: &728 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -82778,8 +82308,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: + - *447 - *448 - - *449 - name: path description: path parameter in: path @@ -82840,7 +82370,7 @@ paths: description: Response content: application/json: - schema: *578 + schema: *575 examples: default: value: @@ -82895,8 +82425,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: + - *447 - *448 - - *449 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -83020,8 +82550,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: + - *447 - *448 - - *449 - *316 - *317 - *318 @@ -83033,7 +82563,7 @@ paths: schema: type: string - *320 - - *579 + - *576 - *321 - *322 - *104 @@ -83054,7 +82584,7 @@ paths: application/json: schema: type: array - items: &582 + items: &579 type: object description: A Dependabot alert. properties: @@ -83104,7 +82634,7 @@ paths: - direct - transitive - - security_advisory: *580 + security_advisory: *577 security_vulnerability: *123 url: *124 html_url: *125 @@ -83135,7 +82665,7 @@ paths: dismissal. maxLength: 280 fixed_at: *129 - auto_dismissed_at: *581 + auto_dismissed_at: *578 required: - number - state @@ -83365,9 +82895,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: + - *447 - *448 - - *449 - - &583 + - &580 name: alert_number in: path description: |- @@ -83382,7 +82912,7 @@ paths: description: Response content: application/json: - schema: *582 + schema: *579 examples: default: value: @@ -83495,9 +83025,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: + - *447 - *448 - - *449 - - *583 + - *580 requestBody: required: true content: @@ -83542,7 +83072,7 @@ paths: description: Response content: application/json: - schema: *582 + schema: *579 examples: default: value: @@ -83671,8 +83201,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: + - *447 - *448 - - *449 - *17 - *19 responses: @@ -83690,7 +83220,7 @@ paths: type: integer secrets: type: array - items: &586 + items: &583 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -83744,16 +83274,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: + - *447 - *448 - - *449 responses: '200': description: Response content: application/json: - schema: *584 + schema: *581 examples: - default: *585 + default: *582 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83773,15 +83303,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: + - *447 - *448 - - *449 - *279 responses: '200': description: Response content: application/json: - schema: *586 + schema: *583 examples: default: value: @@ -83807,8 +83337,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: + - *447 - *448 - - *449 - *279 requestBody: required: true @@ -83861,8 +83391,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: + - *447 - *448 - - *449 - *279 responses: '204': @@ -83885,8 +83415,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: + - *447 - *448 - - *449 - 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 @@ -84060,8 +83590,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: + - *447 - *448 - - *449 responses: '200': description: Response @@ -84321,8 +83851,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: + - *447 - *448 - - *449 requestBody: required: true content: @@ -84405,7 +83935,7 @@ paths: - version - url additionalProperties: false - metadata: &587 + metadata: &584 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -84444,7 +83974,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *587 + metadata: *584 resolved: type: object description: A collection of resolved package dependencies. @@ -84458,7 +83988,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *587 + metadata: *584 relationship: type: string description: A notation of whether a dependency is requested @@ -84591,8 +84121,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: + - *447 - *448 - - *449 - name: sha description: The SHA recorded at creation time. in: query @@ -84633,9 +84163,9 @@ paths: application/json: schema: type: array - items: *588 + items: *585 examples: - default: *589 + default: *586 headers: Link: *41 x-github: @@ -84701,8 +84231,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: + - *447 - *448 - - *449 requestBody: required: true content: @@ -84784,7 +84314,7 @@ paths: description: Response content: application/json: - schema: *588 + schema: *585 examples: simple-example: summary: Simple example @@ -84857,9 +84387,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: + - *447 - *448 - - *449 - - &590 + - &587 name: deployment_id description: deployment_id parameter in: path @@ -84871,7 +84401,7 @@ paths: description: Response content: application/json: - schema: *588 + schema: *585 examples: default: value: @@ -84936,9 +84466,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: + - *447 - *448 - - *449 - - *590 + - *587 responses: '204': description: Response @@ -84960,9 +84490,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: + - *447 - *448 - - *449 - - *590 + - *587 - *17 - *19 responses: @@ -84972,7 +84502,7 @@ paths: application/json: schema: type: array - items: &591 + items: &588 title: Deployment Status description: The status of a deployment. type: object @@ -85136,9 +84666,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: + - *447 - *448 - - *449 - - *590 + - *587 requestBody: required: true content: @@ -85213,9 +84743,9 @@ paths: description: Response content: application/json: - schema: *591 + schema: *588 examples: - default: &592 + default: &589 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -85271,9 +84801,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: + - *447 - *448 - - *449 - - *590 + - *587 - name: status_id in: path required: true @@ -85284,9 +84814,9 @@ paths: description: Response content: application/json: - schema: *591 + schema: *588 examples: - default: *592 + default: *589 '404': *6 x-github: githubCloudOnly: false @@ -85313,12 +84843,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: + - *447 - *448 - - *449 + - *590 + - *591 + - *592 - *593 - - *594 - - *595 - - *596 - *17 - *19 responses: @@ -85328,9 +84858,9 @@ paths: application/json: schema: type: array - items: *597 + items: *594 examples: - default: *598 + default: *595 '404': *6 '403': *27 '500': *38 @@ -85354,8 +84884,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: + - *447 - *448 - - *449 - name: alert_number in: path required: true @@ -85367,7 +84897,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *597 + schema: *594 examples: default: value: @@ -85423,8 +84953,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: + - *447 - *448 - - *449 - name: alert_number in: path required: true @@ -85483,12 +85013,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: + - *447 - *448 - - *449 - *97 - *98 - *99 - - *599 + - *596 - *17 - *19 responses: @@ -85498,9 +85028,9 @@ paths: application/json: schema: type: array - items: *600 + items: *597 examples: - default: *601 + default: *598 '404': *6 '403': *27 '500': *38 @@ -85525,8 +85055,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: + - *447 - *448 - - *449 - name: alert_number in: path required: true @@ -85538,7 +85068,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *600 + schema: *597 examples: default: value: @@ -85596,8 +85126,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: + - *447 - *448 - - *449 - name: alert_number in: path required: true @@ -85666,8 +85196,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: + - *447 - *448 - - *449 requestBody: required: true content: @@ -85724,8 +85254,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: + - *447 - *448 - - *449 - *17 - *19 responses: @@ -85743,7 +85273,7 @@ paths: - 5 environments: type: array - items: &603 + items: &600 title: Environment description: Details of a deployment environment type: object @@ -85805,7 +85335,7 @@ paths: type: string examples: - wait_timer - wait_timer: &605 + wait_timer: &602 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -85847,7 +85377,7 @@ paths: items: type: object properties: - type: *602 + type: *599 reviewer: anyOf: - *4 @@ -85874,7 +85404,7 @@ paths: - id - node_id - type - deployment_branch_policy: &606 + deployment_branch_policy: &603 type: - object - 'null' @@ -85991,9 +85521,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: + - *447 - *448 - - *449 - - &604 + - &601 name: environment_name in: path required: true @@ -86006,9 +85536,9 @@ paths: description: Response content: application/json: - schema: *603 + schema: *600 examples: - default: &607 + default: &604 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -86092,9 +85622,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: + - *447 - *448 - - *449 - - *604 + - *601 requestBody: required: false content: @@ -86104,7 +85634,7 @@ paths: - object - 'null' properties: - wait_timer: *605 + wait_timer: *602 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -86123,14 +85653,14 @@ paths: items: type: object properties: - type: *602 + type: *599 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *606 + deployment_branch_policy: *603 additionalProperties: false examples: default: @@ -86150,9 +85680,9 @@ paths: description: Response content: application/json: - schema: *603 + schema: *600 examples: - default: *607 + default: *604 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -86176,9 +85706,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: + - *447 - *448 - - *449 - - *604 + - *601 responses: '204': description: Default response @@ -86203,9 +85733,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: + - *447 - *448 - - *449 - - *604 + - *601 - *17 - *19 responses: @@ -86224,7 +85754,7 @@ paths: - 2 branch_policies: type: array - items: &608 + items: &605 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -86285,9 +85815,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: + - *447 - *448 - - *449 - - *604 + - *601 requestBody: required: true content: @@ -86335,9 +85865,9 @@ paths: description: Response content: application/json: - schema: *608 + schema: *605 examples: - example-wildcard: &609 + example-wildcard: &606 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -86379,10 +85909,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: + - *447 - *448 - - *449 - - *604 - - &610 + - *601 + - &607 name: branch_policy_id in: path required: true @@ -86394,9 +85924,9 @@ paths: description: Response content: application/json: - schema: *608 + schema: *605 examples: - default: *609 + default: *606 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86415,10 +85945,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: + - *447 - *448 - - *449 - - *604 - - *610 + - *601 + - *607 requestBody: required: true content: @@ -86447,9 +85977,9 @@ paths: description: Response content: application/json: - schema: *608 + schema: *605 examples: - default: *609 + default: *606 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86468,10 +85998,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: + - *447 - *448 - - *449 - - *604 - - *610 + - *601 + - *607 responses: '204': description: Response @@ -86496,9 +86026,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: - - *604 - - *449 + - *601 - *448 + - *447 responses: '200': description: List of deployment protection rules @@ -86515,7 +86045,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &611 + items: &608 title: Deployment protection rule description: Deployment protection rule type: object @@ -86537,7 +86067,7 @@ paths: for the environment. examples: - true - app: &612 + app: &609 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -86640,9 +86170,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: - - *604 - - *449 + - *601 - *448 + - *447 requestBody: content: application/json: @@ -86663,9 +86193,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *611 + schema: *608 examples: - default: &613 + default: &610 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -86700,9 +86230,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: - - *604 - - *449 + - *601 - *448 + - *447 - *19 - *17 responses: @@ -86722,7 +86252,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *612 + items: *609 examples: default: value: @@ -86757,10 +86287,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: + - *447 - *448 - - *449 - - *604 - - &614 + - *601 + - &611 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -86772,9 +86302,9 @@ paths: description: Response content: application/json: - schema: *611 + schema: *608 examples: - default: *613 + default: *610 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86795,10 +86325,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: - - *604 - - *449 + - *601 - *448 - - *614 + - *447 + - *611 responses: '204': description: Response @@ -86824,9 +86354,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: + - *447 - *448 - - *449 - - *604 + - *601 - *17 - *19 responses: @@ -86844,9 +86374,9 @@ paths: type: integer secrets: type: array - items: *485 + items: *482 examples: - default: *486 + default: *483 headers: Link: *41 x-github: @@ -86871,17 +86401,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: + - *447 - *448 - - *449 - - *604 + - *601 responses: '200': description: Response content: application/json: - schema: *487 + schema: *484 examples: - default: *488 + default: *485 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86903,18 +86433,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: + - *447 - *448 - - *449 - - *604 + - *601 - *279 responses: '200': description: Response content: application/json: - schema: *485 + schema: *482 examples: - default: *615 + default: *612 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86936,9 +86466,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: + - *447 - *448 - - *449 - - *604 + - *601 - *279 requestBody: required: true @@ -86996,9 +86526,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: + - *447 - *448 - - *449 - - *604 + - *601 - *279 responses: '204': @@ -87024,10 +86554,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: + - *447 - *448 - - *449 - - *604 - - *472 + - *601 + - *469 - *19 responses: '200': @@ -87044,9 +86574,9 @@ paths: type: integer variables: type: array - items: *489 + items: *486 examples: - default: *490 + default: *487 headers: Link: *41 x-github: @@ -87069,9 +86599,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: + - *447 - *448 - - *449 - - *604 + - *601 requestBody: required: true content: @@ -87123,18 +86653,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: + - *447 - *448 - - *449 - - *604 + - *601 - *282 responses: '200': description: Response content: application/json: - schema: *489 + schema: *486 examples: - default: *616 + default: *613 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87155,10 +86685,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: + - *447 - *448 - - *449 - *282 - - *604 + - *601 requestBody: required: true content: @@ -87200,10 +86730,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: + - *447 - *448 - - *449 - *282 - - *604 + - *601 responses: '204': description: Response @@ -87225,8 +86755,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: + - *447 - *448 - - *449 - *17 - *19 responses: @@ -87294,8 +86824,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: + - *447 - *448 - - *449 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -87454,8 +86984,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: + - *447 - *448 - - *449 requestBody: required: false content: @@ -87488,9 +87018,9 @@ paths: description: Response content: application/json: - schema: *461 + schema: *458 examples: - default: *463 + default: *460 '400': *14 '422': *15 '403': *27 @@ -87511,8 +87041,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: + - *447 - *448 - - *449 requestBody: required: true content: @@ -87572,7 +87102,7 @@ paths: schema: oneOf: - *244 - - *617 + - *614 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87597,8 +87127,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: + - *447 - *448 - - *449 - name: file_sha in: path required: true @@ -87698,8 +87228,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: + - *447 - *448 - - *449 requestBody: required: true content: @@ -87808,7 +87338,7 @@ paths: description: Response content: application/json: - schema: &618 + schema: &615 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -88035,15 +87565,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: + - *447 - *448 - - *449 - - *565 + - *562 responses: '200': description: Response content: application/json: - schema: *618 + schema: *615 examples: default: value: @@ -88099,9 +87629,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: + - *447 - *448 - - *449 - - &619 + - &616 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. @@ -88118,7 +87648,7 @@ paths: application/json: schema: type: array - items: &620 + items: &617 title: Git Reference description: Git references within a repository type: object @@ -88194,17 +87724,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: + - *447 - *448 - - *449 - - *619 + - *616 responses: '200': description: Response content: application/json: - schema: *620 + schema: *617 examples: - default: &621 + default: &618 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -88233,8 +87763,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: + - *447 - *448 - - *449 requestBody: required: true content: @@ -88263,9 +87793,9 @@ paths: description: Response content: application/json: - schema: *620 + schema: *617 examples: - default: *621 + default: *618 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -88291,9 +87821,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: + - *447 - *448 - - *449 - - *619 + - *616 requestBody: required: true content: @@ -88322,9 +87852,9 @@ paths: description: Response content: application/json: - schema: *620 + schema: *617 examples: - default: *621 + default: *618 '422': *15 '409': *112 x-github: @@ -88342,9 +87872,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: + - *447 - *448 - - *449 - - *619 + - *616 responses: '204': description: Response @@ -88399,8 +87929,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: + - *447 - *448 - - *449 requestBody: required: true content: @@ -88467,7 +87997,7 @@ paths: description: Response content: application/json: - schema: &623 + schema: &620 title: Git Tag description: Metadata for a Git tag type: object @@ -88523,7 +88053,7 @@ paths: - sha - type - url - verification: *622 + verification: *619 required: - sha - url @@ -88533,7 +88063,7 @@ paths: - tag - message examples: - default: &624 + default: &621 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -88606,8 +88136,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: + - *447 - *448 - - *449 - name: tag_sha in: path required: true @@ -88618,9 +88148,9 @@ paths: description: Response content: application/json: - schema: *623 + schema: *620 examples: - default: *624 + default: *621 '404': *6 '409': *112 x-github: @@ -88644,8 +88174,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: + - *447 - *448 - - *449 requestBody: required: true content: @@ -88719,7 +88249,7 @@ paths: description: Response content: application/json: - schema: &625 + schema: &622 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -88821,8 +88351,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: + - *447 - *448 - - *449 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -88845,7 +88375,7 @@ paths: description: Response content: application/json: - schema: *625 + schema: *622 examples: default-response: summary: Default response @@ -88904,8 +88434,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: + - *447 - *448 - - *449 - *17 - *19 responses: @@ -88915,7 +88445,7 @@ paths: application/json: schema: type: array - items: &626 + items: &623 title: Webhook description: Webhooks for repositories. type: object @@ -88978,7 +88508,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &872 + last_response: &870 title: Hook Response type: object properties: @@ -89055,8 +88585,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: + - *447 - *448 - - *449 requestBody: required: false content: @@ -89109,9 +88639,9 @@ paths: description: Response content: application/json: - schema: *626 + schema: *623 examples: - default: &627 + default: &624 value: type: Repository id: 12345678 @@ -89159,17 +88689,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: + - *447 - *448 - - *449 - *328 responses: '200': description: Response content: application/json: - schema: *626 + schema: *623 examples: - default: *627 + default: *624 '404': *6 x-github: githubCloudOnly: false @@ -89189,8 +88719,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: + - *447 - *448 - - *449 - *328 requestBody: required: true @@ -89236,9 +88766,9 @@ paths: description: Response content: application/json: - schema: *626 + schema: *623 examples: - default: *627 + default: *624 '422': *15 '404': *6 x-github: @@ -89259,8 +88789,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: + - *447 - *448 - - *449 - *328 responses: '204': @@ -89285,8 +88815,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: + - *447 - *448 - - *449 - *328 responses: '200': @@ -89314,8 +88844,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: + - *447 - *448 - - *449 - *328 requestBody: required: false @@ -89360,8 +88890,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: + - *447 - *448 - - *449 - *328 - *17 - *329 @@ -89393,8 +88923,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: + - *447 - *448 - - *449 - *328 - *16 responses: @@ -89423,8 +88953,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: + - *447 - *448 - - *449 - *328 - *16 responses: @@ -89448,8 +88978,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: + - *447 - *448 - - *449 - *328 responses: '204': @@ -89475,8 +89005,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: + - *447 - *448 - - *449 - *328 responses: '204': @@ -89500,8 +89030,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: + - *447 - *448 - - *449 responses: '200': description: Response if immutable releases are enabled @@ -89549,8 +89079,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-immutable-releases parameters: + - *447 - *448 - - *449 responses: '204': *144 '409': *112 @@ -89570,8 +89100,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-immutable-releases parameters: + - *447 - *448 - - *449 responses: '204': *144 '409': *112 @@ -89628,14 +89158,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: + - *447 - *448 - - *449 responses: '200': description: Response content: application/json: - schema: &628 + schema: &625 title: Import description: A repository import from an external source. type: object @@ -89742,7 +89272,7 @@ paths: - html_url - authors_url examples: - default: &631 + default: &628 value: vcs: subversion use_lfs: true @@ -89758,7 +89288,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': &629 + '503': &626 description: Unavailable due to service under maintenance. content: application/json: @@ -89787,8 +89317,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: + - *447 - *448 - - *449 requestBody: required: true content: @@ -89836,7 +89366,7 @@ paths: description: Response content: application/json: - schema: *628 + schema: *625 examples: default: value: @@ -89861,7 +89391,7 @@ paths: type: string '422': *15 '404': *6 - '503': *629 + '503': *626 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89889,8 +89419,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: + - *447 - *448 - - *449 requestBody: required: false content: @@ -89942,7 +89472,7 @@ paths: description: Response content: application/json: - schema: *628 + schema: *625 examples: example-1: summary: Example 1 @@ -89990,7 +89520,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': *629 + '503': *626 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90013,12 +89543,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: + - *447 - *448 - - *449 responses: '204': description: Response - '503': *629 + '503': *626 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90044,9 +89574,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: + - *447 - *448 - - *449 - - &814 + - &812 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -90060,7 +89590,7 @@ paths: application/json: schema: type: array - items: &630 + items: &627 title: Porter Author description: Porter Author type: object @@ -90114,7 +89644,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': *629 + '503': *626 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90139,8 +89669,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: + - *447 - *448 - - *449 - name: author_id in: path required: true @@ -90170,7 +89700,7 @@ paths: description: Response content: application/json: - schema: *630 + schema: *627 examples: default: value: @@ -90183,7 +89713,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *629 + '503': *626 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90207,8 +89737,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: + - *447 - *448 - - *449 responses: '200': description: Response @@ -90249,7 +89779,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *629 + '503': *626 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90277,8 +89807,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: + - *447 - *448 - - *449 requestBody: required: true content: @@ -90305,11 +89835,11 @@ paths: description: Response content: application/json: - schema: *628 + schema: *625 examples: - default: *631 + default: *628 '422': *15 - '503': *629 + '503': *626 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90332,8 +89862,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: + - *447 - *448 - - *449 responses: '200': description: Response @@ -90341,8 +89871,8 @@ paths: application/json: schema: *20 examples: - default: *632 - '301': *462 + default: *629 + '301': *459 '404': *6 x-github: githubCloudOnly: false @@ -90362,8 +89892,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: + - *447 - *448 - - *449 responses: '200': description: Response @@ -90376,7 +89906,7 @@ paths: properties: {} additionalProperties: false examples: - default: &634 + default: &631 value: limit: collaborators_only origin: repository @@ -90401,13 +89931,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: + - *447 - *448 - - *449 requestBody: required: true content: application/json: - schema: *633 + schema: *630 examples: default: summary: Example request body @@ -90421,7 +89951,7 @@ paths: application/json: schema: *346 examples: - default: *634 + default: *631 '409': description: Response x-github: @@ -90443,8 +89973,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: + - *447 - *448 - - *449 responses: '204': description: Response @@ -90467,8 +89997,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: + - *447 - *448 - - *449 - *17 - *19 responses: @@ -90478,9 +90008,9 @@ paths: application/json: schema: type: array - items: *635 + items: *632 examples: - default: &807 + default: &805 value: - id: 1 repository: @@ -90611,8 +90141,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: + - *447 - *448 - - *449 - *350 requestBody: required: false @@ -90642,7 +90172,7 @@ paths: description: Response content: application/json: - schema: *635 + schema: *632 examples: default: value: @@ -90773,8 +90303,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: + - *447 - *448 - - *449 - *350 responses: '204': @@ -90806,8 +90336,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: + - *447 - *448 - - *449 - 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 @@ -90880,7 +90410,7 @@ paths: type: array items: *218 examples: - default: &642 + default: &640 value: - id: 1 node_id: MDU6SXNzdWUx @@ -91028,7 +90558,7 @@ paths: state_reason: completed headers: Link: *41 - '301': *462 + '301': *459 '422': *15 '404': *6 x-github: @@ -91057,8 +90587,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: + - *447 - *448 - - *449 requestBody: required: true content: @@ -91150,7 +90680,7 @@ paths: application/json: schema: *218 examples: - default: &639 + default: &637 value: id: 1 node_id: MDU6SXNzdWUx @@ -91306,7 +90836,7 @@ paths: '422': *15 '503': *184 '404': *6 - '410': *459 + '410': *633 x-github: triggersNotification: true githubCloudOnly: false @@ -91334,8 +90864,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: + - *447 - *448 - - *449 - *227 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -91356,9 +90886,9 @@ paths: application/json: schema: type: array - items: *636 + items: *634 examples: - default: &641 + default: &639 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -91416,17 +90946,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: + - *447 - *448 - - *449 - *217 responses: '200': description: Response content: application/json: - schema: *636 + schema: *634 examples: - default: &637 + default: &635 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -91480,8 +91010,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: + - *447 - *448 - - *449 - *217 requestBody: required: true @@ -91504,9 +91034,9 @@ paths: description: Response content: application/json: - schema: *636 + schema: *634 examples: - default: *637 + default: *635 '422': *15 x-github: githubCloudOnly: false @@ -91524,8 +91054,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: + - *447 - *448 - - *449 - *217 responses: '204': @@ -91546,8 +91076,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: + - *447 - *448 - - *449 - *217 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -91574,9 +91104,9 @@ paths: application/json: schema: type: array - items: *437 + items: *436 examples: - default: *439 + default: *438 headers: Link: *41 '404': *6 @@ -91597,8 +91127,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: + - *447 - *448 - - *449 - *217 requestBody: required: true @@ -91631,16 +91161,16 @@ paths: description: Reaction exists content: application/json: - schema: *437 + schema: *436 examples: - default: *438 + default: *437 '201': description: Reaction created content: application/json: - schema: *437 + schema: *436 examples: - default: *438 + default: *437 '422': *15 x-github: githubCloudOnly: false @@ -91662,10 +91192,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: + - *447 - *448 - - *449 - *217 - - *440 + - *439 responses: '204': description: Response @@ -91685,8 +91215,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: + - *447 - *448 - - *449 - *17 - *19 responses: @@ -91696,7 +91226,7 @@ paths: application/json: schema: type: array - items: &638 + items: &636 title: Issue Event description: Issue Event type: object @@ -92035,8 +91565,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: + - *447 - *448 - - *449 - name: event_id in: path required: true @@ -92047,7 +91577,7 @@ paths: description: Response content: application/json: - schema: *638 + schema: *636 examples: default: value: @@ -92240,7 +91770,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *459 + '410': *633 '403': *27 x-github: githubCloudOnly: false @@ -92274,9 +91804,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: + - *447 - *448 - - *449 - - &640 + - &638 name: issue_number description: The number that identifies the issue. in: path @@ -92290,10 +91820,10 @@ paths: application/json: schema: *218 examples: - default: *639 - '301': *462 + default: *637 + '301': *459 '404': *6 - '410': *459 + '410': *633 '304': *35 x-github: githubCloudOnly: false @@ -92318,9 +91848,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: + - *447 - *448 - - *449 - - *640 + - *638 requestBody: required: false content: @@ -92441,13 +91971,13 @@ paths: application/json: schema: *218 examples: - default: *639 + default: *637 '422': *15 '503': *184 '403': *27 - '301': *462 + '301': *459 '404': *6 - '410': *459 + '410': *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92465,9 +91995,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: + - *447 - *448 - - *449 - - *640 + - *638 requestBody: required: false content: @@ -92495,7 +92025,7 @@ paths: application/json: schema: *218 examples: - default: *639 + default: *637 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92511,9 +92041,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: + - *447 - *448 - - *449 - - *640 + - *638 requestBody: content: application/json: @@ -92540,7 +92070,7 @@ paths: application/json: schema: *218 examples: - default: *639 + default: *637 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92562,9 +92092,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: + - *447 - *448 - - *449 - - *640 + - *638 - name: assignee in: path required: true @@ -92604,9 +92134,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: + - *447 - *448 - - *449 - - *640 + - *638 - *208 - *17 - *19 @@ -92617,13 +92147,13 @@ paths: application/json: schema: type: array - items: *636 + items: *634 examples: - default: *641 + default: *639 headers: Link: *41 '404': *6 - '410': *459 + '410': *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92652,9 +92182,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: + - *447 - *448 - - *449 - - *640 + - *638 requestBody: required: true content: @@ -92676,16 +92206,16 @@ paths: description: Response content: application/json: - schema: *636 + schema: *634 examples: - default: *637 + default: *635 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *459 + '410': *633 '422': *15 '404': *6 x-github: @@ -92713,9 +92243,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: + - *447 - *448 - - *449 - - *640 + - *638 - *17 - *19 responses: @@ -92727,12 +92257,12 @@ paths: type: array items: *218 examples: - default: *642 + default: *640 headers: Link: *41 - '301': *462 + '301': *459 '404': *6 - '410': *459 + '410': *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92760,9 +92290,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: + - *447 - *448 - - *449 - - *640 + - *638 requestBody: required: true content: @@ -92786,15 +92316,15 @@ paths: application/json: schema: *218 examples: - default: *639 + default: *637 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *462 + '301': *459 '403': *27 - '410': *459 + '410': *633 '422': *15 '404': *6 x-github: @@ -92825,9 +92355,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: + - *447 - *448 - - *449 - - *640 + - *638 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -92841,13 +92371,13 @@ paths: application/json: schema: *218 examples: - default: *639 - '301': *462 + default: *637 + '301': *459 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *459 + '410': *633 x-github: triggersNotification: true githubCloudOnly: false @@ -92873,9 +92403,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: + - *447 - *448 - - *449 - - *640 + - *638 - *17 - *19 responses: @@ -92887,12 +92417,12 @@ paths: type: array items: *218 examples: - default: *642 + default: *640 headers: Link: *41 - '301': *462 + '301': *459 '404': *6 - '410': *459 + '410': *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92909,9 +92439,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: + - *447 - *448 - - *449 - - *640 + - *638 - *17 - *19 responses: @@ -92925,7 +92455,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &645 + - &643 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -92974,7 +92504,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &646 + - &644 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -93102,7 +92632,7 @@ paths: - performed_via_github_app - assignee - assigner - - &647 + - &645 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -93148,7 +92678,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &648 + - &646 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -93194,7 +92724,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &649 + - &647 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -93243,7 +92773,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &650 + - &648 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -93285,7 +92815,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &651 + - &649 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -93327,7 +92857,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &652 + - &650 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -93383,7 +92913,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &653 + - &651 title: Locked Issue Event description: Locked Issue Event type: object @@ -93428,7 +92958,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &654 + - &652 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -93489,7 +93019,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &655 + - &653 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -93550,7 +93080,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &656 + - &654 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -93611,7 +93141,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &657 + - &655 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -93704,7 +93234,7 @@ paths: color: red headers: Link: *41 - '410': *459 + '410': *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93721,9 +93251,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: + - *447 - *448 - - *449 - - *640 + - *638 - *17 - *19 responses: @@ -93733,7 +93263,7 @@ paths: application/json: schema: type: array - items: &643 + items: &641 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -93788,7 +93318,7 @@ paths: - color - default examples: - default: &644 + default: &642 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -93806,9 +93336,9 @@ paths: default: false headers: Link: *41 - '301': *462 + '301': *459 '404': *6 - '410': *459 + '410': *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93825,9 +93355,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: + - *447 - *448 - - *449 - - *640 + - *638 requestBody: required: false content: @@ -93886,12 +93416,12 @@ paths: application/json: schema: type: array - items: *643 + items: *641 examples: - default: *644 - '301': *462 + default: *642 + '301': *459 '404': *6 - '410': *459 + '410': *633 '422': *15 x-github: githubCloudOnly: false @@ -93908,9 +93438,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: + - *447 - *448 - - *449 - - *640 + - *638 requestBody: required: false content: @@ -93970,12 +93500,12 @@ paths: application/json: schema: type: array - items: *643 + items: *641 examples: - default: *644 - '301': *462 + default: *642 + '301': *459 '404': *6 - '410': *459 + '410': *633 '422': *15 x-github: githubCloudOnly: false @@ -93992,15 +93522,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: + - *447 - *448 - - *449 - - *640 + - *638 responses: '204': description: Response - '301': *462 + '301': *459 '404': *6 - '410': *459 + '410': *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94019,9 +93549,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: + - *447 - *448 - - *449 - - *640 + - *638 - name: name in: path required: true @@ -94034,7 +93564,7 @@ paths: application/json: schema: type: array - items: *643 + items: *641 examples: default: value: @@ -94045,9 +93575,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *462 + '301': *459 '404': *6 - '410': *459 + '410': *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94067,9 +93597,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: + - *447 - *448 - - *449 - - *640 + - *638 requestBody: required: false content: @@ -94098,7 +93628,7 @@ paths: '204': description: Response '403': *27 - '410': *459 + '410': *633 '404': *6 '422': *15 x-github: @@ -94116,9 +93646,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: + - *447 - *448 - - *449 - - *640 + - *638 responses: '204': description: Response @@ -94148,9 +93678,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#get-parent-issue parameters: + - *447 - *448 - - *449 - - *640 + - *638 responses: '200': description: Response @@ -94158,10 +93688,10 @@ paths: application/json: schema: *218 examples: - default: *639 - '301': *462 + default: *637 + '301': *459 '404': *6 - '410': *459 + '410': *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94178,9 +93708,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: + - *447 - *448 - - *449 - - *640 + - *638 - 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. @@ -94206,13 +93736,13 @@ paths: application/json: schema: type: array - items: *437 + items: *436 examples: - default: *439 + default: *438 headers: Link: *41 '404': *6 - '410': *459 + '410': *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94230,9 +93760,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: + - *447 - *448 - - *449 - - *640 + - *638 requestBody: required: true content: @@ -94264,16 +93794,16 @@ paths: description: Response content: application/json: - schema: *437 + schema: *436 examples: - default: *438 + default: *437 '201': description: Response content: application/json: - schema: *437 + schema: *436 examples: - default: *438 + default: *437 '422': *15 x-github: githubCloudOnly: false @@ -94295,10 +93825,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: + - *447 - *448 - - *449 - - *640 - - *440 + - *638 + - *439 responses: '204': description: Response @@ -94327,9 +93857,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: + - *447 - *448 - - *449 - - *640 + - *638 requestBody: required: true content: @@ -94353,7 +93883,7 @@ paths: application/json: schema: *218 examples: - default: *639 + default: *637 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -94386,9 +93916,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: + - *447 - *448 - - *449 - - *640 + - *638 - *17 - *19 responses: @@ -94400,11 +93930,11 @@ paths: type: array items: *218 examples: - default: *642 + default: *640 headers: Link: *41 '404': *6 - '410': *459 + '410': *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94432,9 +93962,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: + - *447 - *448 - - *449 - - *640 + - *638 requestBody: required: true content: @@ -94463,14 +93993,14 @@ paths: application/json: schema: *218 examples: - default: *639 + default: *637 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *459 + '410': *633 '422': *15 '404': *6 x-github: @@ -94490,9 +94020,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: + - *447 - *448 - - *449 - - *640 + - *638 requestBody: required: true content: @@ -94525,7 +94055,7 @@ paths: application/json: schema: *218 examples: - default: *639 + default: *637 '403': *27 '404': *6 '422': *7 @@ -94547,9 +94077,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: + - *447 - *448 - - *449 - - *640 + - *638 - *17 - *19 responses: @@ -94564,6 +94094,8 @@ paths: description: Timeline Event type: object anyOf: + - *643 + - *644 - *645 - *646 - *647 @@ -94575,8 +94107,6 @@ paths: - *653 - *654 - *655 - - *656 - - *657 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -94905,7 +94435,7 @@ paths: type: string comments: type: array - items: &678 + items: &676 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -95143,7 +94673,7 @@ paths: type: string comments: type: array - items: *563 + items: *560 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -95418,7 +94948,7 @@ paths: headers: Link: *41 '404': *6 - '410': *459 + '410': *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95435,8 +94965,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: + - *447 - *448 - - *449 - *17 - *19 responses: @@ -95446,7 +94976,7 @@ paths: application/json: schema: type: array - items: &658 + items: &656 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -95514,8 +95044,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: + - *447 - *448 - - *449 requestBody: required: true content: @@ -95551,9 +95081,9 @@ paths: description: Response content: application/json: - schema: *658 + schema: *656 examples: - default: &659 + default: &657 value: id: 1 key: ssh-rsa AAA... @@ -95587,9 +95117,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: + - *447 - *448 - - *449 - - &660 + - &658 name: key_id description: The unique identifier of the key. in: path @@ -95601,9 +95131,9 @@ paths: description: Response content: application/json: - schema: *658 + schema: *656 examples: - default: *659 + default: *657 '404': *6 x-github: githubCloudOnly: false @@ -95621,9 +95151,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: + - *447 - *448 - - *449 - - *660 + - *658 responses: '204': description: Response @@ -95643,8 +95173,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: + - *447 - *448 - - *449 - *17 - *19 responses: @@ -95654,9 +95184,9 @@ paths: application/json: schema: type: array - items: *643 + items: *641 examples: - default: *644 + default: *642 headers: Link: *41 '404': *6 @@ -95677,8 +95207,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: + - *447 - *448 - - *449 requestBody: required: true content: @@ -95714,9 +95244,9 @@ paths: description: Response content: application/json: - schema: *643 + schema: *641 examples: - default: &661 + default: &659 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -95748,8 +95278,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: + - *447 - *448 - - *449 - name: name in: path required: true @@ -95760,9 +95290,9 @@ paths: description: Response content: application/json: - schema: *643 + schema: *641 examples: - default: *661 + default: *659 '404': *6 x-github: githubCloudOnly: false @@ -95779,8 +95309,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: + - *447 - *448 - - *449 - name: name in: path required: true @@ -95819,7 +95349,7 @@ paths: description: Response content: application/json: - schema: *643 + schema: *641 examples: default: value: @@ -95845,8 +95375,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: + - *447 - *448 - - *449 - name: name in: path required: true @@ -95872,8 +95402,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: + - *447 - *448 - - *449 responses: '200': description: Response @@ -95909,8 +95439,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: + - *447 - *448 - - *449 responses: '202': *37 '403': @@ -95938,8 +95468,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: + - *447 - *448 - - *449 responses: '204': description: Response @@ -95965,9 +95495,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: + - *447 - *448 - - *449 - - *541 + - *538 responses: '200': description: Response @@ -96114,8 +95644,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: + - *447 - *448 - - *449 requestBody: required: true content: @@ -96180,8 +95710,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: + - *447 - *448 - - *449 requestBody: required: true content: @@ -96215,9 +95745,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *564 + schema: *561 examples: - default: *662 + default: *660 '204': description: Response when already merged '404': @@ -96242,8 +95772,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: + - *447 - *448 - - *449 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -96284,7 +95814,7 @@ paths: application/json: schema: type: array - items: *387 + items: *386 examples: default: value: @@ -96340,8 +95870,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: + - *447 - *448 - - *449 requestBody: required: true content: @@ -96381,9 +95911,9 @@ paths: description: Response content: application/json: - schema: *387 + schema: *386 examples: - default: &663 + default: &661 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -96442,9 +95972,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: + - *447 - *448 - - *449 - - &664 + - &662 name: milestone_number description: The number that identifies the milestone. in: path @@ -96456,9 +95986,9 @@ paths: description: Response content: application/json: - schema: *387 + schema: *386 examples: - default: *663 + default: *661 '404': *6 x-github: githubCloudOnly: false @@ -96475,9 +96005,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: + - *447 - *448 - - *449 - - *664 + - *662 requestBody: required: false content: @@ -96515,9 +96045,9 @@ paths: description: Response content: application/json: - schema: *387 + schema: *386 examples: - default: *663 + default: *661 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96533,9 +96063,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: + - *447 - *448 - - *449 - - *664 + - *662 responses: '204': description: Response @@ -96556,9 +96086,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: + - *447 - *448 - - *449 - - *664 + - *662 - *17 - *19 responses: @@ -96568,9 +96098,9 @@ paths: application/json: schema: type: array - items: *643 + items: *641 examples: - default: *644 + default: *642 headers: Link: *41 x-github: @@ -96589,12 +96119,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: + - *447 - *448 - - *449 - - *665 - - *666 + - *663 + - *664 - *208 - - *667 + - *665 - *17 - *19 responses: @@ -96606,7 +96136,7 @@ paths: type: array items: *230 examples: - default: *668 + default: *666 headers: Link: *41 x-github: @@ -96630,8 +96160,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: + - *447 - *448 - - *449 requestBody: required: false content: @@ -96689,14 +96219,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: + - *447 - *448 - - *449 responses: '200': description: Response content: application/json: - schema: &669 + schema: &667 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -96840,7 +96370,7 @@ paths: - custom_404 - public examples: - default: &670 + default: &668 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -96881,8 +96411,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: + - *447 - *448 - - *449 requestBody: required: true content: @@ -96937,9 +96467,9 @@ paths: description: Response content: application/json: - schema: *669 + schema: *667 examples: - default: *670 + default: *668 '422': *15 '409': *112 x-github: @@ -96962,8 +96492,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: + - *447 - *448 - - *449 requestBody: required: true content: @@ -97071,8 +96601,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: + - *447 - *448 - - *449 responses: '204': description: Response @@ -97098,8 +96628,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: + - *447 - *448 - - *449 - *17 - *19 responses: @@ -97109,7 +96639,7 @@ paths: application/json: schema: type: array - items: &671 + items: &669 title: Page Build description: Page Build type: object @@ -97201,8 +96731,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: + - *447 - *448 - - *449 responses: '201': description: Response @@ -97249,16 +96779,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: + - *447 - *448 - - *449 responses: '200': description: Response content: application/json: - schema: *671 + schema: *669 examples: - default: &672 + default: &670 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -97306,8 +96836,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: + - *447 - *448 - - *449 - name: build_id in: path required: true @@ -97318,9 +96848,9 @@ paths: description: Response content: application/json: - schema: *671 + schema: *669 examples: - default: *672 + default: *670 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97340,8 +96870,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: + - *447 - *448 - - *449 requestBody: required: true content: @@ -97449,9 +96979,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: + - *447 - *448 - - *449 - - &673 + - &671 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -97509,9 +97039,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: + - *447 - *448 - - *449 - - *673 + - *671 responses: '204': *144 '404': *6 @@ -97538,8 +97068,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: + - *447 - *448 - - *449 responses: '200': description: Response @@ -97834,8 +97364,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: + - *447 - *448 - - *449 responses: '200': description: Private vulnerability reporting status @@ -97872,8 +97402,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: + - *447 - *448 - - *449 responses: '204': *144 '422': *14 @@ -97894,8 +97424,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: + - *447 - *448 - - *449 responses: '204': *144 '422': *14 @@ -97904,148 +97434,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: - - *448 - - *449 - - 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: *382 - 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: *41 - '401': *23 - '403': *27 - '404': *6 - '410': *459 - '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: - - *448 - - *449 - 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: *382 - examples: - default: *458 - '401': *23 - '403': *27 - '404': *6 - '410': *459 - '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 @@ -98059,8 +97447,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: + - *447 - *448 - - *449 responses: '200': description: Response @@ -98070,7 +97458,7 @@ paths: type: array items: *145 examples: - default: *674 + default: *672 '403': *27 '404': *6 x-github: @@ -98092,8 +97480,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: + - *447 - *448 - - *449 requestBody: required: true content: @@ -98109,7 +97497,7 @@ paths: required: - properties examples: - default: *675 + default: *673 responses: '204': description: No Content when custom property values are successfully created @@ -98147,8 +97535,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: + - *447 - *448 - - *449 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -98208,9 +97596,9 @@ paths: application/json: schema: type: array - items: *568 + items: *565 examples: - default: *676 + default: *674 headers: Link: *41 '304': *35 @@ -98242,8 +97630,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: + - *447 - *448 - - *449 requestBody: required: true content: @@ -98310,7 +97698,7 @@ paths: description: Response content: application/json: - schema: &680 + schema: &678 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -98439,7 +97827,7 @@ paths: milestone: anyOf: - type: 'null' - - *387 + - *386 active_lock_reason: type: - string @@ -98532,14 +97920,14 @@ paths: _links: type: object properties: - comments: *388 - commits: *388 - statuses: *388 - html: *388 - issue: *388 - review_comments: *388 - review_comment: *388 - self: *388 + comments: *387 + commits: *387 + statuses: *387 + html: *387 + issue: *387 + review_comments: *387 + review_comment: *387 + self: *387 required: - comments - commits @@ -98550,7 +97938,7 @@ paths: - review_comment - self author_association: *205 - auto_merge: *677 + auto_merge: *675 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -98652,7 +98040,7 @@ paths: - merged_by - review_comments examples: - default: &681 + default: &679 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -99179,8 +98567,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: + - *447 - *448 - - *449 - name: sort in: query required: false @@ -99209,9 +98597,9 @@ paths: application/json: schema: type: array - items: *678 + items: *676 examples: - default: &683 + default: &681 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -99288,17 +98676,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: + - *447 - *448 - - *449 - *217 responses: '200': description: Response content: application/json: - schema: *678 + schema: *676 examples: - default: &679 + default: &677 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -99373,8 +98761,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: + - *447 - *448 - - *449 - *217 requestBody: required: true @@ -99397,9 +98785,9 @@ paths: description: Response content: application/json: - schema: *678 + schema: *676 examples: - default: *679 + default: *677 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99415,8 +98803,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: + - *447 - *448 - - *449 - *217 responses: '204': @@ -99438,8 +98826,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: + - *447 - *448 - - *449 - *217 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -99466,9 +98854,9 @@ paths: application/json: schema: type: array - items: *437 + items: *436 examples: - default: *439 + default: *438 headers: Link: *41 '404': *6 @@ -99489,8 +98877,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: + - *447 - *448 - - *449 - *217 requestBody: required: true @@ -99523,16 +98911,16 @@ paths: description: Reaction exists content: application/json: - schema: *437 + schema: *436 examples: - default: *438 + default: *437 '201': description: Reaction created content: application/json: - schema: *437 + schema: *436 examples: - default: *438 + default: *437 '422': *15 x-github: githubCloudOnly: false @@ -99554,10 +98942,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: + - *447 - *448 - - *449 - *217 - - *440 + - *439 responses: '204': description: Response @@ -99600,9 +98988,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: + - *447 - *448 - - *449 - - &682 + - &680 name: pull_number description: The number that identifies the pull request. in: path @@ -99615,9 +99003,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *680 + schema: *678 examples: - default: *681 + default: *679 '304': *35 '404': *6 '406': @@ -99652,9 +99040,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: + - *447 - *448 - - *449 - - *682 + - *680 requestBody: required: false content: @@ -99696,9 +99084,9 @@ paths: description: Response content: application/json: - schema: *680 + schema: *678 examples: - default: *681 + default: *679 '422': *15 '403': *27 x-github: @@ -99720,9 +99108,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: + - *447 - *448 - - *449 - - *682 + - *680 requestBody: required: true content: @@ -99785,7 +99173,7 @@ paths: application/json: schema: *356 examples: - default: *555 + default: *552 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -99793,7 +99181,7 @@ paths: application/json: schema: *356 examples: - default: *555 + default: *552 '401': *23 '403': *27 '404': *6 @@ -99823,9 +99211,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: + - *447 - *448 - - *449 - - *682 + - *680 - *227 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -99846,9 +99234,9 @@ paths: application/json: schema: type: array - items: *678 + items: *676 examples: - default: *683 + default: *681 headers: Link: *41 x-github: @@ -99881,9 +99269,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: + - *447 - *448 - - *449 - - *682 + - *680 requestBody: required: true content: @@ -99989,7 +99377,7 @@ paths: description: Response content: application/json: - schema: *678 + schema: *676 examples: example-for-a-multi-line-comment: value: @@ -100077,9 +99465,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: + - *447 - *448 - - *449 - - *682 + - *680 - *217 requestBody: required: true @@ -100102,7 +99490,7 @@ paths: description: Response content: application/json: - schema: *678 + schema: *676 examples: default: value: @@ -100188,9 +99576,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: + - *447 - *448 - - *449 - - *682 + - *680 - *17 - *19 responses: @@ -100200,9 +99588,9 @@ paths: application/json: schema: type: array - items: *564 + items: *561 examples: - default: *684 + default: *682 headers: Link: *41 x-github: @@ -100232,9 +99620,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: + - *447 - *448 - - *449 - - *682 + - *680 - *17 - *19 responses: @@ -100244,7 +99632,7 @@ paths: application/json: schema: type: array - items: *575 + items: *572 examples: default: value: @@ -100282,9 +99670,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: + - *447 - *448 - - *449 - - *682 + - *680 responses: '204': description: Response if pull request has been merged @@ -100307,9 +99695,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: + - *447 - *448 - - *449 - - *682 + - *680 requestBody: required: false content: @@ -100421,9 +99809,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: + - *447 - *448 - - *449 - - *682 + - *680 responses: '200': description: Response @@ -100498,9 +99886,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: + - *447 - *448 - - *449 - - *682 + - *680 requestBody: required: false content: @@ -100537,7 +99925,7 @@ paths: description: Response content: application/json: - schema: *568 + schema: *565 examples: default: value: @@ -101073,9 +100461,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: + - *447 - *448 - - *449 - - *682 + - *680 requestBody: required: true content: @@ -101109,7 +100497,7 @@ paths: description: Response content: application/json: - schema: *568 + schema: *565 examples: default: value: @@ -101614,9 +101002,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: + - *447 - *448 - - *449 - - *682 + - *680 - *17 - *19 responses: @@ -101626,7 +101014,7 @@ paths: application/json: schema: type: array - items: &685 + items: &683 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -101782,9 +101170,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: + - *447 - *448 - - *449 - - *682 + - *680 requestBody: required: false content: @@ -101874,9 +101262,9 @@ paths: description: Response content: application/json: - schema: *685 + schema: *683 examples: - default: &687 + default: &685 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -101939,10 +101327,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: + - *447 - *448 - - *449 - - *682 - - &686 + - *680 + - &684 name: review_id description: The unique identifier of the review. in: path @@ -101954,9 +101342,9 @@ paths: description: Response content: application/json: - schema: *685 + schema: *683 examples: - default: &688 + default: &686 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -102015,10 +101403,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: + - *447 - *448 - - *449 - - *682 - - *686 + - *680 + - *684 requestBody: required: true content: @@ -102041,7 +101429,7 @@ paths: description: Response content: application/json: - schema: *685 + schema: *683 examples: default: value: @@ -102103,18 +101491,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: + - *447 - *448 - - *449 - - *682 - - *686 + - *680 + - *684 responses: '200': description: Response content: application/json: - schema: *685 + schema: *683 examples: - default: *687 + default: *685 '422': *7 '404': *6 x-github: @@ -102141,10 +101529,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: + - *447 - *448 - - *449 - - *682 - - *686 + - *680 + - *684 - *17 - *19 responses: @@ -102242,9 +101630,9 @@ paths: _links: type: object properties: - self: *388 - html: *388 - pull_request: *388 + self: *387 + html: *387 + pull_request: *387 required: - self - html @@ -102402,10 +101790,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: + - *447 - *448 - - *449 - - *682 - - *686 + - *680 + - *684 requestBody: required: true content: @@ -102434,7 +101822,7 @@ paths: description: Response content: application/json: - schema: *685 + schema: *683 examples: default: value: @@ -102497,10 +101885,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: + - *447 - *448 - - *449 - - *682 - - *686 + - *680 + - *684 requestBody: required: true content: @@ -102535,9 +101923,9 @@ paths: description: Response content: application/json: - schema: *685 + schema: *683 examples: - default: *688 + default: *686 '404': *6 '422': *7 '403': *27 @@ -102559,9 +101947,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: + - *447 - *448 - - *449 - - *682 + - *680 requestBody: required: false content: @@ -102625,8 +102013,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: + - *447 - *448 - - *449 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -102639,9 +102027,9 @@ paths: description: Response content: application/json: - schema: *689 + schema: *687 examples: - default: &690 + default: &688 value: type: file encoding: base64 @@ -102683,8 +102071,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: + - *447 - *448 - - *449 - name: dir description: The alternate path to look for a README file in: path @@ -102704,9 +102092,9 @@ paths: description: Response content: application/json: - schema: *689 + schema: *687 examples: - default: *690 + default: *688 '404': *6 '422': *15 x-github: @@ -102728,8 +102116,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: + - *447 - *448 - - *449 - *17 - *19 responses: @@ -102739,7 +102127,7 @@ paths: application/json: schema: type: array - items: &691 + items: &689 title: Release description: A release. type: object @@ -102821,7 +102209,7 @@ paths: author: *4 assets: type: array - items: &692 + items: &690 title: Release Asset description: Data related to a release. type: object @@ -103008,8 +102396,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: + - *447 - *448 - - *449 requestBody: required: true content: @@ -103085,9 +102473,9 @@ paths: description: Response content: application/json: - schema: *691 + schema: *689 examples: - default: &695 + default: &693 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -103192,9 +102580,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: + - *447 - *448 - - *449 - - &693 + - &691 name: asset_id description: The unique identifier of the asset. in: path @@ -103206,9 +102594,9 @@ paths: description: Response content: application/json: - schema: *692 + schema: *690 examples: - default: &694 + default: &692 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 @@ -103243,7 +102631,7 @@ paths: type: User site_admin: false '404': *6 - '302': *577 + '302': *574 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103259,9 +102647,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: + - *447 - *448 - - *449 - - *693 + - *691 requestBody: required: false content: @@ -103290,9 +102678,9 @@ paths: description: Response content: application/json: - schema: *692 + schema: *690 examples: - default: *694 + default: *692 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103308,9 +102696,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: + - *447 - *448 - - *449 - - *693 + - *691 responses: '204': description: Response @@ -103334,8 +102722,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: + - *447 - *448 - - *449 requestBody: required: true content: @@ -103421,16 +102809,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: + - *447 - *448 - - *449 responses: '200': description: Response content: application/json: - schema: *691 + schema: *689 examples: - default: *695 + default: *693 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103447,8 +102835,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: + - *447 - *448 - - *449 - name: tag description: tag parameter in: path @@ -103461,9 +102849,9 @@ paths: description: Response content: application/json: - schema: *691 + schema: *689 examples: - default: *695 + default: *693 '404': *6 x-github: githubCloudOnly: false @@ -103485,9 +102873,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: + - *447 - *448 - - *449 - - &696 + - &694 name: release_id description: The unique identifier of the release. in: path @@ -103501,9 +102889,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: *691 + schema: *689 examples: - default: *695 + default: *693 '401': description: Unauthorized x-github: @@ -103521,9 +102909,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: + - *447 - *448 - - *449 - - *696 + - *694 requestBody: required: false content: @@ -103587,9 +102975,9 @@ paths: description: Response content: application/json: - schema: *691 + schema: *689 examples: - default: *695 + default: *693 '404': description: Not Found if the discussion category name is invalid content: @@ -103610,9 +102998,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: + - *447 - *448 - - *449 - - *696 + - *694 responses: '204': description: Response @@ -103632,9 +103020,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: + - *447 - *448 - - *449 - - *696 + - *694 - *17 - *19 responses: @@ -103644,7 +103032,7 @@ paths: application/json: schema: type: array - items: *692 + items: *690 examples: default: value: @@ -103726,9 +103114,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: + - *447 - *448 - - *449 - - *696 + - *694 - name: name in: query required: true @@ -103754,7 +103142,7 @@ paths: description: Response for successful upload content: application/json: - schema: *692 + schema: *690 examples: response-for-successful-upload: value: @@ -103809,9 +103197,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: + - *447 - *448 - - *449 - - *696 + - *694 - 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. @@ -103835,9 +103223,9 @@ paths: application/json: schema: type: array - items: *437 + items: *436 examples: - default: *439 + default: *438 headers: Link: *41 '404': *6 @@ -103858,9 +103246,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: + - *447 - *448 - - *449 - - *696 + - *694 requestBody: required: true content: @@ -103890,16 +103278,16 @@ paths: description: Reaction exists content: application/json: - schema: *437 + schema: *436 examples: - default: *438 + default: *437 '201': description: Reaction created content: application/json: - schema: *437 + schema: *436 examples: - default: *438 + default: *437 '422': *15 x-github: githubCloudOnly: false @@ -103921,10 +103309,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: + - *447 - *448 - - *449 - - *696 - - *440 + - *694 + - *439 responses: '204': description: Response @@ -103948,9 +103336,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: + - *447 - *448 - - *449 - - *507 + - *504 - *17 - *19 responses: @@ -103967,7 +103355,7 @@ paths: oneOf: - allOf: - *159 - - &697 + - &695 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -103988,67 +103376,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *160 - - *697 + - *695 - allOf: - *161 - - *697 + - *695 - allOf: - *162 - - *697 + - *695 - allOf: - - *698 - - *697 + - *696 + - *695 - allOf: - *163 - - *697 + - *695 - allOf: - *164 - - *697 + - *695 - allOf: - *165 - - *697 + - *695 - allOf: - *166 - - *697 + - *695 - allOf: - *167 - - *697 + - *695 - allOf: - *168 - - *697 + - *695 - allOf: - *169 - - *697 + - *695 - allOf: - *170 - - *697 + - *695 - allOf: - *171 - - *697 + - *695 - allOf: - *172 - - *697 + - *695 - allOf: - *173 - - *697 + - *695 - allOf: - *174 - - *697 + - *695 - allOf: - *175 - - *697 + - *695 - allOf: - *176 - - *697 + - *695 - allOf: - *177 - - *697 + - *695 - allOf: - *178 - - *697 + - *695 - allOf: - - *699 - *697 + - *695 examples: default: value: @@ -104087,8 +103475,8 @@ paths: category: repos subcategory: rules parameters: + - *447 - *448 - - *449 - *17 - *19 - name: includes_parents @@ -104099,7 +103487,7 @@ paths: schema: type: boolean default: true - - *700 + - *698 responses: '200': description: Response @@ -104154,8 +103542,8 @@ paths: category: repos subcategory: rules parameters: + - *447 - *448 - - *449 requestBody: description: Request body required: true @@ -104184,7 +103572,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *701 + items: *699 required: - name - enforcement @@ -104217,7 +103605,7 @@ paths: application/json: schema: *179 examples: - default: &710 + default: &708 value: id: 42 name: super cool ruleset @@ -104264,12 +103652,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: + - *447 - *448 - - *449 - - *702 + - *700 - *99 - - *703 - - *704 + - *701 + - *702 - *17 - *19 responses: @@ -104277,9 +103665,9 @@ paths: description: Response content: application/json: - schema: *705 + schema: *703 examples: - default: *706 + default: *704 '404': *6 '500': *38 x-github: @@ -104300,17 +103688,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: + - *447 - *448 - - *449 - - *707 + - *705 responses: '200': description: Response content: application/json: - schema: *708 + schema: *706 examples: - default: *709 + default: *707 '404': *6 '500': *38 x-github: @@ -104338,8 +103726,8 @@ paths: category: repos subcategory: rules parameters: + - *447 - *448 - - *449 - name: ruleset_id description: The ID of the ruleset. in: path @@ -104361,7 +103749,7 @@ paths: application/json: schema: *179 examples: - default: *710 + default: *708 '404': *6 '500': *38 put: @@ -104379,8 +103767,8 @@ paths: category: repos subcategory: rules parameters: + - *447 - *448 - - *449 - name: ruleset_id description: The ID of the ruleset. in: path @@ -104414,7 +103802,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *701 + items: *699 examples: default: value: @@ -104444,7 +103832,7 @@ paths: application/json: schema: *179 examples: - default: *710 + default: *708 '404': *6 '500': *38 delete: @@ -104462,8 +103850,8 @@ paths: category: repos subcategory: rules parameters: + - *447 - *448 - - *449 - name: ruleset_id description: The ID of the ruleset. in: path @@ -104486,8 +103874,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: + - *447 - *448 - - *449 - *17 - *19 - name: ruleset_id @@ -104505,7 +103893,7 @@ paths: type: array items: *183 examples: - default: *401 + default: *400 '404': *6 '500': *38 x-github: @@ -104524,8 +103912,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: + - *447 - *448 - - *449 - name: ruleset_id description: The ID of the ruleset. in: path @@ -104543,7 +103931,7 @@ paths: description: Response content: application/json: - schema: *402 + schema: *401 examples: default: value: @@ -104598,21 +103986,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: + - *447 - *448 - - *449 + - *402 - *403 - *404 - *405 - - *406 - *104 - *19 - *17 - - *711 - - *712 + - *709 + - *710 + - *406 - *407 - *408 - *409 - - *410 responses: '200': description: Response @@ -104620,7 +104008,7 @@ paths: application/json: schema: type: array - items: &716 + items: &714 type: object properties: number: *119 @@ -104636,8 +104024,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *713 - resolution: *714 + state: *711 + resolution: *712 resolved_at: type: - string @@ -104731,7 +104119,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *715 + - *713 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -104876,16 +104264,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: + - *447 - *448 - - *449 - - *535 - - *410 + - *532 + - *409 responses: '200': description: Response content: application/json: - schema: *716 + schema: *714 examples: default: value: @@ -104937,9 +104325,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: + - *447 - *448 - - *449 - - *535 + - *532 requestBody: required: true content: @@ -104947,8 +104335,8 @@ paths: schema: type: object properties: - state: *713 - resolution: *714 + state: *711 + resolution: *712 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -104967,7 +104355,7 @@ paths: description: Response content: application/json: - schema: *716 + schema: *714 examples: default: value: @@ -105042,9 +104430,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: + - *447 - *448 - - *449 - - *535 + - *532 - *19 - *17 responses: @@ -105055,7 +104443,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &892 + items: &890 type: object properties: type: @@ -105082,6 +104470,8 @@ paths: - commit details: oneOf: + - *715 + - *716 - *717 - *718 - *719 @@ -105093,8 +104483,6 @@ paths: - *725 - *726 - *727 - - *728 - - *729 examples: default: value: @@ -105180,8 +104568,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: + - *447 - *448 - - *449 requestBody: required: true content: @@ -105189,14 +104577,14 @@ paths: schema: type: object properties: - reason: &731 + reason: &729 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *730 + placeholder_id: *728 required: - reason - placeholder_id @@ -105213,7 +104601,7 @@ paths: schema: type: object properties: - reason: *731 + reason: *729 expire_at: type: - string @@ -105260,8 +104648,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: + - *447 - *448 - - *449 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -105276,7 +104664,7 @@ paths: properties: incremental_scans: type: array - items: &732 + items: &730 description: Information on a single scan performed by secret scanning on the repository type: object @@ -105304,15 +104692,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *732 + items: *730 backfill_scans: type: array - items: *732 + items: *730 custom_pattern_backfill_scans: type: array items: allOf: - - *732 + - *730 - type: object properties: pattern_name: @@ -105382,8 +104770,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: + - *447 - *448 - - *449 - *104 - name: sort description: The property to sort the results by. @@ -105427,9 +104815,9 @@ paths: application/json: schema: type: array - items: *733 + items: *731 examples: - default: *734 + default: *732 '400': *14 '404': *6 x-github: @@ -105452,8 +104840,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: + - *447 - *448 - - *449 requestBody: required: true content: @@ -105533,7 +104921,7 @@ paths: login: type: string description: The username of the user credited. - type: *415 + type: *414 required: - login - type @@ -105623,9 +105011,9 @@ paths: description: Response content: application/json: - schema: *733 + schema: *731 examples: - default: &736 + default: &734 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -105858,8 +105246,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: + - *447 - *448 - - *449 requestBody: required: true content: @@ -105972,7 +105360,7 @@ paths: description: Response content: application/json: - schema: *733 + schema: *731 examples: default: value: @@ -106119,17 +105507,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: + - *447 - *448 - - *449 - - *735 + - *733 responses: '200': description: Response content: application/json: - schema: *733 + schema: *731 examples: - default: *736 + default: *734 '403': *27 '404': *6 x-github: @@ -106153,9 +105541,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: + - *447 - *448 - - *449 - - *735 + - *733 requestBody: required: true content: @@ -106235,7 +105623,7 @@ paths: login: type: string description: The username of the user credited. - type: *415 + type: *414 required: - login - type @@ -106326,10 +105714,10 @@ paths: description: Response content: application/json: - schema: *733 + schema: *731 examples: - default: *736 - add_credit: *736 + default: *734 + add_credit: *734 '403': *27 '404': *6 '422': @@ -106367,9 +105755,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: + - *447 - *448 - - *449 - - *735 + - *733 responses: '202': *37 '400': *14 @@ -106396,17 +105784,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: + - *447 - *448 - - *449 - - *735 + - *733 responses: '202': description: Response content: application/json: - schema: *461 + schema: *458 examples: - default: *463 + default: *460 '400': *14 '422': *15 '403': *27 @@ -106432,8 +105820,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: + - *447 - *448 - - *449 - *17 - *19 responses: @@ -106529,8 +105917,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: + - *447 - *448 - - *449 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -106539,7 +105927,7 @@ paths: application/json: schema: type: array - items: &737 + items: &735 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -106572,8 +105960,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: + - *447 - *448 - - *449 responses: '200': description: Response @@ -106651,8 +106039,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: + - *447 - *448 - - *449 responses: '200': description: Response @@ -106746,8 +106134,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: + - *447 - *448 - - *449 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -106901,8 +106289,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: + - *447 - *448 - - *449 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -106912,7 +106300,7 @@ paths: application/json: schema: type: array - items: *737 + items: *735 examples: default: value: @@ -106945,8 +106333,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: + - *447 - *448 - - *449 - name: sha in: path required: true @@ -107002,7 +106390,7 @@ paths: description: Response content: application/json: - schema: *738 + schema: *736 examples: default: value: @@ -107056,8 +106444,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: + - *447 - *448 - - *449 - *17 - *19 responses: @@ -107089,14 +106477,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: + - *447 - *448 - - *449 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &739 + schema: &737 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -107169,8 +106557,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: + - *447 - *448 - - *449 requestBody: required: false content: @@ -107196,7 +106584,7 @@ paths: description: Response content: application/json: - schema: *739 + schema: *737 examples: default: value: @@ -107223,8 +106611,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: + - *447 - *448 - - *449 responses: '204': description: Response @@ -107244,8 +106632,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: + - *447 - *448 - - *449 - *17 - *19 responses: @@ -107327,8 +106715,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: + - *447 - *448 - - *449 responses: '200': description: Response @@ -107336,7 +106724,7 @@ paths: application/json: schema: type: array - items: &740 + items: &738 title: Tag protection description: Tag protection type: object @@ -107393,8 +106781,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: + - *447 - *448 - - *449 requestBody: required: true content: @@ -107417,7 +106805,7 @@ paths: description: Response content: application/json: - schema: *740 + schema: *738 examples: default: value: @@ -107448,8 +106836,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: + - *447 - *448 - - *449 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -107486,8 +106874,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: + - *447 - *448 - - *449 - name: ref in: path required: true @@ -107523,8 +106911,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: + - *447 - *448 - - *449 - *17 - *19 responses: @@ -107556,8 +106944,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: + - *447 - *448 - - *449 - *19 - *17 responses: @@ -107565,7 +106953,7 @@ paths: description: Response content: application/json: - schema: &741 + schema: &739 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -107577,7 +106965,7 @@ paths: required: - names examples: - default: &742 + default: &740 value: names: - octocat @@ -107600,8 +106988,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: + - *447 - *448 - - *449 requestBody: required: true content: @@ -107632,9 +107020,9 @@ paths: description: Response content: application/json: - schema: *741 + schema: *739 examples: - default: *742 + default: *740 '404': *6 '422': *7 x-github: @@ -107655,9 +107043,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: + - *447 - *448 - - *449 - - &743 + - &741 name: per description: The time frame to display results for. in: query @@ -107688,7 +107076,7 @@ paths: - 128 clones: type: array - items: &744 + items: &742 title: Traffic type: object properties: @@ -107775,8 +107163,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: + - *447 - *448 - - *449 responses: '200': description: Response @@ -107870,8 +107258,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: + - *447 - *448 - - *449 responses: '200': description: Response @@ -107934,9 +107322,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: + - *447 - *448 - - *449 - - *743 + - *741 responses: '200': description: Response @@ -107957,7 +107345,7 @@ paths: - 3782 views: type: array - items: *744 + items: *742 required: - uniques - count @@ -108034,8 +107422,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: + - *447 - *448 - - *449 requestBody: required: true content: @@ -108309,8 +107697,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: + - *447 - *448 - - *449 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -108333,8 +107721,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: + - *447 - *448 - - *449 responses: '204': description: Response @@ -108356,8 +107744,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: + - *447 - *448 - - *449 responses: '204': description: Response @@ -108383,8 +107771,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: + - *447 - *448 - - *449 - name: ref in: path required: true @@ -108476,9 +107864,9 @@ paths: description: Response content: application/json: - schema: *461 + schema: *458 examples: - default: *463 + default: *460 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -108629,7 +108017,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &752 + - &750 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -108639,7 +108027,7 @@ paths: type: string examples: - members - - &757 + - &755 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -108651,7 +108039,7 @@ paths: format: int32 examples: - 1 - - &758 + - &756 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -108695,7 +108083,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &747 + items: &745 allOf: - type: object required: @@ -108777,7 +108165,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: &759 + meta: &757 type: object description: The metadata associated with the creation/updates to the user. @@ -108842,30 +108230,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &748 + '400': &746 description: Bad request content: application/json: - schema: *745 + schema: *743 application/scim+json: - schema: *745 - '401': *746 - '403': &749 + schema: *743 + '401': *744 + '403': &747 description: Permission denied - '429': &750 + '429': &748 description: Too many requests content: application/json: - schema: *745 + schema: *743 application/scim+json: - schema: *745 - '500': &751 + schema: *743 + '500': &749 description: Internal server error content: application/json: - schema: *745 + schema: *743 application/scim+json: - schema: *745 + schema: *743 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108889,7 +108277,7 @@ paths: required: true content: application/json: - schema: &755 + schema: &753 type: object required: - schemas @@ -108953,9 +108341,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *747 + schema: *745 examples: - group: &753 + group: &751 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -108974,13 +108362,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': *748 - '401': *746 - '403': *749 - '409': &756 + '400': *746 + '401': *744 + '403': *747 + '409': &754 description: Duplicate record detected - '429': *750 - '500': *751 + '429': *748 + '500': *749 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108997,7 +108385,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: - - &754 + - &752 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -109006,22 +108394,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *752 + - *750 - *39 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *747 + schema: *745 examples: - default: *753 - '400': *748 - '401': *746 - '403': *749 + default: *751 + '400': *746 + '401': *744 + '403': *747 '404': *6 - '429': *750 - '500': *751 + '429': *748 + '500': *749 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109040,13 +108428,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: - - *754 + - *752 - *39 requestBody: required: true content: application/json: - schema: *755 + schema: *753 examples: group: summary: Group @@ -109072,17 +108460,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *747 + schema: *745 examples: - group: *753 - groupWithMembers: *753 - '400': *748 - '401': *746 - '403': *749 + group: *751 + groupWithMembers: *751 + '400': *746 + '401': *744 + '403': *747 '404': *6 - '409': *756 - '429': *750 - '500': *751 + '409': *754 + '429': *748 + '500': *749 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109106,13 +108494,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: - - *754 + - *752 - *39 requestBody: required: true content: application/json: - schema: &766 + schema: &764 type: object required: - Operations @@ -109172,17 +108560,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *747 + schema: *745 examples: - updateGroup: *753 - addMembers: *753 - '400': *748 - '401': *746 - '403': *749 + updateGroup: *751 + addMembers: *751 + '400': *746 + '401': *744 + '403': *747 '404': *6 - '409': *756 - '429': *750 - '500': *751 + '409': *754 + '429': *748 + '500': *749 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109198,17 +108586,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: - - *754 + - *752 - *39 responses: '204': description: Group was deleted, no content - '400': *748 - '401': *746 - '403': *749 + '400': *746 + '401': *744 + '403': *747 '404': *6 - '429': *750 - '500': *751 + '429': *748 + '500': *749 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109242,8 +108630,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *757 - - *758 + - *755 + - *756 - *39 responses: '200': @@ -109277,7 +108665,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &761 + items: &759 allOf: - type: object required: @@ -109369,7 +108757,7 @@ paths: address. examples: - true - roles: &760 + roles: &758 type: array description: The roles assigned to the user. items: @@ -109428,7 +108816,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *759 + meta: *757 startIndex: type: integer description: A starting index for the returned page @@ -109467,11 +108855,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *748 - '401': *746 - '403': *749 - '429': *750 - '500': *751 + '400': *746 + '401': *744 + '403': *747 + '429': *748 + '500': *749 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109495,7 +108883,7 @@ paths: required: true content: application/json: - schema: &764 + schema: &762 type: object required: - schemas @@ -109588,9 +108976,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *760 + roles: *758 examples: - user: &765 + user: &763 summary: User value: schemas: @@ -109637,9 +109025,9 @@ paths: description: User has been created content: application/scim+json: - schema: *761 + schema: *759 examples: - user: &762 + user: &760 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -109665,13 +109053,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: *762 - '400': *748 - '401': *746 - '403': *749 - '409': *756 - '429': *750 - '500': *751 + enterpriseOwner: *760 + '400': *746 + '401': *744 + '403': *747 + '409': *754 + '429': *748 + '500': *749 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109688,7 +109076,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: - - &763 + - &761 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -109701,15 +109089,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *761 + schema: *759 examples: - default: *762 - '400': *748 - '401': *746 - '403': *749 + default: *760 + '400': *746 + '401': *744 + '403': *747 '404': *6 - '429': *750 - '500': *751 + '429': *748 + '500': *749 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109731,30 +109119,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: - - *763 + - *761 - *39 requestBody: required: true content: application/json: - schema: *764 + schema: *762 examples: - user: *765 + user: *763 responses: '200': description: User was updated content: application/scim+json: - schema: *761 + schema: *759 examples: - user: *762 - '400': *748 - '401': *746 - '403': *749 + user: *760 + '400': *746 + '401': *744 + '403': *747 '404': *6 - '409': *756 - '429': *750 - '500': *751 + '409': *754 + '429': *748 + '500': *749 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109789,13 +109177,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: - - *763 + - *761 - *39 requestBody: required: true content: application/json: - schema: *766 + schema: *764 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -109835,18 +109223,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *761 + schema: *759 examples: - userMultiValuedProperties: *762 - userSingleValuedProperties: *762 - disableUser: *762 - '400': *748 - '401': *746 - '403': *749 + userMultiValuedProperties: *760 + userSingleValuedProperties: *760 + disableUser: *760 + '400': *746 + '401': *744 + '403': *747 '404': *6 - '409': *756 - '429': *750 - '500': *751 + '409': *754 + '429': *748 + '500': *749 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109866,17 +109254,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: - - *763 + - *761 - *39 responses: '204': description: User was deleted, no content - '400': *748 - '401': *746 - '403': *749 + '400': *746 + '401': *744 + '403': *747 '404': *6 - '429': *750 - '500': *751 + '429': *748 + '500': *749 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109967,7 +109355,7 @@ paths: - 1 Resources: type: array - items: &767 + items: &765 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -110214,22 +109602,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *35 - '404': &768 + '404': &766 description: Resource not found content: application/json: - schema: *745 + schema: *743 application/scim+json: - schema: *745 - '403': &769 + schema: *743 + '403': &767 description: Forbidden content: application/json: - schema: *745 + schema: *743 application/scim+json: - schema: *745 - '400': *748 - '429': *750 + schema: *743 + '400': *746 + '429': *748 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -110255,9 +109643,9 @@ paths: description: Response content: application/scim+json: - schema: *767 + schema: *765 examples: - default: &770 + default: &768 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -110280,17 +109668,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *35 - '404': *768 - '403': *769 - '500': *751 + '404': *766 + '403': *767 + '500': *749 '409': description: Conflict content: application/json: - schema: *745 + schema: *743 application/scim+json: - schema: *745 - '400': *748 + schema: *743 + '400': *746 requestBody: required: true content: @@ -110390,17 +109778,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *81 - - *763 + - *761 responses: '200': description: Response content: application/scim+json: - schema: *767 + schema: *765 examples: - default: *770 - '404': *768 - '403': *769 + default: *768 + '404': *766 + '403': *767 '304': *35 x-github: githubCloudOnly: true @@ -110424,18 +109812,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *81 - - *763 + - *761 responses: '200': description: Response content: application/scim+json: - schema: *767 + schema: *765 examples: - default: *770 + default: *768 '304': *35 - '404': *768 - '403': *769 + '404': *766 + '403': *767 requestBody: required: true content: @@ -110550,19 +109938,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *81 - - *763 + - *761 responses: '200': description: Response content: application/scim+json: - schema: *767 + schema: *765 examples: - default: *770 + default: *768 '304': *35 - '404': *768 - '403': *769 - '400': *748 + '404': *766 + '403': *767 + '400': *746 '429': description: Response content: @@ -110658,12 +110046,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *81 - - *763 + - *761 responses: '204': description: Response - '404': *768 - '403': *769 + '404': *766 + '403': *767 '304': *35 x-github: githubCloudOnly: true @@ -110797,7 +110185,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &771 + text_matches: &769 title: Search Result Text Matches type: array items: @@ -110961,7 +110349,7 @@ paths: enum: - author-date - committer-date - - &772 + - &770 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 @@ -111030,7 +110418,7 @@ paths: committer: anyOf: - type: 'null' - - *505 + - *502 comment_count: type: integer message: @@ -111049,7 +110437,7 @@ paths: url: type: string format: uri - verification: *622 + verification: *619 required: - author - committer @@ -111064,7 +110452,7 @@ paths: committer: anyOf: - type: 'null' - - *505 + - *502 parents: type: array items: @@ -111081,7 +110469,7 @@ paths: type: number node_id: type: string - text_matches: *771 + text_matches: *769 required: - sha - node_id @@ -111274,7 +110662,7 @@ paths: - interactions - created - updated - - *772 + - *770 - *17 - *19 - name: advanced_search @@ -111371,11 +110759,11 @@ paths: type: - string - 'null' - sub_issues_summary: *773 - issue_dependencies_summary: *774 + sub_issues_summary: *771 + issue_dependencies_summary: *772 issue_field_values: type: array - items: *775 + items: *773 state: type: string state_reason: @@ -111389,7 +110777,7 @@ paths: milestone: anyOf: - type: 'null' - - *387 + - *386 comments: type: integer created_at: @@ -111403,7 +110791,7 @@ paths: - string - 'null' format: date-time - text_matches: *771 + text_matches: *769 pull_request: type: object properties: @@ -111626,7 +111014,7 @@ paths: enum: - created - updated - - *772 + - *770 - *17 - *19 responses: @@ -111671,7 +111059,7 @@ paths: - 'null' score: type: number - text_matches: *771 + text_matches: *769 required: - id - node_id @@ -111757,7 +111145,7 @@ paths: - forks - help-wanted-issues - updated - - *772 + - *770 - *17 - *19 responses: @@ -111994,7 +111382,7 @@ paths: - admin - pull - push - text_matches: *771 + text_matches: *769 temp_clone_token: type: string allow_merge_commit: @@ -112303,7 +111691,7 @@ paths: - string - 'null' format: uri - text_matches: *771 + text_matches: *769 related: type: - array @@ -112498,7 +111886,7 @@ paths: - followers - repositories - joined - - *772 + - *770 - *17 - *19 responses: @@ -112608,7 +111996,7 @@ paths: type: - boolean - 'null' - text_matches: *771 + text_matches: *769 blog: type: - string @@ -112690,7 +112078,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &776 + - &774 name: team_id description: The unique identifier of the team. in: path @@ -112702,9 +112090,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *428 examples: - default: *430 + default: *429 '404': *6 x-github: githubCloudOnly: false @@ -112731,7 +112119,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *776 + - *774 requestBody: required: true content: @@ -112795,16 +112183,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *429 + schema: *428 examples: - default: *430 + default: *429 '201': description: Response content: application/json: - schema: *429 + schema: *428 examples: - default: *430 + default: *429 '404': *6 '422': *15 '403': *27 @@ -112832,7 +112220,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *776 + - *774 responses: '204': description: Response @@ -112863,7 +112251,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *776 + - *774 - *104 - *17 - *19 @@ -112874,9 +112262,9 @@ paths: application/json: schema: type: array - items: *431 + items: *430 examples: - default: *777 + default: *775 headers: Link: *41 x-github: @@ -112905,7 +112293,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *776 + - *774 requestBody: required: true content: @@ -112939,9 +112327,9 @@ paths: description: Response content: application/json: - schema: *431 + schema: *430 examples: - default: *432 + default: *431 x-github: triggersNotification: true githubCloudOnly: false @@ -112968,16 +112356,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *776 - - *433 + - *774 + - *432 responses: '200': description: Response content: application/json: - schema: *431 + schema: *430 examples: - default: *432 + default: *431 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -113002,8 +112390,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *776 - - *433 + - *774 + - *432 requestBody: required: false content: @@ -113026,9 +112414,9 @@ paths: description: Response content: application/json: - schema: *431 + schema: *430 examples: - default: *778 + default: *776 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -113053,8 +112441,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *776 - - *433 + - *774 + - *432 responses: '204': description: Response @@ -113083,8 +112471,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *776 - - *433 + - *774 + - *432 - *104 - *17 - *19 @@ -113095,9 +112483,9 @@ paths: application/json: schema: type: array - items: *434 + items: *433 examples: - default: *779 + default: *777 headers: Link: *41 x-github: @@ -113126,8 +112514,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *776 - - *433 + - *774 + - *432 requestBody: required: true content: @@ -113149,9 +112537,9 @@ paths: description: Response content: application/json: - schema: *434 + schema: *433 examples: - default: *435 + default: *434 x-github: triggersNotification: true githubCloudOnly: false @@ -113178,17 +112566,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *776 - - *433 - - *436 + - *774 + - *432 + - *435 responses: '200': description: Response content: application/json: - schema: *434 + schema: *433 examples: - default: *435 + default: *434 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -113213,9 +112601,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *776 - - *433 - - *436 + - *774 + - *432 + - *435 requestBody: required: true content: @@ -113237,9 +112625,9 @@ paths: description: Response content: application/json: - schema: *434 + schema: *433 examples: - default: *780 + default: *778 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -113264,9 +112652,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *776 - - *433 - - *436 + - *774 + - *432 + - *435 responses: '204': description: Response @@ -113295,9 +112683,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: - - *776 - - *433 - - *436 + - *774 + - *432 + - *435 - 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. @@ -113323,9 +112711,9 @@ paths: application/json: schema: type: array - items: *437 + items: *436 examples: - default: *439 + default: *438 headers: Link: *41 x-github: @@ -113354,9 +112742,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: - - *776 - - *433 - - *436 + - *774 + - *432 + - *435 requestBody: required: true content: @@ -113388,9 +112776,9 @@ paths: description: Response content: application/json: - schema: *437 + schema: *436 examples: - default: *438 + default: *437 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -113416,8 +112804,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: - - *776 - - *433 + - *774 + - *432 - 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. @@ -113443,9 +112831,9 @@ paths: application/json: schema: type: array - items: *437 + items: *436 examples: - default: *439 + default: *438 headers: Link: *41 x-github: @@ -113474,8 +112862,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: - - *776 - - *433 + - *774 + - *432 requestBody: required: true content: @@ -113507,9 +112895,9 @@ paths: description: Response content: application/json: - schema: *437 + schema: *436 examples: - default: *438 + default: *437 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -113533,7 +112921,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *776 + - *774 - *17 - *19 responses: @@ -113571,7 +112959,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *776 + - *774 - name: role description: Filters members returned by their role in the team. in: query @@ -113622,7 +113010,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *776 + - *774 - *132 responses: '204': @@ -113659,7 +113047,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *776 + - *774 - *132 responses: '204': @@ -113699,7 +113087,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *776 + - *774 - *132 responses: '204': @@ -113736,16 +113124,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: - - *776 + - *774 - *132 responses: '200': description: Response content: application/json: - schema: *445 + schema: *444 examples: - response-if-user-is-a-team-maintainer: *781 + response-if-user-is-a-team-maintainer: *779 '404': *6 x-github: githubCloudOnly: false @@ -113778,7 +113166,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: - - *776 + - *774 - *132 requestBody: required: false @@ -113804,9 +113192,9 @@ paths: description: Response content: application/json: - schema: *445 + schema: *444 examples: - response-if-users-membership-with-team-is-now-pending: *782 + response-if-users-membership-with-team-is-now-pending: *780 '403': description: Forbidden if team synchronization is set up '422': @@ -113840,7 +113228,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: - - *776 + - *774 - *132 responses: '204': @@ -113869,7 +113257,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *776 + - *774 - *17 - *19 responses: @@ -113879,9 +113267,9 @@ paths: application/json: schema: type: array - items: *446 + items: *445 examples: - default: *783 + default: *781 headers: Link: *41 '404': *6 @@ -113907,16 +113295,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: - - *776 - - *447 + - *774 + - *446 responses: '200': description: Response content: application/json: - schema: *446 + schema: *445 examples: - default: *784 + default: *782 '404': description: Not Found if project is not managed by this team x-github: @@ -113940,8 +113328,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: - - *776 - - *447 + - *774 + - *446 requestBody: required: false content: @@ -114008,8 +113396,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: - - *776 - - *447 + - *774 + - *446 responses: '204': description: Response @@ -114036,7 +113424,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *776 + - *774 - *17 - *19 responses: @@ -114078,15 +113466,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: - - *776 + - *774 + - *447 - *448 - - *449 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *785 + schema: *783 examples: alternative-response-with-extra-repository-information: value: @@ -114237,9 +113625,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: - - *776 + - *774 + - *447 - *448 - - *449 requestBody: required: false content: @@ -114289,9 +113677,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: - - *776 + - *774 + - *447 - *448 - - *449 responses: '204': description: Response @@ -114320,15 +113708,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: - - *776 + - *774 responses: '200': description: Response content: application/json: - schema: *450 + schema: *449 examples: - default: *451 + default: *450 '403': *27 '404': *6 x-github: @@ -114355,7 +113743,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: - - *776 + - *774 requestBody: required: true content: @@ -114416,7 +113804,7 @@ paths: description: Response content: application/json: - schema: *450 + schema: *449 examples: default: value: @@ -114447,7 +113835,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *776 + - *774 - *17 - *19 responses: @@ -114459,7 +113847,7 @@ paths: type: array items: *296 examples: - response-if-child-teams-exist: *786 + response-if-child-teams-exist: *784 headers: Link: *41 '404': *6 @@ -114492,7 +113880,7 @@ paths: application/json: schema: oneOf: - - &788 + - &786 title: Private User description: Private User type: object @@ -114742,7 +114130,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *787 + - *785 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -114902,7 +114290,7 @@ paths: description: Response content: application/json: - schema: *788 + schema: *786 examples: default: value: @@ -115248,7 +114636,7 @@ paths: application/json: schema: *356 examples: - default: *555 + default: *552 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -115256,7 +114644,7 @@ paths: application/json: schema: *356 examples: - default: *555 + default: *552 '401': *23 '403': *27 '404': *6 @@ -115300,7 +114688,7 @@ paths: type: integer secrets: type: array - items: &789 + items: &787 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -115342,7 +114730,7 @@ paths: - visibility - selected_repositories_url examples: - default: *557 + default: *554 headers: Link: *41 x-github: @@ -115420,7 +114808,7 @@ paths: description: Response content: application/json: - schema: *789 + schema: *787 examples: default: value: @@ -115566,7 +114954,7 @@ paths: type: array items: *269 examples: - default: *790 + default: *788 '401': *23 '403': *27 '404': *6 @@ -115718,7 +115106,7 @@ paths: application/json: schema: *356 examples: - default: *555 + default: *552 '304': *35 '500': *38 '401': *23 @@ -115776,7 +115164,7 @@ paths: application/json: schema: *356 examples: - default: *555 + default: *552 '401': *23 '403': *27 '404': *6 @@ -115833,7 +115221,7 @@ paths: description: Response content: application/json: - schema: &791 + schema: &789 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -115886,7 +115274,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &792 + default: &790 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -115931,9 +115319,9 @@ paths: description: Response content: application/json: - schema: *791 + schema: *789 examples: - default: *792 + default: *790 '404': *6 x-github: githubCloudOnly: false @@ -115970,9 +115358,9 @@ paths: type: integer machines: type: array - items: *556 + items: *553 examples: - default: *793 + default: *791 '304': *35 '500': *38 '401': *23 @@ -116057,11 +115445,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *461 + repository: *458 machine: anyOf: - type: 'null' - - *556 + - *553 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -116866,7 +116254,7 @@ paths: application/json: schema: *356 examples: - default: *555 + default: *552 '304': *35 '500': *38 '400': *14 @@ -116906,7 +116294,7 @@ paths: application/json: schema: *356 examples: - default: *555 + default: *552 '500': *38 '401': *23 '403': *27 @@ -116938,7 +116326,7 @@ paths: type: array items: *366 examples: - default: &804 + default: &802 value: - id: 197 name: hello_docker @@ -117039,7 +116427,7 @@ paths: application/json: schema: type: array - items: &794 + items: &792 title: Email description: Email type: object @@ -117109,9 +116497,9 @@ paths: application/json: schema: type: array - items: *794 + items: *792 examples: - default: &806 + default: &804 value: - email: octocat@github.com verified: true @@ -117188,7 +116576,7 @@ paths: application/json: schema: type: array - items: *794 + items: *792 examples: default: value: @@ -117446,7 +116834,7 @@ paths: application/json: schema: type: array - items: &795 + items: &793 title: GPG Key description: A unique encryption key type: object @@ -117591,7 +116979,7 @@ paths: - subkeys - revoked examples: - default: &820 + default: &818 value: - id: 3 name: Octocat's GPG Key @@ -117676,9 +117064,9 @@ paths: description: Response content: application/json: - schema: *795 + schema: *793 examples: - default: &796 + default: &794 value: id: 3 name: Octocat's GPG Key @@ -117735,7 +117123,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: - - &797 + - &795 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -117747,9 +117135,9 @@ paths: description: Response content: application/json: - schema: *795 + schema: *793 examples: - default: *796 + default: *794 '404': *6 '304': *35 '403': *27 @@ -117772,7 +117160,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: - - *797 + - *795 responses: '204': description: Response @@ -118077,7 +117465,7 @@ paths: required: true content: application/json: - schema: *633 + schema: *630 examples: default: value: @@ -118227,7 +117615,7 @@ paths: application/json: schema: type: array - items: &798 + items: &796 title: Key description: Key type: object @@ -118330,9 +117718,9 @@ paths: description: Response content: application/json: - schema: *798 + schema: *796 examples: - default: &799 + default: &797 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -118365,15 +117753,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: - - *660 + - *658 responses: '200': description: Response content: application/json: - schema: *798 + schema: *796 examples: - default: *799 + default: *797 '404': *6 '304': *35 '403': *27 @@ -118396,7 +117784,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: - - *660 + - *658 responses: '204': description: Response @@ -118429,7 +117817,7 @@ paths: application/json: schema: type: array - items: &800 + items: &798 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -118508,7 +117896,7 @@ paths: - account - plan examples: - default: &801 + default: &799 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -118570,9 +117958,9 @@ paths: application/json: schema: type: array - items: *800 + items: *798 examples: - default: *801 + default: *799 headers: Link: *41 '304': *35 @@ -119576,7 +118964,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - *362 - - *802 + - *800 responses: '204': description: Response @@ -119691,7 +119079,7 @@ paths: - docker - nuget - container - - *803 + - *801 - *19 - *17 responses: @@ -119703,8 +119091,8 @@ paths: type: array items: *366 examples: - default: *804 - '400': *805 + default: *802 + '400': *803 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119733,7 +119121,7 @@ paths: application/json: schema: *366 examples: - default: &821 + default: &819 value: id: 40201 name: octo-name @@ -120070,99 +119458,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 - type: string - examples: - - Week One Sprint - body: - description: Body of the project - type: - - string - - 'null' - examples: - - This project represents the sprint of the first week in January - 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: *382 - 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': *35 - '403': *27 - '401': *23 - '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 @@ -120188,9 +119483,9 @@ paths: application/json: schema: type: array - items: *794 + items: *792 examples: - default: *806 + default: *804 headers: Link: *41 '304': *35 @@ -120303,7 +119598,7 @@ paths: type: array items: *72 examples: - default: &813 + default: &811 summary: Default response value: - id: 1296269 @@ -120621,9 +119916,9 @@ paths: description: Response content: application/json: - schema: *461 + schema: *458 examples: - default: *463 + default: *460 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -120661,9 +119956,9 @@ paths: application/json: schema: type: array - items: *635 + items: *632 examples: - default: *807 + default: *805 headers: Link: *41 '304': *35 @@ -120742,7 +120037,7 @@ paths: application/json: schema: type: array - items: &808 + items: &806 title: Social account description: Social media account type: object @@ -120759,7 +120054,7 @@ paths: - provider - url examples: - default: &809 + default: &807 value: - provider: twitter url: https://twitter.com/github @@ -120822,9 +120117,9 @@ paths: application/json: schema: type: array - items: *808 + items: *806 examples: - default: *809 + default: *807 '422': *15 '304': *35 '404': *6 @@ -120912,7 +120207,7 @@ paths: application/json: schema: type: array - items: &810 + items: &808 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -120932,7 +120227,7 @@ paths: - title - created_at examples: - default: &826 + default: &824 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -120999,9 +120294,9 @@ paths: description: Response content: application/json: - schema: *810 + schema: *808 examples: - default: &811 + default: &809 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -121032,7 +120327,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: - - &812 + - &810 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -121044,9 +120339,9 @@ paths: description: Response content: application/json: - schema: *810 + schema: *808 examples: - default: *811 + default: *809 '404': *6 '304': *35 '403': *27 @@ -121069,7 +120364,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: - - *812 + - *810 responses: '204': description: Response @@ -121098,7 +120393,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: - - &827 + - &825 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 @@ -121123,11 +120418,11 @@ paths: type: array items: *72 examples: - default-response: *813 + default-response: *811 application/vnd.github.v3.star+json: schema: type: array - items: &828 + items: &826 title: Starred Repository description: Starred Repository type: object @@ -121283,8 +120578,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: + - *447 - *448 - - *449 responses: '204': description: Response if this repository is starred by you @@ -121312,8 +120607,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: + - *447 - *448 - - *449 responses: '204': description: Response @@ -121337,8 +120632,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: + - *447 - *448 - - *449 responses: '204': description: Response @@ -121410,7 +120705,7 @@ paths: application/json: schema: type: array - items: *429 + items: *428 examples: default: value: @@ -121496,10 +120791,10 @@ paths: application/json: schema: oneOf: - - *788 - - *787 + - *786 + - *785 examples: - default-response: &815 + default-response: &813 summary: Default response value: login: octocat @@ -121534,7 +120829,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &816 + response-with-git-hub-plan-information: &814 summary: Response with GitHub plan information value: login: octocat @@ -121594,7 +120889,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *814 + - *812 - *17 responses: '200': @@ -121643,11 +120938,11 @@ paths: application/json: schema: oneOf: - - *788 - - *787 + - *786 + - *785 examples: - default-response: *815 - response-with-git-hub-plan-information: *816 + default-response: *813 + response-with-git-hub-plan-information: *814 '404': *6 x-github: githubCloudOnly: false @@ -121697,8 +120992,8 @@ paths: required: - subject_digests examples: - default: *817 - withPredicateType: *818 + default: *815 + withPredicateType: *816 responses: '200': description: Response @@ -121752,7 +121047,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *819 + default: *817 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -121957,7 +121252,7 @@ paths: initiator: type: string examples: - default: *501 + default: *498 '201': description: Response content: @@ -121998,7 +121293,7 @@ paths: type: array items: *366 examples: - default: *804 + default: *802 '403': *27 '401': *23 x-github: @@ -122382,9 +121677,9 @@ paths: application/json: schema: type: array - items: *795 + items: *793 examples: - default: *820 + default: *818 headers: Link: *41 x-github: @@ -122488,7 +121783,7 @@ paths: application/json: schema: *20 examples: - default: *632 + default: *629 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -122613,7 +121908,7 @@ paths: - docker - nuget - container - - *803 + - *801 - *132 - *19 - *17 @@ -122626,10 +121921,10 @@ paths: type: array items: *366 examples: - default: *804 + default: *802 '403': *27 '401': *23 - '400': *805 + '400': *803 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -122659,7 +121954,7 @@ paths: application/json: schema: *366 examples: - default: *821 + default: *819 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -122910,87 +122205,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: - - *132 - - 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: *382 - 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: *41 - '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 @@ -123020,9 +122234,9 @@ paths: application/json: schema: type: array - items: *383 + items: *382 examples: - default: *384 + default: *383 headers: Link: *41 '304': *35 @@ -123044,16 +122258,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-user parameters: - - *385 + - *384 - *132 responses: '200': description: Response content: application/json: - schema: *383 + schema: *382 examples: - default: *384 + default: *383 headers: Link: *41 '304': *35 @@ -123075,7 +122289,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-user parameters: - - *385 + - *384 - *132 - *17 - *102 @@ -123087,9 +122301,9 @@ paths: application/json: schema: type: array - items: *386 + items: *385 examples: - default: *822 + default: *820 headers: Link: *41 '304': *35 @@ -123111,17 +122325,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-user parameters: - - *385 - - *823 + - *384 + - *821 - *132 responses: '200': description: Response content: application/json: - schema: *386 + schema: *385 examples: - default: *824 + default: *822 headers: Link: *41 '304': *35 @@ -123144,7 +122358,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: - - *385 + - *384 - *132 - *102 - *103 @@ -123177,9 +122391,9 @@ paths: application/json: schema: type: array - items: *391 + items: *390 examples: - default: *392 + default: *391 headers: Link: *41 '304': *35 @@ -123201,7 +122415,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-user-owned-project parameters: - *132 - - *385 + - *384 requestBody: required: true description: Details of the item to add to the project. @@ -123238,10 +122452,10 @@ paths: description: Response content: application/json: - schema: *825 + schema: *823 examples: - issue: *390 - pull_request: *390 + issue: *389 + pull_request: *389 '304': *35 '403': *27 '401': *23 @@ -123261,9 +122475,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: - - *385 + - *384 - *132 - - *393 + - *392 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -123283,9 +122497,9 @@ paths: description: Response content: application/json: - schema: *391 + schema: *390 examples: - default: *392 + default: *391 headers: Link: *41 '304': *35 @@ -123306,9 +122520,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-user parameters: - - *385 + - *384 - *132 - - *393 + - *392 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -123381,13 +122595,13 @@ paths: description: Response content: application/json: - schema: *391 + schema: *390 examples: - text_field: *392 - number_field: *392 - date_field: *392 - single_select_field: *392 - iteration_field: *392 + text_field: *391 + number_field: *391 + date_field: *391 + single_select_field: *391 + iteration_field: *391 '401': *23 '403': *27 '404': *6 @@ -123407,9 +122621,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-user parameters: - - *385 + - *384 - *132 - - *393 + - *392 responses: '204': description: Response @@ -123659,9 +122873,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *415 examples: - default: *417 + default: *416 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -123689,9 +122903,9 @@ paths: description: Response content: application/json: - schema: *421 + schema: *420 examples: - default: *422 + default: *421 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -123852,9 +123066,9 @@ paths: description: Response content: application/json: - schema: *423 + schema: *422 examples: - default: *424 + default: *423 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -123956,7 +123170,7 @@ paths: subcategory: enhanced-billing "/users/{username}/settings/billing/usage/summary": get: - summary: Get billing usage summary report for a user + summary: Get billing usage summary for a user description: |- > [!NOTE] > This endpoint is in public preview and is subject to change. @@ -123969,7 +123183,7 @@ paths: operationId: billing/get-github-billing-usage-summary-report-user externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-summary-report-for-a-user + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-summary-for-a-user parameters: - *132 - *190 @@ -123980,7 +123194,7 @@ paths: - *241 responses: '200': - description: Response when getting a billing usage summary report + description: Response when getting a billing usage summary content: application/json: schema: @@ -124111,9 +123325,9 @@ paths: application/json: schema: type: array - items: *808 + items: *806 examples: - default: *809 + default: *807 headers: Link: *41 x-github: @@ -124143,9 +123357,9 @@ paths: application/json: schema: type: array - items: *810 + items: *808 examples: - default: *826 + default: *824 headers: Link: *41 x-github: @@ -124170,7 +123384,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - *132 - - *827 + - *825 - *104 - *17 - *19 @@ -124182,11 +123396,11 @@ paths: schema: anyOf: - type: array - items: *828 + items: *826 - type: array items: *72 examples: - default-response: *813 + default-response: *811 headers: Link: *41 x-github: @@ -124346,7 +123560,7 @@ webhooks: type: string enum: - disabled - enterprise: &829 + enterprise: &827 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -124415,7 +123629,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &830 + installation: &828 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -124436,7 +123650,7 @@ webhooks: required: - id - node_id - organization: &831 + organization: &829 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -124509,7 +123723,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &832 + repository: &830 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -125422,10 +124636,10 @@ webhooks: type: string enum: - enabled - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -125501,11 +124715,11 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - rule: &833 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 + rule: &831 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) @@ -125728,11 +124942,11 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - rule: *833 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 + rule: *831 sender: *4 required: - action @@ -125920,11 +125134,11 @@ webhooks: - everyone required: - from - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - rule: *833 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 + rule: *831 sender: *4 required: - action @@ -125995,7 +125209,7 @@ webhooks: required: true content: application/json: - schema: &836 + schema: &834 title: Exemption request cancellation event type: object properties: @@ -126003,11 +125217,11 @@ webhooks: type: string enum: - cancelled - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - exemption_request: &834 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 + exemption_request: &832 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -126245,7 +125459,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &835 + items: &833 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -126355,7 +125569,7 @@ webhooks: required: true content: application/json: - schema: &837 + schema: &835 title: Exemption request completed event type: object properties: @@ -126363,11 +125577,11 @@ webhooks: type: string enum: - completed - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - exemption_request: *834 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 + exemption_request: *832 sender: *4 required: - action @@ -126437,7 +125651,7 @@ webhooks: required: true content: application/json: - schema: &838 + schema: &836 title: Exemption request created event type: object properties: @@ -126445,11 +125659,11 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - exemption_request: *834 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 + exemption_request: *832 sender: *4 required: - action @@ -126519,7 +125733,7 @@ webhooks: required: true content: application/json: - schema: &839 + schema: &837 title: Exemption response dismissed event type: object properties: @@ -126527,12 +125741,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - exemption_request: *834 - exemption_response: *835 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 + exemption_request: *832 + exemption_response: *833 sender: *4 required: - action @@ -126604,7 +125818,7 @@ webhooks: required: true content: application/json: - schema: &840 + schema: &838 title: Exemption response submitted event type: object properties: @@ -126612,12 +125826,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - exemption_request: *834 - exemption_response: *835 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 + exemption_request: *832 + exemption_response: *833 sender: *4 required: - action @@ -126690,7 +125904,7 @@ webhooks: required: true content: application/json: - schema: *836 + schema: *834 responses: '200': description: Return a 200 status to indicate that the data was received @@ -126757,7 +125971,7 @@ webhooks: required: true content: application/json: - schema: *837 + schema: *835 responses: '200': description: Return a 200 status to indicate that the data was received @@ -126824,7 +126038,7 @@ webhooks: required: true content: application/json: - schema: *838 + schema: *836 responses: '200': description: Return a 200 status to indicate that the data was received @@ -126891,7 +126105,7 @@ webhooks: required: true content: application/json: - schema: *839 + schema: *837 responses: '200': description: Return a 200 status to indicate that the data was received @@ -126959,7 +126173,7 @@ webhooks: required: true content: application/json: - schema: *840 + schema: *838 responses: '200': description: Return a 200 status to indicate that the data was received @@ -127037,7 +126251,7 @@ webhooks: type: string enum: - completed - check_run: &842 + check_run: &840 title: CheckRun description: A check performed on the code of a given code change type: object @@ -127102,7 +126316,7 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *518 + items: *515 repository: *269 status: type: string @@ -127147,7 +126361,7 @@ webhooks: - examples: - neutral - deployment: *841 + deployment: *839 details_url: type: string examples: @@ -127207,7 +126421,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *518 + items: *515 started_at: type: string format: date-time @@ -127245,10 +126459,10 @@ webhooks: - output - app - pull_requests - installation: *830 - enterprise: *829 - organization: *831 - repository: *832 + installation: *828 + enterprise: *827 + organization: *829 + repository: *830 sender: *4 required: - check_run @@ -127641,11 +126855,11 @@ webhooks: type: string enum: - created - check_run: *842 - installation: *830 - enterprise: *829 - organization: *831 - repository: *832 + check_run: *840 + installation: *828 + enterprise: *827 + organization: *829 + repository: *830 sender: *4 required: - check_run @@ -128041,11 +127255,11 @@ webhooks: type: string enum: - requested_action - check_run: *842 - installation: *830 - enterprise: *829 - organization: *831 - repository: *832 + check_run: *840 + installation: *828 + enterprise: *827 + organization: *829 + repository: *830 requested_action: description: The action requested by the user. type: object @@ -128450,11 +127664,11 @@ webhooks: type: string enum: - rerequested - check_run: *842 - installation: *830 - enterprise: *829 - organization: *831 - repository: *832 + check_run: *840 + installation: *828 + enterprise: *827 + organization: *829 + repository: *830 sender: *4 required: - check_run @@ -129446,10 +128660,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -130134,10 +129348,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -130816,10 +130030,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -130988,7 +130202,7 @@ webhooks: required: - login - id - dismissed_comment: *530 + dismissed_comment: *527 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -131140,20 +130354,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &843 + commit_oid: &841 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: *829 - installation: *830 - organization: *831 - ref: &844 + enterprise: *827 + installation: *828 + organization: *829 + ref: &842 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: *832 + repository: *830 sender: *4 required: - action @@ -131320,7 +130534,7 @@ webhooks: required: - login - id - dismissed_comment: *530 + dismissed_comment: *527 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -131561,12 +130775,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *843 - enterprise: *829 - installation: *830 - organization: *831 - ref: *844 - repository: *832 + commit_oid: *841 + enterprise: *827 + installation: *828 + organization: *829 + ref: *842 + repository: *830 sender: *4 required: - action @@ -131664,7 +130878,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *530 + dismissed_comment: *527 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -131849,12 +131063,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *843 - enterprise: *829 - installation: *830 - organization: *831 - ref: *844 - repository: *832 + commit_oid: *841 + enterprise: *827 + installation: *828 + organization: *829 + ref: *842 + repository: *830 sender: *4 required: - action @@ -132023,7 +131237,7 @@ webhooks: required: - login - id - dismissed_comment: *530 + dismissed_comment: *527 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -132200,12 +131414,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *843 - enterprise: *829 - installation: *830 - organization: *831 - ref: *844 - repository: *832 + commit_oid: *841 + enterprise: *827 + installation: *828 + organization: *829 + ref: *842 + repository: *830 sender: *4 required: - action @@ -132308,7 +131522,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *530 + dismissed_comment: *527 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -132488,9 +131702,9 @@ webhooks: type: - string - 'null' - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *827 + installation: *828 + organization: *829 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -132498,7 +131712,7 @@ webhooks: type: - string - 'null' - repository: *832 + repository: *830 sender: *4 required: - action @@ -132597,7 +131811,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *530 + dismissed_comment: *527 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -132744,12 +131958,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *843 - enterprise: *829 - installation: *830 - organization: *831 - ref: *844 - repository: *832 + commit_oid: *841 + enterprise: *827 + installation: *828 + organization: *829 + ref: *842 + repository: *830 sender: *4 required: - action @@ -133011,10 +132225,10 @@ webhooks: - updated_at - author_association - body - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -133095,18 +132309,18 @@ webhooks: type: - string - 'null' - enterprise: *829 - installation: *830 + enterprise: *827 + installation: *828 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *831 - pusher_type: &845 + organization: *829 + pusher_type: &843 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &846 + ref: &844 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -133116,7 +132330,7 @@ webhooks: enum: - tag - branch - repository: *832 + repository: *830 sender: *4 required: - ref @@ -133199,9 +132413,9 @@ webhooks: enum: - created definition: *146 - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *827 + installation: *828 + organization: *829 sender: *4 required: - action @@ -133286,9 +132500,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *827 + installation: *828 + organization: *829 sender: *4 required: - action @@ -133366,9 +132580,9 @@ webhooks: enum: - promote_to_enterprise definition: *146 - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *827 + installation: *828 + organization: *829 sender: *4 required: - action @@ -133446,9 +132660,9 @@ webhooks: enum: - updated definition: *146 - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *827 + installation: *828 + organization: *829 sender: *4 required: - action @@ -133525,10 +132739,10 @@ webhooks: type: string enum: - updated - enterprise: *829 - installation: *830 - repository: *832 - organization: *831 + enterprise: *827 + installation: *828 + repository: *830 + organization: *829 sender: *4 new_property_values: type: array @@ -133613,18 +132827,18 @@ webhooks: title: delete event type: object properties: - enterprise: *829 - installation: *830 - organization: *831 - pusher_type: *845 - ref: *846 + enterprise: *827 + installation: *828 + organization: *829 + pusher_type: *843 + ref: *844 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *832 + repository: *830 sender: *4 required: - ref @@ -133708,11 +132922,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *582 - installation: *830 - organization: *831 - enterprise: *829 - repository: *832 + alert: *579 + installation: *828 + organization: *829 + enterprise: *827 + repository: *830 sender: *4 required: - action @@ -133796,11 +133010,11 @@ webhooks: type: string enum: - auto_reopened - alert: *582 - installation: *830 - organization: *831 - enterprise: *829 - repository: *832 + alert: *579 + installation: *828 + organization: *829 + enterprise: *827 + repository: *830 sender: *4 required: - action @@ -133884,11 +133098,11 @@ webhooks: type: string enum: - created - alert: *582 - installation: *830 - organization: *831 - enterprise: *829 - repository: *832 + alert: *579 + installation: *828 + organization: *829 + enterprise: *827 + repository: *830 sender: *4 required: - action @@ -133970,11 +133184,11 @@ webhooks: type: string enum: - dismissed - alert: *582 - installation: *830 - organization: *831 - enterprise: *829 - repository: *832 + alert: *579 + installation: *828 + organization: *829 + enterprise: *827 + repository: *830 sender: *4 required: - action @@ -134056,11 +133270,11 @@ webhooks: type: string enum: - fixed - alert: *582 - installation: *830 - organization: *831 - enterprise: *829 - repository: *832 + alert: *579 + installation: *828 + organization: *829 + enterprise: *827 + repository: *830 sender: *4 required: - action @@ -134143,11 +133357,11 @@ webhooks: type: string enum: - reintroduced - alert: *582 - installation: *830 - organization: *831 - enterprise: *829 - repository: *832 + alert: *579 + installation: *828 + organization: *829 + enterprise: *827 + repository: *830 sender: *4 required: - action @@ -134229,11 +133443,11 @@ webhooks: type: string enum: - reopened - alert: *582 - installation: *830 - organization: *831 - enterprise: *829 - repository: *832 + alert: *579 + installation: *828 + organization: *829 + enterprise: *827 + repository: *830 sender: *4 required: - action @@ -134310,9 +133524,9 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - key: &847 + enterprise: *827 + installation: *828 + key: &845 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -134350,8 +133564,8 @@ webhooks: - verified - created_at - read_only - organization: *831 - repository: *832 + organization: *829 + repository: *830 sender: *4 required: - action @@ -134428,11 +133642,11 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - key: *847 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + key: *845 + organization: *829 + repository: *830 sender: *4 required: - action @@ -135004,12 +134218,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 - workflow: &851 + workflow: &849 title: Workflow type: - object @@ -135747,13 +134961,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *588 + deployment: *585 pull_requests: type: array - items: *680 - repository: *832 - organization: *831 - installation: *830 + items: *678 + repository: *830 + organization: *829 + installation: *828 sender: *4 responses: '200': @@ -135824,7 +135038,7 @@ webhooks: type: string enum: - approved - approver: &848 + approver: &846 type: object properties: avatar_url: @@ -135867,11 +135081,11 @@ webhooks: type: string comment: type: string - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - reviewers: &849 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 + reviewers: &847 type: array items: type: object @@ -135952,7 +135166,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &850 + workflow_job_run: &848 type: object properties: conclusion: @@ -136698,18 +135912,18 @@ webhooks: type: string enum: - rejected - approver: *848 + approver: *846 comment: type: string - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - reviewers: *849 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 + reviewers: *847 sender: *4 since: type: string - workflow_job_run: *850 + workflow_job_run: *848 workflow_job_runs: type: array items: @@ -137426,13 +136640,13 @@ webhooks: type: string enum: - requested - enterprise: *829 + enterprise: *827 environment: type: string - installation: *830 - organization: *831 - repository: *832 - requestor: &856 + installation: *828 + organization: *829 + repository: *830 + requestor: &854 title: User type: - object @@ -139375,12 +138589,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 - workflow: *851 + workflow: *849 workflow_run: title: Deployment Workflow Run type: @@ -140071,7 +139285,7 @@ webhooks: type: string enum: - answered - answer: &854 + answer: &852 type: object properties: author_association: @@ -140231,7 +139445,7 @@ webhooks: - created_at - updated_at - body - discussion: &852 + discussion: &850 title: Discussion description: A Discussion in a repository. type: object @@ -140527,7 +139741,7 @@ webhooks: - id labels: type: array - items: *643 + items: *641 required: - repository_url - category @@ -140549,10 +139763,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -140679,11 +139893,11 @@ webhooks: - from required: - category - discussion: *852 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *850 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -140766,11 +139980,11 @@ webhooks: type: string enum: - closed - discussion: *852 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *850 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -140852,7 +140066,7 @@ webhooks: type: string enum: - created - comment: &853 + comment: &851 type: object properties: author_association: @@ -141012,11 +140226,11 @@ webhooks: - updated_at - body - reactions - discussion: *852 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *850 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -141099,12 +140313,12 @@ webhooks: type: string enum: - deleted - comment: *853 - discussion: *852 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + comment: *851 + discussion: *850 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -141199,12 +140413,12 @@ webhooks: - from required: - body - comment: *853 - discussion: *852 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + comment: *851 + discussion: *850 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -141288,11 +140502,11 @@ webhooks: type: string enum: - created - discussion: *852 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *850 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -141374,11 +140588,11 @@ webhooks: type: string enum: - deleted - discussion: *852 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *850 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -141478,11 +140692,11 @@ webhooks: type: string required: - from - discussion: *852 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *850 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -141564,10 +140778,10 @@ webhooks: type: string enum: - labeled - discussion: *852 - enterprise: *829 - installation: *830 - label: &855 + discussion: *850 + enterprise: *827 + installation: *828 + label: &853 title: Label type: object properties: @@ -141600,8 +140814,8 @@ webhooks: - color - default - description - organization: *831 - repository: *832 + organization: *829 + repository: *830 sender: *4 required: - action @@ -141684,11 +140898,11 @@ webhooks: type: string enum: - locked - discussion: *852 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *850 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -141770,11 +140984,11 @@ webhooks: type: string enum: - pinned - discussion: *852 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *850 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -141856,11 +141070,11 @@ webhooks: type: string enum: - reopened - discussion: *852 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *850 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -141945,16 +141159,16 @@ webhooks: changes: type: object properties: - new_discussion: *852 - new_repository: *832 + new_discussion: *850 + new_repository: *830 required: - new_discussion - new_repository - discussion: *852 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *850 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -142037,10 +141251,10 @@ webhooks: type: string enum: - unanswered - discussion: *852 - old_answer: *854 - organization: *831 - repository: *832 + discussion: *850 + old_answer: *852 + organization: *829 + repository: *830 sender: *4 required: - action @@ -142122,12 +141336,12 @@ webhooks: type: string enum: - unlabeled - discussion: *852 - enterprise: *829 - installation: *830 - label: *855 - organization: *831 - repository: *832 + discussion: *850 + enterprise: *827 + installation: *828 + label: *853 + organization: *829 + repository: *830 sender: *4 required: - action @@ -142210,11 +141424,11 @@ webhooks: type: string enum: - unlocked - discussion: *852 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *850 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -142296,11 +141510,11 @@ webhooks: type: string enum: - unpinned - discussion: *852 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *850 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -142369,7 +141583,7 @@ webhooks: required: true content: application/json: - schema: *838 + schema: *836 responses: '200': description: Return a 200 status to indicate that the data was received @@ -142432,7 +141646,7 @@ webhooks: required: true content: application/json: - schema: *840 + schema: *838 responses: '200': description: Return a 200 status to indicate that the data was received @@ -142498,7 +141712,7 @@ webhooks: required: true content: application/json: - schema: *836 + schema: *834 responses: '200': description: Return a 200 status to indicate that the data was received @@ -142564,7 +141778,7 @@ webhooks: required: true content: application/json: - schema: *837 + schema: *835 responses: '200': description: Return a 200 status to indicate that the data was received @@ -142630,7 +141844,7 @@ webhooks: required: true content: application/json: - schema: *838 + schema: *836 responses: '200': description: Return a 200 status to indicate that the data was received @@ -142696,7 +141910,7 @@ webhooks: required: true content: application/json: - schema: *839 + schema: *837 responses: '200': description: Return a 200 status to indicate that the data was received @@ -142762,7 +141976,7 @@ webhooks: required: true content: application/json: - schema: *840 + schema: *838 responses: '200': description: Return a 200 status to indicate that the data was received @@ -142829,7 +142043,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *829 + enterprise: *827 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -143507,9 +142721,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *830 - organization: *831 - repository: *832 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - forkee @@ -143655,9 +142869,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *827 + installation: *828 + organization: *829 pages: description: The pages that were updated. type: array @@ -143695,7 +142909,7 @@ webhooks: - action - sha - html_url - repository: *832 + repository: *830 sender: *4 required: - pages @@ -143771,10 +142985,10 @@ webhooks: type: string enum: - created - enterprise: *829 + enterprise: *827 installation: *20 - organization: *831 - repositories: &857 + organization: *829 + repositories: &855 description: An array of repository objects that the installation can access. type: array @@ -143800,8 +143014,8 @@ webhooks: - name - full_name - private - repository: *832 - requester: *856 + repository: *830 + requester: *854 sender: *4 required: - action @@ -143876,11 +143090,11 @@ webhooks: type: string enum: - deleted - enterprise: *829 + enterprise: *827 installation: *20 - organization: *831 - repositories: *857 - repository: *832 + organization: *829 + repositories: *855 + repository: *830 requester: type: - 'null' @@ -143957,11 +143171,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *829 + enterprise: *827 installation: *20 - organization: *831 - repositories: *857 - repository: *832 + organization: *829 + repositories: *855 + repository: *830 requester: type: - 'null' @@ -144038,10 +143252,10 @@ webhooks: type: string enum: - added - enterprise: *829 + enterprise: *827 installation: *20 - organization: *831 - repositories_added: &858 + organization: *829 + repositories_added: &856 description: An array of repository objects, which were added to the installation. type: array @@ -144087,15 +143301,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *832 - repository_selection: &859 + repository: *830 + repository_selection: &857 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *856 + requester: *854 sender: *4 required: - action @@ -144174,10 +143388,10 @@ webhooks: type: string enum: - removed - enterprise: *829 + enterprise: *827 installation: *20 - organization: *831 - repositories_added: *858 + organization: *829 + repositories_added: *856 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -144204,9 +143418,9 @@ webhooks: - name - full_name - private - repository: *832 - repository_selection: *859 - requester: *856 + repository: *830 + repository_selection: *857 + requester: *854 sender: *4 required: - action @@ -144285,11 +143499,11 @@ webhooks: type: string enum: - suspend - enterprise: *829 + enterprise: *827 installation: *20 - organization: *831 - repositories: *857 - repository: *832 + organization: *829 + repositories: *855 + repository: *830 requester: type: - 'null' @@ -144472,10 +143686,10 @@ webhooks: type: string required: - from - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 target_type: type: string @@ -144554,11 +143768,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *829 + enterprise: *827 installation: *20 - organization: *831 - repositories: *857 - repository: *832 + organization: *829 + repositories: *855 + repository: *830 requester: type: - 'null' @@ -144806,8 +144020,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *829 - installation: *830 + enterprise: *827 + installation: *828 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -145624,8 +144838,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *773 - issue_dependencies_summary: *774 + sub_issues_summary: *771 + issue_dependencies_summary: *772 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145986,8 +145200,8 @@ webhooks: - state - locked - assignee - organization: *831 - repository: *832 + organization: *829 + repository: *830 sender: *4 required: - action @@ -146067,7 +145281,7 @@ webhooks: type: string enum: - deleted - comment: &860 + comment: &858 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -146234,8 +145448,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *829 - installation: *830 + enterprise: *827 + installation: *828 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -147048,8 +146262,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *773 - issue_dependencies_summary: *774 + sub_issues_summary: *771 + issue_dependencies_summary: *772 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147412,8 +146626,8 @@ webhooks: - state - locked - assignee - organization: *831 - repository: *832 + organization: *829 + repository: *830 sender: *4 required: - action @@ -147493,7 +146707,7 @@ webhooks: type: string enum: - edited - changes: &884 + changes: &882 description: The changes to the comment. type: object properties: @@ -147505,9 +146719,9 @@ webhooks: type: string required: - from - comment: *860 - enterprise: *829 - installation: *830 + comment: *858 + enterprise: *827 + installation: *828 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -148323,8 +147537,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *773 - issue_dependencies_summary: *774 + sub_issues_summary: *771 + issue_dependencies_summary: *772 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148685,8 +147899,8 @@ webhooks: - state - locked - assignee - organization: *831 - repository: *832 + organization: *829 + repository: *830 sender: *4 required: - action @@ -148776,9 +147990,9 @@ webhooks: type: number blocking_issue: *218 blocking_issue_repo: *72 - installation: *830 - organization: *831 - repository: *832 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -148872,9 +148086,9 @@ webhooks: type: number blocking_issue: *218 blocking_issue_repo: *72 - installation: *830 - organization: *831 - repository: *832 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -148967,9 +148181,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *218 - installation: *830 - organization: *831 - repository: *832 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -149063,9 +148277,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *218 - installation: *830 - organization: *831 - repository: *832 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -149150,10 +148364,10 @@ webhooks: type: string enum: - assigned - assignee: *856 - enterprise: *829 - installation: *830 - issue: &863 + assignee: *854 + enterprise: *827 + installation: *828 + issue: &861 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -149965,11 +149179,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *773 - issue_dependencies_summary: *774 + sub_issues_summary: *771 + issue_dependencies_summary: *772 issue_field_values: type: array - items: *775 + items: *773 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150089,8 +149303,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *831 - repository: *832 + organization: *829 + repository: *830 sender: *4 required: - action @@ -150170,8 +149384,8 @@ webhooks: type: string enum: - closed - enterprise: *829 - installation: *830 + enterprise: *827 + installation: *828 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -150988,11 +150202,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *773 - issue_dependencies_summary: *774 + sub_issues_summary: *771 + issue_dependencies_summary: *772 issue_field_values: type: array - items: *775 + items: *773 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151255,8 +150469,8 @@ webhooks: required: - state - closed_at - organization: *831 - repository: *832 + organization: *829 + repository: *830 sender: *4 required: - action @@ -151335,8 +150549,8 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 + enterprise: *827 + installation: *828 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -152144,11 +151358,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *773 - issue_dependencies_summary: *774 + sub_issues_summary: *771 + issue_dependencies_summary: *772 issue_field_values: type: array - items: *775 + items: *773 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152267,8 +151481,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *831 - repository: *832 + organization: *829 + repository: *830 sender: *4 required: - action @@ -152347,8 +151561,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *829 - installation: *830 + enterprise: *827 + installation: *828 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -153179,11 +152393,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *773 - issue_dependencies_summary: *774 + sub_issues_summary: *771 + issue_dependencies_summary: *772 issue_field_values: type: array - items: *775 + items: *773 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153281,7 +152495,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &861 + milestone: &859 title: Milestone description: A collection of related issues and pull requests. type: object @@ -153424,8 +152638,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *831 - repository: *832 + organization: *829 + repository: *830 sender: *4 required: - action @@ -153524,8 +152738,8 @@ webhooks: type: string required: - from - enterprise: *829 - installation: *830 + enterprise: *827 + installation: *828 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -154337,11 +153551,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *773 - issue_dependencies_summary: *774 + sub_issues_summary: *771 + issue_dependencies_summary: *772 issue_field_values: type: array - items: *775 + items: *773 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154461,9 +153675,9 @@ webhooks: - active_lock_reason - body - reactions - label: *855 - organization: *831 - repository: *832 + label: *853 + organization: *829 + repository: *830 sender: *4 required: - action @@ -154543,8 +153757,8 @@ webhooks: type: string enum: - labeled - enterprise: *829 - installation: *830 + enterprise: *827 + installation: *828 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -155355,11 +154569,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *773 - issue_dependencies_summary: *774 + sub_issues_summary: *771 + issue_dependencies_summary: *772 issue_field_values: type: array - items: *775 + items: *773 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155479,9 +154693,9 @@ webhooks: - active_lock_reason - body - reactions - label: *855 - organization: *831 - repository: *832 + label: *853 + organization: *829 + repository: *830 sender: *4 required: - action @@ -155561,8 +154775,8 @@ webhooks: type: string enum: - locked - enterprise: *829 - installation: *830 + enterprise: *827 + installation: *828 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -156398,11 +155612,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *773 - issue_dependencies_summary: *774 + sub_issues_summary: *771 + issue_dependencies_summary: *772 issue_field_values: type: array - items: *775 + items: *773 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156499,8 +155713,8 @@ webhooks: format: uri user_view_type: type: string - organization: *831 - repository: *832 + organization: *829 + repository: *830 sender: *4 required: - action @@ -156579,8 +155793,8 @@ webhooks: type: string enum: - milestoned - enterprise: *829 - installation: *830 + enterprise: *827 + installation: *828 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -157410,11 +156624,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *773 - issue_dependencies_summary: *774 + sub_issues_summary: *771 + issue_dependencies_summary: *772 issue_field_values: type: array - items: *775 + items: *773 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157511,9 +156725,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *861 - organization: *831 - repository: *832 + milestone: *859 + organization: *829 + repository: *830 sender: *4 required: - action @@ -158405,11 +157619,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *773 - issue_dependencies_summary: *774 + sub_issues_summary: *771 + issue_dependencies_summary: *772 issue_field_values: type: array - items: *775 + items: *773 state: description: State of the issue; either 'open' or 'closed' type: string @@ -158986,8 +158200,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *829 - installation: *830 + enterprise: *827 + installation: *828 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -159799,11 +159013,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *773 - issue_dependencies_summary: *774 + sub_issues_summary: *771 + issue_dependencies_summary: *772 issue_field_values: type: array - items: *775 + items: *773 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159922,8 +159136,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *831 - repository: *832 + organization: *829 + repository: *830 sender: *4 required: - action @@ -160003,9 +159217,9 @@ webhooks: type: string enum: - pinned - enterprise: *829 - installation: *830 - issue: &862 + enterprise: *827 + installation: *828 + issue: &860 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -160811,11 +160025,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *773 - issue_dependencies_summary: *774 + sub_issues_summary: *771 + issue_dependencies_summary: *772 issue_field_values: type: array - items: *775 + items: *773 state: description: State of the issue; either 'open' or 'closed' type: string @@ -160934,8 +160148,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *831 - repository: *832 + organization: *829 + repository: *830 sender: *4 required: - action @@ -161014,8 +160228,8 @@ webhooks: type: string enum: - reopened - enterprise: *829 - installation: *830 + enterprise: *827 + installation: *828 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -161849,11 +161063,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *773 - issue_dependencies_summary: *774 + sub_issues_summary: *771 + issue_dependencies_summary: *772 issue_field_values: type: array - items: *775 + items: *773 state: description: State of the issue; either 'open' or 'closed' type: string @@ -161951,8 +161165,8 @@ webhooks: user_view_type: type: string type: *351 - organization: *831 - repository: *832 + organization: *829 + repository: *830 sender: *4 required: - action @@ -162841,11 +162055,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *773 - issue_dependencies_summary: *774 + sub_issues_summary: *771 + issue_dependencies_summary: *772 issue_field_values: type: array - items: *775 + items: *773 state: description: State of the issue; either 'open' or 'closed' type: string @@ -163444,11 +162658,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *829 - installation: *830 - issue: *862 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + issue: *860 + organization: *829 + repository: *830 sender: *4 required: - action @@ -163528,12 +162742,12 @@ webhooks: type: string enum: - typed - enterprise: *829 - installation: *830 - issue: *863 + enterprise: *827 + installation: *828 + issue: *861 type: *351 - organization: *831 - repository: *832 + organization: *829 + repository: *830 sender: *4 required: - action @@ -163614,7 +162828,7 @@ webhooks: type: string enum: - unassigned - assignee: &887 + assignee: &885 title: User type: - object @@ -163686,11 +162900,11 @@ webhooks: required: - login - id - enterprise: *829 - installation: *830 - issue: *863 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + issue: *861 + organization: *829 + repository: *830 sender: *4 required: - action @@ -163769,12 +162983,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *829 - installation: *830 - issue: *863 - label: *855 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + issue: *861 + label: *853 + organization: *829 + repository: *830 sender: *4 required: - action @@ -163854,8 +163068,8 @@ webhooks: type: string enum: - unlocked - enterprise: *829 - installation: *830 + enterprise: *827 + installation: *828 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -164689,11 +163903,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *773 - issue_dependencies_summary: *774 + sub_issues_summary: *771 + issue_dependencies_summary: *772 issue_field_values: type: array - items: *775 + items: *773 state: description: State of the issue; either 'open' or 'closed' type: string @@ -164790,8 +164004,8 @@ webhooks: format: uri user_view_type: type: string - organization: *831 - repository: *832 + organization: *829 + repository: *830 sender: *4 required: - action @@ -164871,11 +164085,11 @@ webhooks: type: string enum: - unpinned - enterprise: *829 - installation: *830 - issue: *862 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + issue: *860 + organization: *829 + repository: *830 sender: *4 required: - action @@ -164954,12 +164168,12 @@ webhooks: type: string enum: - untyped - enterprise: *829 - installation: *830 - issue: *863 + enterprise: *827 + installation: *828 + issue: *861 type: *351 - organization: *831 - repository: *832 + organization: *829 + repository: *830 sender: *4 required: - action @@ -165039,11 +164253,11 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - label: *855 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + label: *853 + organization: *829 + repository: *830 sender: *4 required: - action @@ -165121,11 +164335,11 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - label: *855 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + label: *853 + organization: *829 + repository: *830 sender: *4 required: - action @@ -165235,11 +164449,11 @@ webhooks: type: string required: - from - enterprise: *829 - installation: *830 - label: *855 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + label: *853 + organization: *829 + repository: *830 sender: *4 required: - action @@ -165321,9 +164535,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *829 - installation: *830 - marketplace_purchase: &864 + enterprise: *827 + installation: *828 + marketplace_purchase: &862 title: Marketplace Purchase type: object required: @@ -165411,8 +164625,8 @@ webhooks: type: integer unit_count: type: integer - organization: *831 - previous_marketplace_purchase: &865 + organization: *829 + previous_marketplace_purchase: &863 title: Marketplace Purchase type: object properties: @@ -165496,7 +164710,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *832 + repository: *830 sender: *4 required: - action @@ -165576,10 +164790,10 @@ webhooks: - changed effective_date: type: string - enterprise: *829 - installation: *830 - marketplace_purchase: *864 - organization: *831 + enterprise: *827 + installation: *828 + marketplace_purchase: *862 + organization: *829 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -165667,7 +164881,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *832 + repository: *830 sender: *4 required: - action @@ -165749,10 +164963,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *829 - installation: *830 - marketplace_purchase: *864 - organization: *831 + enterprise: *827 + installation: *828 + marketplace_purchase: *862 + organization: *829 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -165838,7 +165052,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *832 + repository: *830 sender: *4 required: - action @@ -165919,8 +165133,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *829 - installation: *830 + enterprise: *827 + installation: *828 marketplace_purchase: title: Marketplace Purchase type: object @@ -166006,9 +165220,9 @@ webhooks: type: integer unit_count: type: integer - organization: *831 - previous_marketplace_purchase: *865 - repository: *832 + organization: *829 + previous_marketplace_purchase: *863 + repository: *830 sender: *4 required: - action @@ -166088,12 +165302,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *829 - installation: *830 - marketplace_purchase: *864 - organization: *831 - previous_marketplace_purchase: *865 - repository: *832 + enterprise: *827 + installation: *828 + marketplace_purchase: *862 + organization: *829 + previous_marketplace_purchase: *863 + repository: *830 sender: *4 required: - action @@ -166195,11 +165409,11 @@ webhooks: type: string required: - to - enterprise: *829 - installation: *830 - member: *856 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + member: *854 + organization: *829 + repository: *830 sender: *4 required: - action @@ -166301,11 +165515,11 @@ webhooks: type: - string - 'null' - enterprise: *829 - installation: *830 - member: *856 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + member: *854 + organization: *829 + repository: *830 sender: *4 required: - action @@ -166384,11 +165598,11 @@ webhooks: type: string enum: - removed - enterprise: *829 - installation: *830 - member: *856 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + member: *854 + organization: *829 + repository: *830 sender: *4 required: - action @@ -166466,11 +165680,11 @@ webhooks: type: string enum: - added - enterprise: *829 - installation: *830 - member: *856 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + member: *854 + organization: *829 + repository: *830 scope: description: The scope of the membership. Currently, can only be `team`. @@ -166548,7 +165762,7 @@ webhooks: required: - login - id - team: &866 + team: &864 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -166778,11 +165992,11 @@ webhooks: type: string enum: - removed - enterprise: *829 - installation: *830 - member: *856 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + member: *854 + organization: *829 + repository: *830 scope: description: The scope of the membership. Currently, can only be `team`. @@ -166861,7 +166075,7 @@ webhooks: required: - login - id - team: *866 + team: *864 required: - action - scope @@ -166943,8 +166157,8 @@ webhooks: type: string enum: - checks_requested - installation: *830 - merge_group: &867 + installation: *828 + merge_group: &865 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -166963,15 +166177,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *522 + head_commit: *519 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *831 - repository: *832 + organization: *829 + repository: *830 sender: *4 required: - action @@ -167057,10 +166271,10 @@ webhooks: - merged - invalidated - dequeued - installation: *830 - merge_group: *867 - organization: *831 - repository: *832 + installation: *828 + merge_group: *865 + organization: *829 + repository: *830 sender: *4 required: - action @@ -167133,7 +166347,7 @@ webhooks: type: string enum: - deleted - enterprise: *829 + enterprise: *827 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -167242,12 +166456,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *830 - organization: *831 + installation: *828 + organization: *829 repository: anyOf: - type: 'null' - - *832 + - *830 sender: *4 required: - action @@ -167327,11 +166541,11 @@ webhooks: type: string enum: - closed - enterprise: *829 - installation: *830 - milestone: *861 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + milestone: *859 + organization: *829 + repository: *830 sender: *4 required: - action @@ -167410,9 +166624,9 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - milestone: &868 + enterprise: *827 + installation: *828 + milestone: &866 title: Milestone description: A collection of related issues and pull requests. type: object @@ -167554,8 +166768,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *831 - repository: *832 + organization: *829 + repository: *830 sender: *4 required: - action @@ -167634,11 +166848,11 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - milestone: *861 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + milestone: *859 + organization: *829 + repository: *830 sender: *4 required: - action @@ -167748,11 +166962,11 @@ webhooks: type: string required: - from - enterprise: *829 - installation: *830 - milestone: *861 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + milestone: *859 + organization: *829 + repository: *830 sender: *4 required: - action @@ -167832,11 +167046,11 @@ webhooks: type: string enum: - opened - enterprise: *829 - installation: *830 - milestone: *868 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + milestone: *866 + organization: *829 + repository: *830 sender: *4 required: - action @@ -167915,11 +167129,11 @@ webhooks: type: string enum: - blocked - blocked_user: *856 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + blocked_user: *854 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -167998,11 +167212,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *856 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + blocked_user: *854 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -168078,7 +167292,7 @@ webhooks: enum: - created definition: *140 - enterprise: *829 + enterprise: *827 sender: *4 required: - action @@ -168158,8 +167372,8 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *829 - installation: *830 + enterprise: *827 + installation: *828 sender: *4 required: - action @@ -168232,8 +167446,8 @@ webhooks: enum: - updated definition: *140 - enterprise: *829 - installation: *830 + enterprise: *827 + installation: *828 sender: *4 required: - action @@ -168305,9 +167519,9 @@ webhooks: type: string enum: - updated - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *827 + installation: *828 + organization: *829 sender: *4 new_property_values: type: array @@ -168395,9 +167609,9 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - membership: &869 + enterprise: *827 + installation: *828 + membership: &867 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -168507,8 +167721,8 @@ webhooks: - role - organization_url - user - organization: *831 - repository: *832 + organization: *829 + repository: *830 sender: *4 required: - action @@ -168586,11 +167800,11 @@ webhooks: type: string enum: - member_added - enterprise: *829 - installation: *830 - membership: *869 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + membership: *867 + organization: *829 + repository: *830 sender: *4 required: - action @@ -168669,8 +167883,8 @@ webhooks: type: string enum: - member_invited - enterprise: *829 - installation: *830 + enterprise: *827 + installation: *828 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -168792,10 +168006,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *831 - repository: *832 + organization: *829 + repository: *830 sender: *4 - user: *856 + user: *854 required: - action - invitation @@ -168873,11 +168087,11 @@ webhooks: type: string enum: - member_removed - enterprise: *829 - installation: *830 - membership: *869 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + membership: *867 + organization: *829 + repository: *830 sender: *4 required: - action @@ -168964,11 +168178,11 @@ webhooks: properties: from: type: string - enterprise: *829 - installation: *830 - membership: *869 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + membership: *867 + organization: *829 + repository: *830 sender: *4 required: - action @@ -169044,9 +168258,9 @@ webhooks: type: string enum: - published - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *827 + installation: *828 + organization: *829 package: description: Information about the package. type: object @@ -169569,7 +168783,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &870 + items: &868 title: Ruby Gems metadata type: object properties: @@ -169666,7 +168880,7 @@ webhooks: - owner - package_version - registry - repository: *832 + repository: *830 sender: *4 required: - action @@ -169742,9 +168956,9 @@ webhooks: type: string enum: - updated - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *827 + installation: *828 + organization: *829 package: description: Information about the package. type: object @@ -170106,7 +169320,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *870 + items: *868 source_url: type: string format: uri @@ -170177,7 +169391,7 @@ webhooks: - owner - package_version - registry - repository: *832 + repository: *830 sender: *4 required: - action @@ -170358,12 +169572,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *829 + enterprise: *827 id: type: integer - installation: *830 - organization: *831 - repository: *832 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - id @@ -170440,7 +169654,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &871 + personal_access_token_request: &869 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -170590,10 +169804,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *829 - organization: *831 + enterprise: *827 + organization: *829 sender: *4 - installation: *830 + installation: *828 required: - action - personal_access_token_request @@ -170670,11 +169884,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *871 - enterprise: *829 - organization: *831 + personal_access_token_request: *869 + enterprise: *827 + organization: *829 sender: *4 - installation: *830 + installation: *828 required: - action - personal_access_token_request @@ -170750,11 +169964,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *871 - enterprise: *829 - organization: *831 + personal_access_token_request: *869 + enterprise: *827 + organization: *829 sender: *4 - installation: *830 + installation: *828 required: - action - personal_access_token_request @@ -170829,11 +170043,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *871 - organization: *831 - enterprise: *829 + personal_access_token_request: *869 + organization: *829 + enterprise: *827 sender: *4 - installation: *830 + installation: *828 required: - action - personal_access_token_request @@ -170938,7 +170152,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *872 + last_response: *870 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -170970,8 +170184,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *831 - repository: *832 + organization: *829 + repository: *830 sender: *4 zen: description: Random string of GitHub zen. @@ -171216,10 +170430,10 @@ webhooks: - from required: - note - enterprise: *829 - installation: *830 - organization: *831 - project_card: &873 + enterprise: *827 + installation: *828 + organization: *829 + project_card: &871 title: Project Card type: object properties: @@ -171342,7 +170556,7 @@ webhooks: - creator - created_at - updated_at - repository: *832 + repository: *830 sender: *4 required: - action @@ -171423,11 +170637,11 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - organization: *831 - project_card: *873 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + project_card: *871 + repository: *830 sender: *4 required: - action @@ -171507,9 +170721,9 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *827 + installation: *828 + organization: *829 project_card: title: Project Card type: object @@ -171639,7 +170853,7 @@ webhooks: repository: anyOf: - type: 'null' - - *832 + - *830 sender: *4 required: - action @@ -171733,11 +170947,11 @@ webhooks: - from required: - note - enterprise: *829 - installation: *830 - organization: *831 - project_card: *873 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + project_card: *871 + repository: *830 sender: *4 required: - action @@ -171831,9 +171045,9 @@ webhooks: - from required: - column_id - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *827 + installation: *828 + organization: *829 project_card: allOf: - title: Project Card @@ -172030,7 +171244,7 @@ webhooks: type: string required: - after_id - repository: *832 + repository: *830 sender: *4 required: - action @@ -172110,10 +171324,10 @@ webhooks: type: string enum: - closed - enterprise: *829 - installation: *830 - organization: *831 - project: &875 + enterprise: *827 + installation: *828 + organization: *829 + project: &873 title: Project type: object properties: @@ -172240,7 +171454,7 @@ webhooks: - creator - created_at - updated_at - repository: *832 + repository: *830 sender: *4 required: - action @@ -172320,10 +171534,10 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - organization: *831 - project_column: &874 + enterprise: *827 + installation: *828 + organization: *829 + project_column: &872 title: Project Column type: object properties: @@ -172363,7 +171577,7 @@ webhooks: - name - created_at - updated_at - repository: *832 + repository: *830 sender: *4 required: - action @@ -172442,14 +171656,14 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - organization: *831 - project_column: *874 + enterprise: *827 + installation: *828 + organization: *829 + project_column: *872 repository: anyOf: - type: 'null' - - *832 + - *830 sender: *4 required: - action @@ -172538,11 +171752,11 @@ webhooks: type: string required: - from - enterprise: *829 - installation: *830 - organization: *831 - project_column: *874 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + project_column: *872 + repository: *830 sender: *4 required: - action @@ -172622,11 +171836,11 @@ webhooks: type: string enum: - moved - enterprise: *829 - installation: *830 - organization: *831 - project_column: *874 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + project_column: *872 + repository: *830 sender: *4 required: - action @@ -172706,11 +171920,11 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - organization: *831 - project: *875 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + project: *873 + repository: *830 sender: *4 required: - action @@ -172790,14 +172004,14 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - organization: *831 - project: *875 + enterprise: *827 + installation: *828 + organization: *829 + project: *873 repository: anyOf: - type: 'null' - - *832 + - *830 sender: *4 required: - action @@ -172898,11 +172112,11 @@ webhooks: type: string required: - from - enterprise: *829 - installation: *830 - organization: *831 - project: *875 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + project: *873 + repository: *830 sender: *4 required: - action @@ -172981,11 +172195,11 @@ webhooks: type: string enum: - reopened - enterprise: *829 - installation: *830 - organization: *831 - project: *875 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + project: *873 + repository: *830 sender: *4 required: - action @@ -173066,9 +172280,9 @@ webhooks: type: string enum: - closed - installation: *830 - organization: *831 - projects_v2: *383 + installation: *828 + organization: *829 + projects_v2: *382 sender: *4 required: - action @@ -173149,9 +172363,9 @@ webhooks: type: string enum: - created - installation: *830 - organization: *831 - projects_v2: *383 + installation: *828 + organization: *829 + projects_v2: *382 sender: *4 required: - action @@ -173232,9 +172446,9 @@ webhooks: type: string enum: - deleted - installation: *830 - organization: *831 - projects_v2: *383 + installation: *828 + organization: *829 + projects_v2: *382 sender: *4 required: - action @@ -173355,9 +172569,9 @@ webhooks: type: string to: type: string - installation: *830 - organization: *831 - projects_v2: *383 + installation: *828 + organization: *829 + projects_v2: *382 sender: *4 required: - action @@ -173440,7 +172654,7 @@ webhooks: type: string enum: - archived - changes: &879 + changes: &877 type: object properties: archived_at: @@ -173456,9 +172670,9 @@ webhooks: - string - 'null' format: date-time - installation: *830 - organization: *831 - projects_v2_item: &876 + installation: *828 + organization: *829 + projects_v2_item: &874 title: Projects v2 Item description: An item belonging to a project type: object @@ -173476,7 +172690,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *389 + content_type: *388 creator: *4 created_at: type: string @@ -173598,9 +172812,9 @@ webhooks: - 'null' to: type: string - installation: *830 - organization: *831 - projects_v2_item: *876 + installation: *828 + organization: *829 + projects_v2_item: *874 sender: *4 required: - action @@ -173682,9 +172896,9 @@ webhooks: type: string enum: - created - installation: *830 - organization: *831 - projects_v2_item: *876 + installation: *828 + organization: *829 + projects_v2_item: *874 sender: *4 required: - action @@ -173765,9 +172979,9 @@ webhooks: type: string enum: - deleted - installation: *830 - organization: *831 - projects_v2_item: *876 + installation: *828 + organization: *829 + projects_v2_item: *874 sender: *4 required: - action @@ -173872,7 +173086,7 @@ webhooks: oneOf: - type: string - type: integer - - &877 + - &875 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -173896,7 +173110,7 @@ webhooks: required: - id - name - - &878 + - &876 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -173936,8 +173150,8 @@ webhooks: oneOf: - type: string - type: integer - - *877 - - *878 + - *875 + - *876 type: - 'null' - string @@ -173960,9 +173174,9 @@ webhooks: - 'null' required: - body - installation: *830 - organization: *831 - projects_v2_item: *876 + installation: *828 + organization: *829 + projects_v2_item: *874 sender: *4 required: - action @@ -174059,9 +173273,9 @@ webhooks: type: - string - 'null' - installation: *830 - organization: *831 - projects_v2_item: *876 + installation: *828 + organization: *829 + projects_v2_item: *874 sender: *4 required: - action @@ -174144,10 +173358,10 @@ webhooks: type: string enum: - restored - changes: *879 - installation: *830 - organization: *831 - projects_v2_item: *876 + changes: *877 + installation: *828 + organization: *829 + projects_v2_item: *874 sender: *4 required: - action @@ -174229,9 +173443,9 @@ webhooks: type: string enum: - reopened - installation: *830 - organization: *831 - projects_v2: *383 + installation: *828 + organization: *829 + projects_v2: *382 sender: *4 required: - action @@ -174312,9 +173526,9 @@ webhooks: type: string enum: - created - installation: *830 - organization: *831 - projects_v2_status_update: *880 + installation: *828 + organization: *829 + projects_v2_status_update: *878 sender: *4 required: - action @@ -174395,9 +173609,9 @@ webhooks: type: string enum: - deleted - installation: *830 - organization: *831 - projects_v2_status_update: *880 + installation: *828 + organization: *829 + projects_v2_status_update: *878 sender: *4 required: - action @@ -174543,9 +173757,9 @@ webhooks: - string - 'null' format: date - installation: *830 - organization: *831 - projects_v2_status_update: *880 + installation: *828 + organization: *829 + projects_v2_status_update: *878 sender: *4 required: - action @@ -174616,10 +173830,10 @@ webhooks: title: public event type: object properties: - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - repository @@ -174696,13 +173910,13 @@ webhooks: type: string enum: - assigned - assignee: *856 - enterprise: *829 - installation: *830 - number: &881 + assignee: *854 + enterprise: *827 + installation: *828 + number: &879 description: The pull request number. type: integer - organization: *831 + organization: *829 pull_request: title: Pull Request type: object @@ -177051,7 +176265,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *830 sender: *4 required: - action @@ -177133,11 +176347,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *829 - installation: *830 + enterprise: *827 + installation: *828 number: type: integer - organization: *831 + organization: *829 pull_request: title: Pull Request type: object @@ -179479,7 +178693,7 @@ webhooks: - draft reason: type: string - repository: *832 + repository: *830 sender: *4 required: - action @@ -179561,11 +178775,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *829 - installation: *830 + enterprise: *827 + installation: *828 number: type: integer - organization: *831 + organization: *829 pull_request: title: Pull Request type: object @@ -181907,7 +181121,7 @@ webhooks: - draft reason: type: string - repository: *832 + repository: *830 sender: *4 required: - action @@ -181989,13 +181203,13 @@ webhooks: type: string enum: - closed - enterprise: *829 - installation: *830 - number: *881 - organization: *831 - pull_request: &882 + enterprise: *827 + installation: *828 + number: *879 + organization: *829 + pull_request: &880 allOf: - - *680 + - *678 - type: object properties: allow_auto_merge: @@ -182057,7 +181271,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *832 + repository: *830 sender: *4 required: - action @@ -182138,12 +181352,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *829 - installation: *830 - number: *881 - organization: *831 - pull_request: *882 - repository: *832 + enterprise: *827 + installation: *828 + number: *879 + organization: *829 + pull_request: *880 + repository: *830 sender: *4 required: - action @@ -182223,11 +181437,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *829 - milestone: *387 - number: *881 - organization: *831 - pull_request: &883 + enterprise: *827 + milestone: *386 + number: *879 + organization: *829 + pull_request: &881 title: Pull Request type: object properties: @@ -184554,7 +183768,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *830 sender: *4 required: - action @@ -184633,11 +183847,11 @@ webhooks: type: string enum: - dequeued - enterprise: *829 - installation: *830 + enterprise: *827 + installation: *828 number: type: integer - organization: *831 + organization: *829 pull_request: title: Pull Request type: object @@ -186983,7 +186197,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *832 + repository: *830 sender: *4 required: - action @@ -187107,12 +186321,12 @@ webhooks: type: string required: - from - enterprise: *829 - installation: *830 - number: *881 - organization: *831 - pull_request: *882 - repository: *832 + enterprise: *827 + installation: *828 + number: *879 + organization: *829 + pull_request: *880 + repository: *830 sender: *4 required: - action @@ -187192,11 +186406,11 @@ webhooks: type: string enum: - enqueued - enterprise: *829 - installation: *830 + enterprise: *827 + installation: *828 number: type: integer - organization: *831 + organization: *829 pull_request: title: Pull Request type: object @@ -189527,7 +188741,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *830 sender: *4 required: - action @@ -189607,11 +188821,11 @@ webhooks: type: string enum: - labeled - enterprise: *829 - installation: *830 - label: *855 - number: *881 - organization: *831 + enterprise: *827 + installation: *828 + label: *853 + number: *879 + organization: *829 pull_request: title: Pull Request type: object @@ -191959,7 +191173,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *830 sender: *4 required: - action @@ -192040,10 +191254,10 @@ webhooks: type: string enum: - locked - enterprise: *829 - installation: *830 - number: *881 - organization: *831 + enterprise: *827 + installation: *828 + number: *879 + organization: *829 pull_request: title: Pull Request type: object @@ -194389,7 +193603,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *830 sender: *4 required: - action @@ -194469,12 +193683,12 @@ webhooks: type: string enum: - milestoned - enterprise: *829 - milestone: *387 - number: *881 - organization: *831 - pull_request: *883 - repository: *832 + enterprise: *827 + milestone: *386 + number: *879 + organization: *829 + pull_request: *881 + repository: *830 sender: *4 required: - action @@ -194553,12 +193767,12 @@ webhooks: type: string enum: - opened - enterprise: *829 - installation: *830 - number: *881 - organization: *831 - pull_request: *882 - repository: *832 + enterprise: *827 + installation: *828 + number: *879 + organization: *829 + pull_request: *880 + repository: *830 sender: *4 required: - action @@ -194639,12 +193853,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *829 - installation: *830 - number: *881 - organization: *831 - pull_request: *882 - repository: *832 + enterprise: *827 + installation: *828 + number: *879 + organization: *829 + pull_request: *880 + repository: *830 sender: *4 required: - action @@ -194724,12 +193938,12 @@ webhooks: type: string enum: - reopened - enterprise: *829 - installation: *830 - number: *881 - organization: *831 - pull_request: *882 - repository: *832 + enterprise: *827 + installation: *828 + number: *879 + organization: *829 + pull_request: *880 + repository: *830 sender: *4 required: - action @@ -195104,9 +194318,9 @@ webhooks: - start_side - side - reactions - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *827 + installation: *828 + organization: *829 pull_request: type: object properties: @@ -197336,7 +196550,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *832 + repository: *830 sender: *4 required: - action @@ -197416,7 +196630,7 @@ webhooks: type: string enum: - deleted - comment: &885 + comment: &883 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. @@ -197709,9 +196923,9 @@ webhooks: - start_side - side - reactions - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *827 + installation: *828 + organization: *829 pull_request: type: object properties: @@ -199929,7 +199143,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *832 + repository: *830 sender: *4 required: - action @@ -200009,11 +199223,11 @@ webhooks: type: string enum: - edited - changes: *884 - comment: *885 - enterprise: *829 - installation: *830 - organization: *831 + changes: *882 + comment: *883 + enterprise: *827 + installation: *828 + organization: *829 pull_request: type: object properties: @@ -202234,7 +201448,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *832 + repository: *830 sender: *4 required: - action @@ -202315,9 +201529,9 @@ webhooks: type: string enum: - dismissed - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *827 + installation: *828 + organization: *829 pull_request: title: Simple Pull Request type: object @@ -204550,7 +203764,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *832 + repository: *830 review: description: The review that was affected. type: object @@ -204801,9 +204015,9 @@ webhooks: type: string required: - from - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *827 + installation: *828 + organization: *829 pull_request: title: Simple Pull Request type: object @@ -206917,8 +206131,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *832 - review: &886 + repository: *830 + review: &884 description: The review that was affected. type: object properties: @@ -207156,12 +206370,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *829 - installation: *830 + enterprise: *827 + installation: *828 number: description: The pull request number. type: integer - organization: *831 + organization: *829 pull_request: title: Pull Request type: object @@ -209508,7 +208722,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *830 requested_reviewer: title: User type: @@ -209594,12 +208808,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *829 - installation: *830 + enterprise: *827 + installation: *828 number: description: The pull request number. type: integer - organization: *831 + organization: *829 pull_request: title: Pull Request type: object @@ -211953,7 +211167,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *830 requested_team: title: Team description: Groups of organization members that gives permissions @@ -212148,12 +211362,12 @@ webhooks: type: string enum: - review_requested - enterprise: *829 - installation: *830 + enterprise: *827 + installation: *828 number: description: The pull request number. type: integer - organization: *831 + organization: *829 pull_request: title: Pull Request type: object @@ -214502,7 +213716,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *830 requested_reviewer: title: User type: @@ -214589,12 +213803,12 @@ webhooks: type: string enum: - review_requested - enterprise: *829 - installation: *830 + enterprise: *827 + installation: *828 number: description: The pull request number. type: integer - organization: *831 + organization: *829 pull_request: title: Pull Request type: object @@ -216934,7 +216148,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *830 requested_team: title: Team description: Groups of organization members that gives permissions @@ -217118,9 +216332,9 @@ webhooks: type: string enum: - submitted - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *827 + installation: *828 + organization: *829 pull_request: title: Simple Pull Request type: object @@ -219356,8 +218570,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *832 - review: *886 + repository: *830 + review: *884 sender: *4 required: - action @@ -219437,9 +218651,9 @@ webhooks: type: string enum: - resolved - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *827 + installation: *828 + organization: *829 pull_request: title: Simple Pull Request type: object @@ -221570,7 +220784,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *832 + repository: *830 sender: *4 thread: type: object @@ -221967,9 +221181,9 @@ webhooks: type: string enum: - unresolved - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *827 + installation: *828 + organization: *829 pull_request: title: Simple Pull Request type: object @@ -224083,7 +223297,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *832 + repository: *830 sender: *4 thread: type: object @@ -224482,10 +223696,10 @@ webhooks: type: string before: type: string - enterprise: *829 - installation: *830 - number: *881 - organization: *831 + enterprise: *827 + installation: *828 + number: *879 + organization: *829 pull_request: title: Pull Request type: object @@ -226820,7 +226034,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *830 sender: *4 required: - action @@ -226902,11 +226116,11 @@ webhooks: type: string enum: - unassigned - assignee: *887 - enterprise: *829 - installation: *830 - number: *881 - organization: *831 + assignee: *885 + enterprise: *827 + installation: *828 + number: *879 + organization: *829 pull_request: title: Pull Request type: object @@ -229256,7 +228470,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *830 sender: *4 required: - action @@ -229335,11 +228549,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *829 - installation: *830 - label: *855 - number: *881 - organization: *831 + enterprise: *827 + installation: *828 + label: *853 + number: *879 + organization: *829 pull_request: title: Pull Request type: object @@ -231678,7 +230892,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *830 sender: *4 required: - action @@ -231759,10 +230973,10 @@ webhooks: type: string enum: - unlocked - enterprise: *829 - installation: *830 - number: *881 - organization: *831 + enterprise: *827 + installation: *828 + number: *879 + organization: *829 pull_request: title: Pull Request type: object @@ -234091,7 +233305,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *830 sender: *4 required: - action @@ -234294,7 +233508,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *829 + enterprise: *827 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -234389,8 +233603,8 @@ webhooks: - url - author - committer - installation: *830 - organization: *831 + installation: *828 + organization: *829 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -234978,9 +234192,9 @@ webhooks: type: string enum: - published - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *827 + installation: *828 + organization: *829 registry_package: type: object properties: @@ -235457,7 +234671,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *870 + items: *868 summary: type: string tag_name: @@ -235513,7 +234727,7 @@ webhooks: - owner - package_version - registry - repository: *832 + repository: *830 sender: *4 required: - action @@ -235591,9 +234805,9 @@ webhooks: type: string enum: - updated - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *827 + installation: *828 + organization: *829 registry_package: type: object properties: @@ -235905,7 +235119,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *870 + items: *868 summary: type: string tag_name: @@ -235955,7 +235169,7 @@ webhooks: - owner - package_version - registry - repository: *832 + repository: *830 sender: *4 required: - action @@ -236032,10 +235246,10 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - organization: *831 - release: &888 + enterprise: *827 + installation: *828 + organization: *829 + release: &886 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -236366,7 +235580,7 @@ webhooks: - updated_at - zipball_url - body - repository: *832 + repository: *830 sender: *4 required: - action @@ -236443,11 +235657,11 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - organization: *831 - release: *888 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + release: *886 + repository: *830 sender: *4 required: - action @@ -236564,11 +235778,11 @@ webhooks: type: boolean required: - to - enterprise: *829 - installation: *830 - organization: *831 - release: *888 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + release: *886 + repository: *830 sender: *4 required: - action @@ -236646,9 +235860,9 @@ webhooks: type: string enum: - prereleased - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *827 + installation: *828 + organization: *829 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -236984,7 +236198,7 @@ webhooks: - string - 'null' format: uri - repository: *832 + repository: *830 sender: *4 required: - action @@ -237060,10 +236274,10 @@ webhooks: type: string enum: - published - enterprise: *829 - installation: *830 - organization: *831 - release: &889 + enterprise: *827 + installation: *828 + organization: *829 + release: &887 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -237396,7 +236610,7 @@ webhooks: - string - 'null' format: uri - repository: *832 + repository: *830 sender: *4 required: - action @@ -237472,11 +236686,11 @@ webhooks: type: string enum: - released - enterprise: *829 - installation: *830 - organization: *831 - release: *888 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + release: *886 + repository: *830 sender: *4 required: - action @@ -237552,11 +236766,11 @@ webhooks: type: string enum: - unpublished - enterprise: *829 - installation: *830 - organization: *831 - release: *889 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + release: *887 + repository: *830 sender: *4 required: - action @@ -237632,11 +236846,11 @@ webhooks: type: string enum: - published - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - repository_advisory: *733 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 + repository_advisory: *731 sender: *4 required: - action @@ -237712,11 +236926,11 @@ webhooks: type: string enum: - reported - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - repository_advisory: *733 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 + repository_advisory: *731 sender: *4 required: - action @@ -237792,10 +237006,10 @@ webhooks: type: string enum: - archived - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -237872,10 +237086,10 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -237953,10 +237167,10 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -238041,10 +237255,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -238159,10 +237373,10 @@ webhooks: - 'null' items: type: string - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -238234,10 +237448,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 status: type: string @@ -238318,10 +237532,10 @@ webhooks: type: string enum: - privatized - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -238398,10 +237612,10 @@ webhooks: type: string enum: - publicized - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -238495,10 +237709,10 @@ webhooks: - name required: - repository - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -238578,10 +237792,10 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 repository_ruleset: *179 sender: *4 required: @@ -238660,10 +237874,10 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 repository_ruleset: *179 sender: *4 required: @@ -238742,10 +237956,10 @@ webhooks: type: string enum: - edited - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 repository_ruleset: *179 changes: type: object @@ -238807,16 +238021,16 @@ webhooks: properties: added: type: array - items: *701 + items: *699 deleted: type: array - items: *701 + items: *699 updated: type: array items: type: object properties: - rule: *701 + rule: *699 changes: type: object properties: @@ -239053,10 +238267,10 @@ webhooks: - from required: - owner - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -239134,10 +238348,10 @@ webhooks: type: string enum: - unarchived - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -239215,7 +238429,7 @@ webhooks: type: string enum: - create - alert: &890 + alert: &888 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -239339,10 +238553,10 @@ webhooks: type: string enum: - open - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -239552,10 +238766,10 @@ webhooks: type: string enum: - dismissed - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -239633,11 +238847,11 @@ webhooks: type: string enum: - reopen - alert: *890 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + alert: *888 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -239839,10 +239053,10 @@ webhooks: enum: - fixed - open - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -239920,7 +239134,7 @@ webhooks: type: string enum: - created - alert: &891 + alert: &889 type: object properties: number: *119 @@ -240034,10 +239248,10 @@ webhooks: anyOf: - type: 'null' - *4 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -240118,11 +239332,11 @@ webhooks: type: string enum: - created - alert: *891 - installation: *830 - location: *892 - organization: *831 - repository: *832 + alert: *889 + installation: *828 + location: *890 + organization: *829 + repository: *830 sender: *4 required: - location @@ -240360,11 +239574,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *891 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + alert: *889 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -240442,11 +239656,11 @@ webhooks: type: string enum: - reopened - alert: *891 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + alert: *889 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -240524,11 +239738,11 @@ webhooks: type: string enum: - resolved - alert: *891 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + alert: *889 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -240606,11 +239820,11 @@ webhooks: type: string enum: - validated - alert: *891 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + alert: *889 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -240740,10 +239954,10 @@ webhooks: - organization - enterprise - - repository: *832 - enterprise: *829 - installation: *830 - organization: *831 + repository: *830 + enterprise: *827 + installation: *828 + organization: *829 sender: *4 required: - action @@ -240821,11 +240035,11 @@ webhooks: type: string enum: - published - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - security_advisory: &893 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 + security_advisory: &891 description: The details of the security advisory, including summary, description, and severity. type: object @@ -241011,11 +240225,11 @@ webhooks: type: string enum: - updated - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - security_advisory: *893 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 + security_advisory: *891 sender: *4 required: - action @@ -241088,10 +240302,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -241277,11 +240491,11 @@ webhooks: from: type: object properties: - security_and_analysis: *395 - enterprise: *829 - installation: *830 - organization: *831 - repository: *461 + security_and_analysis: *394 + enterprise: *827 + installation: *828 + organization: *829 + repository: *458 sender: *4 required: - changes @@ -241359,12 +240573,12 @@ webhooks: type: string enum: - cancelled - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 - sponsorship: &894 + sponsorship: &892 type: object properties: created_at: @@ -241669,12 +240883,12 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 - sponsorship: *894 + sponsorship: *892 required: - action - sponsorship @@ -241762,12 +240976,12 @@ webhooks: type: string required: - from - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 - sponsorship: *894 + sponsorship: *892 required: - action - changes @@ -241844,17 +241058,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &895 + effective_date: &893 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: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 - sponsorship: *894 + sponsorship: *892 required: - action - sponsorship @@ -241928,7 +241142,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &896 + changes: &894 type: object properties: tier: @@ -241972,13 +241186,13 @@ webhooks: - from required: - tier - effective_date: *895 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + effective_date: *893 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 - sponsorship: *894 + sponsorship: *892 required: - action - changes @@ -242055,13 +241269,13 @@ webhooks: type: string enum: - tier_changed - changes: *896 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + changes: *894 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 - sponsorship: *894 + sponsorship: *892 required: - action - changes @@ -242135,10 +241349,10 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -242222,10 +241436,10 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -242659,15 +241873,15 @@ webhooks: type: - string - 'null' - enterprise: *829 + enterprise: *827 id: description: The unique identifier of the status. type: integer - installation: *830 + installation: *828 name: type: string - organization: *831 - repository: *832 + organization: *829 + repository: *830 sender: *4 sha: description: The Commit SHA. @@ -242783,9 +241997,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *218 - installation: *830 - organization: *831 - repository: *832 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -242875,9 +242089,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *218 - installation: *830 - organization: *831 - repository: *832 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -242967,9 +242181,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *218 - installation: *830 - organization: *831 - repository: *832 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -243059,9 +242273,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *218 - installation: *830 - organization: *831 - repository: *832 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -243138,12 +242352,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 - team: &897 + team: &895 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -243373,9 +242587,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *827 + installation: *828 + organization: *829 repository: title: Repository description: A git repository @@ -243845,7 +243059,7 @@ webhooks: - topics - visibility sender: *4 - team: *897 + team: *895 required: - action - team @@ -243921,9 +243135,9 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *827 + installation: *828 + organization: *829 repository: title: Repository description: A git repository @@ -244393,7 +243607,7 @@ webhooks: - topics - visibility sender: *4 - team: *897 + team: *895 required: - action - team @@ -244470,9 +243684,9 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *827 + installation: *828 + organization: *829 repository: title: Repository description: A git repository @@ -244942,7 +244156,7 @@ webhooks: - topics - visibility sender: *4 - team: *897 + team: *895 required: - action - team @@ -245086,9 +244300,9 @@ webhooks: - from required: - permissions - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *827 + installation: *828 + organization: *829 repository: title: Repository description: A git repository @@ -245558,7 +244772,7 @@ webhooks: - topics - visibility sender: *4 - team: *897 + team: *895 required: - action - changes @@ -245636,9 +244850,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *827 + installation: *828 + organization: *829 repository: title: Repository description: A git repository @@ -246108,7 +245322,7 @@ webhooks: - topics - visibility sender: *4 - team: *897 + team: *895 required: - action - team @@ -246184,10 +245398,10 @@ webhooks: type: string enum: - started - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -246260,17 +245474,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *829 + enterprise: *827 inputs: type: - object - 'null' additionalProperties: true - installation: *830 - organization: *831 + installation: *828 + organization: *829 ref: type: string - repository: *832 + repository: *830 sender: *4 workflow: type: string @@ -246352,10 +245566,10 @@ webhooks: type: string enum: - completed - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 workflow_job: allOf: @@ -246611,7 +245825,7 @@ webhooks: type: string required: - conclusion - deployment: *588 + deployment: *585 required: - action - repository @@ -246690,10 +245904,10 @@ webhooks: type: string enum: - in_progress - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 workflow_job: allOf: @@ -246975,7 +246189,7 @@ webhooks: required: - status - steps - deployment: *588 + deployment: *585 required: - action - repository @@ -247054,10 +246268,10 @@ webhooks: type: string enum: - queued - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 workflow_job: type: object @@ -247203,7 +246417,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *588 + deployment: *585 required: - action - repository @@ -247282,10 +246496,10 @@ webhooks: type: string enum: - waiting - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 workflow_job: type: object @@ -247432,7 +246646,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *588 + deployment: *585 required: - action - repository @@ -247512,12 +246726,12 @@ webhooks: type: string enum: - completed - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 - workflow: *851 + workflow: *849 workflow_run: title: Workflow Run type: object @@ -248536,12 +247750,12 @@ webhooks: type: string enum: - in_progress - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 - workflow: *851 + workflow: *849 workflow_run: title: Workflow Run type: object @@ -249545,12 +248759,12 @@ webhooks: type: string enum: - requested - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 - workflow: *851 + workflow: *849 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.json b/descriptions-next/ghec/dereferenced/ghec.deref.json index 383c409a5..ed4f48db2 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.deref.json @@ -69672,7 +69672,7 @@ }, "/enterprises/{enterprise}/settings/billing/usage/summary": { "get": { - "summary": "Get billing usage summary report for an enterprise", + "summary": "Get billing usage summary for an enterprise", "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets a summary report of usage for an enterprise. To use this endpoint, you must be an administrator or billing manager of the enterprise. By default, this endpoint will return usage across all cost centers in the enterprise.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" @@ -69680,7 +69680,7 @@ "operationId": "billing/get-github-billing-usage-summary-report-ghe", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-summary-report-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-summary-for-an-enterprise" }, "parameters": [ { @@ -69767,7 +69767,7 @@ ], "responses": { "200": { - "description": "Response when getting a billing usage summary report", + "description": "Response when getting a billing usage summary", "content": { "application/json": { "schema": { @@ -108893,7 +108893,7 @@ }, "/organizations/{org}/settings/billing/usage/summary": { "get": { - "summary": "Get billing usage summary report for an organization", + "summary": "Get billing usage summary for an organization", "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets a summary report of usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" @@ -108901,7 +108901,7 @@ "operationId": "billing/get-github-billing-usage-summary-report-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-summary-report-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-summary-for-an-organization" }, "parameters": [ { @@ -108970,7 +108970,7 @@ ], "responses": { "200": { - "description": "Response when getting a billing usage summary report", + "description": "Response when getting a billing usage summary", "content": { "application/json": { "schema": { @@ -201680,999 +201680,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", - "examples": [ - "https://api.github.com/repos/api-playground/projects-test" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/api-playground/projects-test/projects/12" - ] - }, - "columns_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604/columns" - ] - }, - "id": { - "type": "integer", - "examples": [ - 1002604 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDc6UHJvamVjdDEwMDI2MDQ=" - ] - }, - "name": { - "description": "Name of the project", - "type": "string", - "examples": [ - "Week One Sprint" - ] - }, - "body": { - "description": "Body of the project", - "type": [ - "string", - "null" - ], - "examples": [ - "This project represents the sprint of the first week in January" - ] - }, - "number": { - "type": "integer", - "examples": [ - 1 - ] - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "type": "string", - "examples": [ - "open" - ] - }, - "creator": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2011-04-10T20:09:31Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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", - "examples": [ - "https://api.github.com/repos/api-playground/projects-test" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/api-playground/projects-test/projects/12" - ] - }, - "columns_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604/columns" - ] - }, - "id": { - "type": "integer", - "examples": [ - 1002604 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDc6UHJvamVjdDEwMDI2MDQ=" - ] - }, - "name": { - "description": "Name of the project", - "type": "string", - "examples": [ - "Week One Sprint" - ] - }, - "body": { - "description": "Body of the project", - "type": [ - "string", - "null" - ], - "examples": [ - "This project represents the sprint of the first week in January" - ] - }, - "number": { - "type": "integer", - "examples": [ - 1 - ] - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "type": "string", - "examples": [ - "open" - ] - }, - "creator": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2011-04-10T20:09:31Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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", @@ -265042,1125 +264049,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", - "examples": [ - "https://api.github.com/repos/api-playground/projects-test" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/api-playground/projects-test/projects/12" - ] - }, - "columns_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604/columns" - ] - }, - "id": { - "type": "integer", - "examples": [ - 1002604 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDc6UHJvamVjdDEwMDI2MDQ=" - ] - }, - "name": { - "description": "Name of the project", - "type": "string", - "examples": [ - "Week One Sprint" - ] - }, - "body": { - "description": "Body of the project", - "type": [ - "string", - "null" - ], - "examples": [ - "This project represents the sprint of the first week in January" - ] - }, - "number": { - "type": "integer", - "examples": [ - 1 - ] - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "type": "string", - "examples": [ - "open" - ] - }, - "creator": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2011-04-10T20:09:31Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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", - "type": "string", - "examples": [ - "Week One Sprint" - ] - }, - "body": { - "description": "Body of the project", - "type": [ - "string", - "null" - ], - "examples": [ - "This project represents the sprint of the first week in January" - ] - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "type": "string", - "examples": [ - "open" - ] - }, - "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", - "examples": [ - "https://api.github.com/repos/api-playground/projects-test" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/api-playground/projects-test/projects/12" - ] - }, - "columns_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604/columns" - ] - }, - "id": { - "type": "integer", - "examples": [ - 1002604 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDc6UHJvamVjdDEwMDI2MDQ=" - ] - }, - "name": { - "description": "Name of the project", - "type": "string", - "examples": [ - "Week One Sprint" - ] - }, - "body": { - "description": "Body of the project", - "type": [ - "string", - "null" - ], - "examples": [ - "This project represents the sprint of the first week in January" - ] - }, - "number": { - "type": "integer", - "examples": [ - 1 - ] - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "type": "string", - "examples": [ - "open" - ] - }, - "creator": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2011-04-10T20:09:31Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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", @@ -541459,1119 +539347,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", - "examples": [ - "https://api.github.com/repos/api-playground/projects-test" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/api-playground/projects-test/projects/12" - ] - }, - "columns_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604/columns" - ] - }, - "id": { - "type": "integer", - "examples": [ - 1002604 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDc6UHJvamVjdDEwMDI2MDQ=" - ] - }, - "name": { - "description": "Name of the project", - "type": "string", - "examples": [ - "Week One Sprint" - ] - }, - "body": { - "description": "Body of the project", - "type": [ - "string", - "null" - ], - "examples": [ - "This project represents the sprint of the first week in January" - ] - }, - "number": { - "type": "integer", - "examples": [ - 1 - ] - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "type": "string", - "examples": [ - "open" - ] - }, - "creator": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2011-04-10T20:09:31Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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", - "examples": [ - "https://api.github.com/repos/api-playground/projects-test" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/api-playground/projects-test/projects/12" - ] - }, - "columns_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604/columns" - ] - }, - "id": { - "type": "integer", - "examples": [ - 1002604 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDc6UHJvamVjdDEwMDI2MDQ=" - ] - }, - "name": { - "description": "Name of the project", - "type": "string", - "examples": [ - "Week One Sprint" - ] - }, - "body": { - "description": "Body of the project", - "type": [ - "string", - "null" - ], - "examples": [ - "This project represents the sprint of the first week in January" - ] - }, - "number": { - "type": "integer", - "examples": [ - 1 - ] - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "type": "string", - "examples": [ - "open" - ] - }, - "creator": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2011-04-10T20:09:31Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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", @@ -724159,498 +720934,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", - "type": "string", - "examples": [ - "Week One Sprint" - ] - }, - "body": { - "description": "Body of the project", - "type": [ - "string", - "null" - ], - "examples": [ - "This project represents the sprint of the first week in January" - ] - } - }, - "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", - "examples": [ - "https://api.github.com/repos/api-playground/projects-test" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/api-playground/projects-test/projects/12" - ] - }, - "columns_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604/columns" - ] - }, - "id": { - "type": "integer", - "examples": [ - 1002604 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDc6UHJvamVjdDEwMDI2MDQ=" - ] - }, - "name": { - "description": "Name of the project", - "type": "string", - "examples": [ - "Week One Sprint" - ] - }, - "body": { - "description": "Body of the project", - "type": [ - "string", - "null" - ], - "examples": [ - "This project represents the sprint of the first week in January" - ] - }, - "number": { - "type": "integer", - "examples": [ - 1 - ] - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "type": "string", - "examples": [ - "open" - ] - }, - "creator": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2011-04-10T20:09:31Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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", @@ -761792,503 +758075,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", - "examples": [ - "https://api.github.com/repos/api-playground/projects-test" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/api-playground/projects-test/projects/12" - ] - }, - "columns_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604/columns" - ] - }, - "id": { - "type": "integer", - "examples": [ - 1002604 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDc6UHJvamVjdDEwMDI2MDQ=" - ] - }, - "name": { - "description": "Name of the project", - "type": "string", - "examples": [ - "Week One Sprint" - ] - }, - "body": { - "description": "Body of the project", - "type": [ - "string", - "null" - ], - "examples": [ - "This project represents the sprint of the first week in January" - ] - }, - "number": { - "type": "integer", - "examples": [ - 1 - ] - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "type": "string", - "examples": [ - "open" - ] - }, - "creator": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2011-04-10T20:09:31Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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", - "null" - ] - }, - { - "type": [ - "integer", - "null" - ] - }, - { - "type": [ - "array", - "null" - ], - "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", @@ -789752,7 +785538,7 @@ }, "/users/{username}/settings/billing/usage/summary": { "get": { - "summary": "Get billing usage summary report for a user", + "summary": "Get billing usage summary for a user", "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets a summary report of usage for a user.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" @@ -789760,7 +785546,7 @@ "operationId": "billing/get-github-billing-usage-summary-report-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-summary-report-for-a-user" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-summary-for-a-user" }, "parameters": [ { @@ -789829,7 +785615,7 @@ ], "responses": { "200": { - "description": "Response when getting a billing usage summary report", + "description": "Response when getting a billing usage summary", "content": { "application/json": { "schema": { diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.deref.yaml index 6af65f838..542ce16dd 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.deref.yaml @@ -915,7 +915,7 @@ paths: - subscriptions_url - type - url - type: &415 + type: &414 type: string description: The type of credit the user is receiving. enum: @@ -1081,7 +1081,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: - - &735 + - &733 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1810,7 +1810,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &745 + schema: &743 title: Scim Error description: Scim Error type: object @@ -9080,7 +9080,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &746 + '401': &744 description: Authorization failure '404': *6 x-github: @@ -13345,7 +13345,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &528 + instances_url: &525 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -13381,7 +13381,7 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_reason: &529 + dismissed_reason: &526 type: - string - 'null' @@ -13392,14 +13392,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &530 + dismissed_comment: &527 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &531 + rule: &528 type: object properties: id: @@ -13460,7 +13460,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &532 + tool: &529 type: object properties: name: *105 @@ -13471,15 +13471,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *106 - most_recent_instance: &533 + most_recent_instance: &530 type: object properties: - ref: &526 + ref: &523 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &543 + analysis_key: &540 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -13490,7 +13490,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &544 + category: &541 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -17288,7 +17288,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 - - &579 + - &576 name: has in: query description: |- @@ -17405,7 +17405,7 @@ paths: - direct - transitive - - security_advisory: &580 + security_advisory: &577 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -17641,7 +17641,7 @@ paths: dismissal. maxLength: 280 fixed_at: *129 - auto_dismissed_at: &581 + auto_dismissed_at: &578 type: - string - 'null' @@ -18786,7 +18786,7 @@ paths: - name - created_on examples: - default: &425 + default: &424 value: total_count: 2 network_configurations: @@ -19009,7 +19009,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise parameters: - *39 - - &426 + - &425 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -19021,7 +19021,7 @@ paths: description: Response content: application/json: - schema: &427 + schema: &426 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -19060,7 +19060,7 @@ paths: - subnet_id - region examples: - default: &428 + default: &427 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -19894,7 +19894,7 @@ paths: required: true content: application/json: - schema: &394 + schema: &393 title: Custom Property Set Payload description: Custom property set payload type: object @@ -21023,7 +21023,7 @@ paths: conditions: anyOf: - *151 - - &398 + - &397 title: Organization ruleset conditions type: object description: |- @@ -21073,7 +21073,7 @@ paths: - object rules: type: array - items: &701 + items: &699 title: Repository Rule type: object description: A repository rule. @@ -21082,7 +21082,7 @@ paths: - *160 - *161 - *162 - - &698 + - &696 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -21176,7 +21176,7 @@ paths: - *176 - *177 - *178 - - &699 + - &697 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code review. @@ -21432,7 +21432,7 @@ paths: type: string format: date-time examples: - default: &401 + default: &400 value: - version_id: 3 actor: @@ -21485,7 +21485,7 @@ paths: description: Response content: application/json: - schema: &402 + schema: &401 allOf: - *183 - type: object @@ -21540,7 +21540,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *39 - - &403 + - &402 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -21551,7 +21551,7 @@ paths: enum: - open - resolved - - &404 + - &403 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -21561,7 +21561,7 @@ paths: required: false schema: type: string - - &405 + - &404 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -21570,7 +21570,7 @@ paths: required: false schema: type: string - - &406 + - &405 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. @@ -21586,7 +21586,7 @@ paths: - *17 - *102 - *103 - - &407 + - &406 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -21595,7 +21595,7 @@ paths: required: false schema: type: string - - &408 + - &407 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -21604,7 +21604,7 @@ paths: schema: type: boolean default: false - - &409 + - &408 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -21613,7 +21613,7 @@ paths: schema: type: boolean default: false - - &410 + - &409 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -21629,7 +21629,7 @@ paths: application/json: schema: type: array - items: &411 + items: &410 type: object properties: number: *119 @@ -21645,14 +21645,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &713 + state: &711 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: &714 + resolution: &712 type: - string - 'null' @@ -21759,14 +21759,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &715 + - &713 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &717 + - &715 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -21823,7 +21823,7 @@ paths: - blob_url - commit_sha - commit_url - - &718 + - &716 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. @@ -21884,7 +21884,7 @@ paths: - page_url - commit_sha - commit_url - - &719 + - &717 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -21899,7 +21899,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &720 + - &718 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -21914,7 +21914,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &721 + - &719 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -21929,7 +21929,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &722 + - &720 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -21944,7 +21944,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &723 + - &721 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -21959,7 +21959,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &724 + - &722 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -21974,7 +21974,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &725 + - &723 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. @@ -21989,7 +21989,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &726 + - &724 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. @@ -22004,7 +22004,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &727 + - &725 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. @@ -22019,7 +22019,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &728 + - &726 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. @@ -22034,7 +22034,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &729 + - &727 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 @@ -22059,7 +22059,7 @@ paths: - type: 'null' - *4 examples: - default: &412 + default: &411 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -22268,7 +22268,7 @@ paths: description: Response content: application/json: - schema: &413 + schema: &412 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. @@ -22355,7 +22355,7 @@ paths: description: Overrides for custom patterns defined by the organization. items: *185 examples: - default: &414 + default: &413 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -22499,7 +22499,7 @@ paths: description: Response content: application/json: - schema: &416 + schema: &415 type: object properties: total_minutes_used: @@ -22569,7 +22569,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &417 + default: &416 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -22600,7 +22600,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *39 - - &418 + - &417 name: advanced_security_product in: query description: | @@ -22620,7 +22620,7 @@ paths: description: Success content: application/json: - schema: &419 + schema: &418 type: object properties: total_advanced_security_committers: @@ -22683,7 +22683,7 @@ paths: required: - repositories examples: - default: &420 + default: &419 value: total_advanced_security_committers: 2 total_count: 2 @@ -23307,7 +23307,7 @@ paths: description: Response content: application/json: - schema: &421 + schema: &420 type: object properties: total_gigabytes_bandwidth_used: @@ -23325,7 +23325,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &422 + default: &421 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -23569,7 +23569,7 @@ paths: description: Response content: application/json: - schema: &423 + schema: &422 type: object properties: days_left_in_billing_cycle: @@ -23587,7 +23587,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &424 + default: &423 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -23713,7 +23713,7 @@ paths: subcategory: billing "/enterprises/{enterprise}/settings/billing/usage/summary": get: - summary: Get billing usage summary report for an enterprise + summary: Get billing usage summary for an enterprise description: |- > [!NOTE] > This endpoint is in public preview and is subject to change. @@ -23726,7 +23726,7 @@ paths: operationId: billing/get-github-billing-usage-summary-report-ghe externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-summary-report-for-an-enterprise + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-summary-for-an-enterprise parameters: - *39 - *190 @@ -23757,7 +23757,7 @@ paths: type: string responses: '200': - description: Response when getting a billing usage summary report + description: Response when getting a billing usage summary content: application/json: schema: @@ -24942,7 +24942,7 @@ paths: milestone: anyOf: - type: 'null' - - &387 + - &386 title: Milestone description: A collection of related issues and pull requests. @@ -25223,7 +25223,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &773 + sub_issues_summary: &771 title: Sub-issues Summary type: object properties: @@ -25244,7 +25244,7 @@ paths: - string - 'null' format: uri - issue_dependencies_summary: &774 + issue_dependencies_summary: &772 title: Issue Dependencies Summary type: object properties: @@ -25263,7 +25263,7 @@ paths: - total_blocking issue_field_values: type: array - items: &775 + items: &773 title: Issue Field Value description: A value assigned to an issue field type: object @@ -25358,7 +25358,7 @@ paths: - user - created_at - updated_at - comment: &636 + comment: &634 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -25924,7 +25924,7 @@ paths: url: type: string format: uri - user: &787 + user: &785 title: Public User description: Public User type: object @@ -29282,14 +29282,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: - - &448 + - &447 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &449 + - &448 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -29351,7 +29351,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &462 + '301': &459 description: Moved permanently content: application/json: @@ -29373,7 +29373,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &665 + - &663 name: all description: If `true`, show notifications marked as read. in: query @@ -29381,7 +29381,7 @@ paths: schema: type: boolean default: false - - &666 + - &664 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -29391,7 +29391,7 @@ paths: type: boolean default: false - *208 - - &667 + - &665 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: @@ -29762,7 +29762,7 @@ paths: type: boolean examples: - false - security_and_analysis: &395 + security_and_analysis: &394 type: - object - 'null' @@ -29935,7 +29935,7 @@ paths: - url - subscription_url examples: - default: &668 + default: &666 value: - id: '1' repository: @@ -30916,7 +30916,7 @@ paths: type: array items: *145 examples: - default: &674 + default: &672 value: - property_name: environment value: production @@ -30966,7 +30966,7 @@ paths: required: - properties examples: - default: &675 + default: &673 value: properties: - property_name: environment @@ -31161,7 +31161,7 @@ paths: subcategory: enhanced-billing "/organizations/{org}/settings/billing/usage/summary": get: - summary: Get billing usage summary report for an organization + summary: Get billing usage summary for an organization description: |- > [!NOTE] > This endpoint is in public preview and is subject to change. @@ -31174,7 +31174,7 @@ paths: operationId: billing/get-github-billing-usage-summary-report-org externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-summary-report-for-an-organization + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-summary-for-an-organization parameters: - *81 - *190 @@ -31185,7 +31185,7 @@ paths: - *241 responses: '200': - description: Response when getting a billing usage summary report + description: Response when getting a billing usage summary content: application/json: schema: @@ -32163,7 +32163,7 @@ paths: type: integer repository_cache_usages: type: array - items: &467 + items: &464 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -34286,7 +34286,7 @@ paths: type: array items: *269 examples: - default: &790 + default: &788 value: total_count: 1 repositories: @@ -35330,7 +35330,7 @@ paths: description: Response content: application/json: - schema: &487 + schema: &484 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -35365,7 +35365,7 @@ paths: - key_id - key examples: - default: &488 + default: &485 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -35778,7 +35778,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *81 - - &472 + - &469 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)." @@ -36606,12 +36606,12 @@ paths: required: - subject_digests examples: - default: &817 + default: &815 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &818 + withPredicateType: &816 value: subject_digests: - sha256:abc123 @@ -36670,7 +36670,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &819 + default: &817 value: attestations_subject_digests: - sha256:abc: @@ -37019,7 +37019,7 @@ paths: initiator: type: string examples: - default: &501 + default: &498 value: attestations: - bundle: @@ -37941,7 +37941,7 @@ paths: be returned. in: query required: false - schema: &527 + schema: &524 type: string description: Severity of a code scanning alert. enum: @@ -38992,7 +38992,7 @@ paths: machine: anyOf: - type: 'null' - - &556 + - &553 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -39944,7 +39944,7 @@ paths: - updated_at - visibility examples: - default: &557 + default: &554 value: total_count: 2 secrets: @@ -39982,7 +39982,7 @@ paths: description: Response content: application/json: - schema: &558 + schema: &555 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -40017,7 +40017,7 @@ paths: - key_id - key examples: - default: &559 + default: &556 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -40049,7 +40049,7 @@ paths: application/json: schema: *311 examples: - default: &561 + default: &558 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -41778,7 +41778,7 @@ paths: description: Response content: application/json: - schema: &584 + schema: &581 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -41797,7 +41797,7 @@ paths: - key_id - key examples: - default: &585 + default: &582 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -42127,7 +42127,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *81 - - &593 + - &590 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -42135,7 +42135,7 @@ paths: required: false schema: type: string - - &594 + - &591 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -42143,7 +42143,7 @@ paths: required: false schema: type: string - - &595 + - &592 name: time_period description: |- The time period to filter by. @@ -42159,7 +42159,7 @@ paths: - week - month default: month - - &596 + - &593 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -42184,7 +42184,7 @@ paths: application/json: schema: type: array - items: &597 + items: &594 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -42347,7 +42347,7 @@ paths: examples: - https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &598 + default: &595 value: - id: 21 number: 42 @@ -42438,7 +42438,7 @@ paths: - *97 - *98 - *99 - - &599 + - &596 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -42464,7 +42464,7 @@ paths: application/json: schema: type: array - items: &600 + items: &597 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -42591,7 +42591,7 @@ paths: examples: - https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &601 + default: &598 value: - id: 21 number: 42 @@ -42937,7 +42937,7 @@ paths: description: Response content: application/json: - schema: &443 + schema: &442 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -43027,7 +43027,7 @@ paths: member_name: Octo Lisa member_email: octo_lisa@github.com examples: - default: &444 + default: &443 value: group_id: '123' group_name: Octocat admins @@ -43082,7 +43082,7 @@ paths: description: Response content: application/json: - schema: &441 + schema: &440 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -43122,7 +43122,7 @@ paths: group_name: group-azuread-test2 updated_at: 2021-06-03 22:27:15:000 -700 examples: - default: &442 + default: &441 value: groups: - group_id: '123' @@ -43287,7 +43287,7 @@ paths: application/json: schema: type: array - items: &396 + items: &395 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -43301,7 +43301,7 @@ paths: - name - description examples: - default: &397 + default: &396 value: - name: add_assignee description: Assign or remove a user @@ -44451,7 +44451,7 @@ paths: application/json: schema: *20 examples: - default: &632 + default: &629 value: id: 1 account: @@ -44679,7 +44679,7 @@ paths: required: true content: application/json: - schema: &633 + schema: &630 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -45547,7 +45547,7 @@ paths: application/json: schema: *356 examples: - default: &555 + default: &552 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -46805,7 +46805,7 @@ paths: parameters: - *81 - *362 - - &802 + - &800 name: repo_name description: repo_name parameter in: path @@ -48151,7 +48151,7 @@ paths: - nuget - container - *81 - - &803 + - &801 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -48192,7 +48192,7 @@ paths: default: *367 '403': *27 '401': *23 - '400': &805 + '400': &803 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -49915,275 +49915,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: - - *81 - - 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: &382 - title: Project - description: Projects are a way to organize columns and cards of - work. - type: object - properties: - owner_url: - type: string - format: uri - examples: - - https://api.github.com/repos/api-playground/projects-test - url: - type: string - format: uri - examples: - - https://api.github.com/projects/1002604 - html_url: - type: string - format: uri - examples: - - https://github.com/api-playground/projects-test/projects/12 - columns_url: - type: string - format: uri - examples: - - https://api.github.com/projects/1002604/columns - id: - type: integer - examples: - - 1002604 - node_id: - type: string - examples: - - MDc6UHJvamVjdDEwMDI2MDQ= - name: - description: Name of the project - type: string - examples: - - Week One Sprint - body: - description: Body of the project - type: - - string - - 'null' - examples: - - This project represents the sprint of the first week in January - number: - type: integer - examples: - - 1 - state: - description: State of the project; either 'open' or 'closed' - type: string - examples: - - open - creator: - anyOf: - - type: 'null' - - *4 - created_at: - type: string - format: date-time - examples: - - '2011-04-10T20:09:31Z' - updated_at: - type: string - format: date-time - examples: - - '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: *41 - '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: - - *81 - 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: *382 - 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': *23 - '403': *27 - '404': *6 - '410': &459 - 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 @@ -50213,7 +49944,7 @@ paths: application/json: schema: type: array - items: &383 + items: &382 title: Projects v2 Project description: A projects v2 project type: object @@ -50287,7 +50018,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &880 + - &878 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -50372,7 +50103,7 @@ paths: - deleted_at - deleted_by examples: - default: &384 + default: &383 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -50475,7 +50206,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-organization parameters: - - &385 + - &384 name: project_number description: The project's number. in: path @@ -50488,9 +50219,9 @@ paths: description: Response content: application/json: - schema: *383 + schema: *382 examples: - default: *384 + default: *383 headers: Link: *41 '304': *35 @@ -50512,7 +50243,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-organization parameters: - - *385 + - *384 - *81 - *17 - *102 @@ -50524,7 +50255,7 @@ paths: application/json: schema: type: array - items: &386 + items: &385 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -50674,7 +50405,7 @@ paths: - updated_at - project_url examples: - default: &822 + default: &820 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -50777,8 +50508,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-organization parameters: - - *385 - - &823 + - *384 + - &821 name: field_id description: The unique identifier of the field. in: path @@ -50791,9 +50522,9 @@ paths: description: Response content: application/json: - schema: *386 + schema: *385 examples: - default: &824 + default: &822 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -50837,7 +50568,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: - - *385 + - *384 - *81 - 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) @@ -50870,7 +50601,7 @@ paths: application/json: schema: type: array - items: &391 + items: &390 title: Projects v2 Item description: An item belonging to a project type: object @@ -50887,7 +50618,7 @@ paths: description: The API URL of the project that contains this item. examples: - https://api.github.com/users/monalisa/2/projectsV2/3 - content_type: &389 + content_type: &388 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -50944,7 +50675,7 @@ paths: - updated_at - archived_at examples: - default: &392 + default: &391 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -51639,7 +51370,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-organization-owned-project parameters: - *81 - - *385 + - *384 requestBody: required: true description: Details of the item to add to the project. @@ -51676,7 +51407,7 @@ paths: description: Response content: application/json: - schema: &825 + schema: &823 title: Projects v2 Item description: An item belonging to a project type: object @@ -51690,7 +51421,7 @@ paths: content: oneOf: - *218 - - &568 + - &565 title: Pull Request Simple description: Pull Request Simple type: object @@ -51810,7 +51541,7 @@ paths: milestone: anyOf: - type: 'null' - - *387 + - *386 active_lock_reason: type: - string @@ -51909,7 +51640,7 @@ paths: _links: type: object properties: - comments: &388 + comments: &387 title: Link description: Hypermedia Link type: object @@ -51918,13 +51649,13 @@ paths: type: string required: - href - commits: *388 - statuses: *388 - html: *388 - issue: *388 - review_comments: *388 - review_comment: *388 - self: *388 + commits: *387 + statuses: *387 + html: *387 + issue: *387 + review_comments: *387 + review_comment: *387 + self: *387 required: - comments - commits @@ -51935,7 +51666,7 @@ paths: - review_comment - self author_association: *205 - auto_merge: &677 + auto_merge: &675 title: Auto merge description: The status of auto merging a pull request. type: @@ -52037,7 +51768,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *389 + content_type: *388 creator: *4 created_at: type: string @@ -52074,7 +51805,7 @@ paths: - updated_at - archived_at examples: - issue: &390 + issue: &389 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -52129,7 +51860,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: *390 + pull_request: *389 '304': *35 '403': *27 '401': *23 @@ -52149,9 +51880,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: - - *385 + - *384 - *81 - - &393 + - &392 name: item_id description: The unique identifier of the project item. in: path @@ -52177,9 +51908,9 @@ paths: description: Response content: application/json: - schema: *391 + schema: *390 examples: - default: *392 + default: *391 headers: Link: *41 '304': *35 @@ -52200,9 +51931,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-organization parameters: - - *385 + - *384 - *81 - - *393 + - *392 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -52275,13 +52006,13 @@ paths: description: Response content: application/json: - schema: *391 + schema: *390 examples: - text_field: *392 - number_field: *392 - date_field: *392 - single_select_field: *392 - iteration_field: *392 + text_field: *391 + number_field: *391 + date_field: *391 + single_select_field: *391 + iteration_field: *391 '401': *23 '403': *27 '404': *6 @@ -52301,9 +52032,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-organization parameters: - - *385 + - *384 - *81 - - *393 + - *392 responses: '204': description: Response @@ -52466,7 +52197,7 @@ paths: required: true content: application/json: - schema: *394 + schema: *393 examples: default: value: @@ -53038,7 +52769,7 @@ paths: description: Response content: application/json: - schema: &461 + schema: &458 title: Full Repository description: Full Repository type: object @@ -53503,7 +53234,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &573 + code_of_conduct: &570 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -53533,7 +53264,7 @@ paths: - key - name - html_url - security_and_analysis: *395 + security_and_analysis: *394 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -53617,7 +53348,7 @@ paths: - network_count - subscribers_count examples: - default: &463 + default: &460 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -54143,9 +53874,9 @@ paths: application/json: schema: type: array - items: *396 + items: *395 examples: - default: *397 + default: *396 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -54170,7 +53901,7 @@ paths: - *81 - *17 - *19 - - &700 + - &698 name: targets description: | A comma-separated list of rule targets to filter by. @@ -54262,11 +53993,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *158 - conditions: *398 + conditions: *397 rules: type: array description: An array of rules within the ruleset. - items: &400 + items: &399 title: Repository Rule type: object description: A repository rule. @@ -54330,7 +54061,7 @@ paths: application/json: schema: *179 examples: - default: &399 + default: &398 value: id: 21 name: super cool ruleset @@ -54385,7 +54116,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *81 - - &702 + - &700 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 @@ -54397,14 +54128,14 @@ paths: x-multi-segment: true - *293 - *99 - - &703 + - &701 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 - - &704 + - &702 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -54424,7 +54155,7 @@ paths: description: Response content: application/json: - schema: &705 + schema: &703 title: Rule Suites description: Response type: array @@ -54480,7 +54211,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &706 + default: &704 value: - id: 21 actor_id: 12 @@ -54524,7 +54255,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *81 - - &707 + - &705 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -54540,7 +54271,7 @@ paths: description: Response content: application/json: - schema: &708 + schema: &706 title: Rule Suite description: Response type: object @@ -54647,7 +54378,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &709 + default: &707 value: id: 21 actor_id: 12 @@ -54722,7 +54453,7 @@ paths: application/json: schema: *179 examples: - default: *399 + default: *398 '404': *6 '500': *38 put: @@ -54771,11 +54502,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *158 - conditions: *398 + conditions: *397 rules: description: An array of rules within the ruleset. type: array - items: *400 + items: *399 examples: default: value: @@ -54812,7 +54543,7 @@ paths: application/json: schema: *179 examples: - default: *399 + default: *398 '404': *6 '500': *38 delete: @@ -54871,7 +54602,7 @@ paths: type: array items: *183 examples: - default: *401 + default: *400 '404': *6 '500': *38 x-github: @@ -54908,7 +54639,7 @@ paths: description: Response content: application/json: - schema: *402 + schema: *401 examples: default: value: @@ -54971,14 +54702,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *81 + - *402 - *403 - *404 - *405 - - *406 - *104 - *19 - *17 - - &711 + - &709 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 @@ -54988,7 +54719,7 @@ paths: required: false schema: type: string - - &712 + - &710 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 @@ -54998,10 +54729,10 @@ paths: required: false schema: type: string + - *406 - *407 - *408 - *409 - - *410 responses: '200': description: Response @@ -55009,9 +54740,9 @@ paths: application/json: schema: type: array - items: *411 + items: *410 examples: - default: *412 + default: *411 headers: Link: *41 '404': *6 @@ -55046,9 +54777,9 @@ paths: description: Response content: application/json: - schema: *413 + schema: *412 examples: - default: *414 + default: *413 '403': *27 '404': *6 patch: @@ -55201,7 +54932,7 @@ paths: application/json: schema: type: array - items: &733 + items: &731 description: A repository security advisory. type: object properties: @@ -55445,7 +55176,7 @@ paths: login: type: string description: The username of the user credited. - type: *415 + type: *414 credits_detailed: type: - array @@ -55456,7 +55187,7 @@ paths: type: object properties: user: *4 - type: *415 + type: *414 state: type: string description: The state of the user's acceptance of the @@ -55520,7 +55251,7 @@ paths: - private_fork additionalProperties: false examples: - default: &734 + default: &732 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -55994,9 +55725,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *415 examples: - default: *417 + default: *416 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -56021,7 +55752,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *81 - - *418 + - *417 - *17 - *19 responses: @@ -56029,9 +55760,9 @@ paths: description: Success content: application/json: - schema: *419 + schema: *418 examples: - default: *420 + default: *419 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -56059,9 +55790,9 @@ paths: description: Response content: application/json: - schema: *421 + schema: *420 examples: - default: *422 + default: *421 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -56089,9 +55820,9 @@ paths: description: Response content: application/json: - schema: *423 + schema: *422 examples: - default: *424 + default: *423 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -56374,7 +56105,7 @@ paths: type: array items: *137 examples: - default: *425 + default: *424 headers: Link: *41 x-github: @@ -56575,15 +56306,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: - *81 - - *426 + - *425 responses: '200': description: Response content: application/json: - schema: *427 + schema: *426 examples: - default: *428 + default: *427 headers: Link: *41 x-github: @@ -56621,7 +56352,7 @@ paths: description: Response content: application/json: - schema: &450 + schema: &449 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -56673,7 +56404,7 @@ paths: group_description: Another group of Developers working on AzureAD SAML SSO examples: - default: &451 + default: &450 value: groups: - group_id: '123' @@ -56881,7 +56612,7 @@ paths: description: Response content: application/json: - schema: &429 + schema: &428 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -57280,7 +57011,7 @@ paths: - repos_count - organization examples: - default: &430 + default: &429 value: id: 1 node_id: MDQ6VGVhbTE= @@ -57357,9 +57088,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *428 examples: - default: *430 + default: *429 '404': *6 x-github: githubCloudOnly: false @@ -57444,16 +57175,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *429 + schema: *428 examples: - default: *430 + default: *429 '201': description: Response content: application/json: - schema: *429 + schema: *428 examples: - default: *430 + default: *429 '404': *6 '422': *15 '403': *27 @@ -57523,7 +57254,7 @@ paths: application/json: schema: type: array - items: &431 + items: &430 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -57634,7 +57365,7 @@ paths: - updated_at - url examples: - default: &777 + default: &775 value: - author: login: octocat @@ -57743,9 +57474,9 @@ paths: description: Response content: application/json: - schema: *431 + schema: *430 examples: - default: &432 + default: &431 value: author: login: octocat @@ -57819,7 +57550,7 @@ paths: parameters: - *81 - *203 - - &433 + - &432 name: discussion_number description: The number that identifies the discussion. in: path @@ -57831,9 +57562,9 @@ paths: description: Response content: application/json: - schema: *431 + schema: *430 examples: - default: *432 + default: *431 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57857,7 +57588,7 @@ paths: parameters: - *81 - *203 - - *433 + - *432 requestBody: required: false content: @@ -57880,9 +57611,9 @@ paths: description: Response content: application/json: - schema: *431 + schema: *430 examples: - default: &778 + default: &776 value: author: login: octocat @@ -57954,7 +57685,7 @@ paths: parameters: - *81 - *203 - - *433 + - *432 responses: '204': description: Response @@ -57982,7 +57713,7 @@ paths: parameters: - *81 - *203 - - *433 + - *432 - *104 - *17 - *19 @@ -57993,7 +57724,7 @@ paths: application/json: schema: type: array - items: &434 + items: &433 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -58073,7 +57804,7 @@ paths: - updated_at - url examples: - default: &779 + default: &777 value: - author: login: octocat @@ -58143,7 +57874,7 @@ paths: parameters: - *81 - *203 - - *433 + - *432 requestBody: required: true content: @@ -58165,9 +57896,9 @@ paths: description: Response content: application/json: - schema: *434 + schema: *433 examples: - default: &435 + default: &434 value: author: login: octocat @@ -58235,8 +57966,8 @@ paths: parameters: - *81 - *203 - - *433 - - &436 + - *432 + - &435 name: comment_number description: The number that identifies the comment. in: path @@ -58248,9 +57979,9 @@ paths: description: Response content: application/json: - schema: *434 + schema: *433 examples: - default: *435 + default: *434 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58274,8 +58005,8 @@ paths: parameters: - *81 - *203 - - *433 - - *436 + - *432 + - *435 requestBody: required: true content: @@ -58297,9 +58028,9 @@ paths: description: Response content: application/json: - schema: *434 + schema: *433 examples: - default: &780 + default: &778 value: author: login: octocat @@ -58365,8 +58096,8 @@ paths: parameters: - *81 - *203 - - *433 - - *436 + - *432 + - *435 responses: '204': description: Response @@ -58394,8 +58125,8 @@ paths: parameters: - *81 - *203 - - *433 - - *436 + - *432 + - *435 - 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. @@ -58421,7 +58152,7 @@ paths: application/json: schema: type: array - items: &437 + items: &436 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -58465,7 +58196,7 @@ paths: - content - created_at examples: - default: &439 + default: &438 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -58517,8 +58248,8 @@ paths: parameters: - *81 - *203 - - *433 - - *436 + - *432 + - *435 requestBody: required: true content: @@ -58551,9 +58282,9 @@ paths: team discussion comment content: application/json: - schema: *437 + schema: *436 examples: - default: &438 + default: &437 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -58582,9 +58313,9 @@ paths: description: Response content: application/json: - schema: *437 + schema: *436 examples: - default: *438 + default: *437 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58609,9 +58340,9 @@ paths: parameters: - *81 - *203 - - *433 - - *436 - - &440 + - *432 + - *435 + - &439 name: reaction_id description: The unique identifier of the reaction. in: path @@ -58645,7 +58376,7 @@ paths: parameters: - *81 - *203 - - *433 + - *432 - 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. @@ -58671,9 +58402,9 @@ paths: application/json: schema: type: array - items: *437 + items: *436 examples: - default: *439 + default: *438 headers: Link: *41 x-github: @@ -58701,7 +58432,7 @@ paths: parameters: - *81 - *203 - - *433 + - *432 requestBody: required: true content: @@ -58733,16 +58464,16 @@ paths: description: Response content: application/json: - schema: *437 + schema: *436 examples: - default: *438 + default: *437 '201': description: Response content: application/json: - schema: *437 + schema: *436 examples: - default: *438 + default: *437 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -58767,8 +58498,8 @@ paths: parameters: - *81 - *203 - - *433 - - *440 + - *432 + - *439 responses: '204': description: Response @@ -58798,9 +58529,9 @@ paths: description: Response content: application/json: - schema: *441 + schema: *440 examples: - default: *442 + default: *441 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -58844,9 +58575,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *442 examples: - default: *444 + default: *443 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -58987,7 +58718,7 @@ paths: description: Response content: application/json: - schema: &445 + schema: &444 title: Team Membership description: Team Membership type: object @@ -59015,7 +58746,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &781 + response-if-user-is-a-team-maintainer: &779 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -59078,9 +58809,9 @@ paths: description: Response content: application/json: - schema: *445 + schema: *444 examples: - response-if-users-membership-with-team-is-now-pending: &782 + response-if-users-membership-with-team-is-now-pending: &780 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -59153,7 +58884,7 @@ paths: application/json: schema: type: array - items: &446 + items: &445 title: Team Project description: A team's access to a project. type: object @@ -59222,7 +58953,7 @@ paths: - updated_at - permissions examples: - default: &783 + default: &781 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -59287,7 +59018,7 @@ paths: parameters: - *81 - *203 - - &447 + - &446 name: project_id description: The unique identifier of the project. in: path @@ -59299,9 +59030,9 @@ paths: description: Response content: application/json: - schema: *446 + schema: *445 examples: - default: &784 + default: &782 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -59365,7 +59096,7 @@ paths: parameters: - *81 - *203 - - *447 + - *446 requestBody: required: false content: @@ -59434,7 +59165,7 @@ paths: parameters: - *81 - *203 - - *447 + - *446 responses: '204': description: Response @@ -59505,14 +59236,14 @@ paths: parameters: - *81 - *203 + - *447 - *448 - - *449 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &785 + schema: &783 title: Team Repository description: A team's access to a repository. type: object @@ -60155,8 +59886,8 @@ paths: parameters: - *81 - *203 + - *447 - *448 - - *449 requestBody: required: false content: @@ -60203,8 +59934,8 @@ paths: parameters: - *81 - *203 + - *447 - *448 - - *449 responses: '204': description: Response @@ -60237,9 +59968,9 @@ paths: description: Response content: application/json: - schema: *450 + schema: *449 examples: - default: *451 + default: *450 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -60305,7 +60036,7 @@ paths: description: Response content: application/json: - schema: *450 + schema: *449 examples: default: value: @@ -60350,7 +60081,7 @@ paths: type: array items: *296 examples: - response-if-child-teams-exist: &786 + response-if-child-teams-exist: &784 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -60477,7 +60208,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#get-a-project-card parameters: - - &452 + - &451 name: card_id description: The unique identifier of the card. in: path @@ -60489,7 +60220,7 @@ paths: description: Response content: application/json: - schema: &453 + schema: &452 title: Project Card description: Project cards represent a scope of work. type: object @@ -60564,7 +60295,7 @@ paths: - created_at - updated_at examples: - default: &454 + default: &453 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -60620,7 +60351,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#update-an-existing-project-card parameters: - - *452 + - *451 requestBody: required: false content: @@ -60650,9 +60381,9 @@ paths: description: Response content: application/json: - schema: *453 + schema: *452 examples: - default: *454 + default: *453 '304': *35 '403': *27 '401': *23 @@ -60679,7 +60410,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#delete-a-project-card parameters: - - *452 + - *451 responses: '204': description: Response @@ -60723,7 +60454,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#move-a-project-card parameters: - - *452 + - *451 requestBody: required: true content: @@ -60836,7 +60567,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#get-a-project-column parameters: - - &455 + - &454 name: column_id description: The unique identifier of the column. in: path @@ -60848,7 +60579,7 @@ paths: description: Response content: application/json: - schema: &456 + schema: &455 title: Project Column description: Project columns contain cards of work. type: object @@ -60902,7 +60633,7 @@ paths: - created_at - updated_at examples: - default: &457 + default: &456 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -60937,7 +60668,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#update-an-existing-project-column parameters: - - *455 + - *454 requestBody: required: true content: @@ -60962,9 +60693,9 @@ paths: description: Response content: application/json: - schema: *456 + schema: *455 examples: - default: *457 + default: *456 '304': *35 '403': *27 '401': *23 @@ -60989,7 +60720,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#delete-a-project-column parameters: - - *455 + - *454 responses: '204': description: Response @@ -61018,7 +60749,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#list-project-cards parameters: - - *455 + - *454 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -61039,7 +60770,7 @@ paths: application/json: schema: type: array - items: *453 + items: *452 examples: default: value: @@ -61098,7 +60829,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#create-a-project-card parameters: - - *455 + - *454 requestBody: required: true content: @@ -61142,9 +60873,9 @@ paths: description: Response content: application/json: - schema: *453 + schema: *452 examples: - default: *454 + default: *453 '304': *35 '403': *27 '401': *23 @@ -61200,7 +60931,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#move-a-project-column parameters: - - *455 + - *454 requestBody: required: true content: @@ -61247,211 +60978,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: - - *447 - responses: - '200': - description: Response - content: - application/json: - schema: *382 - examples: - default: &458 - 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': *35 - '403': *27 - '401': *23 - 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: - - *447 - requestBody: - required: false - content: - application/json: - schema: - properties: - name: - description: Name of the project - type: string - examples: - - Week One Sprint - body: - description: Body of the project - type: - - string - - 'null' - examples: - - This project represents the sprint of the first week in January - state: - description: State of the project; either 'open' or 'closed' - type: string - examples: - - open - 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: *382 - examples: - default: *458 - '404': - description: Not Found if the authenticated user does not have access to - the project - '304': *35 - '403': - description: Forbidden - content: - application/json: - schema: - type: object - properties: - message: - type: string - documentation_url: - type: string - errors: - type: array - items: - type: string - '401': *23 - '410': *459 - '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: - - *447 - responses: - '204': - description: Delete Success - '304': *35 - '403': - description: Forbidden - content: - application/json: - schema: - type: object - properties: - message: - type: string - documentation_url: - type: string - errors: - type: array - items: - type: string - '401': *23 - '410': *459 - '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 @@ -61466,7 +60992,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#list-project-collaborators parameters: - - *447 + - *446 - 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 @@ -61523,7 +61049,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#add-project-collaborator parameters: - - *447 + - *446 - *132 requestBody: required: false @@ -61578,7 +61104,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *447 + - *446 - *132 responses: '204': @@ -61610,7 +61136,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: - - *447 + - *446 - *132 responses: '200': @@ -61708,7 +61234,7 @@ paths: resources: type: object properties: - core: &460 + core: &457 title: Rate Limit type: object properties: @@ -61725,21 +61251,21 @@ paths: - remaining - reset - used - graphql: *460 - search: *460 - code_search: *460 - source_import: *460 - integration_manifest: *460 - code_scanning_upload: *460 - actions_runner_registration: *460 - scim: *460 - dependency_snapshots: *460 - dependency_sbom: *460 - code_scanning_autofix: *460 + graphql: *457 + search: *457 + code_search: *457 + source_import: *457 + integration_manifest: *457 + code_scanning_upload: *457 + actions_runner_registration: *457 + scim: *457 + dependency_snapshots: *457 + dependency_sbom: *457 + code_scanning_autofix: *457 required: - core - search - rate: *460 + rate: *457 required: - rate - resources @@ -61844,14 +61370,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: + - *447 - *448 - - *449 responses: '200': description: Response content: application/json: - schema: *461 + schema: *458 examples: default-response: summary: Default response @@ -62356,7 +61882,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *462 + '301': *459 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62374,8 +61900,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: + - *447 - *448 - - *449 requestBody: required: false content: @@ -62633,10 +62159,10 @@ paths: description: Response content: application/json: - schema: *461 + schema: *458 examples: - default: *463 - '307': &464 + default: *460 + '307': &461 description: Temporary Redirect content: application/json: @@ -62665,8 +62191,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: + - *447 - *448 - - *449 responses: '204': description: Response @@ -62688,7 +62214,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': *464 + '307': *461 '404': *6 '409': *112 x-github: @@ -62712,11 +62238,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: + - *447 - *448 - - *449 - *17 - *19 - - &479 + - &476 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -62739,7 +62265,7 @@ paths: type: integer artifacts: type: array - items: &465 + items: &462 title: Artifact description: An artifact type: object @@ -62834,7 +62360,7 @@ paths: - expires_at - updated_at examples: - default: &480 + default: &477 value: total_count: 2 artifacts: @@ -62895,9 +62421,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: + - *447 - *448 - - *449 - - &466 + - &463 name: artifact_id description: The unique identifier of the artifact. in: path @@ -62909,7 +62435,7 @@ paths: description: Response content: application/json: - schema: *465 + schema: *462 examples: default: value: @@ -62947,9 +62473,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: + - *447 - *448 - - *449 - - *466 + - *463 responses: '204': description: Response @@ -62973,9 +62499,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: + - *447 - *448 - - *449 - - *466 + - *463 - name: archive_format in: path required: true @@ -62989,7 +62515,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': *459 + '410': &633 + description: Gone + content: + application/json: + schema: *3 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63012,14 +62542,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: + - *447 - *448 - - *449 responses: '200': description: Response content: application/json: - schema: *467 + schema: *464 examples: default: value: @@ -63045,11 +62575,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: + - *447 - *448 - - *449 - *17 - *19 - - &468 + - &465 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 @@ -63083,7 +62613,7 @@ paths: description: Response content: application/json: - schema: &469 + schema: &466 title: Repository actions caches description: Repository actions caches type: object @@ -63133,7 +62663,7 @@ paths: - total_count - actions_caches examples: - default: &470 + default: &467 value: total_count: 1 actions_caches: @@ -63165,23 +62695,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: + - *447 - *448 - - *449 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *468 + - *465 responses: '200': description: Response content: application/json: - schema: *469 + schema: *466 examples: - default: *470 + default: *467 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63201,8 +62731,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: + - *447 - *448 - - *449 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -63233,9 +62763,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: + - *447 - *448 - - *449 - - &471 + - &468 name: job_id description: The unique identifier of the job. in: path @@ -63247,7 +62777,7 @@ paths: description: Response content: application/json: - schema: &483 + schema: &480 title: Job description: Information of a job execution in a workflow run type: object @@ -63594,9 +63124,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: + - *447 - *448 - - *449 - - *471 + - *468 responses: '302': description: Response @@ -63624,9 +63154,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: + - *447 - *448 - - *449 - - *471 + - *468 requestBody: required: false content: @@ -63672,8 +63202,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: + - *447 - *448 - - *449 responses: '200': description: Status response @@ -63723,8 +63253,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: + - *447 - *448 - - *449 requestBody: required: true content: @@ -63787,8 +63317,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: + - *447 - *448 - - *449 - *17 - *19 responses: @@ -63806,7 +63336,7 @@ paths: type: integer secrets: type: array - items: &485 + items: &482 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -63827,7 +63357,7 @@ paths: - created_at - updated_at examples: - default: &486 + default: &483 value: total_count: 2 secrets: @@ -63860,9 +63390,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: + - *447 - *448 - - *449 - - *472 + - *469 - *19 responses: '200': @@ -63879,7 +63409,7 @@ paths: type: integer variables: type: array - items: &489 + items: &486 title: Actions Variable type: object properties: @@ -63913,7 +63443,7 @@ paths: - created_at - updated_at examples: - default: &490 + default: &487 value: total_count: 2 variables: @@ -63946,8 +63476,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: + - *447 - *448 - - *449 responses: '200': description: Response @@ -63956,7 +63486,7 @@ paths: schema: type: object properties: - enabled: &473 + enabled: &470 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *54 @@ -63991,8 +63521,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: + - *447 - *448 - - *449 responses: '204': description: Response @@ -64003,7 +63533,7 @@ paths: schema: type: object properties: - enabled: *473 + enabled: *470 allowed_actions: *54 sha_pinning_required: *55 required: @@ -64036,14 +63566,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: + - *447 - *448 - - *449 responses: '200': description: Response content: application/json: - schema: &474 + schema: &471 type: object properties: access_level: @@ -64061,7 +63591,7 @@ paths: required: - access_level examples: - default: &475 + default: &472 value: access_level: organization x-github: @@ -64086,15 +63616,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: + - *447 - *448 - - *449 requestBody: required: true content: application/json: - schema: *474 + schema: *471 examples: - default: *475 + default: *472 responses: '204': description: Response @@ -64118,8 +63648,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: + - *447 - *448 - - *449 responses: '200': description: Response @@ -64149,8 +63679,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: + - *447 - *448 - - *449 responses: '204': description: Empty response for successful settings update @@ -64184,8 +63714,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: + - *447 - *448 - - *449 responses: '200': description: Response @@ -64212,8 +63742,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: + - *447 - *448 - - *449 responses: '204': description: Response @@ -64247,8 +63777,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: + - *447 - *448 - - *449 responses: '200': description: Response @@ -64276,8 +63806,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: + - *447 - *448 - - *449 requestBody: required: true content: @@ -64308,8 +63838,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: + - *447 - *448 - - *449 responses: '200': description: Response @@ -64340,8 +63870,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: + - *447 - *448 - - *449 responses: '204': description: Response @@ -64373,8 +63903,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: + - *447 - *448 - - *449 responses: '200': description: Response @@ -64403,8 +63933,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: + - *447 - *448 - - *449 responses: '204': description: Success response @@ -64444,8 +63974,8 @@ paths: in: query schema: type: string + - *447 - *448 - - *449 - *17 - *19 responses: @@ -64489,8 +64019,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: + - *447 - *448 - - *449 responses: '200': description: Response @@ -64522,8 +64052,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: + - *447 - *448 - - *449 requestBody: required: true content: @@ -64597,8 +64127,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: + - *447 - *448 - - *449 responses: '201': description: Response @@ -64634,8 +64164,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: + - *447 - *448 - - *449 responses: '201': description: Response @@ -64665,8 +64195,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: + - *447 - *448 - - *449 - *69 responses: '200': @@ -64696,8 +64226,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: + - *447 - *448 - - *449 - *69 responses: '204': @@ -64724,8 +64254,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: + - *447 - *448 - - *449 - *69 responses: '200': *75 @@ -64750,8 +64280,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: + - *447 - *448 - - *449 - *69 requestBody: required: true @@ -64800,8 +64330,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: + - *447 - *448 - - *449 - *69 requestBody: required: true @@ -64851,8 +64381,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: + - *447 - *448 - - *449 - *69 responses: '200': *276 @@ -64882,8 +64412,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: + - *447 - *448 - - *449 - *69 - *277 responses: @@ -64913,9 +64443,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: + - *447 - *448 - - *449 - - &493 + - &490 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. @@ -64923,7 +64453,7 @@ paths: required: false schema: type: string - - &494 + - &491 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -64931,7 +64461,7 @@ paths: required: false schema: type: string - - &495 + - &492 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -64940,7 +64470,7 @@ paths: required: false schema: type: string - - &496 + - &493 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 @@ -64967,7 +64497,7 @@ paths: - pending - *17 - *19 - - &497 + - &494 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)." @@ -64976,7 +64506,7 @@ paths: schema: type: string format: date-time - - &476 + - &473 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -64985,13 +64515,13 @@ paths: schema: type: boolean default: false - - &498 + - &495 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &499 + - &496 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -65014,7 +64544,7 @@ paths: type: integer workflow_runs: type: array - items: &477 + items: &474 title: Workflow Run description: An invocation of a workflow type: object @@ -65131,7 +64661,7 @@ paths: type: - array - 'null' - items: &518 + items: &515 title: Pull Request Minimal type: object properties: @@ -65258,7 +64788,7 @@ paths: head_commit: anyOf: - type: 'null' - - &522 + - &519 title: Simple Commit description: A commit. type: object @@ -65373,7 +64903,7 @@ paths: - workflow_url - pull_requests examples: - default: &500 + default: &497 value: total_count: 1 workflow_runs: @@ -65609,24 +65139,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: + - *447 - *448 - - *449 - - &478 + - &475 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *476 + - *473 responses: '200': description: Response content: application/json: - schema: *477 + schema: *474 examples: - default: &481 + default: &478 value: id: 30433642 name: Build @@ -65867,9 +65397,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: + - *447 - *448 - - *449 - - *478 + - *475 responses: '204': description: Response @@ -65892,9 +65422,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: + - *447 - *448 - - *449 - - *478 + - *475 responses: '200': description: Response @@ -66022,9 +65552,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: + - *447 - *448 - - *449 - - *478 + - *475 responses: '201': description: Response @@ -66057,12 +65587,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: + - *447 - *448 - - *449 - - *478 + - *475 - *17 - *19 - - *479 + - *476 responses: '200': description: Response @@ -66078,9 +65608,9 @@ paths: type: integer artifacts: type: array - items: *465 + items: *462 examples: - default: *480 + default: *477 headers: Link: *41 x-github: @@ -66104,25 +65634,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: + - *447 - *448 - - *449 - - *478 - - &482 + - *475 + - &479 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *476 + - *473 responses: '200': description: Response content: application/json: - schema: *477 + schema: *474 examples: - default: *481 + default: *478 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66145,10 +65675,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: + - *447 - *448 - - *449 - - *478 - - *482 + - *475 + - *479 - *17 - *19 responses: @@ -66166,9 +65696,9 @@ paths: type: integer jobs: type: array - items: *483 + items: *480 examples: - default: &484 + default: &481 value: total_count: 1 jobs: @@ -66281,10 +65811,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: + - *447 - *448 - - *449 - - *478 - - *482 + - *475 + - *479 responses: '302': description: Response @@ -66312,9 +65842,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: + - *447 - *448 - - *449 - - *478 + - *475 responses: '202': description: Response @@ -66347,9 +65877,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: + - *447 - *448 - - *449 - - *478 + - *475 requestBody: required: true content: @@ -66416,9 +65946,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: + - *447 - *448 - - *449 - - *478 + - *475 responses: '202': description: Response @@ -66451,9 +65981,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: + - *447 - *448 - - *449 - - *478 + - *475 - 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 @@ -66483,9 +66013,9 @@ paths: type: integer jobs: type: array - items: *483 + items: *480 examples: - default: *484 + default: *481 headers: Link: *41 x-github: @@ -66510,9 +66040,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: + - *447 - *448 - - *449 - - *478 + - *475 responses: '302': description: Response @@ -66539,9 +66069,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: + - *447 - *448 - - *449 - - *478 + - *475 responses: '204': description: Response @@ -66568,9 +66098,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: + - *447 - *448 - - *449 - - *478 + - *475 responses: '200': description: Response @@ -66639,7 +66169,7 @@ paths: items: type: object properties: - type: &602 + type: &599 type: string description: The type of reviewer. enum: @@ -66725,9 +66255,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: + - *447 - *448 - - *449 - - *478 + - *475 requestBody: required: true content: @@ -66777,7 +66307,7 @@ paths: application/json: schema: type: array - items: &588 + items: &585 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -66889,7 +66419,7 @@ paths: - created_at - updated_at examples: - default: &589 + default: &586 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -66945,9 +66475,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: + - *447 - *448 - - *449 - - *478 + - *475 requestBody: required: false content: @@ -66992,9 +66522,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: + - *447 - *448 - - *449 - - *478 + - *475 requestBody: required: false content: @@ -67049,9 +66579,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: + - *447 - *448 - - *449 - - *478 + - *475 responses: '200': description: Response @@ -67188,8 +66718,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: + - *447 - *448 - - *449 - *17 - *19 responses: @@ -67207,9 +66737,9 @@ paths: type: integer secrets: type: array - items: *485 + items: *482 examples: - default: *486 + default: *483 headers: Link: *41 x-github: @@ -67234,16 +66764,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: + - *447 - *448 - - *449 responses: '200': description: Response content: application/json: - schema: *487 + schema: *484 examples: - default: *488 + default: *485 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67265,17 +66795,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: + - *447 - *448 - - *449 - *279 responses: '200': description: Response content: application/json: - schema: *485 + schema: *482 examples: - default: &615 + default: &612 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -67301,8 +66831,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: + - *447 - *448 - - *449 - *279 requestBody: required: true @@ -67360,8 +66890,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: + - *447 - *448 - - *449 - *279 responses: '204': @@ -67387,9 +66917,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: + - *447 - *448 - - *449 - - *472 + - *469 - *19 responses: '200': @@ -67406,9 +66936,9 @@ paths: type: integer variables: type: array - items: *489 + items: *486 examples: - default: *490 + default: *487 headers: Link: *41 x-github: @@ -67431,8 +66961,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: + - *447 - *448 - - *449 requestBody: required: true content: @@ -67484,17 +67014,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: + - *447 - *448 - - *449 - *282 responses: '200': description: Response content: application/json: - schema: *489 + schema: *486 examples: - default: &616 + default: &613 value: name: USERNAME value: octocat @@ -67520,8 +67050,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: + - *447 - *448 - - *449 - *282 requestBody: required: true @@ -67564,8 +67094,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: + - *447 - *448 - - *449 - *282 responses: '204': @@ -67591,8 +67121,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: + - *447 - *448 - - *449 - *17 - *19 responses: @@ -67610,7 +67140,7 @@ paths: type: integer workflows: type: array - items: &491 + items: &488 title: Workflow description: A GitHub Actions workflow type: object @@ -67728,9 +67258,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: + - *447 - *448 - - *449 - - &492 + - &489 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -67745,7 +67275,7 @@ paths: description: Response content: application/json: - schema: *491 + schema: *488 examples: default: value: @@ -67778,9 +67308,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: + - *447 - *448 - - *449 - - *492 + - *489 responses: '204': description: Response @@ -67805,9 +67335,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: + - *447 - *448 - - *449 - - *492 + - *489 responses: '204': description: Response @@ -67858,9 +67388,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: + - *447 - *448 - - *449 - - *492 + - *489 responses: '204': description: Response @@ -67887,19 +67417,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: + - *447 - *448 - - *449 + - *489 + - *490 + - *491 - *492 - *493 + - *17 + - *19 - *494 + - *473 - *495 - *496 - - *17 - - *19 - - *497 - - *476 - - *498 - - *499 responses: '200': description: Response @@ -67915,9 +67445,9 @@ paths: type: integer workflow_runs: type: array - items: *477 + items: *474 examples: - default: *500 + default: *497 headers: Link: *41 x-github: @@ -67950,9 +67480,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: + - *447 - *448 - - *449 - - *492 + - *489 responses: '200': description: Response @@ -68013,8 +67543,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: + - *447 - *448 - - *449 - *104 - *17 - *102 @@ -68182,8 +67712,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: + - *447 - *448 - - *449 - *17 - *19 responses: @@ -68220,8 +67750,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: + - *447 - *448 - - *449 - name: assignee in: path required: true @@ -68257,8 +67787,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: + - *447 - *448 - - *449 requestBody: required: true content: @@ -68370,8 +67900,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: + - *447 - *448 - - *449 - *17 - *102 - *103 @@ -68428,7 +67958,7 @@ paths: initiator: type: string examples: - default: *501 + default: *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68448,8 +67978,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: + - *447 - *448 - - *449 responses: '200': description: Response @@ -68457,7 +67987,7 @@ paths: application/json: schema: type: array - items: &502 + items: &499 title: Autolink reference description: An autolink reference. type: object @@ -68516,8 +68046,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: + - *447 - *448 - - *449 requestBody: required: true content: @@ -68556,9 +68086,9 @@ paths: description: response content: application/json: - schema: *502 + schema: *499 examples: - default: &503 + default: &500 value: id: 1 key_prefix: TICKET- @@ -68589,9 +68119,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: + - *447 - *448 - - *449 - - &504 + - &501 name: autolink_id description: The unique identifier of the autolink. in: path @@ -68603,9 +68133,9 @@ paths: description: Response content: application/json: - schema: *502 + schema: *499 examples: - default: *503 + default: *500 '404': *6 x-github: githubCloudOnly: false @@ -68625,9 +68155,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: + - *447 - *448 - - *449 - - *504 + - *501 responses: '204': description: Response @@ -68651,8 +68181,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: + - *447 - *448 - - *449 responses: '200': description: Response if Dependabot is enabled @@ -68702,8 +68232,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: + - *447 - *448 - - *449 responses: '204': description: Response @@ -68724,8 +68254,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: + - *447 - *448 - - *449 responses: '204': description: Response @@ -68745,8 +68275,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: + - *447 - *448 - - *449 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -68784,7 +68314,7 @@ paths: - url protected: type: boolean - protection: &506 + protection: &503 title: Branch Protection description: Branch Protection type: object @@ -68827,7 +68357,7 @@ paths: required: - contexts - checks - enforce_admins: &509 + enforce_admins: &506 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -68844,7 +68374,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &511 + required_pull_request_reviews: &508 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -68928,7 +68458,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &508 + restrictions: &505 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -69221,9 +68751,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: + - *447 - *448 - - *449 - - &507 + - &504 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). @@ -69237,14 +68767,14 @@ paths: description: Response content: application/json: - schema: &517 + schema: &514 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &564 + commit: &561 title: Commit description: Commit type: object @@ -69283,7 +68813,7 @@ paths: author: anyOf: - type: 'null' - - &505 + - &502 title: Git User description: Metaproperties for Git author/committer information. @@ -69304,7 +68834,7 @@ paths: committer: anyOf: - type: 'null' - - *505 + - *502 message: type: string examples: @@ -69328,7 +68858,7 @@ paths: required: - sha - url - verification: &622 + verification: &619 title: Verification type: object properties: @@ -69408,7 +68938,7 @@ paths: type: integer files: type: array - items: &575 + items: &572 title: Diff Entry description: Diff Entry type: object @@ -69504,7 +69034,7 @@ paths: - self protected: type: boolean - protection: *506 + protection: *503 protection_url: type: string format: uri @@ -69613,7 +69143,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *462 + '301': *459 '404': *6 x-github: githubCloudOnly: false @@ -69635,15 +69165,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: + - *447 - *448 - - *449 - - *507 + - *504 responses: '200': description: Response content: application/json: - schema: *506 + schema: *503 examples: default: value: @@ -69837,9 +69367,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: + - *447 - *448 - - *449 - - *507 + - *504 requestBody: required: true content: @@ -70099,7 +69629,7 @@ paths: url: type: string format: uri - required_status_checks: &514 + required_status_checks: &511 title: Status Check Policy description: Status Check Policy type: object @@ -70258,7 +69788,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *508 + restrictions: *505 required_conversation_resolution: type: object properties: @@ -70370,9 +69900,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: + - *447 - *448 - - *449 - - *507 + - *504 responses: '204': description: Response @@ -70397,17 +69927,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: + - *447 - *448 - - *449 - - *507 + - *504 responses: '200': description: Response content: application/json: - schema: *509 + schema: *506 examples: - default: &510 + default: &507 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -70429,17 +69959,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: + - *447 - *448 - - *449 - - *507 + - *504 responses: '200': description: Response content: application/json: - schema: *509 + schema: *506 examples: - default: *510 + default: *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70458,9 +69988,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: + - *447 - *448 - - *449 - - *507 + - *504 responses: '204': description: Response @@ -70485,17 +70015,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: + - *447 - *448 - - *449 - - *507 + - *504 responses: '200': description: Response content: application/json: - schema: *511 + schema: *508 examples: - default: &512 + default: &509 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -70591,9 +70121,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: + - *447 - *448 - - *449 - - *507 + - *504 requestBody: required: false content: @@ -70691,9 +70221,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *508 examples: - default: *512 + default: *509 '422': *15 x-github: githubCloudOnly: false @@ -70714,9 +70244,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: + - *447 - *448 - - *449 - - *507 + - *504 responses: '204': description: Response @@ -70743,17 +70273,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: + - *447 - *448 - - *449 - - *507 + - *504 responses: '200': description: Response content: application/json: - schema: *509 + schema: *506 examples: - default: &513 + default: &510 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -70776,17 +70306,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: + - *447 - *448 - - *449 - - *507 + - *504 responses: '200': description: Response content: application/json: - schema: *509 + schema: *506 examples: - default: *513 + default: *510 '404': *6 x-github: githubCloudOnly: false @@ -70806,9 +70336,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: + - *447 - *448 - - *449 - - *507 + - *504 responses: '204': description: Response @@ -70833,17 +70363,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: + - *447 - *448 - - *449 - - *507 + - *504 responses: '200': description: Response content: application/json: - schema: *514 + schema: *511 examples: - default: &515 + default: &512 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -70869,9 +70399,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: + - *447 - *448 - - *449 - - *507 + - *504 requestBody: required: false content: @@ -70923,9 +70453,9 @@ paths: description: Response content: application/json: - schema: *514 + schema: *511 examples: - default: *515 + default: *512 '404': *6 '422': *15 x-github: @@ -70947,9 +70477,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: + - *447 - *448 - - *449 - - *507 + - *504 responses: '204': description: Response @@ -70973,9 +70503,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: + - *447 - *448 - - *449 - - *507 + - *504 responses: '200': description: Response @@ -71009,9 +70539,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: + - *447 - *448 - - *449 - - *507 + - *504 requestBody: required: false content: @@ -71078,9 +70608,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: + - *447 - *448 - - *449 - - *507 + - *504 requestBody: required: false content: @@ -71144,9 +70674,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: + - *447 - *448 - - *449 - - *507 + - *504 requestBody: content: application/json: @@ -71212,15 +70742,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: + - *447 - *448 - - *449 - - *507 + - *504 responses: '200': description: Response content: application/json: - schema: *508 + schema: *505 examples: default: value: @@ -71311,9 +70841,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: + - *447 - *448 - - *449 - - *507 + - *504 responses: '204': description: Response @@ -71336,9 +70866,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: + - *447 - *448 - - *449 - - *507 + - *504 responses: '200': description: Response @@ -71348,7 +70878,7 @@ paths: type: array items: *5 examples: - default: &516 + default: &513 value: - id: 1 slug: octoapp @@ -71405,9 +70935,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: + - *447 - *448 - - *449 - - *507 + - *504 requestBody: required: true content: @@ -71441,7 +70971,7 @@ paths: type: array items: *5 examples: - default: *516 + default: *513 '422': *15 x-github: githubCloudOnly: false @@ -71462,9 +70992,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: + - *447 - *448 - - *449 - - *507 + - *504 requestBody: required: true content: @@ -71498,7 +71028,7 @@ paths: type: array items: *5 examples: - default: *516 + default: *513 '422': *15 x-github: githubCloudOnly: false @@ -71519,9 +71049,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: + - *447 - *448 - - *449 - - *507 + - *504 requestBody: required: true content: @@ -71555,7 +71085,7 @@ paths: type: array items: *5 examples: - default: *516 + default: *513 '422': *15 x-github: githubCloudOnly: false @@ -71577,9 +71107,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: + - *447 - *448 - - *449 - - *507 + - *504 responses: '200': description: Response @@ -71609,9 +71139,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: + - *447 - *448 - - *449 - - *507 + - *504 requestBody: required: false content: @@ -71670,9 +71200,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: + - *447 - *448 - - *449 - - *507 + - *504 requestBody: required: false content: @@ -71731,9 +71261,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: + - *447 - *448 - - *449 - - *507 + - *504 requestBody: content: application/json: @@ -71792,9 +71322,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: + - *447 - *448 - - *449 - - *507 + - *504 responses: '200': description: Response @@ -71828,9 +71358,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: + - *447 - *448 - - *449 - - *507 + - *504 requestBody: required: true content: @@ -71888,9 +71418,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: + - *447 - *448 - - *449 - - *507 + - *504 requestBody: required: true content: @@ -71948,9 +71478,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: + - *447 - *448 - - *449 - - *507 + - *504 requestBody: required: true content: @@ -72010,9 +71540,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: + - *447 - *448 - - *449 - - *507 + - *504 requestBody: required: true content: @@ -72034,7 +71564,7 @@ paths: description: Response content: application/json: - schema: *517 + schema: *514 examples: default: value: @@ -72148,8 +71678,8 @@ paths: category: repos subcategory: bypass-requests parameters: + - *447 - *448 - - *449 - *97 - *98 - *99 @@ -72185,8 +71715,8 @@ paths: category: repos subcategory: bypass-requests parameters: + - *447 - *448 - - *449 - name: bypass_request_number in: path required: true @@ -72259,8 +71789,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: + - *447 - *448 - - *449 - *97 - *98 - *99 @@ -72300,8 +71830,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: + - *447 - *448 - - *449 - name: bypass_request_number in: path required: true @@ -72371,8 +71901,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: + - *447 - *448 - - *449 - name: bypass_request_number in: path required: true @@ -72443,8 +71973,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: + - *447 - *448 - - *449 - name: bypass_response_id in: path required: true @@ -72477,8 +72007,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: + - *447 - *448 - - *449 requestBody: required: true content: @@ -72757,7 +72287,7 @@ paths: description: Response content: application/json: - schema: &519 + schema: &516 title: CheckRun description: A check performed on the code of a given code change type: object @@ -72892,8 +72422,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *518 - deployment: &841 + items: *515 + deployment: &839 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -73180,9 +72710,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: + - *447 - *448 - - *449 - - &520 + - &517 name: check_run_id description: The unique identifier of the check run. in: path @@ -73194,9 +72724,9 @@ paths: description: Response content: application/json: - schema: *519 + schema: *516 examples: - default: &521 + default: &518 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -73296,9 +72826,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: + - *447 - *448 - - *449 - - *520 + - *517 requestBody: required: true content: @@ -73538,9 +73068,9 @@ paths: description: Response content: application/json: - schema: *519 + schema: *516 examples: - default: *521 + default: *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73560,9 +73090,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: + - *447 - *448 - - *449 - - *520 + - *517 - *17 - *19 responses: @@ -73672,9 +73202,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: + - *447 - *448 - - *449 - - *520 + - *517 responses: '201': description: Response @@ -73718,8 +73248,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: + - *447 - *448 - - *449 requestBody: required: true content: @@ -73741,7 +73271,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &523 + schema: &520 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -73823,7 +73353,7 @@ paths: type: - array - 'null' - items: *518 + items: *515 app: anyOf: - type: 'null' @@ -73839,7 +73369,7 @@ paths: - string - 'null' format: date-time - head_commit: *522 + head_commit: *519 latest_check_runs_count: type: integer check_runs_url: @@ -73867,7 +73397,7 @@ paths: - check_runs_url - pull_requests examples: - default: &524 + default: &521 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -74158,9 +73688,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *523 + schema: *520 examples: - default: *524 + default: *521 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74179,8 +73709,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: + - *447 - *448 - - *449 requestBody: required: true content: @@ -74489,9 +74019,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: + - *447 - *448 - - *449 - - &525 + - &522 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -74503,9 +74033,9 @@ paths: description: Response content: application/json: - schema: *523 + schema: *520 examples: - default: *524 + default: *521 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74528,17 +74058,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: + - *447 - *448 - - *449 - - *525 - - &570 + - *522 + - &567 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &571 + - &568 name: status description: Returns check runs with the specified `status`. in: query @@ -74577,9 +74107,9 @@ paths: type: integer check_runs: type: array - items: *519 + items: *516 examples: - default: &572 + default: &569 value: total_count: 1 check_runs: @@ -74681,9 +74211,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: + - *447 - *448 - - *449 - - *525 + - *522 responses: '201': description: Response @@ -74716,21 +74246,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: + - *447 - *448 - - *449 - *300 - *301 - *19 - *17 - - &541 + - &538 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: *526 - - &542 + schema: *523 + - &539 name: pr description: The number of the pull request for the results you want to list. in: query @@ -74761,7 +74291,7 @@ paths: be returned. in: query required: false - schema: *527 + schema: *524 responses: '200': description: Response @@ -74777,7 +74307,7 @@ paths: updated_at: *127 url: *124 html_url: *125 - instances_url: *528 + instances_url: *525 state: *107 fixed_at: *129 dismissed_by: @@ -74785,11 +74315,11 @@ paths: - type: 'null' - *4 dismissed_at: *128 - dismissed_reason: *529 - dismissed_comment: *530 - rule: *531 - tool: *532 - most_recent_instance: *533 + dismissed_reason: *526 + dismissed_comment: *527 + rule: *528 + tool: *529 + most_recent_instance: *530 dismissal_approved_by: anyOf: - type: 'null' @@ -74912,7 +74442,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &534 + '403': &531 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -74939,9 +74469,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: + - *447 - *448 - - *449 - - &535 + - &532 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -74955,7 +74485,7 @@ paths: description: Response content: application/json: - schema: &536 + schema: &533 type: object properties: number: *119 @@ -74963,7 +74493,7 @@ paths: updated_at: *127 url: *124 html_url: *125 - instances_url: *528 + instances_url: *525 state: *107 fixed_at: *129 dismissed_by: @@ -74971,8 +74501,8 @@ paths: - type: 'null' - *4 dismissed_at: *128 - dismissed_reason: *529 - dismissed_comment: *530 + dismissed_reason: *526 + dismissed_comment: *527 rule: type: object properties: @@ -75034,8 +74564,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *532 - most_recent_instance: *533 + tool: *529 + most_recent_instance: *530 dismissal_approved_by: anyOf: - type: 'null' @@ -75131,7 +74661,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *534 + '403': *531 '404': *6 '503': *184 x-github: @@ -75151,9 +74681,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: + - *447 - *448 - - *449 - - *535 + - *532 requestBody: required: true content: @@ -75168,8 +74698,8 @@ paths: enum: - open - dismissed - dismissed_reason: *529 - dismissed_comment: *530 + dismissed_reason: *526 + dismissed_comment: *527 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -75188,7 +74718,7 @@ paths: description: Response content: application/json: - schema: *536 + schema: *533 examples: default: value: @@ -75264,7 +74794,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &540 + '403': &537 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -75291,15 +74821,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: + - *447 - *448 - - *449 - - *535 + - *532 responses: '200': description: Response content: application/json: - schema: &537 + schema: &534 type: object properties: status: @@ -75326,13 +74856,13 @@ paths: - description - started_at examples: - default: &538 + default: &535 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &539 + '400': &536 description: Bad Request content: application/json: @@ -75343,7 +74873,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': *534 + '403': *531 '404': *6 '503': *184 x-github: @@ -75368,29 +74898,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: + - *447 - *448 - - *449 - - *535 + - *532 responses: '200': description: OK content: application/json: - schema: *537 + schema: *534 examples: - default: *538 + default: *535 '202': description: Accepted content: application/json: - schema: *537 + schema: *534 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *539 + '400': *536 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -75422,9 +74952,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: + - *447 - *448 - - *449 - - *535 + - *532 requestBody: required: false content: @@ -75470,8 +75000,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *539 - '403': *540 + '400': *536 + '403': *537 '404': *6 '422': description: Unprocessable Entity @@ -75495,13 +75025,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: + - *447 - *448 - - *449 - - *535 + - *532 - *19 - *17 - - *541 - - *542 + - *538 + - *539 responses: '200': description: Response @@ -75509,7 +75039,7 @@ paths: application/json: schema: type: array - items: *533 + items: *530 examples: default: value: @@ -75548,7 +75078,7 @@ paths: end_column: 50 classifications: - source - '403': *534 + '403': *531 '404': *6 '503': *184 x-github: @@ -75582,25 +75112,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: + - *447 - *448 - - *449 - *300 - *301 - *19 - *17 - - *542 + - *539 - 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: *526 + schema: *523 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &545 + schema: &542 type: string description: An identifier for the upload. examples: @@ -75622,23 +75152,23 @@ paths: application/json: schema: type: array - items: &546 + items: &543 type: object properties: - ref: *526 - commit_sha: &554 + ref: *523 + commit_sha: &551 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: *543 + analysis_key: *540 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *544 + category: *541 error: type: string examples: @@ -75663,8 +75193,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *545 - tool: *532 + sarif_id: *542 + tool: *529 deletable: type: boolean warning: @@ -75726,7 +75256,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *534 + '403': *531 '404': *6 '503': *184 x-github: @@ -75762,8 +75292,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: + - *447 - *448 - - *449 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -75776,7 +75306,7 @@ paths: description: Response content: application/json: - schema: *546 + schema: *543 examples: response: summary: application/json response @@ -75830,7 +75360,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *534 + '403': *531 '404': *6 '422': description: Response if analysis could not be processed @@ -75917,8 +75447,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: + - *447 - *448 - - *449 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -75974,7 +75504,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': *540 + '403': *537 '404': *6 '503': *184 x-github: @@ -75996,8 +75526,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: + - *447 - *448 - - *449 responses: '200': description: Response @@ -76005,7 +75535,7 @@ paths: application/json: schema: type: array - items: &547 + items: &544 title: CodeQL Database description: A CodeQL database. type: object @@ -76117,7 +75647,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': *534 + '403': *531 '404': *6 '503': *184 x-github: @@ -76146,8 +75676,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: + - *447 - *448 - - *449 - name: language in: path description: The language of the CodeQL database. @@ -76159,7 +75689,7 @@ paths: description: Response content: application/json: - schema: *547 + schema: *544 examples: default: value: @@ -76191,9 +75721,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': &577 + '302': &574 description: Found - '403': *534 + '403': *531 '404': *6 '503': *184 x-github: @@ -76215,8 +75745,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: + - *447 - *448 - - *449 - name: language in: path description: The language of the CodeQL database. @@ -76226,7 +75756,7 @@ paths: responses: '204': description: Response - '403': *540 + '403': *537 '404': *6 '503': *184 x-github: @@ -76254,8 +75784,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: + - *447 - *448 - - *449 requestBody: required: true content: @@ -76264,7 +75794,7 @@ paths: type: object additionalProperties: false properties: - language: &548 + language: &545 type: string description: The language targeted by the CodeQL query enum: @@ -76343,7 +75873,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &552 + schema: &549 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -76353,7 +75883,7 @@ paths: description: The ID of the variant analysis. controller_repo: *113 actor: *4 - query_language: *548 + query_language: *545 query_pack_url: type: string description: The download url for the query pack. @@ -76401,7 +75931,7 @@ paths: items: type: object properties: - repository: &549 + repository: &546 title: Repository Identifier description: Repository Identifier type: object @@ -76443,7 +75973,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &553 + analysis_status: &550 type: string description: The new status of the CodeQL variant analysis repository task. @@ -76475,7 +76005,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &550 + access_mismatch_repos: &547 type: object properties: repository_count: @@ -76490,7 +76020,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: *549 + items: *546 required: - repository_count - repositories @@ -76513,8 +76043,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *550 - over_limit_repos: *550 + no_codeql_db_repos: *547 + over_limit_repos: *547 required: - access_mismatch_repos - not_found_repos @@ -76530,7 +76060,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &551 + value: &548 summary: Default response value: id: 1 @@ -76682,10 +76212,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *551 + value: *548 repository_lists: summary: Response for a successful variant analysis submission - value: *551 + value: *548 '404': *6 '422': description: Unable to process variant analysis submission @@ -76713,8 +76243,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: + - *447 - *448 - - *449 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -76726,9 +76256,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *549 examples: - default: *551 + default: *548 '404': *6 '503': *184 x-github: @@ -76751,7 +76281,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: - - *448 + - *447 - name: repo in: path description: The name of the controller repository. @@ -76786,7 +76316,7 @@ paths: type: object properties: repository: *113 - analysis_status: *553 + analysis_status: *550 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -76911,8 +76441,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: + - *447 - *448 - - *449 responses: '200': description: Response @@ -77005,7 +76535,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *534 + '403': *531 '404': *6 '503': *184 x-github: @@ -77026,8 +76556,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: + - *447 - *448 - - *449 requestBody: required: true content: @@ -77121,7 +76651,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *540 + '403': *537 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -77192,8 +76722,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: + - *447 - *448 - - *449 requestBody: required: true content: @@ -77201,7 +76731,7 @@ paths: schema: type: object properties: - commit_sha: *554 + commit_sha: *551 ref: type: string description: |- @@ -77261,7 +76791,7 @@ paths: schema: type: object properties: - id: *545 + id: *542 url: type: string description: The REST API URL for checking the status of the upload. @@ -77275,7 +76805,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': *540 + '403': *537 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -77298,8 +76828,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: + - *447 - *448 - - *449 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -77347,7 +76877,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': *534 + '403': *531 '404': description: Not Found if the sarif id does not match any upload '503': *184 @@ -77372,8 +76902,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: + - *447 - *448 - - *449 responses: '200': description: Response @@ -77454,8 +76984,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: + - *447 - *448 - - *449 - 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 @@ -77583,8 +77113,8 @@ paths: parameters: - *17 - *19 + - *447 - *448 - - *449 responses: '200': description: Response @@ -77898,8 +77428,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: + - *447 - *448 - - *449 requestBody: required: true content: @@ -77965,7 +77495,7 @@ paths: application/json: schema: *356 examples: - default: *555 + default: *552 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -77973,7 +77503,7 @@ paths: application/json: schema: *356 examples: - default: *555 + default: *552 '400': *14 '401': *23 '403': *27 @@ -78002,8 +77532,8 @@ paths: parameters: - *17 - *19 + - *447 - *448 - - *449 responses: '200': description: Response @@ -78067,8 +77597,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: + - *447 - *448 - - *449 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -78105,9 +77635,9 @@ paths: type: integer machines: type: array - items: *556 + items: *553 examples: - default: &793 + default: &791 value: total_count: 2 machines: @@ -78147,8 +77677,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: + - *447 - *448 - - *449 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -78235,8 +77765,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: + - *447 - *448 - - *449 - 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 @@ -78305,8 +77835,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: + - *447 - *448 - - *449 - *17 - *19 responses: @@ -78324,7 +77854,7 @@ paths: type: integer secrets: type: array - items: &560 + items: &557 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -78345,7 +77875,7 @@ paths: - created_at - updated_at examples: - default: *557 + default: *554 headers: Link: *41 x-github: @@ -78368,16 +77898,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: + - *447 - *448 - - *449 responses: '200': description: Response content: application/json: - schema: *558 + schema: *555 examples: - default: *559 + default: *556 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -78397,17 +77927,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: + - *447 - *448 - - *449 - *279 responses: '200': description: Response content: application/json: - schema: *560 + schema: *557 examples: - default: *561 + default: *558 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78427,8 +77957,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: + - *447 - *448 - - *449 - *279 requestBody: required: true @@ -78481,8 +78011,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: + - *447 - *448 - - *449 - *279 responses: '204': @@ -78511,8 +78041,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: + - *447 - *448 - - *449 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -78550,7 +78080,7 @@ paths: application/json: schema: type: array - items: &562 + items: &559 title: Collaborator description: Collaborator type: object @@ -78743,8 +78273,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: + - *447 - *448 - - *449 - *132 responses: '204': @@ -78791,8 +78321,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: + - *447 - *448 - - *449 - *132 requestBody: required: false @@ -78819,7 +78349,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &635 + schema: &632 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -79047,8 +78577,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: + - *447 - *448 - - *449 - *132 responses: '204': @@ -79080,8 +78610,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: + - *447 - *448 - - *449 - *132 responses: '200': @@ -79102,7 +78632,7 @@ paths: user: anyOf: - type: 'null' - - *562 + - *559 required: - permission - role_name @@ -79156,8 +78686,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: + - *447 - *448 - - *449 - *17 - *19 responses: @@ -79167,7 +78697,7 @@ paths: application/json: schema: type: array - items: &563 + items: &560 title: Commit Comment description: Commit Comment type: object @@ -79225,7 +78755,7 @@ paths: - created_at - updated_at examples: - default: &566 + default: &563 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -79284,17 +78814,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: + - *447 - *448 - - *449 - *217 responses: '200': description: Response content: application/json: - schema: *563 + schema: *560 examples: - default: &567 + default: &564 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -79351,8 +78881,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: + - *447 - *448 - - *449 - *217 requestBody: required: true @@ -79375,7 +78905,7 @@ paths: description: Response content: application/json: - schema: *563 + schema: *560 examples: default: value: @@ -79426,8 +78956,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: + - *447 - *448 - - *449 - *217 responses: '204': @@ -79449,8 +78979,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: + - *447 - *448 - - *449 - *217 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -79477,9 +79007,9 @@ paths: application/json: schema: type: array - items: *437 + items: *436 examples: - default: *439 + default: *438 headers: Link: *41 '404': *6 @@ -79500,8 +79030,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: + - *447 - *448 - - *449 - *217 requestBody: required: true @@ -79534,16 +79064,16 @@ paths: description: Reaction exists content: application/json: - schema: *437 + schema: *436 examples: - default: *438 + default: *437 '201': description: Reaction created content: application/json: - schema: *437 + schema: *436 examples: - default: *438 + default: *437 '422': *15 x-github: githubCloudOnly: false @@ -79565,10 +79095,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: + - *447 - *448 - - *449 - *217 - - *440 + - *439 responses: '204': description: Response @@ -79617,8 +79147,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: + - *447 - *448 - - *449 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -79674,9 +79204,9 @@ paths: application/json: schema: type: array - items: *564 + items: *561 examples: - default: &684 + default: &682 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -79770,9 +79300,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: + - *447 - *448 - - *449 - - &565 + - &562 name: commit_sha description: The SHA of the commit. in: path @@ -79844,9 +79374,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: + - *447 - *448 - - *449 - - *565 + - *562 - *17 - *19 responses: @@ -79856,9 +79386,9 @@ paths: application/json: schema: type: array - items: *563 + items: *560 examples: - default: *566 + default: *563 headers: Link: *41 x-github: @@ -79886,9 +79416,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: + - *447 - *448 - - *449 - - *565 + - *562 requestBody: required: true content: @@ -79923,9 +79453,9 @@ paths: description: Response content: application/json: - schema: *563 + schema: *560 examples: - default: *567 + default: *564 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -79953,9 +79483,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: + - *447 - *448 - - *449 - - *565 + - *562 - *17 - *19 responses: @@ -79965,9 +79495,9 @@ paths: application/json: schema: type: array - items: *568 + items: *565 examples: - default: &676 + default: &674 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -80504,11 +80034,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: + - *447 - *448 - - *449 - *19 - *17 - - &569 + - &566 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)" @@ -80523,9 +80053,9 @@ paths: description: Response content: application/json: - schema: *564 + schema: *561 examples: - default: &662 + default: &660 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -80638,11 +80168,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: + - *447 - *448 - - *449 - - *569 - - *570 - - *571 + - *566 + - *567 + - *568 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -80676,9 +80206,9 @@ paths: type: integer check_runs: type: array - items: *519 + items: *516 examples: - default: *572 + default: *569 headers: Link: *41 x-github: @@ -80703,9 +80233,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: + - *447 - *448 - - *449 - - *569 + - *566 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -80713,7 +80243,7 @@ paths: schema: type: integer example: 1 - - *570 + - *567 - *17 - *19 responses: @@ -80731,7 +80261,7 @@ paths: type: integer check_suites: type: array - items: *523 + items: *520 examples: default: value: @@ -80931,9 +80461,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: + - *447 - *448 - - *449 - - *569 + - *566 - *17 - *19 responses: @@ -81135,9 +80665,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: + - *447 - *448 - - *449 - - *569 + - *566 - *17 - *19 responses: @@ -81147,7 +80677,7 @@ paths: application/json: schema: type: array - items: &738 + items: &736 title: Status description: The status of a commit. type: object @@ -81228,7 +80758,7 @@ paths: site_admin: false headers: Link: *41 - '301': *462 + '301': *459 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81256,8 +80786,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: + - *447 - *448 - - *449 responses: '200': description: Response @@ -81290,11 +80820,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *573 + - *570 code_of_conduct_file: anyOf: - type: 'null' - - &574 + - &571 title: Community Health File type: object properties: @@ -81314,19 +80844,19 @@ paths: contributing: anyOf: - type: 'null' - - *574 + - *571 readme: anyOf: - type: 'null' - - *574 + - *571 issue_template: anyOf: - type: 'null' - - *574 + - *571 pull_request_template: anyOf: - type: 'null' - - *574 + - *571 required: - code_of_conduct - code_of_conduct_file @@ -81455,8 +80985,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: + - *447 - *448 - - *449 - *19 - *17 - name: basehead @@ -81504,8 +81034,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *564 - merge_base_commit: *564 + base_commit: *561 + merge_base_commit: *561 status: type: string enum: @@ -81529,10 +81059,10 @@ paths: - 6 commits: type: array - items: *564 + items: *561 files: type: array - items: *575 + items: *572 required: - url - html_url @@ -81818,8 +81348,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: + - *447 - *448 - - *449 - name: path description: path parameter in: path @@ -81972,7 +81502,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &576 + response-if-content-is-a-file: &573 summary: Response if content is a file value: type: file @@ -82109,7 +81639,7 @@ paths: - size - type - url - - &689 + - &687 title: Content File description: Content File type: object @@ -82327,7 +81857,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *576 + response-if-content-is-a-file: *573 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -82396,7 +81926,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *577 + '302': *574 '304': *35 x-github: githubCloudOnly: false @@ -82419,8 +81949,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: + - *447 - *448 - - *449 - name: path description: path parameter in: path @@ -82515,7 +82045,7 @@ paths: description: Response content: application/json: - schema: &578 + schema: &575 title: File Commit description: File Commit type: object @@ -82671,7 +82201,7 @@ paths: description: Response content: application/json: - schema: *578 + schema: *575 examples: example-for-creating-a-file: value: @@ -82725,7 +82255,7 @@ paths: schema: oneOf: - *3 - - &617 + - &614 description: Repository rule violation was detected type: object properties: @@ -82746,7 +82276,7 @@ paths: items: type: object properties: - placeholder_id: &730 + placeholder_id: &728 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -82778,8 +82308,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: + - *447 - *448 - - *449 - name: path description: path parameter in: path @@ -82840,7 +82370,7 @@ paths: description: Response content: application/json: - schema: *578 + schema: *575 examples: default: value: @@ -82895,8 +82425,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: + - *447 - *448 - - *449 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -83020,8 +82550,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: + - *447 - *448 - - *449 - *316 - *317 - *318 @@ -83033,7 +82563,7 @@ paths: schema: type: string - *320 - - *579 + - *576 - *321 - *322 - *104 @@ -83054,7 +82584,7 @@ paths: application/json: schema: type: array - items: &582 + items: &579 type: object description: A Dependabot alert. properties: @@ -83104,7 +82634,7 @@ paths: - direct - transitive - - security_advisory: *580 + security_advisory: *577 security_vulnerability: *123 url: *124 html_url: *125 @@ -83135,7 +82665,7 @@ paths: dismissal. maxLength: 280 fixed_at: *129 - auto_dismissed_at: *581 + auto_dismissed_at: *578 required: - number - state @@ -83365,9 +82895,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: + - *447 - *448 - - *449 - - &583 + - &580 name: alert_number in: path description: |- @@ -83382,7 +82912,7 @@ paths: description: Response content: application/json: - schema: *582 + schema: *579 examples: default: value: @@ -83495,9 +83025,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: + - *447 - *448 - - *449 - - *583 + - *580 requestBody: required: true content: @@ -83542,7 +83072,7 @@ paths: description: Response content: application/json: - schema: *582 + schema: *579 examples: default: value: @@ -83671,8 +83201,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: + - *447 - *448 - - *449 - *17 - *19 responses: @@ -83690,7 +83220,7 @@ paths: type: integer secrets: type: array - items: &586 + items: &583 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -83744,16 +83274,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: + - *447 - *448 - - *449 responses: '200': description: Response content: application/json: - schema: *584 + schema: *581 examples: - default: *585 + default: *582 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83773,15 +83303,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: + - *447 - *448 - - *449 - *279 responses: '200': description: Response content: application/json: - schema: *586 + schema: *583 examples: default: value: @@ -83807,8 +83337,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: + - *447 - *448 - - *449 - *279 requestBody: required: true @@ -83861,8 +83391,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: + - *447 - *448 - - *449 - *279 responses: '204': @@ -83885,8 +83415,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: + - *447 - *448 - - *449 - 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 @@ -84060,8 +83590,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: + - *447 - *448 - - *449 responses: '200': description: Response @@ -84321,8 +83851,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: + - *447 - *448 - - *449 requestBody: required: true content: @@ -84405,7 +83935,7 @@ paths: - version - url additionalProperties: false - metadata: &587 + metadata: &584 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -84444,7 +83974,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *587 + metadata: *584 resolved: type: object description: A collection of resolved package dependencies. @@ -84458,7 +83988,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *587 + metadata: *584 relationship: type: string description: A notation of whether a dependency is requested @@ -84591,8 +84121,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: + - *447 - *448 - - *449 - name: sha description: The SHA recorded at creation time. in: query @@ -84633,9 +84163,9 @@ paths: application/json: schema: type: array - items: *588 + items: *585 examples: - default: *589 + default: *586 headers: Link: *41 x-github: @@ -84701,8 +84231,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: + - *447 - *448 - - *449 requestBody: required: true content: @@ -84784,7 +84314,7 @@ paths: description: Response content: application/json: - schema: *588 + schema: *585 examples: simple-example: summary: Simple example @@ -84857,9 +84387,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: + - *447 - *448 - - *449 - - &590 + - &587 name: deployment_id description: deployment_id parameter in: path @@ -84871,7 +84401,7 @@ paths: description: Response content: application/json: - schema: *588 + schema: *585 examples: default: value: @@ -84936,9 +84466,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: + - *447 - *448 - - *449 - - *590 + - *587 responses: '204': description: Response @@ -84960,9 +84490,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: + - *447 - *448 - - *449 - - *590 + - *587 - *17 - *19 responses: @@ -84972,7 +84502,7 @@ paths: application/json: schema: type: array - items: &591 + items: &588 title: Deployment Status description: The status of a deployment. type: object @@ -85136,9 +84666,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: + - *447 - *448 - - *449 - - *590 + - *587 requestBody: required: true content: @@ -85213,9 +84743,9 @@ paths: description: Response content: application/json: - schema: *591 + schema: *588 examples: - default: &592 + default: &589 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -85271,9 +84801,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: + - *447 - *448 - - *449 - - *590 + - *587 - name: status_id in: path required: true @@ -85284,9 +84814,9 @@ paths: description: Response content: application/json: - schema: *591 + schema: *588 examples: - default: *592 + default: *589 '404': *6 x-github: githubCloudOnly: false @@ -85313,12 +84843,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: + - *447 - *448 - - *449 + - *590 + - *591 + - *592 - *593 - - *594 - - *595 - - *596 - *17 - *19 responses: @@ -85328,9 +84858,9 @@ paths: application/json: schema: type: array - items: *597 + items: *594 examples: - default: *598 + default: *595 '404': *6 '403': *27 '500': *38 @@ -85354,8 +84884,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: + - *447 - *448 - - *449 - name: alert_number in: path required: true @@ -85367,7 +84897,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *597 + schema: *594 examples: default: value: @@ -85423,8 +84953,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: + - *447 - *448 - - *449 - name: alert_number in: path required: true @@ -85483,12 +85013,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: + - *447 - *448 - - *449 - *97 - *98 - *99 - - *599 + - *596 - *17 - *19 responses: @@ -85498,9 +85028,9 @@ paths: application/json: schema: type: array - items: *600 + items: *597 examples: - default: *601 + default: *598 '404': *6 '403': *27 '500': *38 @@ -85525,8 +85055,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: + - *447 - *448 - - *449 - name: alert_number in: path required: true @@ -85538,7 +85068,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *600 + schema: *597 examples: default: value: @@ -85596,8 +85126,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: + - *447 - *448 - - *449 - name: alert_number in: path required: true @@ -85666,8 +85196,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: + - *447 - *448 - - *449 requestBody: required: true content: @@ -85724,8 +85254,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: + - *447 - *448 - - *449 - *17 - *19 responses: @@ -85743,7 +85273,7 @@ paths: - 5 environments: type: array - items: &603 + items: &600 title: Environment description: Details of a deployment environment type: object @@ -85805,7 +85335,7 @@ paths: type: string examples: - wait_timer - wait_timer: &605 + wait_timer: &602 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -85847,7 +85377,7 @@ paths: items: type: object properties: - type: *602 + type: *599 reviewer: anyOf: - *4 @@ -85874,7 +85404,7 @@ paths: - id - node_id - type - deployment_branch_policy: &606 + deployment_branch_policy: &603 type: - object - 'null' @@ -85991,9 +85521,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: + - *447 - *448 - - *449 - - &604 + - &601 name: environment_name in: path required: true @@ -86006,9 +85536,9 @@ paths: description: Response content: application/json: - schema: *603 + schema: *600 examples: - default: &607 + default: &604 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -86092,9 +85622,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: + - *447 - *448 - - *449 - - *604 + - *601 requestBody: required: false content: @@ -86104,7 +85634,7 @@ paths: - object - 'null' properties: - wait_timer: *605 + wait_timer: *602 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -86123,14 +85653,14 @@ paths: items: type: object properties: - type: *602 + type: *599 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *606 + deployment_branch_policy: *603 additionalProperties: false examples: default: @@ -86150,9 +85680,9 @@ paths: description: Response content: application/json: - schema: *603 + schema: *600 examples: - default: *607 + default: *604 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -86176,9 +85706,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: + - *447 - *448 - - *449 - - *604 + - *601 responses: '204': description: Default response @@ -86203,9 +85733,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: + - *447 - *448 - - *449 - - *604 + - *601 - *17 - *19 responses: @@ -86224,7 +85754,7 @@ paths: - 2 branch_policies: type: array - items: &608 + items: &605 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -86285,9 +85815,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: + - *447 - *448 - - *449 - - *604 + - *601 requestBody: required: true content: @@ -86335,9 +85865,9 @@ paths: description: Response content: application/json: - schema: *608 + schema: *605 examples: - example-wildcard: &609 + example-wildcard: &606 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -86379,10 +85909,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: + - *447 - *448 - - *449 - - *604 - - &610 + - *601 + - &607 name: branch_policy_id in: path required: true @@ -86394,9 +85924,9 @@ paths: description: Response content: application/json: - schema: *608 + schema: *605 examples: - default: *609 + default: *606 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86415,10 +85945,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: + - *447 - *448 - - *449 - - *604 - - *610 + - *601 + - *607 requestBody: required: true content: @@ -86447,9 +85977,9 @@ paths: description: Response content: application/json: - schema: *608 + schema: *605 examples: - default: *609 + default: *606 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86468,10 +85998,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: + - *447 - *448 - - *449 - - *604 - - *610 + - *601 + - *607 responses: '204': description: Response @@ -86496,9 +86026,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: - - *604 - - *449 + - *601 - *448 + - *447 responses: '200': description: List of deployment protection rules @@ -86515,7 +86045,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &611 + items: &608 title: Deployment protection rule description: Deployment protection rule type: object @@ -86537,7 +86067,7 @@ paths: for the environment. examples: - true - app: &612 + app: &609 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -86640,9 +86170,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: - - *604 - - *449 + - *601 - *448 + - *447 requestBody: content: application/json: @@ -86663,9 +86193,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *611 + schema: *608 examples: - default: &613 + default: &610 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -86700,9 +86230,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: - - *604 - - *449 + - *601 - *448 + - *447 - *19 - *17 responses: @@ -86722,7 +86252,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *612 + items: *609 examples: default: value: @@ -86757,10 +86287,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: + - *447 - *448 - - *449 - - *604 - - &614 + - *601 + - &611 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -86772,9 +86302,9 @@ paths: description: Response content: application/json: - schema: *611 + schema: *608 examples: - default: *613 + default: *610 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86795,10 +86325,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: - - *604 - - *449 + - *601 - *448 - - *614 + - *447 + - *611 responses: '204': description: Response @@ -86824,9 +86354,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: + - *447 - *448 - - *449 - - *604 + - *601 - *17 - *19 responses: @@ -86844,9 +86374,9 @@ paths: type: integer secrets: type: array - items: *485 + items: *482 examples: - default: *486 + default: *483 headers: Link: *41 x-github: @@ -86871,17 +86401,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: + - *447 - *448 - - *449 - - *604 + - *601 responses: '200': description: Response content: application/json: - schema: *487 + schema: *484 examples: - default: *488 + default: *485 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86903,18 +86433,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: + - *447 - *448 - - *449 - - *604 + - *601 - *279 responses: '200': description: Response content: application/json: - schema: *485 + schema: *482 examples: - default: *615 + default: *612 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86936,9 +86466,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: + - *447 - *448 - - *449 - - *604 + - *601 - *279 requestBody: required: true @@ -86996,9 +86526,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: + - *447 - *448 - - *449 - - *604 + - *601 - *279 responses: '204': @@ -87024,10 +86554,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: + - *447 - *448 - - *449 - - *604 - - *472 + - *601 + - *469 - *19 responses: '200': @@ -87044,9 +86574,9 @@ paths: type: integer variables: type: array - items: *489 + items: *486 examples: - default: *490 + default: *487 headers: Link: *41 x-github: @@ -87069,9 +86599,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: + - *447 - *448 - - *449 - - *604 + - *601 requestBody: required: true content: @@ -87123,18 +86653,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: + - *447 - *448 - - *449 - - *604 + - *601 - *282 responses: '200': description: Response content: application/json: - schema: *489 + schema: *486 examples: - default: *616 + default: *613 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87155,10 +86685,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: + - *447 - *448 - - *449 - *282 - - *604 + - *601 requestBody: required: true content: @@ -87200,10 +86730,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: + - *447 - *448 - - *449 - *282 - - *604 + - *601 responses: '204': description: Response @@ -87225,8 +86755,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: + - *447 - *448 - - *449 - *17 - *19 responses: @@ -87294,8 +86824,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: + - *447 - *448 - - *449 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -87454,8 +86984,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: + - *447 - *448 - - *449 requestBody: required: false content: @@ -87488,9 +87018,9 @@ paths: description: Response content: application/json: - schema: *461 + schema: *458 examples: - default: *463 + default: *460 '400': *14 '422': *15 '403': *27 @@ -87511,8 +87041,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: + - *447 - *448 - - *449 requestBody: required: true content: @@ -87572,7 +87102,7 @@ paths: schema: oneOf: - *244 - - *617 + - *614 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87597,8 +87127,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: + - *447 - *448 - - *449 - name: file_sha in: path required: true @@ -87698,8 +87228,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: + - *447 - *448 - - *449 requestBody: required: true content: @@ -87808,7 +87338,7 @@ paths: description: Response content: application/json: - schema: &618 + schema: &615 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -88035,15 +87565,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: + - *447 - *448 - - *449 - - *565 + - *562 responses: '200': description: Response content: application/json: - schema: *618 + schema: *615 examples: default: value: @@ -88099,9 +87629,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: + - *447 - *448 - - *449 - - &619 + - &616 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. @@ -88118,7 +87648,7 @@ paths: application/json: schema: type: array - items: &620 + items: &617 title: Git Reference description: Git references within a repository type: object @@ -88194,17 +87724,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: + - *447 - *448 - - *449 - - *619 + - *616 responses: '200': description: Response content: application/json: - schema: *620 + schema: *617 examples: - default: &621 + default: &618 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -88233,8 +87763,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: + - *447 - *448 - - *449 requestBody: required: true content: @@ -88263,9 +87793,9 @@ paths: description: Response content: application/json: - schema: *620 + schema: *617 examples: - default: *621 + default: *618 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -88291,9 +87821,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: + - *447 - *448 - - *449 - - *619 + - *616 requestBody: required: true content: @@ -88322,9 +87852,9 @@ paths: description: Response content: application/json: - schema: *620 + schema: *617 examples: - default: *621 + default: *618 '422': *15 '409': *112 x-github: @@ -88342,9 +87872,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: + - *447 - *448 - - *449 - - *619 + - *616 responses: '204': description: Response @@ -88399,8 +87929,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: + - *447 - *448 - - *449 requestBody: required: true content: @@ -88467,7 +87997,7 @@ paths: description: Response content: application/json: - schema: &623 + schema: &620 title: Git Tag description: Metadata for a Git tag type: object @@ -88523,7 +88053,7 @@ paths: - sha - type - url - verification: *622 + verification: *619 required: - sha - url @@ -88533,7 +88063,7 @@ paths: - tag - message examples: - default: &624 + default: &621 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -88606,8 +88136,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: + - *447 - *448 - - *449 - name: tag_sha in: path required: true @@ -88618,9 +88148,9 @@ paths: description: Response content: application/json: - schema: *623 + schema: *620 examples: - default: *624 + default: *621 '404': *6 '409': *112 x-github: @@ -88644,8 +88174,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: + - *447 - *448 - - *449 requestBody: required: true content: @@ -88719,7 +88249,7 @@ paths: description: Response content: application/json: - schema: &625 + schema: &622 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -88821,8 +88351,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: + - *447 - *448 - - *449 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -88845,7 +88375,7 @@ paths: description: Response content: application/json: - schema: *625 + schema: *622 examples: default-response: summary: Default response @@ -88904,8 +88434,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: + - *447 - *448 - - *449 - *17 - *19 responses: @@ -88915,7 +88445,7 @@ paths: application/json: schema: type: array - items: &626 + items: &623 title: Webhook description: Webhooks for repositories. type: object @@ -88978,7 +88508,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &872 + last_response: &870 title: Hook Response type: object properties: @@ -89055,8 +88585,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: + - *447 - *448 - - *449 requestBody: required: false content: @@ -89109,9 +88639,9 @@ paths: description: Response content: application/json: - schema: *626 + schema: *623 examples: - default: &627 + default: &624 value: type: Repository id: 12345678 @@ -89159,17 +88689,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: + - *447 - *448 - - *449 - *328 responses: '200': description: Response content: application/json: - schema: *626 + schema: *623 examples: - default: *627 + default: *624 '404': *6 x-github: githubCloudOnly: false @@ -89189,8 +88719,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: + - *447 - *448 - - *449 - *328 requestBody: required: true @@ -89236,9 +88766,9 @@ paths: description: Response content: application/json: - schema: *626 + schema: *623 examples: - default: *627 + default: *624 '422': *15 '404': *6 x-github: @@ -89259,8 +88789,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: + - *447 - *448 - - *449 - *328 responses: '204': @@ -89285,8 +88815,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: + - *447 - *448 - - *449 - *328 responses: '200': @@ -89314,8 +88844,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: + - *447 - *448 - - *449 - *328 requestBody: required: false @@ -89360,8 +88890,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: + - *447 - *448 - - *449 - *328 - *17 - *329 @@ -89393,8 +88923,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: + - *447 - *448 - - *449 - *328 - *16 responses: @@ -89423,8 +88953,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: + - *447 - *448 - - *449 - *328 - *16 responses: @@ -89448,8 +88978,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: + - *447 - *448 - - *449 - *328 responses: '204': @@ -89475,8 +89005,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: + - *447 - *448 - - *449 - *328 responses: '204': @@ -89500,8 +89030,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: + - *447 - *448 - - *449 responses: '200': description: Response if immutable releases are enabled @@ -89549,8 +89079,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-immutable-releases parameters: + - *447 - *448 - - *449 responses: '204': *144 '409': *112 @@ -89570,8 +89100,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-immutable-releases parameters: + - *447 - *448 - - *449 responses: '204': *144 '409': *112 @@ -89628,14 +89158,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: + - *447 - *448 - - *449 responses: '200': description: Response content: application/json: - schema: &628 + schema: &625 title: Import description: A repository import from an external source. type: object @@ -89742,7 +89272,7 @@ paths: - html_url - authors_url examples: - default: &631 + default: &628 value: vcs: subversion use_lfs: true @@ -89758,7 +89288,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': &629 + '503': &626 description: Unavailable due to service under maintenance. content: application/json: @@ -89787,8 +89317,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: + - *447 - *448 - - *449 requestBody: required: true content: @@ -89836,7 +89366,7 @@ paths: description: Response content: application/json: - schema: *628 + schema: *625 examples: default: value: @@ -89861,7 +89391,7 @@ paths: type: string '422': *15 '404': *6 - '503': *629 + '503': *626 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89889,8 +89419,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: + - *447 - *448 - - *449 requestBody: required: false content: @@ -89942,7 +89472,7 @@ paths: description: Response content: application/json: - schema: *628 + schema: *625 examples: example-1: summary: Example 1 @@ -89990,7 +89520,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': *629 + '503': *626 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90013,12 +89543,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: + - *447 - *448 - - *449 responses: '204': description: Response - '503': *629 + '503': *626 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90044,9 +89574,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: + - *447 - *448 - - *449 - - &814 + - &812 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -90060,7 +89590,7 @@ paths: application/json: schema: type: array - items: &630 + items: &627 title: Porter Author description: Porter Author type: object @@ -90114,7 +89644,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': *629 + '503': *626 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90139,8 +89669,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: + - *447 - *448 - - *449 - name: author_id in: path required: true @@ -90170,7 +89700,7 @@ paths: description: Response content: application/json: - schema: *630 + schema: *627 examples: default: value: @@ -90183,7 +89713,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *629 + '503': *626 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90207,8 +89737,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: + - *447 - *448 - - *449 responses: '200': description: Response @@ -90249,7 +89779,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *629 + '503': *626 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90277,8 +89807,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: + - *447 - *448 - - *449 requestBody: required: true content: @@ -90305,11 +89835,11 @@ paths: description: Response content: application/json: - schema: *628 + schema: *625 examples: - default: *631 + default: *628 '422': *15 - '503': *629 + '503': *626 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90332,8 +89862,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: + - *447 - *448 - - *449 responses: '200': description: Response @@ -90341,8 +89871,8 @@ paths: application/json: schema: *20 examples: - default: *632 - '301': *462 + default: *629 + '301': *459 '404': *6 x-github: githubCloudOnly: false @@ -90362,8 +89892,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: + - *447 - *448 - - *449 responses: '200': description: Response @@ -90376,7 +89906,7 @@ paths: properties: {} additionalProperties: false examples: - default: &634 + default: &631 value: limit: collaborators_only origin: repository @@ -90401,13 +89931,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: + - *447 - *448 - - *449 requestBody: required: true content: application/json: - schema: *633 + schema: *630 examples: default: summary: Example request body @@ -90421,7 +89951,7 @@ paths: application/json: schema: *346 examples: - default: *634 + default: *631 '409': description: Response x-github: @@ -90443,8 +89973,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: + - *447 - *448 - - *449 responses: '204': description: Response @@ -90467,8 +89997,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: + - *447 - *448 - - *449 - *17 - *19 responses: @@ -90478,9 +90008,9 @@ paths: application/json: schema: type: array - items: *635 + items: *632 examples: - default: &807 + default: &805 value: - id: 1 repository: @@ -90611,8 +90141,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: + - *447 - *448 - - *449 - *350 requestBody: required: false @@ -90642,7 +90172,7 @@ paths: description: Response content: application/json: - schema: *635 + schema: *632 examples: default: value: @@ -90773,8 +90303,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: + - *447 - *448 - - *449 - *350 responses: '204': @@ -90806,8 +90336,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: + - *447 - *448 - - *449 - 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 @@ -90880,7 +90410,7 @@ paths: type: array items: *218 examples: - default: &642 + default: &640 value: - id: 1 node_id: MDU6SXNzdWUx @@ -91028,7 +90558,7 @@ paths: state_reason: completed headers: Link: *41 - '301': *462 + '301': *459 '422': *15 '404': *6 x-github: @@ -91057,8 +90587,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: + - *447 - *448 - - *449 requestBody: required: true content: @@ -91150,7 +90680,7 @@ paths: application/json: schema: *218 examples: - default: &639 + default: &637 value: id: 1 node_id: MDU6SXNzdWUx @@ -91306,7 +90836,7 @@ paths: '422': *15 '503': *184 '404': *6 - '410': *459 + '410': *633 x-github: triggersNotification: true githubCloudOnly: false @@ -91334,8 +90864,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: + - *447 - *448 - - *449 - *227 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -91356,9 +90886,9 @@ paths: application/json: schema: type: array - items: *636 + items: *634 examples: - default: &641 + default: &639 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -91416,17 +90946,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: + - *447 - *448 - - *449 - *217 responses: '200': description: Response content: application/json: - schema: *636 + schema: *634 examples: - default: &637 + default: &635 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -91480,8 +91010,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: + - *447 - *448 - - *449 - *217 requestBody: required: true @@ -91504,9 +91034,9 @@ paths: description: Response content: application/json: - schema: *636 + schema: *634 examples: - default: *637 + default: *635 '422': *15 x-github: githubCloudOnly: false @@ -91524,8 +91054,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: + - *447 - *448 - - *449 - *217 responses: '204': @@ -91546,8 +91076,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: + - *447 - *448 - - *449 - *217 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -91574,9 +91104,9 @@ paths: application/json: schema: type: array - items: *437 + items: *436 examples: - default: *439 + default: *438 headers: Link: *41 '404': *6 @@ -91597,8 +91127,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: + - *447 - *448 - - *449 - *217 requestBody: required: true @@ -91631,16 +91161,16 @@ paths: description: Reaction exists content: application/json: - schema: *437 + schema: *436 examples: - default: *438 + default: *437 '201': description: Reaction created content: application/json: - schema: *437 + schema: *436 examples: - default: *438 + default: *437 '422': *15 x-github: githubCloudOnly: false @@ -91662,10 +91192,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: + - *447 - *448 - - *449 - *217 - - *440 + - *439 responses: '204': description: Response @@ -91685,8 +91215,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: + - *447 - *448 - - *449 - *17 - *19 responses: @@ -91696,7 +91226,7 @@ paths: application/json: schema: type: array - items: &638 + items: &636 title: Issue Event description: Issue Event type: object @@ -92035,8 +91565,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: + - *447 - *448 - - *449 - name: event_id in: path required: true @@ -92047,7 +91577,7 @@ paths: description: Response content: application/json: - schema: *638 + schema: *636 examples: default: value: @@ -92240,7 +91770,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *459 + '410': *633 '403': *27 x-github: githubCloudOnly: false @@ -92274,9 +91804,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: + - *447 - *448 - - *449 - - &640 + - &638 name: issue_number description: The number that identifies the issue. in: path @@ -92290,10 +91820,10 @@ paths: application/json: schema: *218 examples: - default: *639 - '301': *462 + default: *637 + '301': *459 '404': *6 - '410': *459 + '410': *633 '304': *35 x-github: githubCloudOnly: false @@ -92318,9 +91848,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: + - *447 - *448 - - *449 - - *640 + - *638 requestBody: required: false content: @@ -92441,13 +91971,13 @@ paths: application/json: schema: *218 examples: - default: *639 + default: *637 '422': *15 '503': *184 '403': *27 - '301': *462 + '301': *459 '404': *6 - '410': *459 + '410': *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92465,9 +91995,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: + - *447 - *448 - - *449 - - *640 + - *638 requestBody: required: false content: @@ -92495,7 +92025,7 @@ paths: application/json: schema: *218 examples: - default: *639 + default: *637 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92511,9 +92041,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: + - *447 - *448 - - *449 - - *640 + - *638 requestBody: content: application/json: @@ -92540,7 +92070,7 @@ paths: application/json: schema: *218 examples: - default: *639 + default: *637 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92562,9 +92092,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: + - *447 - *448 - - *449 - - *640 + - *638 - name: assignee in: path required: true @@ -92604,9 +92134,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: + - *447 - *448 - - *449 - - *640 + - *638 - *208 - *17 - *19 @@ -92617,13 +92147,13 @@ paths: application/json: schema: type: array - items: *636 + items: *634 examples: - default: *641 + default: *639 headers: Link: *41 '404': *6 - '410': *459 + '410': *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92652,9 +92182,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: + - *447 - *448 - - *449 - - *640 + - *638 requestBody: required: true content: @@ -92676,16 +92206,16 @@ paths: description: Response content: application/json: - schema: *636 + schema: *634 examples: - default: *637 + default: *635 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *459 + '410': *633 '422': *15 '404': *6 x-github: @@ -92713,9 +92243,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: + - *447 - *448 - - *449 - - *640 + - *638 - *17 - *19 responses: @@ -92727,12 +92257,12 @@ paths: type: array items: *218 examples: - default: *642 + default: *640 headers: Link: *41 - '301': *462 + '301': *459 '404': *6 - '410': *459 + '410': *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92760,9 +92290,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: + - *447 - *448 - - *449 - - *640 + - *638 requestBody: required: true content: @@ -92786,15 +92316,15 @@ paths: application/json: schema: *218 examples: - default: *639 + default: *637 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *462 + '301': *459 '403': *27 - '410': *459 + '410': *633 '422': *15 '404': *6 x-github: @@ -92825,9 +92355,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: + - *447 - *448 - - *449 - - *640 + - *638 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -92841,13 +92371,13 @@ paths: application/json: schema: *218 examples: - default: *639 - '301': *462 + default: *637 + '301': *459 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *459 + '410': *633 x-github: triggersNotification: true githubCloudOnly: false @@ -92873,9 +92403,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: + - *447 - *448 - - *449 - - *640 + - *638 - *17 - *19 responses: @@ -92887,12 +92417,12 @@ paths: type: array items: *218 examples: - default: *642 + default: *640 headers: Link: *41 - '301': *462 + '301': *459 '404': *6 - '410': *459 + '410': *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92909,9 +92439,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: + - *447 - *448 - - *449 - - *640 + - *638 - *17 - *19 responses: @@ -92925,7 +92455,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &645 + - &643 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -92974,7 +92504,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &646 + - &644 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -93102,7 +92632,7 @@ paths: - performed_via_github_app - assignee - assigner - - &647 + - &645 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -93148,7 +92678,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &648 + - &646 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -93194,7 +92724,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &649 + - &647 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -93243,7 +92773,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &650 + - &648 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -93285,7 +92815,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &651 + - &649 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -93327,7 +92857,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &652 + - &650 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -93383,7 +92913,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &653 + - &651 title: Locked Issue Event description: Locked Issue Event type: object @@ -93428,7 +92958,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &654 + - &652 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -93489,7 +93019,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &655 + - &653 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -93550,7 +93080,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &656 + - &654 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -93611,7 +93141,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &657 + - &655 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -93704,7 +93234,7 @@ paths: color: red headers: Link: *41 - '410': *459 + '410': *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93721,9 +93251,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: + - *447 - *448 - - *449 - - *640 + - *638 - *17 - *19 responses: @@ -93733,7 +93263,7 @@ paths: application/json: schema: type: array - items: &643 + items: &641 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -93788,7 +93318,7 @@ paths: - color - default examples: - default: &644 + default: &642 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -93806,9 +93336,9 @@ paths: default: false headers: Link: *41 - '301': *462 + '301': *459 '404': *6 - '410': *459 + '410': *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93825,9 +93355,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: + - *447 - *448 - - *449 - - *640 + - *638 requestBody: required: false content: @@ -93886,12 +93416,12 @@ paths: application/json: schema: type: array - items: *643 + items: *641 examples: - default: *644 - '301': *462 + default: *642 + '301': *459 '404': *6 - '410': *459 + '410': *633 '422': *15 x-github: githubCloudOnly: false @@ -93908,9 +93438,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: + - *447 - *448 - - *449 - - *640 + - *638 requestBody: required: false content: @@ -93970,12 +93500,12 @@ paths: application/json: schema: type: array - items: *643 + items: *641 examples: - default: *644 - '301': *462 + default: *642 + '301': *459 '404': *6 - '410': *459 + '410': *633 '422': *15 x-github: githubCloudOnly: false @@ -93992,15 +93522,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: + - *447 - *448 - - *449 - - *640 + - *638 responses: '204': description: Response - '301': *462 + '301': *459 '404': *6 - '410': *459 + '410': *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94019,9 +93549,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: + - *447 - *448 - - *449 - - *640 + - *638 - name: name in: path required: true @@ -94034,7 +93564,7 @@ paths: application/json: schema: type: array - items: *643 + items: *641 examples: default: value: @@ -94045,9 +93575,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *462 + '301': *459 '404': *6 - '410': *459 + '410': *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94067,9 +93597,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: + - *447 - *448 - - *449 - - *640 + - *638 requestBody: required: false content: @@ -94098,7 +93628,7 @@ paths: '204': description: Response '403': *27 - '410': *459 + '410': *633 '404': *6 '422': *15 x-github: @@ -94116,9 +93646,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: + - *447 - *448 - - *449 - - *640 + - *638 responses: '204': description: Response @@ -94148,9 +93678,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#get-parent-issue parameters: + - *447 - *448 - - *449 - - *640 + - *638 responses: '200': description: Response @@ -94158,10 +93688,10 @@ paths: application/json: schema: *218 examples: - default: *639 - '301': *462 + default: *637 + '301': *459 '404': *6 - '410': *459 + '410': *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94178,9 +93708,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: + - *447 - *448 - - *449 - - *640 + - *638 - 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. @@ -94206,13 +93736,13 @@ paths: application/json: schema: type: array - items: *437 + items: *436 examples: - default: *439 + default: *438 headers: Link: *41 '404': *6 - '410': *459 + '410': *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94230,9 +93760,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: + - *447 - *448 - - *449 - - *640 + - *638 requestBody: required: true content: @@ -94264,16 +93794,16 @@ paths: description: Response content: application/json: - schema: *437 + schema: *436 examples: - default: *438 + default: *437 '201': description: Response content: application/json: - schema: *437 + schema: *436 examples: - default: *438 + default: *437 '422': *15 x-github: githubCloudOnly: false @@ -94295,10 +93825,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: + - *447 - *448 - - *449 - - *640 - - *440 + - *638 + - *439 responses: '204': description: Response @@ -94327,9 +93857,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: + - *447 - *448 - - *449 - - *640 + - *638 requestBody: required: true content: @@ -94353,7 +93883,7 @@ paths: application/json: schema: *218 examples: - default: *639 + default: *637 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -94386,9 +93916,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: + - *447 - *448 - - *449 - - *640 + - *638 - *17 - *19 responses: @@ -94400,11 +93930,11 @@ paths: type: array items: *218 examples: - default: *642 + default: *640 headers: Link: *41 '404': *6 - '410': *459 + '410': *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94432,9 +93962,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: + - *447 - *448 - - *449 - - *640 + - *638 requestBody: required: true content: @@ -94463,14 +93993,14 @@ paths: application/json: schema: *218 examples: - default: *639 + default: *637 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *459 + '410': *633 '422': *15 '404': *6 x-github: @@ -94490,9 +94020,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: + - *447 - *448 - - *449 - - *640 + - *638 requestBody: required: true content: @@ -94525,7 +94055,7 @@ paths: application/json: schema: *218 examples: - default: *639 + default: *637 '403': *27 '404': *6 '422': *7 @@ -94547,9 +94077,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: + - *447 - *448 - - *449 - - *640 + - *638 - *17 - *19 responses: @@ -94564,6 +94094,8 @@ paths: description: Timeline Event type: object anyOf: + - *643 + - *644 - *645 - *646 - *647 @@ -94575,8 +94107,6 @@ paths: - *653 - *654 - *655 - - *656 - - *657 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -94905,7 +94435,7 @@ paths: type: string comments: type: array - items: &678 + items: &676 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -95143,7 +94673,7 @@ paths: type: string comments: type: array - items: *563 + items: *560 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -95418,7 +94948,7 @@ paths: headers: Link: *41 '404': *6 - '410': *459 + '410': *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95435,8 +94965,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: + - *447 - *448 - - *449 - *17 - *19 responses: @@ -95446,7 +94976,7 @@ paths: application/json: schema: type: array - items: &658 + items: &656 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -95514,8 +95044,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: + - *447 - *448 - - *449 requestBody: required: true content: @@ -95551,9 +95081,9 @@ paths: description: Response content: application/json: - schema: *658 + schema: *656 examples: - default: &659 + default: &657 value: id: 1 key: ssh-rsa AAA... @@ -95587,9 +95117,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: + - *447 - *448 - - *449 - - &660 + - &658 name: key_id description: The unique identifier of the key. in: path @@ -95601,9 +95131,9 @@ paths: description: Response content: application/json: - schema: *658 + schema: *656 examples: - default: *659 + default: *657 '404': *6 x-github: githubCloudOnly: false @@ -95621,9 +95151,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: + - *447 - *448 - - *449 - - *660 + - *658 responses: '204': description: Response @@ -95643,8 +95173,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: + - *447 - *448 - - *449 - *17 - *19 responses: @@ -95654,9 +95184,9 @@ paths: application/json: schema: type: array - items: *643 + items: *641 examples: - default: *644 + default: *642 headers: Link: *41 '404': *6 @@ -95677,8 +95207,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: + - *447 - *448 - - *449 requestBody: required: true content: @@ -95714,9 +95244,9 @@ paths: description: Response content: application/json: - schema: *643 + schema: *641 examples: - default: &661 + default: &659 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -95748,8 +95278,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: + - *447 - *448 - - *449 - name: name in: path required: true @@ -95760,9 +95290,9 @@ paths: description: Response content: application/json: - schema: *643 + schema: *641 examples: - default: *661 + default: *659 '404': *6 x-github: githubCloudOnly: false @@ -95779,8 +95309,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: + - *447 - *448 - - *449 - name: name in: path required: true @@ -95819,7 +95349,7 @@ paths: description: Response content: application/json: - schema: *643 + schema: *641 examples: default: value: @@ -95845,8 +95375,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: + - *447 - *448 - - *449 - name: name in: path required: true @@ -95872,8 +95402,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: + - *447 - *448 - - *449 responses: '200': description: Response @@ -95909,8 +95439,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: + - *447 - *448 - - *449 responses: '202': *37 '403': @@ -95938,8 +95468,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: + - *447 - *448 - - *449 responses: '204': description: Response @@ -95965,9 +95495,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: + - *447 - *448 - - *449 - - *541 + - *538 responses: '200': description: Response @@ -96114,8 +95644,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: + - *447 - *448 - - *449 requestBody: required: true content: @@ -96180,8 +95710,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: + - *447 - *448 - - *449 requestBody: required: true content: @@ -96215,9 +95745,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *564 + schema: *561 examples: - default: *662 + default: *660 '204': description: Response when already merged '404': @@ -96242,8 +95772,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: + - *447 - *448 - - *449 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -96284,7 +95814,7 @@ paths: application/json: schema: type: array - items: *387 + items: *386 examples: default: value: @@ -96340,8 +95870,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: + - *447 - *448 - - *449 requestBody: required: true content: @@ -96381,9 +95911,9 @@ paths: description: Response content: application/json: - schema: *387 + schema: *386 examples: - default: &663 + default: &661 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -96442,9 +95972,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: + - *447 - *448 - - *449 - - &664 + - &662 name: milestone_number description: The number that identifies the milestone. in: path @@ -96456,9 +95986,9 @@ paths: description: Response content: application/json: - schema: *387 + schema: *386 examples: - default: *663 + default: *661 '404': *6 x-github: githubCloudOnly: false @@ -96475,9 +96005,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: + - *447 - *448 - - *449 - - *664 + - *662 requestBody: required: false content: @@ -96515,9 +96045,9 @@ paths: description: Response content: application/json: - schema: *387 + schema: *386 examples: - default: *663 + default: *661 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96533,9 +96063,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: + - *447 - *448 - - *449 - - *664 + - *662 responses: '204': description: Response @@ -96556,9 +96086,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: + - *447 - *448 - - *449 - - *664 + - *662 - *17 - *19 responses: @@ -96568,9 +96098,9 @@ paths: application/json: schema: type: array - items: *643 + items: *641 examples: - default: *644 + default: *642 headers: Link: *41 x-github: @@ -96589,12 +96119,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: + - *447 - *448 - - *449 - - *665 - - *666 + - *663 + - *664 - *208 - - *667 + - *665 - *17 - *19 responses: @@ -96606,7 +96136,7 @@ paths: type: array items: *230 examples: - default: *668 + default: *666 headers: Link: *41 x-github: @@ -96630,8 +96160,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: + - *447 - *448 - - *449 requestBody: required: false content: @@ -96689,14 +96219,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: + - *447 - *448 - - *449 responses: '200': description: Response content: application/json: - schema: &669 + schema: &667 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -96840,7 +96370,7 @@ paths: - custom_404 - public examples: - default: &670 + default: &668 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -96881,8 +96411,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: + - *447 - *448 - - *449 requestBody: required: true content: @@ -96937,9 +96467,9 @@ paths: description: Response content: application/json: - schema: *669 + schema: *667 examples: - default: *670 + default: *668 '422': *15 '409': *112 x-github: @@ -96962,8 +96492,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: + - *447 - *448 - - *449 requestBody: required: true content: @@ -97071,8 +96601,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: + - *447 - *448 - - *449 responses: '204': description: Response @@ -97098,8 +96628,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: + - *447 - *448 - - *449 - *17 - *19 responses: @@ -97109,7 +96639,7 @@ paths: application/json: schema: type: array - items: &671 + items: &669 title: Page Build description: Page Build type: object @@ -97201,8 +96731,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: + - *447 - *448 - - *449 responses: '201': description: Response @@ -97249,16 +96779,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: + - *447 - *448 - - *449 responses: '200': description: Response content: application/json: - schema: *671 + schema: *669 examples: - default: &672 + default: &670 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -97306,8 +96836,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: + - *447 - *448 - - *449 - name: build_id in: path required: true @@ -97318,9 +96848,9 @@ paths: description: Response content: application/json: - schema: *671 + schema: *669 examples: - default: *672 + default: *670 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97340,8 +96870,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: + - *447 - *448 - - *449 requestBody: required: true content: @@ -97449,9 +96979,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: + - *447 - *448 - - *449 - - &673 + - &671 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -97509,9 +97039,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: + - *447 - *448 - - *449 - - *673 + - *671 responses: '204': *144 '404': *6 @@ -97538,8 +97068,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: + - *447 - *448 - - *449 responses: '200': description: Response @@ -97834,8 +97364,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: + - *447 - *448 - - *449 responses: '200': description: Private vulnerability reporting status @@ -97872,8 +97402,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: + - *447 - *448 - - *449 responses: '204': *144 '422': *14 @@ -97894,8 +97424,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: + - *447 - *448 - - *449 responses: '204': *144 '422': *14 @@ -97904,148 +97434,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: - - *448 - - *449 - - 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: *382 - 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: *41 - '401': *23 - '403': *27 - '404': *6 - '410': *459 - '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: - - *448 - - *449 - 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: *382 - examples: - default: *458 - '401': *23 - '403': *27 - '404': *6 - '410': *459 - '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 @@ -98059,8 +97447,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: + - *447 - *448 - - *449 responses: '200': description: Response @@ -98070,7 +97458,7 @@ paths: type: array items: *145 examples: - default: *674 + default: *672 '403': *27 '404': *6 x-github: @@ -98092,8 +97480,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: + - *447 - *448 - - *449 requestBody: required: true content: @@ -98109,7 +97497,7 @@ paths: required: - properties examples: - default: *675 + default: *673 responses: '204': description: No Content when custom property values are successfully created @@ -98147,8 +97535,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: + - *447 - *448 - - *449 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -98208,9 +97596,9 @@ paths: application/json: schema: type: array - items: *568 + items: *565 examples: - default: *676 + default: *674 headers: Link: *41 '304': *35 @@ -98242,8 +97630,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: + - *447 - *448 - - *449 requestBody: required: true content: @@ -98310,7 +97698,7 @@ paths: description: Response content: application/json: - schema: &680 + schema: &678 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -98439,7 +97827,7 @@ paths: milestone: anyOf: - type: 'null' - - *387 + - *386 active_lock_reason: type: - string @@ -98532,14 +97920,14 @@ paths: _links: type: object properties: - comments: *388 - commits: *388 - statuses: *388 - html: *388 - issue: *388 - review_comments: *388 - review_comment: *388 - self: *388 + comments: *387 + commits: *387 + statuses: *387 + html: *387 + issue: *387 + review_comments: *387 + review_comment: *387 + self: *387 required: - comments - commits @@ -98550,7 +97938,7 @@ paths: - review_comment - self author_association: *205 - auto_merge: *677 + auto_merge: *675 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -98652,7 +98040,7 @@ paths: - merged_by - review_comments examples: - default: &681 + default: &679 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -99179,8 +98567,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: + - *447 - *448 - - *449 - name: sort in: query required: false @@ -99209,9 +98597,9 @@ paths: application/json: schema: type: array - items: *678 + items: *676 examples: - default: &683 + default: &681 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -99288,17 +98676,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: + - *447 - *448 - - *449 - *217 responses: '200': description: Response content: application/json: - schema: *678 + schema: *676 examples: - default: &679 + default: &677 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -99373,8 +98761,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: + - *447 - *448 - - *449 - *217 requestBody: required: true @@ -99397,9 +98785,9 @@ paths: description: Response content: application/json: - schema: *678 + schema: *676 examples: - default: *679 + default: *677 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99415,8 +98803,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: + - *447 - *448 - - *449 - *217 responses: '204': @@ -99438,8 +98826,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: + - *447 - *448 - - *449 - *217 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -99466,9 +98854,9 @@ paths: application/json: schema: type: array - items: *437 + items: *436 examples: - default: *439 + default: *438 headers: Link: *41 '404': *6 @@ -99489,8 +98877,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: + - *447 - *448 - - *449 - *217 requestBody: required: true @@ -99523,16 +98911,16 @@ paths: description: Reaction exists content: application/json: - schema: *437 + schema: *436 examples: - default: *438 + default: *437 '201': description: Reaction created content: application/json: - schema: *437 + schema: *436 examples: - default: *438 + default: *437 '422': *15 x-github: githubCloudOnly: false @@ -99554,10 +98942,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: + - *447 - *448 - - *449 - *217 - - *440 + - *439 responses: '204': description: Response @@ -99600,9 +98988,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: + - *447 - *448 - - *449 - - &682 + - &680 name: pull_number description: The number that identifies the pull request. in: path @@ -99615,9 +99003,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *680 + schema: *678 examples: - default: *681 + default: *679 '304': *35 '404': *6 '406': @@ -99652,9 +99040,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: + - *447 - *448 - - *449 - - *682 + - *680 requestBody: required: false content: @@ -99696,9 +99084,9 @@ paths: description: Response content: application/json: - schema: *680 + schema: *678 examples: - default: *681 + default: *679 '422': *15 '403': *27 x-github: @@ -99720,9 +99108,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: + - *447 - *448 - - *449 - - *682 + - *680 requestBody: required: true content: @@ -99785,7 +99173,7 @@ paths: application/json: schema: *356 examples: - default: *555 + default: *552 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -99793,7 +99181,7 @@ paths: application/json: schema: *356 examples: - default: *555 + default: *552 '401': *23 '403': *27 '404': *6 @@ -99823,9 +99211,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: + - *447 - *448 - - *449 - - *682 + - *680 - *227 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -99846,9 +99234,9 @@ paths: application/json: schema: type: array - items: *678 + items: *676 examples: - default: *683 + default: *681 headers: Link: *41 x-github: @@ -99881,9 +99269,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: + - *447 - *448 - - *449 - - *682 + - *680 requestBody: required: true content: @@ -99989,7 +99377,7 @@ paths: description: Response content: application/json: - schema: *678 + schema: *676 examples: example-for-a-multi-line-comment: value: @@ -100077,9 +99465,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: + - *447 - *448 - - *449 - - *682 + - *680 - *217 requestBody: required: true @@ -100102,7 +99490,7 @@ paths: description: Response content: application/json: - schema: *678 + schema: *676 examples: default: value: @@ -100188,9 +99576,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: + - *447 - *448 - - *449 - - *682 + - *680 - *17 - *19 responses: @@ -100200,9 +99588,9 @@ paths: application/json: schema: type: array - items: *564 + items: *561 examples: - default: *684 + default: *682 headers: Link: *41 x-github: @@ -100232,9 +99620,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: + - *447 - *448 - - *449 - - *682 + - *680 - *17 - *19 responses: @@ -100244,7 +99632,7 @@ paths: application/json: schema: type: array - items: *575 + items: *572 examples: default: value: @@ -100282,9 +99670,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: + - *447 - *448 - - *449 - - *682 + - *680 responses: '204': description: Response if pull request has been merged @@ -100307,9 +99695,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: + - *447 - *448 - - *449 - - *682 + - *680 requestBody: required: false content: @@ -100421,9 +99809,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: + - *447 - *448 - - *449 - - *682 + - *680 responses: '200': description: Response @@ -100498,9 +99886,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: + - *447 - *448 - - *449 - - *682 + - *680 requestBody: required: false content: @@ -100537,7 +99925,7 @@ paths: description: Response content: application/json: - schema: *568 + schema: *565 examples: default: value: @@ -101073,9 +100461,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: + - *447 - *448 - - *449 - - *682 + - *680 requestBody: required: true content: @@ -101109,7 +100497,7 @@ paths: description: Response content: application/json: - schema: *568 + schema: *565 examples: default: value: @@ -101614,9 +101002,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: + - *447 - *448 - - *449 - - *682 + - *680 - *17 - *19 responses: @@ -101626,7 +101014,7 @@ paths: application/json: schema: type: array - items: &685 + items: &683 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -101782,9 +101170,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: + - *447 - *448 - - *449 - - *682 + - *680 requestBody: required: false content: @@ -101874,9 +101262,9 @@ paths: description: Response content: application/json: - schema: *685 + schema: *683 examples: - default: &687 + default: &685 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -101939,10 +101327,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: + - *447 - *448 - - *449 - - *682 - - &686 + - *680 + - &684 name: review_id description: The unique identifier of the review. in: path @@ -101954,9 +101342,9 @@ paths: description: Response content: application/json: - schema: *685 + schema: *683 examples: - default: &688 + default: &686 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -102015,10 +101403,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: + - *447 - *448 - - *449 - - *682 - - *686 + - *680 + - *684 requestBody: required: true content: @@ -102041,7 +101429,7 @@ paths: description: Response content: application/json: - schema: *685 + schema: *683 examples: default: value: @@ -102103,18 +101491,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: + - *447 - *448 - - *449 - - *682 - - *686 + - *680 + - *684 responses: '200': description: Response content: application/json: - schema: *685 + schema: *683 examples: - default: *687 + default: *685 '422': *7 '404': *6 x-github: @@ -102141,10 +101529,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: + - *447 - *448 - - *449 - - *682 - - *686 + - *680 + - *684 - *17 - *19 responses: @@ -102242,9 +101630,9 @@ paths: _links: type: object properties: - self: *388 - html: *388 - pull_request: *388 + self: *387 + html: *387 + pull_request: *387 required: - self - html @@ -102402,10 +101790,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: + - *447 - *448 - - *449 - - *682 - - *686 + - *680 + - *684 requestBody: required: true content: @@ -102434,7 +101822,7 @@ paths: description: Response content: application/json: - schema: *685 + schema: *683 examples: default: value: @@ -102497,10 +101885,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: + - *447 - *448 - - *449 - - *682 - - *686 + - *680 + - *684 requestBody: required: true content: @@ -102535,9 +101923,9 @@ paths: description: Response content: application/json: - schema: *685 + schema: *683 examples: - default: *688 + default: *686 '404': *6 '422': *7 '403': *27 @@ -102559,9 +101947,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: + - *447 - *448 - - *449 - - *682 + - *680 requestBody: required: false content: @@ -102625,8 +102013,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: + - *447 - *448 - - *449 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -102639,9 +102027,9 @@ paths: description: Response content: application/json: - schema: *689 + schema: *687 examples: - default: &690 + default: &688 value: type: file encoding: base64 @@ -102683,8 +102071,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: + - *447 - *448 - - *449 - name: dir description: The alternate path to look for a README file in: path @@ -102704,9 +102092,9 @@ paths: description: Response content: application/json: - schema: *689 + schema: *687 examples: - default: *690 + default: *688 '404': *6 '422': *15 x-github: @@ -102728,8 +102116,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: + - *447 - *448 - - *449 - *17 - *19 responses: @@ -102739,7 +102127,7 @@ paths: application/json: schema: type: array - items: &691 + items: &689 title: Release description: A release. type: object @@ -102821,7 +102209,7 @@ paths: author: *4 assets: type: array - items: &692 + items: &690 title: Release Asset description: Data related to a release. type: object @@ -103008,8 +102396,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: + - *447 - *448 - - *449 requestBody: required: true content: @@ -103085,9 +102473,9 @@ paths: description: Response content: application/json: - schema: *691 + schema: *689 examples: - default: &695 + default: &693 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -103192,9 +102580,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: + - *447 - *448 - - *449 - - &693 + - &691 name: asset_id description: The unique identifier of the asset. in: path @@ -103206,9 +102594,9 @@ paths: description: Response content: application/json: - schema: *692 + schema: *690 examples: - default: &694 + default: &692 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 @@ -103243,7 +102631,7 @@ paths: type: User site_admin: false '404': *6 - '302': *577 + '302': *574 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103259,9 +102647,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: + - *447 - *448 - - *449 - - *693 + - *691 requestBody: required: false content: @@ -103290,9 +102678,9 @@ paths: description: Response content: application/json: - schema: *692 + schema: *690 examples: - default: *694 + default: *692 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103308,9 +102696,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: + - *447 - *448 - - *449 - - *693 + - *691 responses: '204': description: Response @@ -103334,8 +102722,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: + - *447 - *448 - - *449 requestBody: required: true content: @@ -103421,16 +102809,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: + - *447 - *448 - - *449 responses: '200': description: Response content: application/json: - schema: *691 + schema: *689 examples: - default: *695 + default: *693 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103447,8 +102835,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: + - *447 - *448 - - *449 - name: tag description: tag parameter in: path @@ -103461,9 +102849,9 @@ paths: description: Response content: application/json: - schema: *691 + schema: *689 examples: - default: *695 + default: *693 '404': *6 x-github: githubCloudOnly: false @@ -103485,9 +102873,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: + - *447 - *448 - - *449 - - &696 + - &694 name: release_id description: The unique identifier of the release. in: path @@ -103501,9 +102889,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: *691 + schema: *689 examples: - default: *695 + default: *693 '401': description: Unauthorized x-github: @@ -103521,9 +102909,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: + - *447 - *448 - - *449 - - *696 + - *694 requestBody: required: false content: @@ -103587,9 +102975,9 @@ paths: description: Response content: application/json: - schema: *691 + schema: *689 examples: - default: *695 + default: *693 '404': description: Not Found if the discussion category name is invalid content: @@ -103610,9 +102998,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: + - *447 - *448 - - *449 - - *696 + - *694 responses: '204': description: Response @@ -103632,9 +103020,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: + - *447 - *448 - - *449 - - *696 + - *694 - *17 - *19 responses: @@ -103644,7 +103032,7 @@ paths: application/json: schema: type: array - items: *692 + items: *690 examples: default: value: @@ -103726,9 +103114,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: + - *447 - *448 - - *449 - - *696 + - *694 - name: name in: query required: true @@ -103754,7 +103142,7 @@ paths: description: Response for successful upload content: application/json: - schema: *692 + schema: *690 examples: response-for-successful-upload: value: @@ -103809,9 +103197,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: + - *447 - *448 - - *449 - - *696 + - *694 - 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. @@ -103835,9 +103223,9 @@ paths: application/json: schema: type: array - items: *437 + items: *436 examples: - default: *439 + default: *438 headers: Link: *41 '404': *6 @@ -103858,9 +103246,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: + - *447 - *448 - - *449 - - *696 + - *694 requestBody: required: true content: @@ -103890,16 +103278,16 @@ paths: description: Reaction exists content: application/json: - schema: *437 + schema: *436 examples: - default: *438 + default: *437 '201': description: Reaction created content: application/json: - schema: *437 + schema: *436 examples: - default: *438 + default: *437 '422': *15 x-github: githubCloudOnly: false @@ -103921,10 +103309,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: + - *447 - *448 - - *449 - - *696 - - *440 + - *694 + - *439 responses: '204': description: Response @@ -103948,9 +103336,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: + - *447 - *448 - - *449 - - *507 + - *504 - *17 - *19 responses: @@ -103967,7 +103355,7 @@ paths: oneOf: - allOf: - *159 - - &697 + - &695 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -103988,67 +103376,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *160 - - *697 + - *695 - allOf: - *161 - - *697 + - *695 - allOf: - *162 - - *697 + - *695 - allOf: - - *698 - - *697 + - *696 + - *695 - allOf: - *163 - - *697 + - *695 - allOf: - *164 - - *697 + - *695 - allOf: - *165 - - *697 + - *695 - allOf: - *166 - - *697 + - *695 - allOf: - *167 - - *697 + - *695 - allOf: - *168 - - *697 + - *695 - allOf: - *169 - - *697 + - *695 - allOf: - *170 - - *697 + - *695 - allOf: - *171 - - *697 + - *695 - allOf: - *172 - - *697 + - *695 - allOf: - *173 - - *697 + - *695 - allOf: - *174 - - *697 + - *695 - allOf: - *175 - - *697 + - *695 - allOf: - *176 - - *697 + - *695 - allOf: - *177 - - *697 + - *695 - allOf: - *178 - - *697 + - *695 - allOf: - - *699 - *697 + - *695 examples: default: value: @@ -104087,8 +103475,8 @@ paths: category: repos subcategory: rules parameters: + - *447 - *448 - - *449 - *17 - *19 - name: includes_parents @@ -104099,7 +103487,7 @@ paths: schema: type: boolean default: true - - *700 + - *698 responses: '200': description: Response @@ -104154,8 +103542,8 @@ paths: category: repos subcategory: rules parameters: + - *447 - *448 - - *449 requestBody: description: Request body required: true @@ -104184,7 +103572,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *701 + items: *699 required: - name - enforcement @@ -104217,7 +103605,7 @@ paths: application/json: schema: *179 examples: - default: &710 + default: &708 value: id: 42 name: super cool ruleset @@ -104264,12 +103652,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: + - *447 - *448 - - *449 - - *702 + - *700 - *99 - - *703 - - *704 + - *701 + - *702 - *17 - *19 responses: @@ -104277,9 +103665,9 @@ paths: description: Response content: application/json: - schema: *705 + schema: *703 examples: - default: *706 + default: *704 '404': *6 '500': *38 x-github: @@ -104300,17 +103688,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: + - *447 - *448 - - *449 - - *707 + - *705 responses: '200': description: Response content: application/json: - schema: *708 + schema: *706 examples: - default: *709 + default: *707 '404': *6 '500': *38 x-github: @@ -104338,8 +103726,8 @@ paths: category: repos subcategory: rules parameters: + - *447 - *448 - - *449 - name: ruleset_id description: The ID of the ruleset. in: path @@ -104361,7 +103749,7 @@ paths: application/json: schema: *179 examples: - default: *710 + default: *708 '404': *6 '500': *38 put: @@ -104379,8 +103767,8 @@ paths: category: repos subcategory: rules parameters: + - *447 - *448 - - *449 - name: ruleset_id description: The ID of the ruleset. in: path @@ -104414,7 +103802,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *701 + items: *699 examples: default: value: @@ -104444,7 +103832,7 @@ paths: application/json: schema: *179 examples: - default: *710 + default: *708 '404': *6 '500': *38 delete: @@ -104462,8 +103850,8 @@ paths: category: repos subcategory: rules parameters: + - *447 - *448 - - *449 - name: ruleset_id description: The ID of the ruleset. in: path @@ -104486,8 +103874,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: + - *447 - *448 - - *449 - *17 - *19 - name: ruleset_id @@ -104505,7 +103893,7 @@ paths: type: array items: *183 examples: - default: *401 + default: *400 '404': *6 '500': *38 x-github: @@ -104524,8 +103912,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: + - *447 - *448 - - *449 - name: ruleset_id description: The ID of the ruleset. in: path @@ -104543,7 +103931,7 @@ paths: description: Response content: application/json: - schema: *402 + schema: *401 examples: default: value: @@ -104598,21 +103986,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: + - *447 - *448 - - *449 + - *402 - *403 - *404 - *405 - - *406 - *104 - *19 - *17 - - *711 - - *712 + - *709 + - *710 + - *406 - *407 - *408 - *409 - - *410 responses: '200': description: Response @@ -104620,7 +104008,7 @@ paths: application/json: schema: type: array - items: &716 + items: &714 type: object properties: number: *119 @@ -104636,8 +104024,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *713 - resolution: *714 + state: *711 + resolution: *712 resolved_at: type: - string @@ -104731,7 +104119,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *715 + - *713 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -104876,16 +104264,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: + - *447 - *448 - - *449 - - *535 - - *410 + - *532 + - *409 responses: '200': description: Response content: application/json: - schema: *716 + schema: *714 examples: default: value: @@ -104937,9 +104325,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: + - *447 - *448 - - *449 - - *535 + - *532 requestBody: required: true content: @@ -104947,8 +104335,8 @@ paths: schema: type: object properties: - state: *713 - resolution: *714 + state: *711 + resolution: *712 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -104967,7 +104355,7 @@ paths: description: Response content: application/json: - schema: *716 + schema: *714 examples: default: value: @@ -105042,9 +104430,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: + - *447 - *448 - - *449 - - *535 + - *532 - *19 - *17 responses: @@ -105055,7 +104443,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &892 + items: &890 type: object properties: type: @@ -105082,6 +104470,8 @@ paths: - commit details: oneOf: + - *715 + - *716 - *717 - *718 - *719 @@ -105093,8 +104483,6 @@ paths: - *725 - *726 - *727 - - *728 - - *729 examples: default: value: @@ -105180,8 +104568,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: + - *447 - *448 - - *449 requestBody: required: true content: @@ -105189,14 +104577,14 @@ paths: schema: type: object properties: - reason: &731 + reason: &729 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *730 + placeholder_id: *728 required: - reason - placeholder_id @@ -105213,7 +104601,7 @@ paths: schema: type: object properties: - reason: *731 + reason: *729 expire_at: type: - string @@ -105260,8 +104648,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: + - *447 - *448 - - *449 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -105276,7 +104664,7 @@ paths: properties: incremental_scans: type: array - items: &732 + items: &730 description: Information on a single scan performed by secret scanning on the repository type: object @@ -105304,15 +104692,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *732 + items: *730 backfill_scans: type: array - items: *732 + items: *730 custom_pattern_backfill_scans: type: array items: allOf: - - *732 + - *730 - type: object properties: pattern_name: @@ -105382,8 +104770,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: + - *447 - *448 - - *449 - *104 - name: sort description: The property to sort the results by. @@ -105427,9 +104815,9 @@ paths: application/json: schema: type: array - items: *733 + items: *731 examples: - default: *734 + default: *732 '400': *14 '404': *6 x-github: @@ -105452,8 +104840,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: + - *447 - *448 - - *449 requestBody: required: true content: @@ -105533,7 +104921,7 @@ paths: login: type: string description: The username of the user credited. - type: *415 + type: *414 required: - login - type @@ -105623,9 +105011,9 @@ paths: description: Response content: application/json: - schema: *733 + schema: *731 examples: - default: &736 + default: &734 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -105858,8 +105246,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: + - *447 - *448 - - *449 requestBody: required: true content: @@ -105972,7 +105360,7 @@ paths: description: Response content: application/json: - schema: *733 + schema: *731 examples: default: value: @@ -106119,17 +105507,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: + - *447 - *448 - - *449 - - *735 + - *733 responses: '200': description: Response content: application/json: - schema: *733 + schema: *731 examples: - default: *736 + default: *734 '403': *27 '404': *6 x-github: @@ -106153,9 +105541,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: + - *447 - *448 - - *449 - - *735 + - *733 requestBody: required: true content: @@ -106235,7 +105623,7 @@ paths: login: type: string description: The username of the user credited. - type: *415 + type: *414 required: - login - type @@ -106326,10 +105714,10 @@ paths: description: Response content: application/json: - schema: *733 + schema: *731 examples: - default: *736 - add_credit: *736 + default: *734 + add_credit: *734 '403': *27 '404': *6 '422': @@ -106367,9 +105755,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: + - *447 - *448 - - *449 - - *735 + - *733 responses: '202': *37 '400': *14 @@ -106396,17 +105784,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: + - *447 - *448 - - *449 - - *735 + - *733 responses: '202': description: Response content: application/json: - schema: *461 + schema: *458 examples: - default: *463 + default: *460 '400': *14 '422': *15 '403': *27 @@ -106432,8 +105820,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: + - *447 - *448 - - *449 - *17 - *19 responses: @@ -106529,8 +105917,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: + - *447 - *448 - - *449 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -106539,7 +105927,7 @@ paths: application/json: schema: type: array - items: &737 + items: &735 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -106572,8 +105960,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: + - *447 - *448 - - *449 responses: '200': description: Response @@ -106651,8 +106039,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: + - *447 - *448 - - *449 responses: '200': description: Response @@ -106746,8 +106134,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: + - *447 - *448 - - *449 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -106901,8 +106289,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: + - *447 - *448 - - *449 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -106912,7 +106300,7 @@ paths: application/json: schema: type: array - items: *737 + items: *735 examples: default: value: @@ -106945,8 +106333,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: + - *447 - *448 - - *449 - name: sha in: path required: true @@ -107002,7 +106390,7 @@ paths: description: Response content: application/json: - schema: *738 + schema: *736 examples: default: value: @@ -107056,8 +106444,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: + - *447 - *448 - - *449 - *17 - *19 responses: @@ -107089,14 +106477,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: + - *447 - *448 - - *449 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &739 + schema: &737 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -107169,8 +106557,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: + - *447 - *448 - - *449 requestBody: required: false content: @@ -107196,7 +106584,7 @@ paths: description: Response content: application/json: - schema: *739 + schema: *737 examples: default: value: @@ -107223,8 +106611,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: + - *447 - *448 - - *449 responses: '204': description: Response @@ -107244,8 +106632,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: + - *447 - *448 - - *449 - *17 - *19 responses: @@ -107327,8 +106715,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: + - *447 - *448 - - *449 responses: '200': description: Response @@ -107336,7 +106724,7 @@ paths: application/json: schema: type: array - items: &740 + items: &738 title: Tag protection description: Tag protection type: object @@ -107393,8 +106781,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: + - *447 - *448 - - *449 requestBody: required: true content: @@ -107417,7 +106805,7 @@ paths: description: Response content: application/json: - schema: *740 + schema: *738 examples: default: value: @@ -107448,8 +106836,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: + - *447 - *448 - - *449 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -107486,8 +106874,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: + - *447 - *448 - - *449 - name: ref in: path required: true @@ -107523,8 +106911,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: + - *447 - *448 - - *449 - *17 - *19 responses: @@ -107556,8 +106944,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: + - *447 - *448 - - *449 - *19 - *17 responses: @@ -107565,7 +106953,7 @@ paths: description: Response content: application/json: - schema: &741 + schema: &739 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -107577,7 +106965,7 @@ paths: required: - names examples: - default: &742 + default: &740 value: names: - octocat @@ -107600,8 +106988,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: + - *447 - *448 - - *449 requestBody: required: true content: @@ -107632,9 +107020,9 @@ paths: description: Response content: application/json: - schema: *741 + schema: *739 examples: - default: *742 + default: *740 '404': *6 '422': *7 x-github: @@ -107655,9 +107043,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: + - *447 - *448 - - *449 - - &743 + - &741 name: per description: The time frame to display results for. in: query @@ -107688,7 +107076,7 @@ paths: - 128 clones: type: array - items: &744 + items: &742 title: Traffic type: object properties: @@ -107775,8 +107163,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: + - *447 - *448 - - *449 responses: '200': description: Response @@ -107870,8 +107258,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: + - *447 - *448 - - *449 responses: '200': description: Response @@ -107934,9 +107322,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: + - *447 - *448 - - *449 - - *743 + - *741 responses: '200': description: Response @@ -107957,7 +107345,7 @@ paths: - 3782 views: type: array - items: *744 + items: *742 required: - uniques - count @@ -108034,8 +107422,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: + - *447 - *448 - - *449 requestBody: required: true content: @@ -108309,8 +107697,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: + - *447 - *448 - - *449 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -108333,8 +107721,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: + - *447 - *448 - - *449 responses: '204': description: Response @@ -108356,8 +107744,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: + - *447 - *448 - - *449 responses: '204': description: Response @@ -108383,8 +107771,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: + - *447 - *448 - - *449 - name: ref in: path required: true @@ -108476,9 +107864,9 @@ paths: description: Response content: application/json: - schema: *461 + schema: *458 examples: - default: *463 + default: *460 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -108629,7 +108017,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &752 + - &750 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -108639,7 +108027,7 @@ paths: type: string examples: - members - - &757 + - &755 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -108651,7 +108039,7 @@ paths: format: int32 examples: - 1 - - &758 + - &756 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -108695,7 +108083,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &747 + items: &745 allOf: - type: object required: @@ -108777,7 +108165,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: &759 + meta: &757 type: object description: The metadata associated with the creation/updates to the user. @@ -108842,30 +108230,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &748 + '400': &746 description: Bad request content: application/json: - schema: *745 + schema: *743 application/scim+json: - schema: *745 - '401': *746 - '403': &749 + schema: *743 + '401': *744 + '403': &747 description: Permission denied - '429': &750 + '429': &748 description: Too many requests content: application/json: - schema: *745 + schema: *743 application/scim+json: - schema: *745 - '500': &751 + schema: *743 + '500': &749 description: Internal server error content: application/json: - schema: *745 + schema: *743 application/scim+json: - schema: *745 + schema: *743 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108889,7 +108277,7 @@ paths: required: true content: application/json: - schema: &755 + schema: &753 type: object required: - schemas @@ -108953,9 +108341,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *747 + schema: *745 examples: - group: &753 + group: &751 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -108974,13 +108362,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': *748 - '401': *746 - '403': *749 - '409': &756 + '400': *746 + '401': *744 + '403': *747 + '409': &754 description: Duplicate record detected - '429': *750 - '500': *751 + '429': *748 + '500': *749 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108997,7 +108385,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: - - &754 + - &752 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -109006,22 +108394,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *752 + - *750 - *39 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *747 + schema: *745 examples: - default: *753 - '400': *748 - '401': *746 - '403': *749 + default: *751 + '400': *746 + '401': *744 + '403': *747 '404': *6 - '429': *750 - '500': *751 + '429': *748 + '500': *749 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109040,13 +108428,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: - - *754 + - *752 - *39 requestBody: required: true content: application/json: - schema: *755 + schema: *753 examples: group: summary: Group @@ -109072,17 +108460,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *747 + schema: *745 examples: - group: *753 - groupWithMembers: *753 - '400': *748 - '401': *746 - '403': *749 + group: *751 + groupWithMembers: *751 + '400': *746 + '401': *744 + '403': *747 '404': *6 - '409': *756 - '429': *750 - '500': *751 + '409': *754 + '429': *748 + '500': *749 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109106,13 +108494,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: - - *754 + - *752 - *39 requestBody: required: true content: application/json: - schema: &766 + schema: &764 type: object required: - Operations @@ -109172,17 +108560,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *747 + schema: *745 examples: - updateGroup: *753 - addMembers: *753 - '400': *748 - '401': *746 - '403': *749 + updateGroup: *751 + addMembers: *751 + '400': *746 + '401': *744 + '403': *747 '404': *6 - '409': *756 - '429': *750 - '500': *751 + '409': *754 + '429': *748 + '500': *749 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109198,17 +108586,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: - - *754 + - *752 - *39 responses: '204': description: Group was deleted, no content - '400': *748 - '401': *746 - '403': *749 + '400': *746 + '401': *744 + '403': *747 '404': *6 - '429': *750 - '500': *751 + '429': *748 + '500': *749 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109242,8 +108630,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *757 - - *758 + - *755 + - *756 - *39 responses: '200': @@ -109277,7 +108665,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &761 + items: &759 allOf: - type: object required: @@ -109369,7 +108757,7 @@ paths: address. examples: - true - roles: &760 + roles: &758 type: array description: The roles assigned to the user. items: @@ -109428,7 +108816,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *759 + meta: *757 startIndex: type: integer description: A starting index for the returned page @@ -109467,11 +108855,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *748 - '401': *746 - '403': *749 - '429': *750 - '500': *751 + '400': *746 + '401': *744 + '403': *747 + '429': *748 + '500': *749 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109495,7 +108883,7 @@ paths: required: true content: application/json: - schema: &764 + schema: &762 type: object required: - schemas @@ -109588,9 +108976,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *760 + roles: *758 examples: - user: &765 + user: &763 summary: User value: schemas: @@ -109637,9 +109025,9 @@ paths: description: User has been created content: application/scim+json: - schema: *761 + schema: *759 examples: - user: &762 + user: &760 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -109665,13 +109053,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: *762 - '400': *748 - '401': *746 - '403': *749 - '409': *756 - '429': *750 - '500': *751 + enterpriseOwner: *760 + '400': *746 + '401': *744 + '403': *747 + '409': *754 + '429': *748 + '500': *749 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109688,7 +109076,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: - - &763 + - &761 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -109701,15 +109089,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *761 + schema: *759 examples: - default: *762 - '400': *748 - '401': *746 - '403': *749 + default: *760 + '400': *746 + '401': *744 + '403': *747 '404': *6 - '429': *750 - '500': *751 + '429': *748 + '500': *749 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109731,30 +109119,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: - - *763 + - *761 - *39 requestBody: required: true content: application/json: - schema: *764 + schema: *762 examples: - user: *765 + user: *763 responses: '200': description: User was updated content: application/scim+json: - schema: *761 + schema: *759 examples: - user: *762 - '400': *748 - '401': *746 - '403': *749 + user: *760 + '400': *746 + '401': *744 + '403': *747 '404': *6 - '409': *756 - '429': *750 - '500': *751 + '409': *754 + '429': *748 + '500': *749 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109789,13 +109177,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: - - *763 + - *761 - *39 requestBody: required: true content: application/json: - schema: *766 + schema: *764 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -109835,18 +109223,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *761 + schema: *759 examples: - userMultiValuedProperties: *762 - userSingleValuedProperties: *762 - disableUser: *762 - '400': *748 - '401': *746 - '403': *749 + userMultiValuedProperties: *760 + userSingleValuedProperties: *760 + disableUser: *760 + '400': *746 + '401': *744 + '403': *747 '404': *6 - '409': *756 - '429': *750 - '500': *751 + '409': *754 + '429': *748 + '500': *749 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109866,17 +109254,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: - - *763 + - *761 - *39 responses: '204': description: User was deleted, no content - '400': *748 - '401': *746 - '403': *749 + '400': *746 + '401': *744 + '403': *747 '404': *6 - '429': *750 - '500': *751 + '429': *748 + '500': *749 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109967,7 +109355,7 @@ paths: - 1 Resources: type: array - items: &767 + items: &765 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -110214,22 +109602,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *35 - '404': &768 + '404': &766 description: Resource not found content: application/json: - schema: *745 + schema: *743 application/scim+json: - schema: *745 - '403': &769 + schema: *743 + '403': &767 description: Forbidden content: application/json: - schema: *745 + schema: *743 application/scim+json: - schema: *745 - '400': *748 - '429': *750 + schema: *743 + '400': *746 + '429': *748 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -110255,9 +109643,9 @@ paths: description: Response content: application/scim+json: - schema: *767 + schema: *765 examples: - default: &770 + default: &768 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -110280,17 +109668,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *35 - '404': *768 - '403': *769 - '500': *751 + '404': *766 + '403': *767 + '500': *749 '409': description: Conflict content: application/json: - schema: *745 + schema: *743 application/scim+json: - schema: *745 - '400': *748 + schema: *743 + '400': *746 requestBody: required: true content: @@ -110390,17 +109778,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *81 - - *763 + - *761 responses: '200': description: Response content: application/scim+json: - schema: *767 + schema: *765 examples: - default: *770 - '404': *768 - '403': *769 + default: *768 + '404': *766 + '403': *767 '304': *35 x-github: githubCloudOnly: true @@ -110424,18 +109812,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *81 - - *763 + - *761 responses: '200': description: Response content: application/scim+json: - schema: *767 + schema: *765 examples: - default: *770 + default: *768 '304': *35 - '404': *768 - '403': *769 + '404': *766 + '403': *767 requestBody: required: true content: @@ -110550,19 +109938,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *81 - - *763 + - *761 responses: '200': description: Response content: application/scim+json: - schema: *767 + schema: *765 examples: - default: *770 + default: *768 '304': *35 - '404': *768 - '403': *769 - '400': *748 + '404': *766 + '403': *767 + '400': *746 '429': description: Response content: @@ -110658,12 +110046,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *81 - - *763 + - *761 responses: '204': description: Response - '404': *768 - '403': *769 + '404': *766 + '403': *767 '304': *35 x-github: githubCloudOnly: true @@ -110797,7 +110185,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &771 + text_matches: &769 title: Search Result Text Matches type: array items: @@ -110961,7 +110349,7 @@ paths: enum: - author-date - committer-date - - &772 + - &770 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 @@ -111030,7 +110418,7 @@ paths: committer: anyOf: - type: 'null' - - *505 + - *502 comment_count: type: integer message: @@ -111049,7 +110437,7 @@ paths: url: type: string format: uri - verification: *622 + verification: *619 required: - author - committer @@ -111064,7 +110452,7 @@ paths: committer: anyOf: - type: 'null' - - *505 + - *502 parents: type: array items: @@ -111081,7 +110469,7 @@ paths: type: number node_id: type: string - text_matches: *771 + text_matches: *769 required: - sha - node_id @@ -111274,7 +110662,7 @@ paths: - interactions - created - updated - - *772 + - *770 - *17 - *19 - name: advanced_search @@ -111371,11 +110759,11 @@ paths: type: - string - 'null' - sub_issues_summary: *773 - issue_dependencies_summary: *774 + sub_issues_summary: *771 + issue_dependencies_summary: *772 issue_field_values: type: array - items: *775 + items: *773 state: type: string state_reason: @@ -111389,7 +110777,7 @@ paths: milestone: anyOf: - type: 'null' - - *387 + - *386 comments: type: integer created_at: @@ -111403,7 +110791,7 @@ paths: - string - 'null' format: date-time - text_matches: *771 + text_matches: *769 pull_request: type: object properties: @@ -111626,7 +111014,7 @@ paths: enum: - created - updated - - *772 + - *770 - *17 - *19 responses: @@ -111671,7 +111059,7 @@ paths: - 'null' score: type: number - text_matches: *771 + text_matches: *769 required: - id - node_id @@ -111757,7 +111145,7 @@ paths: - forks - help-wanted-issues - updated - - *772 + - *770 - *17 - *19 responses: @@ -111994,7 +111382,7 @@ paths: - admin - pull - push - text_matches: *771 + text_matches: *769 temp_clone_token: type: string allow_merge_commit: @@ -112303,7 +111691,7 @@ paths: - string - 'null' format: uri - text_matches: *771 + text_matches: *769 related: type: - array @@ -112498,7 +111886,7 @@ paths: - followers - repositories - joined - - *772 + - *770 - *17 - *19 responses: @@ -112608,7 +111996,7 @@ paths: type: - boolean - 'null' - text_matches: *771 + text_matches: *769 blog: type: - string @@ -112690,7 +112078,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &776 + - &774 name: team_id description: The unique identifier of the team. in: path @@ -112702,9 +112090,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *428 examples: - default: *430 + default: *429 '404': *6 x-github: githubCloudOnly: false @@ -112731,7 +112119,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *776 + - *774 requestBody: required: true content: @@ -112795,16 +112183,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *429 + schema: *428 examples: - default: *430 + default: *429 '201': description: Response content: application/json: - schema: *429 + schema: *428 examples: - default: *430 + default: *429 '404': *6 '422': *15 '403': *27 @@ -112832,7 +112220,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *776 + - *774 responses: '204': description: Response @@ -112863,7 +112251,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *776 + - *774 - *104 - *17 - *19 @@ -112874,9 +112262,9 @@ paths: application/json: schema: type: array - items: *431 + items: *430 examples: - default: *777 + default: *775 headers: Link: *41 x-github: @@ -112905,7 +112293,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *776 + - *774 requestBody: required: true content: @@ -112939,9 +112327,9 @@ paths: description: Response content: application/json: - schema: *431 + schema: *430 examples: - default: *432 + default: *431 x-github: triggersNotification: true githubCloudOnly: false @@ -112968,16 +112356,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *776 - - *433 + - *774 + - *432 responses: '200': description: Response content: application/json: - schema: *431 + schema: *430 examples: - default: *432 + default: *431 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -113002,8 +112390,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *776 - - *433 + - *774 + - *432 requestBody: required: false content: @@ -113026,9 +112414,9 @@ paths: description: Response content: application/json: - schema: *431 + schema: *430 examples: - default: *778 + default: *776 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -113053,8 +112441,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *776 - - *433 + - *774 + - *432 responses: '204': description: Response @@ -113083,8 +112471,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *776 - - *433 + - *774 + - *432 - *104 - *17 - *19 @@ -113095,9 +112483,9 @@ paths: application/json: schema: type: array - items: *434 + items: *433 examples: - default: *779 + default: *777 headers: Link: *41 x-github: @@ -113126,8 +112514,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *776 - - *433 + - *774 + - *432 requestBody: required: true content: @@ -113149,9 +112537,9 @@ paths: description: Response content: application/json: - schema: *434 + schema: *433 examples: - default: *435 + default: *434 x-github: triggersNotification: true githubCloudOnly: false @@ -113178,17 +112566,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *776 - - *433 - - *436 + - *774 + - *432 + - *435 responses: '200': description: Response content: application/json: - schema: *434 + schema: *433 examples: - default: *435 + default: *434 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -113213,9 +112601,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *776 - - *433 - - *436 + - *774 + - *432 + - *435 requestBody: required: true content: @@ -113237,9 +112625,9 @@ paths: description: Response content: application/json: - schema: *434 + schema: *433 examples: - default: *780 + default: *778 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -113264,9 +112652,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *776 - - *433 - - *436 + - *774 + - *432 + - *435 responses: '204': description: Response @@ -113295,9 +112683,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: - - *776 - - *433 - - *436 + - *774 + - *432 + - *435 - 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. @@ -113323,9 +112711,9 @@ paths: application/json: schema: type: array - items: *437 + items: *436 examples: - default: *439 + default: *438 headers: Link: *41 x-github: @@ -113354,9 +112742,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: - - *776 - - *433 - - *436 + - *774 + - *432 + - *435 requestBody: required: true content: @@ -113388,9 +112776,9 @@ paths: description: Response content: application/json: - schema: *437 + schema: *436 examples: - default: *438 + default: *437 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -113416,8 +112804,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: - - *776 - - *433 + - *774 + - *432 - 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. @@ -113443,9 +112831,9 @@ paths: application/json: schema: type: array - items: *437 + items: *436 examples: - default: *439 + default: *438 headers: Link: *41 x-github: @@ -113474,8 +112862,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: - - *776 - - *433 + - *774 + - *432 requestBody: required: true content: @@ -113507,9 +112895,9 @@ paths: description: Response content: application/json: - schema: *437 + schema: *436 examples: - default: *438 + default: *437 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -113533,7 +112921,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *776 + - *774 - *17 - *19 responses: @@ -113571,7 +112959,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *776 + - *774 - name: role description: Filters members returned by their role in the team. in: query @@ -113622,7 +113010,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *776 + - *774 - *132 responses: '204': @@ -113659,7 +113047,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *776 + - *774 - *132 responses: '204': @@ -113699,7 +113087,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *776 + - *774 - *132 responses: '204': @@ -113736,16 +113124,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: - - *776 + - *774 - *132 responses: '200': description: Response content: application/json: - schema: *445 + schema: *444 examples: - response-if-user-is-a-team-maintainer: *781 + response-if-user-is-a-team-maintainer: *779 '404': *6 x-github: githubCloudOnly: false @@ -113778,7 +113166,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: - - *776 + - *774 - *132 requestBody: required: false @@ -113804,9 +113192,9 @@ paths: description: Response content: application/json: - schema: *445 + schema: *444 examples: - response-if-users-membership-with-team-is-now-pending: *782 + response-if-users-membership-with-team-is-now-pending: *780 '403': description: Forbidden if team synchronization is set up '422': @@ -113840,7 +113228,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: - - *776 + - *774 - *132 responses: '204': @@ -113869,7 +113257,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *776 + - *774 - *17 - *19 responses: @@ -113879,9 +113267,9 @@ paths: application/json: schema: type: array - items: *446 + items: *445 examples: - default: *783 + default: *781 headers: Link: *41 '404': *6 @@ -113907,16 +113295,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: - - *776 - - *447 + - *774 + - *446 responses: '200': description: Response content: application/json: - schema: *446 + schema: *445 examples: - default: *784 + default: *782 '404': description: Not Found if project is not managed by this team x-github: @@ -113940,8 +113328,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: - - *776 - - *447 + - *774 + - *446 requestBody: required: false content: @@ -114008,8 +113396,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: - - *776 - - *447 + - *774 + - *446 responses: '204': description: Response @@ -114036,7 +113424,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *776 + - *774 - *17 - *19 responses: @@ -114078,15 +113466,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: - - *776 + - *774 + - *447 - *448 - - *449 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *785 + schema: *783 examples: alternative-response-with-extra-repository-information: value: @@ -114237,9 +113625,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: - - *776 + - *774 + - *447 - *448 - - *449 requestBody: required: false content: @@ -114289,9 +113677,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: - - *776 + - *774 + - *447 - *448 - - *449 responses: '204': description: Response @@ -114320,15 +113708,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: - - *776 + - *774 responses: '200': description: Response content: application/json: - schema: *450 + schema: *449 examples: - default: *451 + default: *450 '403': *27 '404': *6 x-github: @@ -114355,7 +113743,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: - - *776 + - *774 requestBody: required: true content: @@ -114416,7 +113804,7 @@ paths: description: Response content: application/json: - schema: *450 + schema: *449 examples: default: value: @@ -114447,7 +113835,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *776 + - *774 - *17 - *19 responses: @@ -114459,7 +113847,7 @@ paths: type: array items: *296 examples: - response-if-child-teams-exist: *786 + response-if-child-teams-exist: *784 headers: Link: *41 '404': *6 @@ -114492,7 +113880,7 @@ paths: application/json: schema: oneOf: - - &788 + - &786 title: Private User description: Private User type: object @@ -114742,7 +114130,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *787 + - *785 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -114902,7 +114290,7 @@ paths: description: Response content: application/json: - schema: *788 + schema: *786 examples: default: value: @@ -115248,7 +114636,7 @@ paths: application/json: schema: *356 examples: - default: *555 + default: *552 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -115256,7 +114644,7 @@ paths: application/json: schema: *356 examples: - default: *555 + default: *552 '401': *23 '403': *27 '404': *6 @@ -115300,7 +114688,7 @@ paths: type: integer secrets: type: array - items: &789 + items: &787 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -115342,7 +114730,7 @@ paths: - visibility - selected_repositories_url examples: - default: *557 + default: *554 headers: Link: *41 x-github: @@ -115420,7 +114808,7 @@ paths: description: Response content: application/json: - schema: *789 + schema: *787 examples: default: value: @@ -115566,7 +114954,7 @@ paths: type: array items: *269 examples: - default: *790 + default: *788 '401': *23 '403': *27 '404': *6 @@ -115718,7 +115106,7 @@ paths: application/json: schema: *356 examples: - default: *555 + default: *552 '304': *35 '500': *38 '401': *23 @@ -115776,7 +115164,7 @@ paths: application/json: schema: *356 examples: - default: *555 + default: *552 '401': *23 '403': *27 '404': *6 @@ -115833,7 +115221,7 @@ paths: description: Response content: application/json: - schema: &791 + schema: &789 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -115886,7 +115274,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &792 + default: &790 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -115931,9 +115319,9 @@ paths: description: Response content: application/json: - schema: *791 + schema: *789 examples: - default: *792 + default: *790 '404': *6 x-github: githubCloudOnly: false @@ -115970,9 +115358,9 @@ paths: type: integer machines: type: array - items: *556 + items: *553 examples: - default: *793 + default: *791 '304': *35 '500': *38 '401': *23 @@ -116057,11 +115445,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *461 + repository: *458 machine: anyOf: - type: 'null' - - *556 + - *553 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -116866,7 +116254,7 @@ paths: application/json: schema: *356 examples: - default: *555 + default: *552 '304': *35 '500': *38 '400': *14 @@ -116906,7 +116294,7 @@ paths: application/json: schema: *356 examples: - default: *555 + default: *552 '500': *38 '401': *23 '403': *27 @@ -116938,7 +116326,7 @@ paths: type: array items: *366 examples: - default: &804 + default: &802 value: - id: 197 name: hello_docker @@ -117039,7 +116427,7 @@ paths: application/json: schema: type: array - items: &794 + items: &792 title: Email description: Email type: object @@ -117109,9 +116497,9 @@ paths: application/json: schema: type: array - items: *794 + items: *792 examples: - default: &806 + default: &804 value: - email: octocat@github.com verified: true @@ -117188,7 +116576,7 @@ paths: application/json: schema: type: array - items: *794 + items: *792 examples: default: value: @@ -117446,7 +116834,7 @@ paths: application/json: schema: type: array - items: &795 + items: &793 title: GPG Key description: A unique encryption key type: object @@ -117591,7 +116979,7 @@ paths: - subkeys - revoked examples: - default: &820 + default: &818 value: - id: 3 name: Octocat's GPG Key @@ -117676,9 +117064,9 @@ paths: description: Response content: application/json: - schema: *795 + schema: *793 examples: - default: &796 + default: &794 value: id: 3 name: Octocat's GPG Key @@ -117735,7 +117123,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: - - &797 + - &795 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -117747,9 +117135,9 @@ paths: description: Response content: application/json: - schema: *795 + schema: *793 examples: - default: *796 + default: *794 '404': *6 '304': *35 '403': *27 @@ -117772,7 +117160,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: - - *797 + - *795 responses: '204': description: Response @@ -118077,7 +117465,7 @@ paths: required: true content: application/json: - schema: *633 + schema: *630 examples: default: value: @@ -118227,7 +117615,7 @@ paths: application/json: schema: type: array - items: &798 + items: &796 title: Key description: Key type: object @@ -118330,9 +117718,9 @@ paths: description: Response content: application/json: - schema: *798 + schema: *796 examples: - default: &799 + default: &797 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -118365,15 +117753,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: - - *660 + - *658 responses: '200': description: Response content: application/json: - schema: *798 + schema: *796 examples: - default: *799 + default: *797 '404': *6 '304': *35 '403': *27 @@ -118396,7 +117784,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: - - *660 + - *658 responses: '204': description: Response @@ -118429,7 +117817,7 @@ paths: application/json: schema: type: array - items: &800 + items: &798 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -118508,7 +117896,7 @@ paths: - account - plan examples: - default: &801 + default: &799 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -118570,9 +117958,9 @@ paths: application/json: schema: type: array - items: *800 + items: *798 examples: - default: *801 + default: *799 headers: Link: *41 '304': *35 @@ -119576,7 +118964,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - *362 - - *802 + - *800 responses: '204': description: Response @@ -119691,7 +119079,7 @@ paths: - docker - nuget - container - - *803 + - *801 - *19 - *17 responses: @@ -119703,8 +119091,8 @@ paths: type: array items: *366 examples: - default: *804 - '400': *805 + default: *802 + '400': *803 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119733,7 +119121,7 @@ paths: application/json: schema: *366 examples: - default: &821 + default: &819 value: id: 40201 name: octo-name @@ -120070,99 +119458,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 - type: string - examples: - - Week One Sprint - body: - description: Body of the project - type: - - string - - 'null' - examples: - - This project represents the sprint of the first week in January - 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: *382 - 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': *35 - '403': *27 - '401': *23 - '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 @@ -120188,9 +119483,9 @@ paths: application/json: schema: type: array - items: *794 + items: *792 examples: - default: *806 + default: *804 headers: Link: *41 '304': *35 @@ -120303,7 +119598,7 @@ paths: type: array items: *72 examples: - default: &813 + default: &811 summary: Default response value: - id: 1296269 @@ -120621,9 +119916,9 @@ paths: description: Response content: application/json: - schema: *461 + schema: *458 examples: - default: *463 + default: *460 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -120661,9 +119956,9 @@ paths: application/json: schema: type: array - items: *635 + items: *632 examples: - default: *807 + default: *805 headers: Link: *41 '304': *35 @@ -120742,7 +120037,7 @@ paths: application/json: schema: type: array - items: &808 + items: &806 title: Social account description: Social media account type: object @@ -120759,7 +120054,7 @@ paths: - provider - url examples: - default: &809 + default: &807 value: - provider: twitter url: https://twitter.com/github @@ -120822,9 +120117,9 @@ paths: application/json: schema: type: array - items: *808 + items: *806 examples: - default: *809 + default: *807 '422': *15 '304': *35 '404': *6 @@ -120912,7 +120207,7 @@ paths: application/json: schema: type: array - items: &810 + items: &808 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -120932,7 +120227,7 @@ paths: - title - created_at examples: - default: &826 + default: &824 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -120999,9 +120294,9 @@ paths: description: Response content: application/json: - schema: *810 + schema: *808 examples: - default: &811 + default: &809 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -121032,7 +120327,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: - - &812 + - &810 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -121044,9 +120339,9 @@ paths: description: Response content: application/json: - schema: *810 + schema: *808 examples: - default: *811 + default: *809 '404': *6 '304': *35 '403': *27 @@ -121069,7 +120364,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: - - *812 + - *810 responses: '204': description: Response @@ -121098,7 +120393,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: - - &827 + - &825 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 @@ -121123,11 +120418,11 @@ paths: type: array items: *72 examples: - default-response: *813 + default-response: *811 application/vnd.github.v3.star+json: schema: type: array - items: &828 + items: &826 title: Starred Repository description: Starred Repository type: object @@ -121283,8 +120578,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: + - *447 - *448 - - *449 responses: '204': description: Response if this repository is starred by you @@ -121312,8 +120607,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: + - *447 - *448 - - *449 responses: '204': description: Response @@ -121337,8 +120632,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: + - *447 - *448 - - *449 responses: '204': description: Response @@ -121410,7 +120705,7 @@ paths: application/json: schema: type: array - items: *429 + items: *428 examples: default: value: @@ -121496,10 +120791,10 @@ paths: application/json: schema: oneOf: - - *788 - - *787 + - *786 + - *785 examples: - default-response: &815 + default-response: &813 summary: Default response value: login: octocat @@ -121534,7 +120829,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &816 + response-with-git-hub-plan-information: &814 summary: Response with GitHub plan information value: login: octocat @@ -121594,7 +120889,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *814 + - *812 - *17 responses: '200': @@ -121643,11 +120938,11 @@ paths: application/json: schema: oneOf: - - *788 - - *787 + - *786 + - *785 examples: - default-response: *815 - response-with-git-hub-plan-information: *816 + default-response: *813 + response-with-git-hub-plan-information: *814 '404': *6 x-github: githubCloudOnly: false @@ -121697,8 +120992,8 @@ paths: required: - subject_digests examples: - default: *817 - withPredicateType: *818 + default: *815 + withPredicateType: *816 responses: '200': description: Response @@ -121752,7 +121047,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *819 + default: *817 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -121957,7 +121252,7 @@ paths: initiator: type: string examples: - default: *501 + default: *498 '201': description: Response content: @@ -121998,7 +121293,7 @@ paths: type: array items: *366 examples: - default: *804 + default: *802 '403': *27 '401': *23 x-github: @@ -122382,9 +121677,9 @@ paths: application/json: schema: type: array - items: *795 + items: *793 examples: - default: *820 + default: *818 headers: Link: *41 x-github: @@ -122488,7 +121783,7 @@ paths: application/json: schema: *20 examples: - default: *632 + default: *629 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -122613,7 +121908,7 @@ paths: - docker - nuget - container - - *803 + - *801 - *132 - *19 - *17 @@ -122626,10 +121921,10 @@ paths: type: array items: *366 examples: - default: *804 + default: *802 '403': *27 '401': *23 - '400': *805 + '400': *803 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -122659,7 +121954,7 @@ paths: application/json: schema: *366 examples: - default: *821 + default: *819 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -122910,87 +122205,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: - - *132 - - 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: *382 - 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: *41 - '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 @@ -123020,9 +122234,9 @@ paths: application/json: schema: type: array - items: *383 + items: *382 examples: - default: *384 + default: *383 headers: Link: *41 '304': *35 @@ -123044,16 +122258,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-user parameters: - - *385 + - *384 - *132 responses: '200': description: Response content: application/json: - schema: *383 + schema: *382 examples: - default: *384 + default: *383 headers: Link: *41 '304': *35 @@ -123075,7 +122289,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-user parameters: - - *385 + - *384 - *132 - *17 - *102 @@ -123087,9 +122301,9 @@ paths: application/json: schema: type: array - items: *386 + items: *385 examples: - default: *822 + default: *820 headers: Link: *41 '304': *35 @@ -123111,17 +122325,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-user parameters: - - *385 - - *823 + - *384 + - *821 - *132 responses: '200': description: Response content: application/json: - schema: *386 + schema: *385 examples: - default: *824 + default: *822 headers: Link: *41 '304': *35 @@ -123144,7 +122358,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: - - *385 + - *384 - *132 - *102 - *103 @@ -123177,9 +122391,9 @@ paths: application/json: schema: type: array - items: *391 + items: *390 examples: - default: *392 + default: *391 headers: Link: *41 '304': *35 @@ -123201,7 +122415,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-user-owned-project parameters: - *132 - - *385 + - *384 requestBody: required: true description: Details of the item to add to the project. @@ -123238,10 +122452,10 @@ paths: description: Response content: application/json: - schema: *825 + schema: *823 examples: - issue: *390 - pull_request: *390 + issue: *389 + pull_request: *389 '304': *35 '403': *27 '401': *23 @@ -123261,9 +122475,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: - - *385 + - *384 - *132 - - *393 + - *392 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -123283,9 +122497,9 @@ paths: description: Response content: application/json: - schema: *391 + schema: *390 examples: - default: *392 + default: *391 headers: Link: *41 '304': *35 @@ -123306,9 +122520,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-user parameters: - - *385 + - *384 - *132 - - *393 + - *392 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -123381,13 +122595,13 @@ paths: description: Response content: application/json: - schema: *391 + schema: *390 examples: - text_field: *392 - number_field: *392 - date_field: *392 - single_select_field: *392 - iteration_field: *392 + text_field: *391 + number_field: *391 + date_field: *391 + single_select_field: *391 + iteration_field: *391 '401': *23 '403': *27 '404': *6 @@ -123407,9 +122621,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-user parameters: - - *385 + - *384 - *132 - - *393 + - *392 responses: '204': description: Response @@ -123659,9 +122873,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *415 examples: - default: *417 + default: *416 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -123689,9 +122903,9 @@ paths: description: Response content: application/json: - schema: *421 + schema: *420 examples: - default: *422 + default: *421 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -123852,9 +123066,9 @@ paths: description: Response content: application/json: - schema: *423 + schema: *422 examples: - default: *424 + default: *423 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -123956,7 +123170,7 @@ paths: subcategory: enhanced-billing "/users/{username}/settings/billing/usage/summary": get: - summary: Get billing usage summary report for a user + summary: Get billing usage summary for a user description: |- > [!NOTE] > This endpoint is in public preview and is subject to change. @@ -123969,7 +123183,7 @@ paths: operationId: billing/get-github-billing-usage-summary-report-user externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-summary-report-for-a-user + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-summary-for-a-user parameters: - *132 - *190 @@ -123980,7 +123194,7 @@ paths: - *241 responses: '200': - description: Response when getting a billing usage summary report + description: Response when getting a billing usage summary content: application/json: schema: @@ -124111,9 +123325,9 @@ paths: application/json: schema: type: array - items: *808 + items: *806 examples: - default: *809 + default: *807 headers: Link: *41 x-github: @@ -124143,9 +123357,9 @@ paths: application/json: schema: type: array - items: *810 + items: *808 examples: - default: *826 + default: *824 headers: Link: *41 x-github: @@ -124170,7 +123384,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - *132 - - *827 + - *825 - *104 - *17 - *19 @@ -124182,11 +123396,11 @@ paths: schema: anyOf: - type: array - items: *828 + items: *826 - type: array items: *72 examples: - default-response: *813 + default-response: *811 headers: Link: *41 x-github: @@ -124346,7 +123560,7 @@ webhooks: type: string enum: - disabled - enterprise: &829 + enterprise: &827 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -124415,7 +123629,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &830 + installation: &828 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -124436,7 +123650,7 @@ webhooks: required: - id - node_id - organization: &831 + organization: &829 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -124509,7 +123723,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &832 + repository: &830 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -125422,10 +124636,10 @@ webhooks: type: string enum: - enabled - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -125501,11 +124715,11 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - rule: &833 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 + rule: &831 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) @@ -125728,11 +124942,11 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - rule: *833 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 + rule: *831 sender: *4 required: - action @@ -125920,11 +125134,11 @@ webhooks: - everyone required: - from - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - rule: *833 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 + rule: *831 sender: *4 required: - action @@ -125995,7 +125209,7 @@ webhooks: required: true content: application/json: - schema: &836 + schema: &834 title: Exemption request cancellation event type: object properties: @@ -126003,11 +125217,11 @@ webhooks: type: string enum: - cancelled - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - exemption_request: &834 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 + exemption_request: &832 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -126245,7 +125459,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &835 + items: &833 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -126355,7 +125569,7 @@ webhooks: required: true content: application/json: - schema: &837 + schema: &835 title: Exemption request completed event type: object properties: @@ -126363,11 +125577,11 @@ webhooks: type: string enum: - completed - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - exemption_request: *834 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 + exemption_request: *832 sender: *4 required: - action @@ -126437,7 +125651,7 @@ webhooks: required: true content: application/json: - schema: &838 + schema: &836 title: Exemption request created event type: object properties: @@ -126445,11 +125659,11 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - exemption_request: *834 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 + exemption_request: *832 sender: *4 required: - action @@ -126519,7 +125733,7 @@ webhooks: required: true content: application/json: - schema: &839 + schema: &837 title: Exemption response dismissed event type: object properties: @@ -126527,12 +125741,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - exemption_request: *834 - exemption_response: *835 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 + exemption_request: *832 + exemption_response: *833 sender: *4 required: - action @@ -126604,7 +125818,7 @@ webhooks: required: true content: application/json: - schema: &840 + schema: &838 title: Exemption response submitted event type: object properties: @@ -126612,12 +125826,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - exemption_request: *834 - exemption_response: *835 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 + exemption_request: *832 + exemption_response: *833 sender: *4 required: - action @@ -126690,7 +125904,7 @@ webhooks: required: true content: application/json: - schema: *836 + schema: *834 responses: '200': description: Return a 200 status to indicate that the data was received @@ -126757,7 +125971,7 @@ webhooks: required: true content: application/json: - schema: *837 + schema: *835 responses: '200': description: Return a 200 status to indicate that the data was received @@ -126824,7 +126038,7 @@ webhooks: required: true content: application/json: - schema: *838 + schema: *836 responses: '200': description: Return a 200 status to indicate that the data was received @@ -126891,7 +126105,7 @@ webhooks: required: true content: application/json: - schema: *839 + schema: *837 responses: '200': description: Return a 200 status to indicate that the data was received @@ -126959,7 +126173,7 @@ webhooks: required: true content: application/json: - schema: *840 + schema: *838 responses: '200': description: Return a 200 status to indicate that the data was received @@ -127037,7 +126251,7 @@ webhooks: type: string enum: - completed - check_run: &842 + check_run: &840 title: CheckRun description: A check performed on the code of a given code change type: object @@ -127102,7 +126316,7 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *518 + items: *515 repository: *269 status: type: string @@ -127147,7 +126361,7 @@ webhooks: - examples: - neutral - deployment: *841 + deployment: *839 details_url: type: string examples: @@ -127207,7 +126421,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *518 + items: *515 started_at: type: string format: date-time @@ -127245,10 +126459,10 @@ webhooks: - output - app - pull_requests - installation: *830 - enterprise: *829 - organization: *831 - repository: *832 + installation: *828 + enterprise: *827 + organization: *829 + repository: *830 sender: *4 required: - check_run @@ -127641,11 +126855,11 @@ webhooks: type: string enum: - created - check_run: *842 - installation: *830 - enterprise: *829 - organization: *831 - repository: *832 + check_run: *840 + installation: *828 + enterprise: *827 + organization: *829 + repository: *830 sender: *4 required: - check_run @@ -128041,11 +127255,11 @@ webhooks: type: string enum: - requested_action - check_run: *842 - installation: *830 - enterprise: *829 - organization: *831 - repository: *832 + check_run: *840 + installation: *828 + enterprise: *827 + organization: *829 + repository: *830 requested_action: description: The action requested by the user. type: object @@ -128450,11 +127664,11 @@ webhooks: type: string enum: - rerequested - check_run: *842 - installation: *830 - enterprise: *829 - organization: *831 - repository: *832 + check_run: *840 + installation: *828 + enterprise: *827 + organization: *829 + repository: *830 sender: *4 required: - check_run @@ -129446,10 +128660,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -130134,10 +129348,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -130816,10 +130030,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -130988,7 +130202,7 @@ webhooks: required: - login - id - dismissed_comment: *530 + dismissed_comment: *527 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -131140,20 +130354,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &843 + commit_oid: &841 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: *829 - installation: *830 - organization: *831 - ref: &844 + enterprise: *827 + installation: *828 + organization: *829 + ref: &842 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: *832 + repository: *830 sender: *4 required: - action @@ -131320,7 +130534,7 @@ webhooks: required: - login - id - dismissed_comment: *530 + dismissed_comment: *527 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -131561,12 +130775,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *843 - enterprise: *829 - installation: *830 - organization: *831 - ref: *844 - repository: *832 + commit_oid: *841 + enterprise: *827 + installation: *828 + organization: *829 + ref: *842 + repository: *830 sender: *4 required: - action @@ -131664,7 +130878,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *530 + dismissed_comment: *527 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -131849,12 +131063,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *843 - enterprise: *829 - installation: *830 - organization: *831 - ref: *844 - repository: *832 + commit_oid: *841 + enterprise: *827 + installation: *828 + organization: *829 + ref: *842 + repository: *830 sender: *4 required: - action @@ -132023,7 +131237,7 @@ webhooks: required: - login - id - dismissed_comment: *530 + dismissed_comment: *527 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -132200,12 +131414,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *843 - enterprise: *829 - installation: *830 - organization: *831 - ref: *844 - repository: *832 + commit_oid: *841 + enterprise: *827 + installation: *828 + organization: *829 + ref: *842 + repository: *830 sender: *4 required: - action @@ -132308,7 +131522,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *530 + dismissed_comment: *527 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -132488,9 +131702,9 @@ webhooks: type: - string - 'null' - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *827 + installation: *828 + organization: *829 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -132498,7 +131712,7 @@ webhooks: type: - string - 'null' - repository: *832 + repository: *830 sender: *4 required: - action @@ -132597,7 +131811,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *530 + dismissed_comment: *527 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -132744,12 +131958,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *843 - enterprise: *829 - installation: *830 - organization: *831 - ref: *844 - repository: *832 + commit_oid: *841 + enterprise: *827 + installation: *828 + organization: *829 + ref: *842 + repository: *830 sender: *4 required: - action @@ -133011,10 +132225,10 @@ webhooks: - updated_at - author_association - body - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -133095,18 +132309,18 @@ webhooks: type: - string - 'null' - enterprise: *829 - installation: *830 + enterprise: *827 + installation: *828 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *831 - pusher_type: &845 + organization: *829 + pusher_type: &843 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &846 + ref: &844 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -133116,7 +132330,7 @@ webhooks: enum: - tag - branch - repository: *832 + repository: *830 sender: *4 required: - ref @@ -133199,9 +132413,9 @@ webhooks: enum: - created definition: *146 - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *827 + installation: *828 + organization: *829 sender: *4 required: - action @@ -133286,9 +132500,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *827 + installation: *828 + organization: *829 sender: *4 required: - action @@ -133366,9 +132580,9 @@ webhooks: enum: - promote_to_enterprise definition: *146 - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *827 + installation: *828 + organization: *829 sender: *4 required: - action @@ -133446,9 +132660,9 @@ webhooks: enum: - updated definition: *146 - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *827 + installation: *828 + organization: *829 sender: *4 required: - action @@ -133525,10 +132739,10 @@ webhooks: type: string enum: - updated - enterprise: *829 - installation: *830 - repository: *832 - organization: *831 + enterprise: *827 + installation: *828 + repository: *830 + organization: *829 sender: *4 new_property_values: type: array @@ -133613,18 +132827,18 @@ webhooks: title: delete event type: object properties: - enterprise: *829 - installation: *830 - organization: *831 - pusher_type: *845 - ref: *846 + enterprise: *827 + installation: *828 + organization: *829 + pusher_type: *843 + ref: *844 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *832 + repository: *830 sender: *4 required: - ref @@ -133708,11 +132922,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *582 - installation: *830 - organization: *831 - enterprise: *829 - repository: *832 + alert: *579 + installation: *828 + organization: *829 + enterprise: *827 + repository: *830 sender: *4 required: - action @@ -133796,11 +133010,11 @@ webhooks: type: string enum: - auto_reopened - alert: *582 - installation: *830 - organization: *831 - enterprise: *829 - repository: *832 + alert: *579 + installation: *828 + organization: *829 + enterprise: *827 + repository: *830 sender: *4 required: - action @@ -133884,11 +133098,11 @@ webhooks: type: string enum: - created - alert: *582 - installation: *830 - organization: *831 - enterprise: *829 - repository: *832 + alert: *579 + installation: *828 + organization: *829 + enterprise: *827 + repository: *830 sender: *4 required: - action @@ -133970,11 +133184,11 @@ webhooks: type: string enum: - dismissed - alert: *582 - installation: *830 - organization: *831 - enterprise: *829 - repository: *832 + alert: *579 + installation: *828 + organization: *829 + enterprise: *827 + repository: *830 sender: *4 required: - action @@ -134056,11 +133270,11 @@ webhooks: type: string enum: - fixed - alert: *582 - installation: *830 - organization: *831 - enterprise: *829 - repository: *832 + alert: *579 + installation: *828 + organization: *829 + enterprise: *827 + repository: *830 sender: *4 required: - action @@ -134143,11 +133357,11 @@ webhooks: type: string enum: - reintroduced - alert: *582 - installation: *830 - organization: *831 - enterprise: *829 - repository: *832 + alert: *579 + installation: *828 + organization: *829 + enterprise: *827 + repository: *830 sender: *4 required: - action @@ -134229,11 +133443,11 @@ webhooks: type: string enum: - reopened - alert: *582 - installation: *830 - organization: *831 - enterprise: *829 - repository: *832 + alert: *579 + installation: *828 + organization: *829 + enterprise: *827 + repository: *830 sender: *4 required: - action @@ -134310,9 +133524,9 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - key: &847 + enterprise: *827 + installation: *828 + key: &845 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -134350,8 +133564,8 @@ webhooks: - verified - created_at - read_only - organization: *831 - repository: *832 + organization: *829 + repository: *830 sender: *4 required: - action @@ -134428,11 +133642,11 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - key: *847 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + key: *845 + organization: *829 + repository: *830 sender: *4 required: - action @@ -135004,12 +134218,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 - workflow: &851 + workflow: &849 title: Workflow type: - object @@ -135747,13 +134961,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *588 + deployment: *585 pull_requests: type: array - items: *680 - repository: *832 - organization: *831 - installation: *830 + items: *678 + repository: *830 + organization: *829 + installation: *828 sender: *4 responses: '200': @@ -135824,7 +135038,7 @@ webhooks: type: string enum: - approved - approver: &848 + approver: &846 type: object properties: avatar_url: @@ -135867,11 +135081,11 @@ webhooks: type: string comment: type: string - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - reviewers: &849 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 + reviewers: &847 type: array items: type: object @@ -135952,7 +135166,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &850 + workflow_job_run: &848 type: object properties: conclusion: @@ -136698,18 +135912,18 @@ webhooks: type: string enum: - rejected - approver: *848 + approver: *846 comment: type: string - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - reviewers: *849 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 + reviewers: *847 sender: *4 since: type: string - workflow_job_run: *850 + workflow_job_run: *848 workflow_job_runs: type: array items: @@ -137426,13 +136640,13 @@ webhooks: type: string enum: - requested - enterprise: *829 + enterprise: *827 environment: type: string - installation: *830 - organization: *831 - repository: *832 - requestor: &856 + installation: *828 + organization: *829 + repository: *830 + requestor: &854 title: User type: - object @@ -139375,12 +138589,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 - workflow: *851 + workflow: *849 workflow_run: title: Deployment Workflow Run type: @@ -140071,7 +139285,7 @@ webhooks: type: string enum: - answered - answer: &854 + answer: &852 type: object properties: author_association: @@ -140231,7 +139445,7 @@ webhooks: - created_at - updated_at - body - discussion: &852 + discussion: &850 title: Discussion description: A Discussion in a repository. type: object @@ -140527,7 +139741,7 @@ webhooks: - id labels: type: array - items: *643 + items: *641 required: - repository_url - category @@ -140549,10 +139763,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -140679,11 +139893,11 @@ webhooks: - from required: - category - discussion: *852 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *850 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -140766,11 +139980,11 @@ webhooks: type: string enum: - closed - discussion: *852 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *850 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -140852,7 +140066,7 @@ webhooks: type: string enum: - created - comment: &853 + comment: &851 type: object properties: author_association: @@ -141012,11 +140226,11 @@ webhooks: - updated_at - body - reactions - discussion: *852 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *850 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -141099,12 +140313,12 @@ webhooks: type: string enum: - deleted - comment: *853 - discussion: *852 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + comment: *851 + discussion: *850 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -141199,12 +140413,12 @@ webhooks: - from required: - body - comment: *853 - discussion: *852 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + comment: *851 + discussion: *850 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -141288,11 +140502,11 @@ webhooks: type: string enum: - created - discussion: *852 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *850 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -141374,11 +140588,11 @@ webhooks: type: string enum: - deleted - discussion: *852 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *850 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -141478,11 +140692,11 @@ webhooks: type: string required: - from - discussion: *852 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *850 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -141564,10 +140778,10 @@ webhooks: type: string enum: - labeled - discussion: *852 - enterprise: *829 - installation: *830 - label: &855 + discussion: *850 + enterprise: *827 + installation: *828 + label: &853 title: Label type: object properties: @@ -141600,8 +140814,8 @@ webhooks: - color - default - description - organization: *831 - repository: *832 + organization: *829 + repository: *830 sender: *4 required: - action @@ -141684,11 +140898,11 @@ webhooks: type: string enum: - locked - discussion: *852 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *850 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -141770,11 +140984,11 @@ webhooks: type: string enum: - pinned - discussion: *852 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *850 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -141856,11 +141070,11 @@ webhooks: type: string enum: - reopened - discussion: *852 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *850 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -141945,16 +141159,16 @@ webhooks: changes: type: object properties: - new_discussion: *852 - new_repository: *832 + new_discussion: *850 + new_repository: *830 required: - new_discussion - new_repository - discussion: *852 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *850 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -142037,10 +141251,10 @@ webhooks: type: string enum: - unanswered - discussion: *852 - old_answer: *854 - organization: *831 - repository: *832 + discussion: *850 + old_answer: *852 + organization: *829 + repository: *830 sender: *4 required: - action @@ -142122,12 +141336,12 @@ webhooks: type: string enum: - unlabeled - discussion: *852 - enterprise: *829 - installation: *830 - label: *855 - organization: *831 - repository: *832 + discussion: *850 + enterprise: *827 + installation: *828 + label: *853 + organization: *829 + repository: *830 sender: *4 required: - action @@ -142210,11 +141424,11 @@ webhooks: type: string enum: - unlocked - discussion: *852 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *850 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -142296,11 +141510,11 @@ webhooks: type: string enum: - unpinned - discussion: *852 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + discussion: *850 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -142369,7 +141583,7 @@ webhooks: required: true content: application/json: - schema: *838 + schema: *836 responses: '200': description: Return a 200 status to indicate that the data was received @@ -142432,7 +141646,7 @@ webhooks: required: true content: application/json: - schema: *840 + schema: *838 responses: '200': description: Return a 200 status to indicate that the data was received @@ -142498,7 +141712,7 @@ webhooks: required: true content: application/json: - schema: *836 + schema: *834 responses: '200': description: Return a 200 status to indicate that the data was received @@ -142564,7 +141778,7 @@ webhooks: required: true content: application/json: - schema: *837 + schema: *835 responses: '200': description: Return a 200 status to indicate that the data was received @@ -142630,7 +141844,7 @@ webhooks: required: true content: application/json: - schema: *838 + schema: *836 responses: '200': description: Return a 200 status to indicate that the data was received @@ -142696,7 +141910,7 @@ webhooks: required: true content: application/json: - schema: *839 + schema: *837 responses: '200': description: Return a 200 status to indicate that the data was received @@ -142762,7 +141976,7 @@ webhooks: required: true content: application/json: - schema: *840 + schema: *838 responses: '200': description: Return a 200 status to indicate that the data was received @@ -142829,7 +142043,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *829 + enterprise: *827 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -143507,9 +142721,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *830 - organization: *831 - repository: *832 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - forkee @@ -143655,9 +142869,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *827 + installation: *828 + organization: *829 pages: description: The pages that were updated. type: array @@ -143695,7 +142909,7 @@ webhooks: - action - sha - html_url - repository: *832 + repository: *830 sender: *4 required: - pages @@ -143771,10 +142985,10 @@ webhooks: type: string enum: - created - enterprise: *829 + enterprise: *827 installation: *20 - organization: *831 - repositories: &857 + organization: *829 + repositories: &855 description: An array of repository objects that the installation can access. type: array @@ -143800,8 +143014,8 @@ webhooks: - name - full_name - private - repository: *832 - requester: *856 + repository: *830 + requester: *854 sender: *4 required: - action @@ -143876,11 +143090,11 @@ webhooks: type: string enum: - deleted - enterprise: *829 + enterprise: *827 installation: *20 - organization: *831 - repositories: *857 - repository: *832 + organization: *829 + repositories: *855 + repository: *830 requester: type: - 'null' @@ -143957,11 +143171,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *829 + enterprise: *827 installation: *20 - organization: *831 - repositories: *857 - repository: *832 + organization: *829 + repositories: *855 + repository: *830 requester: type: - 'null' @@ -144038,10 +143252,10 @@ webhooks: type: string enum: - added - enterprise: *829 + enterprise: *827 installation: *20 - organization: *831 - repositories_added: &858 + organization: *829 + repositories_added: &856 description: An array of repository objects, which were added to the installation. type: array @@ -144087,15 +143301,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *832 - repository_selection: &859 + repository: *830 + repository_selection: &857 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *856 + requester: *854 sender: *4 required: - action @@ -144174,10 +143388,10 @@ webhooks: type: string enum: - removed - enterprise: *829 + enterprise: *827 installation: *20 - organization: *831 - repositories_added: *858 + organization: *829 + repositories_added: *856 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -144204,9 +143418,9 @@ webhooks: - name - full_name - private - repository: *832 - repository_selection: *859 - requester: *856 + repository: *830 + repository_selection: *857 + requester: *854 sender: *4 required: - action @@ -144285,11 +143499,11 @@ webhooks: type: string enum: - suspend - enterprise: *829 + enterprise: *827 installation: *20 - organization: *831 - repositories: *857 - repository: *832 + organization: *829 + repositories: *855 + repository: *830 requester: type: - 'null' @@ -144472,10 +143686,10 @@ webhooks: type: string required: - from - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 target_type: type: string @@ -144554,11 +143768,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *829 + enterprise: *827 installation: *20 - organization: *831 - repositories: *857 - repository: *832 + organization: *829 + repositories: *855 + repository: *830 requester: type: - 'null' @@ -144806,8 +144020,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *829 - installation: *830 + enterprise: *827 + installation: *828 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -145624,8 +144838,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *773 - issue_dependencies_summary: *774 + sub_issues_summary: *771 + issue_dependencies_summary: *772 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145986,8 +145200,8 @@ webhooks: - state - locked - assignee - organization: *831 - repository: *832 + organization: *829 + repository: *830 sender: *4 required: - action @@ -146067,7 +145281,7 @@ webhooks: type: string enum: - deleted - comment: &860 + comment: &858 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -146234,8 +145448,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *829 - installation: *830 + enterprise: *827 + installation: *828 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -147048,8 +146262,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *773 - issue_dependencies_summary: *774 + sub_issues_summary: *771 + issue_dependencies_summary: *772 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147412,8 +146626,8 @@ webhooks: - state - locked - assignee - organization: *831 - repository: *832 + organization: *829 + repository: *830 sender: *4 required: - action @@ -147493,7 +146707,7 @@ webhooks: type: string enum: - edited - changes: &884 + changes: &882 description: The changes to the comment. type: object properties: @@ -147505,9 +146719,9 @@ webhooks: type: string required: - from - comment: *860 - enterprise: *829 - installation: *830 + comment: *858 + enterprise: *827 + installation: *828 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -148323,8 +147537,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *773 - issue_dependencies_summary: *774 + sub_issues_summary: *771 + issue_dependencies_summary: *772 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148685,8 +147899,8 @@ webhooks: - state - locked - assignee - organization: *831 - repository: *832 + organization: *829 + repository: *830 sender: *4 required: - action @@ -148776,9 +147990,9 @@ webhooks: type: number blocking_issue: *218 blocking_issue_repo: *72 - installation: *830 - organization: *831 - repository: *832 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -148872,9 +148086,9 @@ webhooks: type: number blocking_issue: *218 blocking_issue_repo: *72 - installation: *830 - organization: *831 - repository: *832 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -148967,9 +148181,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *218 - installation: *830 - organization: *831 - repository: *832 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -149063,9 +148277,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *218 - installation: *830 - organization: *831 - repository: *832 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -149150,10 +148364,10 @@ webhooks: type: string enum: - assigned - assignee: *856 - enterprise: *829 - installation: *830 - issue: &863 + assignee: *854 + enterprise: *827 + installation: *828 + issue: &861 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -149965,11 +149179,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *773 - issue_dependencies_summary: *774 + sub_issues_summary: *771 + issue_dependencies_summary: *772 issue_field_values: type: array - items: *775 + items: *773 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150089,8 +149303,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *831 - repository: *832 + organization: *829 + repository: *830 sender: *4 required: - action @@ -150170,8 +149384,8 @@ webhooks: type: string enum: - closed - enterprise: *829 - installation: *830 + enterprise: *827 + installation: *828 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -150988,11 +150202,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *773 - issue_dependencies_summary: *774 + sub_issues_summary: *771 + issue_dependencies_summary: *772 issue_field_values: type: array - items: *775 + items: *773 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151255,8 +150469,8 @@ webhooks: required: - state - closed_at - organization: *831 - repository: *832 + organization: *829 + repository: *830 sender: *4 required: - action @@ -151335,8 +150549,8 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 + enterprise: *827 + installation: *828 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -152144,11 +151358,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *773 - issue_dependencies_summary: *774 + sub_issues_summary: *771 + issue_dependencies_summary: *772 issue_field_values: type: array - items: *775 + items: *773 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152267,8 +151481,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *831 - repository: *832 + organization: *829 + repository: *830 sender: *4 required: - action @@ -152347,8 +151561,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *829 - installation: *830 + enterprise: *827 + installation: *828 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -153179,11 +152393,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *773 - issue_dependencies_summary: *774 + sub_issues_summary: *771 + issue_dependencies_summary: *772 issue_field_values: type: array - items: *775 + items: *773 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153281,7 +152495,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &861 + milestone: &859 title: Milestone description: A collection of related issues and pull requests. type: object @@ -153424,8 +152638,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *831 - repository: *832 + organization: *829 + repository: *830 sender: *4 required: - action @@ -153524,8 +152738,8 @@ webhooks: type: string required: - from - enterprise: *829 - installation: *830 + enterprise: *827 + installation: *828 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -154337,11 +153551,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *773 - issue_dependencies_summary: *774 + sub_issues_summary: *771 + issue_dependencies_summary: *772 issue_field_values: type: array - items: *775 + items: *773 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154461,9 +153675,9 @@ webhooks: - active_lock_reason - body - reactions - label: *855 - organization: *831 - repository: *832 + label: *853 + organization: *829 + repository: *830 sender: *4 required: - action @@ -154543,8 +153757,8 @@ webhooks: type: string enum: - labeled - enterprise: *829 - installation: *830 + enterprise: *827 + installation: *828 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -155355,11 +154569,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *773 - issue_dependencies_summary: *774 + sub_issues_summary: *771 + issue_dependencies_summary: *772 issue_field_values: type: array - items: *775 + items: *773 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155479,9 +154693,9 @@ webhooks: - active_lock_reason - body - reactions - label: *855 - organization: *831 - repository: *832 + label: *853 + organization: *829 + repository: *830 sender: *4 required: - action @@ -155561,8 +154775,8 @@ webhooks: type: string enum: - locked - enterprise: *829 - installation: *830 + enterprise: *827 + installation: *828 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -156398,11 +155612,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *773 - issue_dependencies_summary: *774 + sub_issues_summary: *771 + issue_dependencies_summary: *772 issue_field_values: type: array - items: *775 + items: *773 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156499,8 +155713,8 @@ webhooks: format: uri user_view_type: type: string - organization: *831 - repository: *832 + organization: *829 + repository: *830 sender: *4 required: - action @@ -156579,8 +155793,8 @@ webhooks: type: string enum: - milestoned - enterprise: *829 - installation: *830 + enterprise: *827 + installation: *828 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -157410,11 +156624,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *773 - issue_dependencies_summary: *774 + sub_issues_summary: *771 + issue_dependencies_summary: *772 issue_field_values: type: array - items: *775 + items: *773 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157511,9 +156725,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *861 - organization: *831 - repository: *832 + milestone: *859 + organization: *829 + repository: *830 sender: *4 required: - action @@ -158405,11 +157619,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *773 - issue_dependencies_summary: *774 + sub_issues_summary: *771 + issue_dependencies_summary: *772 issue_field_values: type: array - items: *775 + items: *773 state: description: State of the issue; either 'open' or 'closed' type: string @@ -158986,8 +158200,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *829 - installation: *830 + enterprise: *827 + installation: *828 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -159799,11 +159013,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *773 - issue_dependencies_summary: *774 + sub_issues_summary: *771 + issue_dependencies_summary: *772 issue_field_values: type: array - items: *775 + items: *773 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159922,8 +159136,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *831 - repository: *832 + organization: *829 + repository: *830 sender: *4 required: - action @@ -160003,9 +159217,9 @@ webhooks: type: string enum: - pinned - enterprise: *829 - installation: *830 - issue: &862 + enterprise: *827 + installation: *828 + issue: &860 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -160811,11 +160025,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *773 - issue_dependencies_summary: *774 + sub_issues_summary: *771 + issue_dependencies_summary: *772 issue_field_values: type: array - items: *775 + items: *773 state: description: State of the issue; either 'open' or 'closed' type: string @@ -160934,8 +160148,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *831 - repository: *832 + organization: *829 + repository: *830 sender: *4 required: - action @@ -161014,8 +160228,8 @@ webhooks: type: string enum: - reopened - enterprise: *829 - installation: *830 + enterprise: *827 + installation: *828 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -161849,11 +161063,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *773 - issue_dependencies_summary: *774 + sub_issues_summary: *771 + issue_dependencies_summary: *772 issue_field_values: type: array - items: *775 + items: *773 state: description: State of the issue; either 'open' or 'closed' type: string @@ -161951,8 +161165,8 @@ webhooks: user_view_type: type: string type: *351 - organization: *831 - repository: *832 + organization: *829 + repository: *830 sender: *4 required: - action @@ -162841,11 +162055,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *773 - issue_dependencies_summary: *774 + sub_issues_summary: *771 + issue_dependencies_summary: *772 issue_field_values: type: array - items: *775 + items: *773 state: description: State of the issue; either 'open' or 'closed' type: string @@ -163444,11 +162658,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *829 - installation: *830 - issue: *862 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + issue: *860 + organization: *829 + repository: *830 sender: *4 required: - action @@ -163528,12 +162742,12 @@ webhooks: type: string enum: - typed - enterprise: *829 - installation: *830 - issue: *863 + enterprise: *827 + installation: *828 + issue: *861 type: *351 - organization: *831 - repository: *832 + organization: *829 + repository: *830 sender: *4 required: - action @@ -163614,7 +162828,7 @@ webhooks: type: string enum: - unassigned - assignee: &887 + assignee: &885 title: User type: - object @@ -163686,11 +162900,11 @@ webhooks: required: - login - id - enterprise: *829 - installation: *830 - issue: *863 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + issue: *861 + organization: *829 + repository: *830 sender: *4 required: - action @@ -163769,12 +162983,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *829 - installation: *830 - issue: *863 - label: *855 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + issue: *861 + label: *853 + organization: *829 + repository: *830 sender: *4 required: - action @@ -163854,8 +163068,8 @@ webhooks: type: string enum: - unlocked - enterprise: *829 - installation: *830 + enterprise: *827 + installation: *828 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -164689,11 +163903,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *773 - issue_dependencies_summary: *774 + sub_issues_summary: *771 + issue_dependencies_summary: *772 issue_field_values: type: array - items: *775 + items: *773 state: description: State of the issue; either 'open' or 'closed' type: string @@ -164790,8 +164004,8 @@ webhooks: format: uri user_view_type: type: string - organization: *831 - repository: *832 + organization: *829 + repository: *830 sender: *4 required: - action @@ -164871,11 +164085,11 @@ webhooks: type: string enum: - unpinned - enterprise: *829 - installation: *830 - issue: *862 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + issue: *860 + organization: *829 + repository: *830 sender: *4 required: - action @@ -164954,12 +164168,12 @@ webhooks: type: string enum: - untyped - enterprise: *829 - installation: *830 - issue: *863 + enterprise: *827 + installation: *828 + issue: *861 type: *351 - organization: *831 - repository: *832 + organization: *829 + repository: *830 sender: *4 required: - action @@ -165039,11 +164253,11 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - label: *855 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + label: *853 + organization: *829 + repository: *830 sender: *4 required: - action @@ -165121,11 +164335,11 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - label: *855 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + label: *853 + organization: *829 + repository: *830 sender: *4 required: - action @@ -165235,11 +164449,11 @@ webhooks: type: string required: - from - enterprise: *829 - installation: *830 - label: *855 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + label: *853 + organization: *829 + repository: *830 sender: *4 required: - action @@ -165321,9 +164535,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *829 - installation: *830 - marketplace_purchase: &864 + enterprise: *827 + installation: *828 + marketplace_purchase: &862 title: Marketplace Purchase type: object required: @@ -165411,8 +164625,8 @@ webhooks: type: integer unit_count: type: integer - organization: *831 - previous_marketplace_purchase: &865 + organization: *829 + previous_marketplace_purchase: &863 title: Marketplace Purchase type: object properties: @@ -165496,7 +164710,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *832 + repository: *830 sender: *4 required: - action @@ -165576,10 +164790,10 @@ webhooks: - changed effective_date: type: string - enterprise: *829 - installation: *830 - marketplace_purchase: *864 - organization: *831 + enterprise: *827 + installation: *828 + marketplace_purchase: *862 + organization: *829 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -165667,7 +164881,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *832 + repository: *830 sender: *4 required: - action @@ -165749,10 +164963,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *829 - installation: *830 - marketplace_purchase: *864 - organization: *831 + enterprise: *827 + installation: *828 + marketplace_purchase: *862 + organization: *829 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -165838,7 +165052,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *832 + repository: *830 sender: *4 required: - action @@ -165919,8 +165133,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *829 - installation: *830 + enterprise: *827 + installation: *828 marketplace_purchase: title: Marketplace Purchase type: object @@ -166006,9 +165220,9 @@ webhooks: type: integer unit_count: type: integer - organization: *831 - previous_marketplace_purchase: *865 - repository: *832 + organization: *829 + previous_marketplace_purchase: *863 + repository: *830 sender: *4 required: - action @@ -166088,12 +165302,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *829 - installation: *830 - marketplace_purchase: *864 - organization: *831 - previous_marketplace_purchase: *865 - repository: *832 + enterprise: *827 + installation: *828 + marketplace_purchase: *862 + organization: *829 + previous_marketplace_purchase: *863 + repository: *830 sender: *4 required: - action @@ -166195,11 +165409,11 @@ webhooks: type: string required: - to - enterprise: *829 - installation: *830 - member: *856 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + member: *854 + organization: *829 + repository: *830 sender: *4 required: - action @@ -166301,11 +165515,11 @@ webhooks: type: - string - 'null' - enterprise: *829 - installation: *830 - member: *856 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + member: *854 + organization: *829 + repository: *830 sender: *4 required: - action @@ -166384,11 +165598,11 @@ webhooks: type: string enum: - removed - enterprise: *829 - installation: *830 - member: *856 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + member: *854 + organization: *829 + repository: *830 sender: *4 required: - action @@ -166466,11 +165680,11 @@ webhooks: type: string enum: - added - enterprise: *829 - installation: *830 - member: *856 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + member: *854 + organization: *829 + repository: *830 scope: description: The scope of the membership. Currently, can only be `team`. @@ -166548,7 +165762,7 @@ webhooks: required: - login - id - team: &866 + team: &864 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -166778,11 +165992,11 @@ webhooks: type: string enum: - removed - enterprise: *829 - installation: *830 - member: *856 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + member: *854 + organization: *829 + repository: *830 scope: description: The scope of the membership. Currently, can only be `team`. @@ -166861,7 +166075,7 @@ webhooks: required: - login - id - team: *866 + team: *864 required: - action - scope @@ -166943,8 +166157,8 @@ webhooks: type: string enum: - checks_requested - installation: *830 - merge_group: &867 + installation: *828 + merge_group: &865 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -166963,15 +166177,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *522 + head_commit: *519 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *831 - repository: *832 + organization: *829 + repository: *830 sender: *4 required: - action @@ -167057,10 +166271,10 @@ webhooks: - merged - invalidated - dequeued - installation: *830 - merge_group: *867 - organization: *831 - repository: *832 + installation: *828 + merge_group: *865 + organization: *829 + repository: *830 sender: *4 required: - action @@ -167133,7 +166347,7 @@ webhooks: type: string enum: - deleted - enterprise: *829 + enterprise: *827 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -167242,12 +166456,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *830 - organization: *831 + installation: *828 + organization: *829 repository: anyOf: - type: 'null' - - *832 + - *830 sender: *4 required: - action @@ -167327,11 +166541,11 @@ webhooks: type: string enum: - closed - enterprise: *829 - installation: *830 - milestone: *861 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + milestone: *859 + organization: *829 + repository: *830 sender: *4 required: - action @@ -167410,9 +166624,9 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - milestone: &868 + enterprise: *827 + installation: *828 + milestone: &866 title: Milestone description: A collection of related issues and pull requests. type: object @@ -167554,8 +166768,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *831 - repository: *832 + organization: *829 + repository: *830 sender: *4 required: - action @@ -167634,11 +166848,11 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - milestone: *861 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + milestone: *859 + organization: *829 + repository: *830 sender: *4 required: - action @@ -167748,11 +166962,11 @@ webhooks: type: string required: - from - enterprise: *829 - installation: *830 - milestone: *861 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + milestone: *859 + organization: *829 + repository: *830 sender: *4 required: - action @@ -167832,11 +167046,11 @@ webhooks: type: string enum: - opened - enterprise: *829 - installation: *830 - milestone: *868 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + milestone: *866 + organization: *829 + repository: *830 sender: *4 required: - action @@ -167915,11 +167129,11 @@ webhooks: type: string enum: - blocked - blocked_user: *856 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + blocked_user: *854 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -167998,11 +167212,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *856 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + blocked_user: *854 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -168078,7 +167292,7 @@ webhooks: enum: - created definition: *140 - enterprise: *829 + enterprise: *827 sender: *4 required: - action @@ -168158,8 +167372,8 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *829 - installation: *830 + enterprise: *827 + installation: *828 sender: *4 required: - action @@ -168232,8 +167446,8 @@ webhooks: enum: - updated definition: *140 - enterprise: *829 - installation: *830 + enterprise: *827 + installation: *828 sender: *4 required: - action @@ -168305,9 +167519,9 @@ webhooks: type: string enum: - updated - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *827 + installation: *828 + organization: *829 sender: *4 new_property_values: type: array @@ -168395,9 +167609,9 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - membership: &869 + enterprise: *827 + installation: *828 + membership: &867 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -168507,8 +167721,8 @@ webhooks: - role - organization_url - user - organization: *831 - repository: *832 + organization: *829 + repository: *830 sender: *4 required: - action @@ -168586,11 +167800,11 @@ webhooks: type: string enum: - member_added - enterprise: *829 - installation: *830 - membership: *869 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + membership: *867 + organization: *829 + repository: *830 sender: *4 required: - action @@ -168669,8 +167883,8 @@ webhooks: type: string enum: - member_invited - enterprise: *829 - installation: *830 + enterprise: *827 + installation: *828 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -168792,10 +168006,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *831 - repository: *832 + organization: *829 + repository: *830 sender: *4 - user: *856 + user: *854 required: - action - invitation @@ -168873,11 +168087,11 @@ webhooks: type: string enum: - member_removed - enterprise: *829 - installation: *830 - membership: *869 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + membership: *867 + organization: *829 + repository: *830 sender: *4 required: - action @@ -168964,11 +168178,11 @@ webhooks: properties: from: type: string - enterprise: *829 - installation: *830 - membership: *869 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + membership: *867 + organization: *829 + repository: *830 sender: *4 required: - action @@ -169044,9 +168258,9 @@ webhooks: type: string enum: - published - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *827 + installation: *828 + organization: *829 package: description: Information about the package. type: object @@ -169569,7 +168783,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &870 + items: &868 title: Ruby Gems metadata type: object properties: @@ -169666,7 +168880,7 @@ webhooks: - owner - package_version - registry - repository: *832 + repository: *830 sender: *4 required: - action @@ -169742,9 +168956,9 @@ webhooks: type: string enum: - updated - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *827 + installation: *828 + organization: *829 package: description: Information about the package. type: object @@ -170106,7 +169320,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *870 + items: *868 source_url: type: string format: uri @@ -170177,7 +169391,7 @@ webhooks: - owner - package_version - registry - repository: *832 + repository: *830 sender: *4 required: - action @@ -170358,12 +169572,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *829 + enterprise: *827 id: type: integer - installation: *830 - organization: *831 - repository: *832 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - id @@ -170440,7 +169654,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &871 + personal_access_token_request: &869 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -170590,10 +169804,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *829 - organization: *831 + enterprise: *827 + organization: *829 sender: *4 - installation: *830 + installation: *828 required: - action - personal_access_token_request @@ -170670,11 +169884,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *871 - enterprise: *829 - organization: *831 + personal_access_token_request: *869 + enterprise: *827 + organization: *829 sender: *4 - installation: *830 + installation: *828 required: - action - personal_access_token_request @@ -170750,11 +169964,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *871 - enterprise: *829 - organization: *831 + personal_access_token_request: *869 + enterprise: *827 + organization: *829 sender: *4 - installation: *830 + installation: *828 required: - action - personal_access_token_request @@ -170829,11 +170043,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *871 - organization: *831 - enterprise: *829 + personal_access_token_request: *869 + organization: *829 + enterprise: *827 sender: *4 - installation: *830 + installation: *828 required: - action - personal_access_token_request @@ -170938,7 +170152,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *872 + last_response: *870 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -170970,8 +170184,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *831 - repository: *832 + organization: *829 + repository: *830 sender: *4 zen: description: Random string of GitHub zen. @@ -171216,10 +170430,10 @@ webhooks: - from required: - note - enterprise: *829 - installation: *830 - organization: *831 - project_card: &873 + enterprise: *827 + installation: *828 + organization: *829 + project_card: &871 title: Project Card type: object properties: @@ -171342,7 +170556,7 @@ webhooks: - creator - created_at - updated_at - repository: *832 + repository: *830 sender: *4 required: - action @@ -171423,11 +170637,11 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - organization: *831 - project_card: *873 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + project_card: *871 + repository: *830 sender: *4 required: - action @@ -171507,9 +170721,9 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *827 + installation: *828 + organization: *829 project_card: title: Project Card type: object @@ -171639,7 +170853,7 @@ webhooks: repository: anyOf: - type: 'null' - - *832 + - *830 sender: *4 required: - action @@ -171733,11 +170947,11 @@ webhooks: - from required: - note - enterprise: *829 - installation: *830 - organization: *831 - project_card: *873 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + project_card: *871 + repository: *830 sender: *4 required: - action @@ -171831,9 +171045,9 @@ webhooks: - from required: - column_id - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *827 + installation: *828 + organization: *829 project_card: allOf: - title: Project Card @@ -172030,7 +171244,7 @@ webhooks: type: string required: - after_id - repository: *832 + repository: *830 sender: *4 required: - action @@ -172110,10 +171324,10 @@ webhooks: type: string enum: - closed - enterprise: *829 - installation: *830 - organization: *831 - project: &875 + enterprise: *827 + installation: *828 + organization: *829 + project: &873 title: Project type: object properties: @@ -172240,7 +171454,7 @@ webhooks: - creator - created_at - updated_at - repository: *832 + repository: *830 sender: *4 required: - action @@ -172320,10 +171534,10 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - organization: *831 - project_column: &874 + enterprise: *827 + installation: *828 + organization: *829 + project_column: &872 title: Project Column type: object properties: @@ -172363,7 +171577,7 @@ webhooks: - name - created_at - updated_at - repository: *832 + repository: *830 sender: *4 required: - action @@ -172442,14 +171656,14 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - organization: *831 - project_column: *874 + enterprise: *827 + installation: *828 + organization: *829 + project_column: *872 repository: anyOf: - type: 'null' - - *832 + - *830 sender: *4 required: - action @@ -172538,11 +171752,11 @@ webhooks: type: string required: - from - enterprise: *829 - installation: *830 - organization: *831 - project_column: *874 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + project_column: *872 + repository: *830 sender: *4 required: - action @@ -172622,11 +171836,11 @@ webhooks: type: string enum: - moved - enterprise: *829 - installation: *830 - organization: *831 - project_column: *874 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + project_column: *872 + repository: *830 sender: *4 required: - action @@ -172706,11 +171920,11 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - organization: *831 - project: *875 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + project: *873 + repository: *830 sender: *4 required: - action @@ -172790,14 +172004,14 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - organization: *831 - project: *875 + enterprise: *827 + installation: *828 + organization: *829 + project: *873 repository: anyOf: - type: 'null' - - *832 + - *830 sender: *4 required: - action @@ -172898,11 +172112,11 @@ webhooks: type: string required: - from - enterprise: *829 - installation: *830 - organization: *831 - project: *875 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + project: *873 + repository: *830 sender: *4 required: - action @@ -172981,11 +172195,11 @@ webhooks: type: string enum: - reopened - enterprise: *829 - installation: *830 - organization: *831 - project: *875 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + project: *873 + repository: *830 sender: *4 required: - action @@ -173066,9 +172280,9 @@ webhooks: type: string enum: - closed - installation: *830 - organization: *831 - projects_v2: *383 + installation: *828 + organization: *829 + projects_v2: *382 sender: *4 required: - action @@ -173149,9 +172363,9 @@ webhooks: type: string enum: - created - installation: *830 - organization: *831 - projects_v2: *383 + installation: *828 + organization: *829 + projects_v2: *382 sender: *4 required: - action @@ -173232,9 +172446,9 @@ webhooks: type: string enum: - deleted - installation: *830 - organization: *831 - projects_v2: *383 + installation: *828 + organization: *829 + projects_v2: *382 sender: *4 required: - action @@ -173355,9 +172569,9 @@ webhooks: type: string to: type: string - installation: *830 - organization: *831 - projects_v2: *383 + installation: *828 + organization: *829 + projects_v2: *382 sender: *4 required: - action @@ -173440,7 +172654,7 @@ webhooks: type: string enum: - archived - changes: &879 + changes: &877 type: object properties: archived_at: @@ -173456,9 +172670,9 @@ webhooks: - string - 'null' format: date-time - installation: *830 - organization: *831 - projects_v2_item: &876 + installation: *828 + organization: *829 + projects_v2_item: &874 title: Projects v2 Item description: An item belonging to a project type: object @@ -173476,7 +172690,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *389 + content_type: *388 creator: *4 created_at: type: string @@ -173598,9 +172812,9 @@ webhooks: - 'null' to: type: string - installation: *830 - organization: *831 - projects_v2_item: *876 + installation: *828 + organization: *829 + projects_v2_item: *874 sender: *4 required: - action @@ -173682,9 +172896,9 @@ webhooks: type: string enum: - created - installation: *830 - organization: *831 - projects_v2_item: *876 + installation: *828 + organization: *829 + projects_v2_item: *874 sender: *4 required: - action @@ -173765,9 +172979,9 @@ webhooks: type: string enum: - deleted - installation: *830 - organization: *831 - projects_v2_item: *876 + installation: *828 + organization: *829 + projects_v2_item: *874 sender: *4 required: - action @@ -173872,7 +173086,7 @@ webhooks: oneOf: - type: string - type: integer - - &877 + - &875 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -173896,7 +173110,7 @@ webhooks: required: - id - name - - &878 + - &876 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -173936,8 +173150,8 @@ webhooks: oneOf: - type: string - type: integer - - *877 - - *878 + - *875 + - *876 type: - 'null' - string @@ -173960,9 +173174,9 @@ webhooks: - 'null' required: - body - installation: *830 - organization: *831 - projects_v2_item: *876 + installation: *828 + organization: *829 + projects_v2_item: *874 sender: *4 required: - action @@ -174059,9 +173273,9 @@ webhooks: type: - string - 'null' - installation: *830 - organization: *831 - projects_v2_item: *876 + installation: *828 + organization: *829 + projects_v2_item: *874 sender: *4 required: - action @@ -174144,10 +173358,10 @@ webhooks: type: string enum: - restored - changes: *879 - installation: *830 - organization: *831 - projects_v2_item: *876 + changes: *877 + installation: *828 + organization: *829 + projects_v2_item: *874 sender: *4 required: - action @@ -174229,9 +173443,9 @@ webhooks: type: string enum: - reopened - installation: *830 - organization: *831 - projects_v2: *383 + installation: *828 + organization: *829 + projects_v2: *382 sender: *4 required: - action @@ -174312,9 +173526,9 @@ webhooks: type: string enum: - created - installation: *830 - organization: *831 - projects_v2_status_update: *880 + installation: *828 + organization: *829 + projects_v2_status_update: *878 sender: *4 required: - action @@ -174395,9 +173609,9 @@ webhooks: type: string enum: - deleted - installation: *830 - organization: *831 - projects_v2_status_update: *880 + installation: *828 + organization: *829 + projects_v2_status_update: *878 sender: *4 required: - action @@ -174543,9 +173757,9 @@ webhooks: - string - 'null' format: date - installation: *830 - organization: *831 - projects_v2_status_update: *880 + installation: *828 + organization: *829 + projects_v2_status_update: *878 sender: *4 required: - action @@ -174616,10 +173830,10 @@ webhooks: title: public event type: object properties: - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - repository @@ -174696,13 +173910,13 @@ webhooks: type: string enum: - assigned - assignee: *856 - enterprise: *829 - installation: *830 - number: &881 + assignee: *854 + enterprise: *827 + installation: *828 + number: &879 description: The pull request number. type: integer - organization: *831 + organization: *829 pull_request: title: Pull Request type: object @@ -177051,7 +176265,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *830 sender: *4 required: - action @@ -177133,11 +176347,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *829 - installation: *830 + enterprise: *827 + installation: *828 number: type: integer - organization: *831 + organization: *829 pull_request: title: Pull Request type: object @@ -179479,7 +178693,7 @@ webhooks: - draft reason: type: string - repository: *832 + repository: *830 sender: *4 required: - action @@ -179561,11 +178775,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *829 - installation: *830 + enterprise: *827 + installation: *828 number: type: integer - organization: *831 + organization: *829 pull_request: title: Pull Request type: object @@ -181907,7 +181121,7 @@ webhooks: - draft reason: type: string - repository: *832 + repository: *830 sender: *4 required: - action @@ -181989,13 +181203,13 @@ webhooks: type: string enum: - closed - enterprise: *829 - installation: *830 - number: *881 - organization: *831 - pull_request: &882 + enterprise: *827 + installation: *828 + number: *879 + organization: *829 + pull_request: &880 allOf: - - *680 + - *678 - type: object properties: allow_auto_merge: @@ -182057,7 +181271,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *832 + repository: *830 sender: *4 required: - action @@ -182138,12 +181352,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *829 - installation: *830 - number: *881 - organization: *831 - pull_request: *882 - repository: *832 + enterprise: *827 + installation: *828 + number: *879 + organization: *829 + pull_request: *880 + repository: *830 sender: *4 required: - action @@ -182223,11 +181437,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *829 - milestone: *387 - number: *881 - organization: *831 - pull_request: &883 + enterprise: *827 + milestone: *386 + number: *879 + organization: *829 + pull_request: &881 title: Pull Request type: object properties: @@ -184554,7 +183768,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *830 sender: *4 required: - action @@ -184633,11 +183847,11 @@ webhooks: type: string enum: - dequeued - enterprise: *829 - installation: *830 + enterprise: *827 + installation: *828 number: type: integer - organization: *831 + organization: *829 pull_request: title: Pull Request type: object @@ -186983,7 +186197,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *832 + repository: *830 sender: *4 required: - action @@ -187107,12 +186321,12 @@ webhooks: type: string required: - from - enterprise: *829 - installation: *830 - number: *881 - organization: *831 - pull_request: *882 - repository: *832 + enterprise: *827 + installation: *828 + number: *879 + organization: *829 + pull_request: *880 + repository: *830 sender: *4 required: - action @@ -187192,11 +186406,11 @@ webhooks: type: string enum: - enqueued - enterprise: *829 - installation: *830 + enterprise: *827 + installation: *828 number: type: integer - organization: *831 + organization: *829 pull_request: title: Pull Request type: object @@ -189527,7 +188741,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *830 sender: *4 required: - action @@ -189607,11 +188821,11 @@ webhooks: type: string enum: - labeled - enterprise: *829 - installation: *830 - label: *855 - number: *881 - organization: *831 + enterprise: *827 + installation: *828 + label: *853 + number: *879 + organization: *829 pull_request: title: Pull Request type: object @@ -191959,7 +191173,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *830 sender: *4 required: - action @@ -192040,10 +191254,10 @@ webhooks: type: string enum: - locked - enterprise: *829 - installation: *830 - number: *881 - organization: *831 + enterprise: *827 + installation: *828 + number: *879 + organization: *829 pull_request: title: Pull Request type: object @@ -194389,7 +193603,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *830 sender: *4 required: - action @@ -194469,12 +193683,12 @@ webhooks: type: string enum: - milestoned - enterprise: *829 - milestone: *387 - number: *881 - organization: *831 - pull_request: *883 - repository: *832 + enterprise: *827 + milestone: *386 + number: *879 + organization: *829 + pull_request: *881 + repository: *830 sender: *4 required: - action @@ -194553,12 +193767,12 @@ webhooks: type: string enum: - opened - enterprise: *829 - installation: *830 - number: *881 - organization: *831 - pull_request: *882 - repository: *832 + enterprise: *827 + installation: *828 + number: *879 + organization: *829 + pull_request: *880 + repository: *830 sender: *4 required: - action @@ -194639,12 +193853,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *829 - installation: *830 - number: *881 - organization: *831 - pull_request: *882 - repository: *832 + enterprise: *827 + installation: *828 + number: *879 + organization: *829 + pull_request: *880 + repository: *830 sender: *4 required: - action @@ -194724,12 +193938,12 @@ webhooks: type: string enum: - reopened - enterprise: *829 - installation: *830 - number: *881 - organization: *831 - pull_request: *882 - repository: *832 + enterprise: *827 + installation: *828 + number: *879 + organization: *829 + pull_request: *880 + repository: *830 sender: *4 required: - action @@ -195104,9 +194318,9 @@ webhooks: - start_side - side - reactions - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *827 + installation: *828 + organization: *829 pull_request: type: object properties: @@ -197336,7 +196550,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *832 + repository: *830 sender: *4 required: - action @@ -197416,7 +196630,7 @@ webhooks: type: string enum: - deleted - comment: &885 + comment: &883 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. @@ -197709,9 +196923,9 @@ webhooks: - start_side - side - reactions - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *827 + installation: *828 + organization: *829 pull_request: type: object properties: @@ -199929,7 +199143,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *832 + repository: *830 sender: *4 required: - action @@ -200009,11 +199223,11 @@ webhooks: type: string enum: - edited - changes: *884 - comment: *885 - enterprise: *829 - installation: *830 - organization: *831 + changes: *882 + comment: *883 + enterprise: *827 + installation: *828 + organization: *829 pull_request: type: object properties: @@ -202234,7 +201448,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *832 + repository: *830 sender: *4 required: - action @@ -202315,9 +201529,9 @@ webhooks: type: string enum: - dismissed - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *827 + installation: *828 + organization: *829 pull_request: title: Simple Pull Request type: object @@ -204550,7 +203764,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *832 + repository: *830 review: description: The review that was affected. type: object @@ -204801,9 +204015,9 @@ webhooks: type: string required: - from - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *827 + installation: *828 + organization: *829 pull_request: title: Simple Pull Request type: object @@ -206917,8 +206131,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *832 - review: &886 + repository: *830 + review: &884 description: The review that was affected. type: object properties: @@ -207156,12 +206370,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *829 - installation: *830 + enterprise: *827 + installation: *828 number: description: The pull request number. type: integer - organization: *831 + organization: *829 pull_request: title: Pull Request type: object @@ -209508,7 +208722,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *830 requested_reviewer: title: User type: @@ -209594,12 +208808,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *829 - installation: *830 + enterprise: *827 + installation: *828 number: description: The pull request number. type: integer - organization: *831 + organization: *829 pull_request: title: Pull Request type: object @@ -211953,7 +211167,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *830 requested_team: title: Team description: Groups of organization members that gives permissions @@ -212148,12 +211362,12 @@ webhooks: type: string enum: - review_requested - enterprise: *829 - installation: *830 + enterprise: *827 + installation: *828 number: description: The pull request number. type: integer - organization: *831 + organization: *829 pull_request: title: Pull Request type: object @@ -214502,7 +213716,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *830 requested_reviewer: title: User type: @@ -214589,12 +213803,12 @@ webhooks: type: string enum: - review_requested - enterprise: *829 - installation: *830 + enterprise: *827 + installation: *828 number: description: The pull request number. type: integer - organization: *831 + organization: *829 pull_request: title: Pull Request type: object @@ -216934,7 +216148,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *830 requested_team: title: Team description: Groups of organization members that gives permissions @@ -217118,9 +216332,9 @@ webhooks: type: string enum: - submitted - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *827 + installation: *828 + organization: *829 pull_request: title: Simple Pull Request type: object @@ -219356,8 +218570,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *832 - review: *886 + repository: *830 + review: *884 sender: *4 required: - action @@ -219437,9 +218651,9 @@ webhooks: type: string enum: - resolved - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *827 + installation: *828 + organization: *829 pull_request: title: Simple Pull Request type: object @@ -221570,7 +220784,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *832 + repository: *830 sender: *4 thread: type: object @@ -221967,9 +221181,9 @@ webhooks: type: string enum: - unresolved - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *827 + installation: *828 + organization: *829 pull_request: title: Simple Pull Request type: object @@ -224083,7 +223297,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *832 + repository: *830 sender: *4 thread: type: object @@ -224482,10 +223696,10 @@ webhooks: type: string before: type: string - enterprise: *829 - installation: *830 - number: *881 - organization: *831 + enterprise: *827 + installation: *828 + number: *879 + organization: *829 pull_request: title: Pull Request type: object @@ -226820,7 +226034,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *830 sender: *4 required: - action @@ -226902,11 +226116,11 @@ webhooks: type: string enum: - unassigned - assignee: *887 - enterprise: *829 - installation: *830 - number: *881 - organization: *831 + assignee: *885 + enterprise: *827 + installation: *828 + number: *879 + organization: *829 pull_request: title: Pull Request type: object @@ -229256,7 +228470,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *830 sender: *4 required: - action @@ -229335,11 +228549,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *829 - installation: *830 - label: *855 - number: *881 - organization: *831 + enterprise: *827 + installation: *828 + label: *853 + number: *879 + organization: *829 pull_request: title: Pull Request type: object @@ -231678,7 +230892,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *830 sender: *4 required: - action @@ -231759,10 +230973,10 @@ webhooks: type: string enum: - unlocked - enterprise: *829 - installation: *830 - number: *881 - organization: *831 + enterprise: *827 + installation: *828 + number: *879 + organization: *829 pull_request: title: Pull Request type: object @@ -234091,7 +233305,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *832 + repository: *830 sender: *4 required: - action @@ -234294,7 +233508,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *829 + enterprise: *827 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -234389,8 +233603,8 @@ webhooks: - url - author - committer - installation: *830 - organization: *831 + installation: *828 + organization: *829 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -234978,9 +234192,9 @@ webhooks: type: string enum: - published - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *827 + installation: *828 + organization: *829 registry_package: type: object properties: @@ -235457,7 +234671,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *870 + items: *868 summary: type: string tag_name: @@ -235513,7 +234727,7 @@ webhooks: - owner - package_version - registry - repository: *832 + repository: *830 sender: *4 required: - action @@ -235591,9 +234805,9 @@ webhooks: type: string enum: - updated - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *827 + installation: *828 + organization: *829 registry_package: type: object properties: @@ -235905,7 +235119,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *870 + items: *868 summary: type: string tag_name: @@ -235955,7 +235169,7 @@ webhooks: - owner - package_version - registry - repository: *832 + repository: *830 sender: *4 required: - action @@ -236032,10 +235246,10 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - organization: *831 - release: &888 + enterprise: *827 + installation: *828 + organization: *829 + release: &886 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -236366,7 +235580,7 @@ webhooks: - updated_at - zipball_url - body - repository: *832 + repository: *830 sender: *4 required: - action @@ -236443,11 +235657,11 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - organization: *831 - release: *888 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + release: *886 + repository: *830 sender: *4 required: - action @@ -236564,11 +235778,11 @@ webhooks: type: boolean required: - to - enterprise: *829 - installation: *830 - organization: *831 - release: *888 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + release: *886 + repository: *830 sender: *4 required: - action @@ -236646,9 +235860,9 @@ webhooks: type: string enum: - prereleased - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *827 + installation: *828 + organization: *829 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -236984,7 +236198,7 @@ webhooks: - string - 'null' format: uri - repository: *832 + repository: *830 sender: *4 required: - action @@ -237060,10 +236274,10 @@ webhooks: type: string enum: - published - enterprise: *829 - installation: *830 - organization: *831 - release: &889 + enterprise: *827 + installation: *828 + organization: *829 + release: &887 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -237396,7 +236610,7 @@ webhooks: - string - 'null' format: uri - repository: *832 + repository: *830 sender: *4 required: - action @@ -237472,11 +236686,11 @@ webhooks: type: string enum: - released - enterprise: *829 - installation: *830 - organization: *831 - release: *888 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + release: *886 + repository: *830 sender: *4 required: - action @@ -237552,11 +236766,11 @@ webhooks: type: string enum: - unpublished - enterprise: *829 - installation: *830 - organization: *831 - release: *889 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + release: *887 + repository: *830 sender: *4 required: - action @@ -237632,11 +236846,11 @@ webhooks: type: string enum: - published - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - repository_advisory: *733 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 + repository_advisory: *731 sender: *4 required: - action @@ -237712,11 +236926,11 @@ webhooks: type: string enum: - reported - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - repository_advisory: *733 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 + repository_advisory: *731 sender: *4 required: - action @@ -237792,10 +237006,10 @@ webhooks: type: string enum: - archived - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -237872,10 +237086,10 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -237953,10 +237167,10 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -238041,10 +237255,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -238159,10 +237373,10 @@ webhooks: - 'null' items: type: string - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -238234,10 +237448,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 status: type: string @@ -238318,10 +237532,10 @@ webhooks: type: string enum: - privatized - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -238398,10 +237612,10 @@ webhooks: type: string enum: - publicized - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -238495,10 +237709,10 @@ webhooks: - name required: - repository - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -238578,10 +237792,10 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 repository_ruleset: *179 sender: *4 required: @@ -238660,10 +237874,10 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 repository_ruleset: *179 sender: *4 required: @@ -238742,10 +237956,10 @@ webhooks: type: string enum: - edited - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 repository_ruleset: *179 changes: type: object @@ -238807,16 +238021,16 @@ webhooks: properties: added: type: array - items: *701 + items: *699 deleted: type: array - items: *701 + items: *699 updated: type: array items: type: object properties: - rule: *701 + rule: *699 changes: type: object properties: @@ -239053,10 +238267,10 @@ webhooks: - from required: - owner - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -239134,10 +238348,10 @@ webhooks: type: string enum: - unarchived - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -239215,7 +238429,7 @@ webhooks: type: string enum: - create - alert: &890 + alert: &888 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -239339,10 +238553,10 @@ webhooks: type: string enum: - open - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -239552,10 +238766,10 @@ webhooks: type: string enum: - dismissed - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -239633,11 +238847,11 @@ webhooks: type: string enum: - reopen - alert: *890 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + alert: *888 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -239839,10 +239053,10 @@ webhooks: enum: - fixed - open - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -239920,7 +239134,7 @@ webhooks: type: string enum: - created - alert: &891 + alert: &889 type: object properties: number: *119 @@ -240034,10 +239248,10 @@ webhooks: anyOf: - type: 'null' - *4 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -240118,11 +239332,11 @@ webhooks: type: string enum: - created - alert: *891 - installation: *830 - location: *892 - organization: *831 - repository: *832 + alert: *889 + installation: *828 + location: *890 + organization: *829 + repository: *830 sender: *4 required: - location @@ -240360,11 +239574,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *891 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + alert: *889 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -240442,11 +239656,11 @@ webhooks: type: string enum: - reopened - alert: *891 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + alert: *889 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -240524,11 +239738,11 @@ webhooks: type: string enum: - resolved - alert: *891 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + alert: *889 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -240606,11 +239820,11 @@ webhooks: type: string enum: - validated - alert: *891 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + alert: *889 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -240740,10 +239954,10 @@ webhooks: - organization - enterprise - - repository: *832 - enterprise: *829 - installation: *830 - organization: *831 + repository: *830 + enterprise: *827 + installation: *828 + organization: *829 sender: *4 required: - action @@ -240821,11 +240035,11 @@ webhooks: type: string enum: - published - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - security_advisory: &893 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 + security_advisory: &891 description: The details of the security advisory, including summary, description, and severity. type: object @@ -241011,11 +240225,11 @@ webhooks: type: string enum: - updated - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 - security_advisory: *893 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 + security_advisory: *891 sender: *4 required: - action @@ -241088,10 +240302,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -241277,11 +240491,11 @@ webhooks: from: type: object properties: - security_and_analysis: *395 - enterprise: *829 - installation: *830 - organization: *831 - repository: *461 + security_and_analysis: *394 + enterprise: *827 + installation: *828 + organization: *829 + repository: *458 sender: *4 required: - changes @@ -241359,12 +240573,12 @@ webhooks: type: string enum: - cancelled - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 - sponsorship: &894 + sponsorship: &892 type: object properties: created_at: @@ -241669,12 +240883,12 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 - sponsorship: *894 + sponsorship: *892 required: - action - sponsorship @@ -241762,12 +240976,12 @@ webhooks: type: string required: - from - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 - sponsorship: *894 + sponsorship: *892 required: - action - changes @@ -241844,17 +241058,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &895 + effective_date: &893 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: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 - sponsorship: *894 + sponsorship: *892 required: - action - sponsorship @@ -241928,7 +241142,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &896 + changes: &894 type: object properties: tier: @@ -241972,13 +241186,13 @@ webhooks: - from required: - tier - effective_date: *895 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + effective_date: *893 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 - sponsorship: *894 + sponsorship: *892 required: - action - changes @@ -242055,13 +241269,13 @@ webhooks: type: string enum: - tier_changed - changes: *896 - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + changes: *894 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 - sponsorship: *894 + sponsorship: *892 required: - action - changes @@ -242135,10 +241349,10 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -242222,10 +241436,10 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -242659,15 +241873,15 @@ webhooks: type: - string - 'null' - enterprise: *829 + enterprise: *827 id: description: The unique identifier of the status. type: integer - installation: *830 + installation: *828 name: type: string - organization: *831 - repository: *832 + organization: *829 + repository: *830 sender: *4 sha: description: The Commit SHA. @@ -242783,9 +241997,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *218 - installation: *830 - organization: *831 - repository: *832 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -242875,9 +242089,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *218 - installation: *830 - organization: *831 - repository: *832 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -242967,9 +242181,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *218 - installation: *830 - organization: *831 - repository: *832 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -243059,9 +242273,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *218 - installation: *830 - organization: *831 - repository: *832 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -243138,12 +242352,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 - team: &897 + team: &895 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -243373,9 +242587,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *827 + installation: *828 + organization: *829 repository: title: Repository description: A git repository @@ -243845,7 +243059,7 @@ webhooks: - topics - visibility sender: *4 - team: *897 + team: *895 required: - action - team @@ -243921,9 +243135,9 @@ webhooks: type: string enum: - created - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *827 + installation: *828 + organization: *829 repository: title: Repository description: A git repository @@ -244393,7 +243607,7 @@ webhooks: - topics - visibility sender: *4 - team: *897 + team: *895 required: - action - team @@ -244470,9 +243684,9 @@ webhooks: type: string enum: - deleted - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *827 + installation: *828 + organization: *829 repository: title: Repository description: A git repository @@ -244942,7 +244156,7 @@ webhooks: - topics - visibility sender: *4 - team: *897 + team: *895 required: - action - team @@ -245086,9 +244300,9 @@ webhooks: - from required: - permissions - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *827 + installation: *828 + organization: *829 repository: title: Repository description: A git repository @@ -245558,7 +244772,7 @@ webhooks: - topics - visibility sender: *4 - team: *897 + team: *895 required: - action - changes @@ -245636,9 +244850,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *829 - installation: *830 - organization: *831 + enterprise: *827 + installation: *828 + organization: *829 repository: title: Repository description: A git repository @@ -246108,7 +245322,7 @@ webhooks: - topics - visibility sender: *4 - team: *897 + team: *895 required: - action - team @@ -246184,10 +245398,10 @@ webhooks: type: string enum: - started - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 required: - action @@ -246260,17 +245474,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *829 + enterprise: *827 inputs: type: - object - 'null' additionalProperties: true - installation: *830 - organization: *831 + installation: *828 + organization: *829 ref: type: string - repository: *832 + repository: *830 sender: *4 workflow: type: string @@ -246352,10 +245566,10 @@ webhooks: type: string enum: - completed - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 workflow_job: allOf: @@ -246611,7 +245825,7 @@ webhooks: type: string required: - conclusion - deployment: *588 + deployment: *585 required: - action - repository @@ -246690,10 +245904,10 @@ webhooks: type: string enum: - in_progress - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 workflow_job: allOf: @@ -246975,7 +246189,7 @@ webhooks: required: - status - steps - deployment: *588 + deployment: *585 required: - action - repository @@ -247054,10 +246268,10 @@ webhooks: type: string enum: - queued - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 workflow_job: type: object @@ -247203,7 +246417,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *588 + deployment: *585 required: - action - repository @@ -247282,10 +246496,10 @@ webhooks: type: string enum: - waiting - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 workflow_job: type: object @@ -247432,7 +246646,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *588 + deployment: *585 required: - action - repository @@ -247512,12 +246726,12 @@ webhooks: type: string enum: - completed - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 - workflow: *851 + workflow: *849 workflow_run: title: Workflow Run type: object @@ -248536,12 +247750,12 @@ webhooks: type: string enum: - in_progress - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 - workflow: *851 + workflow: *849 workflow_run: title: Workflow Run type: object @@ -249545,12 +248759,12 @@ webhooks: type: string enum: - requested - enterprise: *829 - installation: *830 - organization: *831 - repository: *832 + enterprise: *827 + installation: *828 + organization: *829 + repository: *830 sender: *4 - workflow: *851 + workflow: *849 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/ghec.2022-11-28.json b/descriptions-next/ghec/ghec.2022-11-28.json index 0efc46964..d32769834 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.json +++ b/descriptions-next/ghec/ghec.2022-11-28.json @@ -12747,7 +12747,7 @@ }, "/enterprises/{enterprise}/settings/billing/usage/summary": { "get": { - "summary": "Get billing usage summary report for an enterprise", + "summary": "Get billing usage summary for an enterprise", "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets a summary report of usage for an enterprise. To use this endpoint, you must be an administrator or billing manager of the enterprise. By default, this endpoint will return usage across all cost centers in the enterprise.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" @@ -12755,7 +12755,7 @@ "operationId": "billing/get-github-billing-usage-summary-report-ghe", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-summary-report-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-summary-for-an-enterprise" }, "parameters": [ { @@ -17541,7 +17541,7 @@ }, "/organizations/{org}/settings/billing/usage/summary": { "get": { - "summary": "Get billing usage summary report for an organization", + "summary": "Get billing usage summary for an organization", "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets a summary report of usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" @@ -17549,7 +17549,7 @@ "operationId": "billing/get-github-billing-usage-summary-report-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-summary-report-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-summary-for-an-organization" }, "parameters": [ { @@ -34768,172 +34768,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", @@ -42428,269 +42262,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", - "type": "string", - "examples": [ - "Week One Sprint" - ] - }, - "body": { - "description": "Body of the project", - "type": [ - "string", - "null" - ], - "examples": [ - "This project represents the sprint of the first week in January" - ] - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "type": "string", - "examples": [ - "open" - ] - }, - "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", @@ -70215,142 +69786,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": [ { @@ -70360,78 +69805,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": { @@ -87297,185 +86684,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": [ { @@ -87485,12 +86704,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" @@ -87510,98 +86761,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", - "type": "string", - "examples": [ - "Week One Sprint" - ] - }, - "body": { - "description": "Body of the project", - "type": [ - "string", - "null" - ], - "examples": [ - "This project represents the sprint of the first week in January" - ] - } - }, - "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": { @@ -90833,83 +90126,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", @@ -92116,7 +91332,7 @@ }, "/users/{username}/settings/billing/usage/summary": { "get": { - "summary": "Get billing usage summary report for a user", + "summary": "Get billing usage summary for a user", "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets a summary report of usage for a user.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" @@ -92124,7 +91340,7 @@ "operationId": "billing/get-github-billing-usage-summary-report-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-summary-report-for-a-user" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-summary-for-a-user" }, "parameters": [ { @@ -139133,136 +138349,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", - "examples": [ - "https://api.github.com/repos/api-playground/projects-test" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/api-playground/projects-test/projects/12" - ] - }, - "columns_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/projects/1002604/columns" - ] - }, - "id": { - "type": "integer", - "examples": [ - 1002604 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDc6UHJvamVjdDEwMDI2MDQ=" - ] - }, - "name": { - "description": "Name of the project", - "type": "string", - "examples": [ - "Week One Sprint" - ] - }, - "body": { - "description": "Body of the project", - "type": [ - "string", - "null" - ], - "examples": [ - "This project represents the sprint of the first week in January" - ] - }, - "number": { - "type": "integer", - "examples": [ - 1 - ] - }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "type": "string", - "examples": [ - "open" - ] - }, - "creator": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": [ - "2011-04-10T20:09:31Z" - ] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": [ - "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" - ] - }, "projects-v2-status-update": { "title": "Projects v2 Status Update", "description": "An status update belonging to a project", @@ -319761,82 +318847,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, @@ -322896,42 +321906,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", @@ -333242,44 +332216,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", @@ -340549,42 +339485,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": [ @@ -341266,44 +340166,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": { - {"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}