From fcbd16415aed70beb477b41628f01184c3912b06 Mon Sep 17 00:00:00 2001 From: wolfy1339 Date: Fri, 20 Jan 2023 15:14:09 -0500 Subject: [PATCH] fix: revert "feat: many unreleased endpoint updates (#499)" This reverts commit d95231998bf8e762f2de82a9392243cc161e119f. --- package-lock.json | 28 +- package.json | 4 +- .../update-endpoints/generated/endpoints.json | 1635 +++++++---------- src/generated/Endpoints.ts | 746 ++++---- 4 files changed, 978 insertions(+), 1435 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6b3d8465b..c48cc77c9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "0.0.0-development", "license": "MIT", "dependencies": { - "@octokit/openapi-types": "^16.0.0" + "@octokit/openapi-types": "^14.0.0" }, "devDependencies": { "@pika/pack": "^0.3.7", @@ -1939,9 +1939,9 @@ } }, "node_modules/@octokit/openapi-types": { - "version": "16.0.0", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-16.0.0.tgz", - "integrity": "sha512-JbFWOqTJVLHZSUUoF4FzAZKYtqdxWu9Z5m2QQnOyEa04fOFljvyh7D3GYKbfuaSWisqehImiVIMG4eyJeP5VEA==" + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-14.0.0.tgz", + "integrity": "sha512-HNWisMYlR8VCnNurDU6os2ikx0s0VyEjDYHNS/h4cgb8DeOxQ0n72HyinUtdDVxJhFy3FWLGl0DJhfEWk3P5Iw==" }, "node_modules/@octokit/plugin-paginate-rest": { "version": "5.0.1", @@ -2038,12 +2038,6 @@ "@octokit/openapi-types": "^14.0.0" } }, - "node_modules/@octokit/types/node_modules/@octokit/openapi-types": { - "version": "14.0.0", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-14.0.0.tgz", - "integrity": "sha512-HNWisMYlR8VCnNurDU6os2ikx0s0VyEjDYHNS/h4cgb8DeOxQ0n72HyinUtdDVxJhFy3FWLGl0DJhfEWk3P5Iw==", - "dev": true - }, "node_modules/@pika/babel-plugin-esm-import-rewrite": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/@pika/babel-plugin-esm-import-rewrite/-/babel-plugin-esm-import-rewrite-0.6.1.tgz", @@ -13292,9 +13286,9 @@ } }, "@octokit/openapi-types": { - "version": "16.0.0", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-16.0.0.tgz", - "integrity": "sha512-JbFWOqTJVLHZSUUoF4FzAZKYtqdxWu9Z5m2QQnOyEa04fOFljvyh7D3GYKbfuaSWisqehImiVIMG4eyJeP5VEA==" + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-14.0.0.tgz", + "integrity": "sha512-HNWisMYlR8VCnNurDU6os2ikx0s0VyEjDYHNS/h4cgb8DeOxQ0n72HyinUtdDVxJhFy3FWLGl0DJhfEWk3P5Iw==" }, "@octokit/plugin-paginate-rest": { "version": "5.0.1", @@ -13366,14 +13360,6 @@ "dev": true, "requires": { "@octokit/openapi-types": "^14.0.0" - }, - "dependencies": { - "@octokit/openapi-types": { - "version": "14.0.0", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-14.0.0.tgz", - "integrity": "sha512-HNWisMYlR8VCnNurDU6os2ikx0s0VyEjDYHNS/h4cgb8DeOxQ0n72HyinUtdDVxJhFy3FWLGl0DJhfEWk3P5Iw==", - "dev": true - } } }, "@pika/babel-plugin-esm-import-rewrite": { diff --git a/package.json b/package.json index 46428a830..ed7770384 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ }, "description": "Shared TypeScript definitions for Octokit projects", "dependencies": { - "@octokit/openapi-types": "^16.0.0" + "@octokit/openapi-types": "^14.0.0" }, "scripts": { "build": "pika-pack build", @@ -105,6 +105,6 @@ ] }, "octokit": { - "openapi-version": "10.0.0" + "openapi-version": "8.0.1" } } diff --git a/scripts/update-endpoints/generated/endpoints.json b/scripts/update-endpoints/generated/endpoints.json index c9dd83541..ce2db0319 100644 --- a/scripts/update-endpoints/generated/endpoints.json +++ b/scripts/update-endpoints/generated/endpoints.json @@ -46,45 +46,6 @@ "previews": [], "renamed": null }, - { - "method": "PUT", - "url": "/orgs/{org}/actions/variables/{name}/repositories/{repository_id}", - "documentationUrl": "https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable", - "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "name" }, - { - "alias": null, - "deprecated": null, - "in": "PATH", - "name": "repository_id" - } - ], - "previews": [], - "renamed": null - }, - { - "method": "PUT", - "url": "/orgs/{org}/actions/required_workflows/{required_workflow_id}/repositories/{repository_id}", - "documentationUrl": "https://docs.github.com/rest/reference/actions#add-a-repository-to-selected-repositories-list-for-a-required-workflow", - "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, - { - "alias": null, - "deprecated": null, - "in": "PATH", - "name": "required_workflow_id" - }, - { - "alias": null, - "deprecated": null, - "in": "PATH", - "name": "repository_id" - } - ], - "previews": [], - "renamed": null - }, { "method": "PUT", "url": "/orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}", @@ -126,29 +87,6 @@ "previews": [], "renamed": null }, - { - "method": "POST", - "url": "/repositories/{repository_id}/environments/{environment_name}/variables", - "documentationUrl": "https://docs.github.com/rest/actions/variables#create-an-environment-variable", - "parameters": [ - { - "alias": null, - "deprecated": null, - "in": "PATH", - "name": "repository_id" - }, - { - "alias": null, - "deprecated": null, - "in": "PATH", - "name": "environment_name" - }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "name" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "value" } - ], - "previews": [], - "renamed": null - }, { "method": "PUT", "url": "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", @@ -237,25 +175,6 @@ "previews": [], "renamed": null }, - { - "method": "POST", - "url": "/orgs/{org}/actions/variables", - "documentationUrl": "https://docs.github.com/rest/actions/variables#create-an-organization-variable", - "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "name" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "value" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "visibility" }, - { - "alias": null, - "deprecated": null, - "in": "BODY", - "name": "selected_repository_ids" - } - ], - "previews": [], - "renamed": null - }, { "method": "POST", "url": "/orgs/{org}/actions/runners/registration-token", @@ -298,48 +217,6 @@ "previews": [], "renamed": null }, - { - "method": "POST", - "url": "/repos/{owner}/{repo}/actions/variables", - "documentationUrl": "https://docs.github.com/rest/actions/variables#create-a-repository-variable", - "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "name" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "value" } - ], - "previews": [], - "renamed": null - }, - { - "method": "POST", - "url": "/orgs/{org}/actions/required_workflows", - "documentationUrl": "https://docs.github.com/rest/reference/actions#create-a-required-workflow", - "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, - { - "alias": null, - "deprecated": null, - "in": "BODY", - "name": "workflow_file_path" - }, - { - "alias": null, - "deprecated": null, - "in": "BODY", - "name": "repository_id" - }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "scope" }, - { - "alias": null, - "deprecated": null, - "in": "BODY", - "name": "selected_repository_ids" - } - ], - "previews": [], - "renamed": null - }, { "method": "POST", "url": "/orgs/{org}/actions/runner-groups", @@ -456,22 +333,6 @@ "previews": [], "renamed": null }, - { - "method": "DELETE", - "url": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", - "documentationUrl": "https://docs.github.com/rest/actions/variables#delete-an-environment-variable", - "parameters": [ - { - "alias": null, - "deprecated": null, - "in": "PATH", - "name": "repository_id" - }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "name" } - ], - "previews": [], - "renamed": null - }, { "method": "DELETE", "url": "/orgs/{org}/actions/secrets/{secret_name}", @@ -483,17 +344,6 @@ "previews": [], "renamed": null }, - { - "method": "DELETE", - "url": "/orgs/{org}/actions/variables/{name}", - "documentationUrl": "https://docs.github.com/rest/actions/variables#delete-an-organization-variable", - "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "name" } - ], - "previews": [], - "renamed": null - }, { "method": "DELETE", "url": "/repos/{owner}/{repo}/actions/secrets/{secret_name}", @@ -506,34 +356,6 @@ "previews": [], "renamed": null }, - { - "method": "DELETE", - "url": "/repos/{owner}/{repo}/actions/variables/{name}", - "documentationUrl": "https://docs.github.com/rest/actions/variables#delete-a-repository-variable", - "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "name" } - ], - "previews": [], - "renamed": null - }, - { - "method": "DELETE", - "url": "/orgs/{org}/actions/required_workflows/{required_workflow_id}", - "documentationUrl": "https://docs.github.com/rest/reference/actions#delete-a-required-workflow", - "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, - { - "alias": null, - "deprecated": null, - "in": "PATH", - "name": "required_workflow_id" - } - ], - "previews": [], - "renamed": null - }, { "method": "DELETE", "url": "/orgs/{org}/actions/runners/{runner_id}", @@ -758,6 +580,16 @@ "previews": [], "renamed": null }, + { + "method": "GET", + "url": "/enterprises/{enterprise}/actions/cache/usage", + "documentationUrl": "https://docs.github.com/rest/reference/actions#get-github-actions-cache-usage-for-an-enterprise", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" } + ], + "previews": [], + "renamed": null + }, { "method": "GET", "url": "/orgs/{org}/actions/cache/usage", @@ -801,17 +633,6 @@ "previews": [], "renamed": null }, - { - "method": "GET", - "url": "/repos/{owner}/{repo}/actions/oidc/customization/sub", - "documentationUrl": "https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository", - "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } - ], - "previews": [], - "renamed": null - }, { "method": "GET", "url": "/repositories/{repository_id}/environments/{environment_name}/secrets/public-key", @@ -857,22 +678,10 @@ }, { "method": "GET", - "url": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", - "documentationUrl": "https://docs.github.com/rest/actions/variables#get-an-environment-variable", + "url": "/enterprises/{enterprise}/actions/permissions/workflow", + "documentationUrl": "https://docs.github.com/rest/reference/actions#get-default-workflow-permissions-for-an-enterprise", "parameters": [ - { - "alias": null, - "deprecated": null, - "in": "PATH", - "name": "repository_id" - }, - { - "alias": null, - "deprecated": null, - "in": "PATH", - "name": "environment_name" - }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "name" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" } ], "previews": [], "renamed": null @@ -952,17 +761,6 @@ "previews": [], "renamed": null }, - { - "method": "GET", - "url": "/orgs/{org}/actions/variables/{name}", - "documentationUrl": "https://docs.github.com/rest/actions/variables#get-an-organization-variable", - "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "name" } - ], - "previews": [], - "renamed": null - }, { "method": "GET", "url": "/repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments", @@ -997,40 +795,6 @@ "previews": [], "renamed": null }, - { - "method": "GET", - "url": "/repos/{org}/{repo}/actions/required_workflows/{required_workflow_id_for_repo}", - "documentationUrl": "https://docs.github.com/rest/reference/actions#get-repository-required-workflow", - "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { - "alias": null, - "deprecated": null, - "in": "PATH", - "name": "required_workflow_id_for_repo" - } - ], - "previews": [], - "renamed": null - }, - { - "method": "GET", - "url": "/repos/{org}/{repo}/actions/required_workflows/{required_workflow_id_for_repo}/timing", - "documentationUrl": "https://docs.github.com/rest/reference/actions#get-repository-required-workflow-usage", - "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { - "alias": null, - "deprecated": null, - "in": "PATH", - "name": "required_workflow_id_for_repo" - } - ], - "previews": [], - "renamed": null - }, { "method": "GET", "url": "/repos/{owner}/{repo}/actions/secrets/{secret_name}", @@ -1043,34 +807,6 @@ "previews": [], "renamed": null }, - { - "method": "GET", - "url": "/repos/{owner}/{repo}/actions/variables/{name}", - "documentationUrl": "https://docs.github.com/rest/actions/variables#get-a-repository-variable", - "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "name" } - ], - "previews": [], - "renamed": null - }, - { - "method": "GET", - "url": "/orgs/{org}/actions/required_workflows/{required_workflow_id}", - "documentationUrl": "https://docs.github.com/rest/reference/actions#get-a-required-workflow", - "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, - { - "alias": null, - "deprecated": null, - "in": "PATH", - "name": "required_workflow_id" - } - ], - "previews": [], - "renamed": null - }, { "method": "GET", "url": "/repos/{owner}/{repo}/actions/runs/{run_id}/approvals", @@ -1219,8 +955,7 @@ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "name" } + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], "previews": [], "renamed": null @@ -1250,31 +985,8 @@ }, { "method": "GET", - "url": "/repositories/{repository_id}/environments/{environment_name}/variables", - "documentationUrl": "https://docs.github.com/rest/actions/variables#list-environment-variables", - "parameters": [ - { - "alias": null, - "deprecated": null, - "in": "PATH", - "name": "repository_id" - }, - { - "alias": null, - "deprecated": null, - "in": "PATH", - "name": "environment_name" - }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } - ], - "previews": [], - "renamed": null - }, - { - "method": "GET", - "url": "/repos/{owner}/{repo}/actions/runs/{run_id}/jobs", - "documentationUrl": "https://docs.github.com/rest/reference/actions#list-jobs-for-a-workflow-run", + "url": "/repos/{owner}/{repo}/actions/runs/{run_id}/jobs", + "documentationUrl": "https://docs.github.com/rest/reference/actions#list-jobs-for-a-workflow-run", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -1341,18 +1053,6 @@ "previews": [], "renamed": null }, - { - "method": "GET", - "url": "/orgs/{org}/actions/variables", - "documentationUrl": "https://docs.github.com/rest/actions/variables#list-organization-variables", - "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } - ], - "previews": [], - "renamed": null - }, { "method": "GET", "url": "/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories", @@ -1371,19 +1071,6 @@ "previews": [], "renamed": null }, - { - "method": "GET", - "url": "/repos/{org}/{repo}/actions/required_workflows", - "documentationUrl": "https://docs.github.com/rest/reference/actions#list-repository-required-workflows", - "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } - ], - "previews": [], - "renamed": null - }, { "method": "GET", "url": "/repos/{owner}/{repo}/actions/secrets", @@ -1397,19 +1084,6 @@ "previews": [], "renamed": null }, - { - "method": "GET", - "url": "/repos/{owner}/{repo}/actions/variables", - "documentationUrl": "https://docs.github.com/rest/actions/variables#list-repository-variables", - "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } - ], - "previews": [], - "renamed": null - }, { "method": "GET", "url": "/repos/{owner}/{repo}/actions/workflows", @@ -1423,55 +1097,6 @@ "previews": [], "renamed": null }, - { - "method": "GET", - "url": "/repos/{owner}/{repo}/actions/required_workflows/{required_workflow_id_for_repo}/runs", - "documentationUrl": "https://docs.github.com/rest/reference/actions#list-required-workflow-runs", - "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { - "alias": null, - "deprecated": null, - "in": "PATH", - "name": "required_workflow_id_for_repo" - }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "actor" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "branch" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "event" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "status" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "created" }, - { - "alias": null, - "deprecated": null, - "in": "QUERY", - "name": "exclude_pull_requests" - }, - { - "alias": null, - "deprecated": null, - "in": "QUERY", - "name": "check_suite_id" - }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "head_sha" } - ], - "previews": [], - "renamed": null - }, - { - "method": "GET", - "url": "/orgs/{org}/actions/required_workflows", - "documentationUrl": "https://docs.github.com/rest/reference/actions#list-required-workflows", - "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } - ], - "previews": [], - "renamed": null - }, { "method": "GET", "url": "/orgs/{org}/actions/runners/downloads", @@ -1511,19 +1136,6 @@ "previews": [], "renamed": null }, - { - "method": "GET", - "url": "/orgs/{org}/actions/variables/{name}/repositories", - "documentationUrl": "https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable", - "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "name" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" } - ], - "previews": [], - "renamed": null - }, { "method": "GET", "url": "/orgs/{org}/actions/permissions/repositories", @@ -1536,22 +1148,6 @@ "previews": [], "renamed": null }, - { - "method": "GET", - "url": "/orgs/{org}/actions/required_workflows/{required_workflow_id}/repositories", - "documentationUrl": "https://docs.github.com/rest/reference/actions#list-selected-repositories-required-workflows", - "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, - { - "alias": null, - "deprecated": null, - "in": "PATH", - "name": "required_workflow_id" - } - ], - "previews": [], - "renamed": null - }, { "method": "GET", "url": "/orgs/{org}/actions/runner-groups", @@ -1841,45 +1437,6 @@ "previews": [], "renamed": null }, - { - "method": "DELETE", - "url": "/orgs/{org}/actions/variables/{name}/repositories/{repository_id}", - "documentationUrl": "https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable", - "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "name" }, - { - "alias": null, - "deprecated": null, - "in": "PATH", - "name": "repository_id" - } - ], - "previews": [], - "renamed": null - }, - { - "method": "DELETE", - "url": "/orgs/{org}/actions/required_workflows/{required_workflow_id}/repositories/{repository_id}", - "documentationUrl": "https://docs.github.com/rest/reference/actions#remove-a-repository-from-selected-repositories-list-for-a-required-workflow", - "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, - { - "alias": null, - "deprecated": null, - "in": "PATH", - "name": "required_workflow_id" - }, - { - "alias": null, - "deprecated": null, - "in": "PATH", - "name": "repository_id" - } - ], - "previews": [], - "renamed": null - }, { "method": "DELETE", "url": "/orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}", @@ -2001,22 +1558,21 @@ }, { "method": "PUT", - "url": "/repos/{owner}/{repo}/actions/oidc/customization/sub", - "documentationUrl": "https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository", + "url": "/enterprises/{enterprise}/actions/permissions/workflow", + "documentationUrl": "https://docs.github.com/rest/reference/actions#set-default-workflow-permissions-for-an-enterprise", "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "use_default" + "name": "default_workflow_permissions" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "include_claim_keys" + "name": "can_approve_pull_request_reviews" } ], "previews": [], @@ -2151,45 +1707,6 @@ "previews": [], "renamed": null }, - { - "method": "PUT", - "url": "/orgs/{org}/actions/variables/{name}/repositories", - "documentationUrl": "https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable", - "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "name" }, - { - "alias": null, - "deprecated": null, - "in": "BODY", - "name": "selected_repository_ids" - } - ], - "previews": [], - "renamed": null - }, - { - "method": "PUT", - "url": "/orgs/{org}/actions/required_workflows/{required_workflow_id}/repositories", - "documentationUrl": "https://docs.github.com/rest/reference/actions#set-selected-repositories-for-a-required-workflow", - "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, - { - "alias": null, - "deprecated": null, - "in": "PATH", - "name": "required_workflow_id" - }, - { - "alias": null, - "deprecated": null, - "in": "BODY", - "name": "selected_repository_ids" - } - ], - "previews": [], - "renamed": null - }, { "method": "PUT", "url": "/orgs/{org}/actions/permissions/repositories", @@ -2242,142 +1759,58 @@ }, { "method": "PATCH", - "url": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", - "documentationUrl": "https://docs.github.com/rest/actions/variables#update-an-environment-variable", + "url": "/orgs/{org}/actions/runner-groups/{runner_group_id}", + "documentationUrl": "https://docs.github.com/rest/reference/actions#update-a-self-hosted-runner-group-for-an-organization", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, { "alias": null, "deprecated": null, "in": "PATH", - "name": "repository_id" + "name": "runner_group_id" }, { "alias": null, "deprecated": null, "in": "BODY", "name": "name" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "value" } - ], - "previews": [], - "renamed": null - }, - { - "method": "PATCH", - "url": "/orgs/{org}/actions/variables/{name}", - "documentationUrl": "https://docs.github.com/rest/actions/variables#update-an-organization-variable", - "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "name" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "value" }, { "alias": null, "deprecated": null, "in": "BODY", "name": "visibility" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "selected_repository_ids" + "name": "allows_public_repositories" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "restricted_to_workflows" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "selected_workflows" } ], "previews": [], "renamed": null }, { - "method": "PATCH", - "url": "/repos/{owner}/{repo}/actions/variables/{name}", - "documentationUrl": "https://docs.github.com/rest/actions/variables#update-a-repository-variable", + "method": "GET", + "url": "/user/starred/{owner}/{repo}", + "documentationUrl": "https://docs.github.com/rest/reference/activity#check-if-a-repository-is-starred-by-the-authenticated-user", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "name" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "value" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } ], "previews": [], "renamed": null }, { - "method": "PATCH", - "url": "/orgs/{org}/actions/required_workflows/{required_workflow_id}", - "documentationUrl": "https://docs.github.com/rest/reference/actions#update-a-required-workflow", + "method": "DELETE", + "url": "/repos/{owner}/{repo}/subscription", + "documentationUrl": "https://docs.github.com/rest/reference/activity#delete-a-repository-subscription", "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, - { - "alias": null, - "deprecated": null, - "in": "PATH", - "name": "required_workflow_id" - }, - { - "alias": null, - "deprecated": null, - "in": "BODY", - "name": "workflow_file_path" - }, - { - "alias": null, - "deprecated": null, - "in": "BODY", - "name": "repository_id" - }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "scope" }, - { - "alias": null, - "deprecated": null, - "in": "BODY", - "name": "selected_repository_ids" - } - ], - "previews": [], - "renamed": null - }, - { - "method": "PATCH", - "url": "/orgs/{org}/actions/runner-groups/{runner_group_id}", - "documentationUrl": "https://docs.github.com/rest/reference/actions#update-a-self-hosted-runner-group-for-an-organization", - "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, - { - "alias": null, - "deprecated": null, - "in": "PATH", - "name": "runner_group_id" - }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "name" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "visibility" }, - { - "alias": null, - "deprecated": null, - "in": "BODY", - "name": "allows_public_repositories" - }, - { - "alias": null, - "deprecated": null, - "in": "BODY", - "name": "restricted_to_workflows" - }, - { - "alias": null, - "deprecated": null, - "in": "BODY", - "name": "selected_workflows" - } - ], - "previews": [], - "renamed": null - }, - { - "method": "GET", - "url": "/user/starred/{owner}/{repo}", - "documentationUrl": "https://docs.github.com/rest/reference/activity#check-if-a-repository-is-starred-by-the-authenticated-user", - "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } - ], - "previews": [], - "renamed": null - }, - { - "method": "DELETE", - "url": "/repos/{owner}/{repo}/subscription", - "documentationUrl": "https://docs.github.com/rest/reference/activity#delete-a-repository-subscription", - "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } ], "previews": [], "renamed": null @@ -2911,12 +2344,6 @@ "in": "BODY", "name": "permissions.pull_requests" }, - { - "alias": null, - "deprecated": null, - "in": "BODY", - "name": "permissions.repository_announcement_banners" - }, { "alias": null, "deprecated": null, @@ -2989,12 +2416,6 @@ "in": "BODY", "name": "permissions.organization_custom_roles" }, - { - "alias": null, - "deprecated": null, - "in": "BODY", - "name": "permissions.organization_announcement_banners" - }, { "alias": null, "deprecated": null, @@ -3326,8 +2747,7 @@ "documentationUrl": "https://docs.github.com/rest/reference/apps#list-deliveries-for-an-app-webhook", "parameters": [ { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "cursor" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "redelivery" } + { "alias": null, "deprecated": null, "in": "QUERY", "name": "cursor" } ], "previews": [], "renamed": null @@ -3506,12 +2926,6 @@ "in": "BODY", "name": "permissions.pull_requests" }, - { - "alias": null, - "deprecated": null, - "in": "BODY", - "name": "permissions.repository_announcement_banners" - }, { "alias": null, "deprecated": null, @@ -3584,12 +2998,6 @@ "in": "BODY", "name": "permissions.organization_custom_roles" }, - { - "alias": null, - "deprecated": null, - "in": "BODY", - "name": "permissions.organization_announcement_banners" - }, { "alias": null, "deprecated": null, @@ -3715,6 +3123,30 @@ "previews": [], "renamed": null }, + { + "method": "GET", + "url": "/enterprises/{enterprise}/settings/billing/advanced-security", + "documentationUrl": "https://docs.github.com/rest/reference/billing#export-advanced-security-active-committers-data-for-enterprise", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/orgs/{org}/settings/billing/advanced-security", + "documentationUrl": "https://docs.github.com/rest/reference/billing#get-github-advanced-security-active-committers-for-an-organization", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, { "method": "GET", "url": "/orgs/{org}/settings/billing/packages", @@ -4230,6 +3662,25 @@ "previews": [], "renamed": null }, + { + "method": "GET", + "url": "/enterprises/{enterprise}/code-scanning/alerts", + "documentationUrl": "https://docs.github.com/rest/reference/code-scanning#list-code-scanning-alerts-for-an-enterprise", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "tool_name" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "tool_guid" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "before" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "after" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "direction" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "state" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "sort" } + ], + "previews": [], + "renamed": null + }, { "method": "GET", "url": "/orgs/{org}/code-scanning/alerts", @@ -4244,8 +3695,7 @@ { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, { "alias": null, "deprecated": null, "in": "QUERY", "name": "direction" }, { "alias": null, "deprecated": null, "in": "QUERY", "name": "state" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "sort" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "severity" } + { "alias": null, "deprecated": null, "in": "QUERY", "name": "sort" } ], "previews": [], "renamed": null @@ -4366,8 +3816,7 @@ "name": "checkout_uri" }, { "alias": null, "deprecated": null, "in": "BODY", "name": "started_at" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "tool_name" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "validate" } + { "alias": null, "deprecated": null, "in": "BODY", "name": "tool_name" } ], "previews": [], "renamed": null @@ -4413,7 +3862,7 @@ }, { "method": "PUT", - "url": "/orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}", + "url": "/organizations/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}", "documentationUrl": "https://docs.github.com/rest/reference/codespaces#add-selected-repository-to-an-organization-secret", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, @@ -4523,7 +3972,7 @@ }, { "method": "PUT", - "url": "/orgs/{org}/codespaces/secrets/{secret_name}", + "url": "/organizations/{org}/codespaces/secrets/{secret_name}", "documentationUrl": "https://docs.github.com/rest/reference/codespaces#create-or-update-an-organization-secret", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, @@ -4744,7 +4193,7 @@ }, { "method": "DELETE", - "url": "/orgs/{org}/codespaces/secrets/{secret_name}", + "url": "/organizations/{org}/codespaces/secrets/{secret_name}", "documentationUrl": "https://docs.github.com/rest/reference/codespaces#delete-an-organization-secret", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, @@ -4778,7 +4227,7 @@ { "method": "POST", "url": "/user/codespaces/{codespace_name}/exports", - "documentationUrl": "https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user", + "documentationUrl": "", "parameters": [ { "alias": null, @@ -4790,23 +4239,10 @@ "previews": [], "renamed": null }, - { - "method": "GET", - "url": "/orgs/{org}/members/{username}/codespaces", - "documentationUrl": "https://docs.github.com/rest/reference/codespaces#get-codespaces-for-user-in-org", - "parameters": [ - { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "username" } - ], - "previews": [], - "renamed": null - }, { "method": "GET", "url": "/user/codespaces/{codespace_name}/exports/{export_id}", - "documentationUrl": "https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export", + "documentationUrl": "", "parameters": [ { "alias": null, @@ -4836,7 +4272,7 @@ }, { "method": "GET", - "url": "/orgs/{org}/codespaces/secrets/public-key", + "url": "/organizations/{org}/codespaces/secrets/public-key", "documentationUrl": "https://docs.github.com/rest/reference/codespaces#get-an-organization-public-key", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "org" } @@ -4846,7 +4282,7 @@ }, { "method": "GET", - "url": "/orgs/{org}/codespaces/secrets/{secret_name}", + "url": "/organizations/{org}/codespaces/secrets/{secret_name}", "documentationUrl": "https://docs.github.com/rest/reference/codespaces#get-an-organization-secret", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, @@ -4954,7 +4390,7 @@ }, { "method": "GET", - "url": "/orgs/{org}/codespaces/secrets", + "url": "/organizations/{org}/codespaces/secrets", "documentationUrl": "https://docs.github.com/rest/reference/codespaces#list-organization-secrets", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, @@ -5000,7 +4436,7 @@ }, { "method": "GET", - "url": "/orgs/{org}/codespaces/secrets/{secret_name}/repositories", + "url": "/organizations/{org}/codespaces/secrets/{secret_name}/repositories", "documentationUrl": "https://docs.github.com/rest/reference/codespaces#list-selected-repositories-for-an-organization-secret", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, @@ -5029,23 +4465,6 @@ "previews": [], "renamed": null }, - { - "method": "POST", - "url": "/user/codespaces/{codespace_name}/publish", - "documentationUrl": "https://docs.github.com/rest/reference/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace", - "parameters": [ - { - "alias": null, - "deprecated": null, - "in": "PATH", - "name": "codespace_name" - }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "name" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "private" } - ], - "previews": [], - "renamed": null - }, { "method": "DELETE", "url": "/user/codespaces/secrets/{secret_name}/repositories/{repository_id}", @@ -5069,7 +4488,7 @@ }, { "method": "DELETE", - "url": "/orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}", + "url": "/organizations/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}", "documentationUrl": "https://docs.github.com/rest/reference/codespaces#remove-selected-repository-from-an-organization-secret", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, @@ -5102,23 +4521,6 @@ "previews": [], "renamed": null }, - { - "method": "PUT", - "url": "/orgs/{org}/codespaces/billing", - "documentationUrl": "https://docs.github.com/rest/reference/codespaces#set-codespaces-billing", - "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "visibility" }, - { - "alias": null, - "deprecated": null, - "in": "BODY", - "name": "selected_usernames" - } - ], - "previews": [], - "renamed": null - }, { "method": "PUT", "url": "/user/codespaces/secrets/{secret_name}/repositories", @@ -5142,7 +4544,7 @@ }, { "method": "PUT", - "url": "/orgs/{org}/codespaces/secrets/{secret_name}/repositories", + "url": "/organizations/{org}/codespaces/secrets/{secret_name}/repositories", "documentationUrl": "https://docs.github.com/rest/reference/codespaces#set-selected-repositories-for-an-organization-secret", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, @@ -5397,50 +4799,6 @@ "previews": [], "renamed": null }, - { - "method": "GET", - "url": "/enterprises/{enterprise}/dependabot/alerts", - "documentationUrl": "https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise", - "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "state" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "severity" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "ecosystem" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "package" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "scope" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "sort" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "direction" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "before" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "after" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "first" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "last" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" } - ], - "previews": [], - "renamed": null - }, - { - "method": "GET", - "url": "/orgs/{org}/dependabot/alerts", - "documentationUrl": "https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization", - "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "state" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "severity" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "ecosystem" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "package" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "scope" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "sort" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "direction" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "before" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "after" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "first" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "last" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" } - ], - "previews": [], - "renamed": null - }, { "method": "GET", "url": "/repos/{owner}/{repo}/dependabot/alerts", @@ -5457,11 +4815,7 @@ { "alias": null, "deprecated": null, "in": "QUERY", "name": "sort" }, { "alias": null, "deprecated": null, "in": "QUERY", "name": "direction" }, { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "before" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "after" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "first" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "last" } + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" } ], "previews": [], "renamed": null @@ -5768,6 +5122,43 @@ "previews": [], "renamed": null }, + { + "method": "PUT", + "url": "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners/{runner_id}", + "documentationUrl": "https://docs.github.com/rest/reference/actions#add-a-self-hosted-runner-to-a-group-for-an-enterprise", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" }, + { + "alias": null, + "deprecated": null, + "in": "PATH", + "name": "runner_group_id" + }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "runner_id" } + ], + "previews": [], + "renamed": null + }, + { + "method": "POST", + "url": "/enterprises/{enterprise}/actions/runners/registration-token", + "documentationUrl": "https://docs.github.com/rest/reference/actions#create-a-registration-token-for-an-enterprise", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" } + ], + "previews": [], + "renamed": null + }, + { + "method": "POST", + "url": "/enterprises/{enterprise}/actions/runners/remove-token", + "documentationUrl": "https://docs.github.com/rest/reference/actions#create-a-remove-token-for-an-enterprise", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" } + ], + "previews": [], + "renamed": null + }, { "method": "POST", "url": "/enterprises/{enterprise}/actions/runner-groups", @@ -5816,6 +5207,33 @@ "previews": [], "renamed": null }, + { + "method": "DELETE", + "url": "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}", + "documentationUrl": "https://docs.github.com/rest/reference/actions#delete-a-self-hosted-runner-group-from-an-enterprise", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" }, + { + "alias": null, + "deprecated": null, + "in": "PATH", + "name": "runner_group_id" + } + ], + "previews": [], + "renamed": null + }, + { + "method": "DELETE", + "url": "/enterprises/{enterprise}/actions/permissions/organizations/{org_id}", + "documentationUrl": "https://docs.github.com/rest/reference/actions#disable-a-selected-organization-for-github-actions-in-an-enterprise", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "org_id" } + ], + "previews": [], + "renamed": null + }, { "method": "PUT", "url": "/enterprises/{enterprise}/actions/permissions/organizations/{org_id}", @@ -5827,6 +5245,37 @@ "previews": [], "renamed": null }, + { + "method": "GET", + "url": "/enterprises/{enterprise}/actions/permissions/selected-actions", + "documentationUrl": "https://docs.github.com/rest/reference/actions#get-allowed-actions-for-an-enterprise", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/enterprises/{enterprise}/actions/permissions", + "documentationUrl": "https://docs.github.com/rest/reference/actions#get-github-actions-permissions-for-an-enterprise", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/enterprises/{enterprise}/actions/runners/{runner_id}", + "documentationUrl": "https://docs.github.com/rest/reference/actions#get-a-self-hosted-runner-for-an-enterprise", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "runner_id" } + ], + "previews": [], + "renamed": null + }, { "method": "GET", "url": "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}", @@ -5843,6 +5292,28 @@ "previews": [], "renamed": null }, + { + "method": "GET", + "url": "/enterprise-installation/{enterprise_or_org}/server-statistics", + "documentationUrl": "https://docs.github.com/rest/reference/enterprise-admin#get-github-enterprise-server-statistics", + "parameters": [ + { + "alias": null, + "deprecated": null, + "in": "PATH", + "name": "enterprise_or_org" + }, + { + "alias": null, + "deprecated": null, + "in": "QUERY", + "name": "date_start" + }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "date_end" } + ], + "previews": [], + "renamed": null + }, { "method": "GET", "url": "/enterprises/{enterprise}/actions/runners/{runner_id}/labels", @@ -5855,27 +5326,271 @@ "renamed": null }, { - "method": "GET", - "url": "/enterprises/{enterprise}/actions/runner-groups", - "documentationUrl": "https://docs.github.com/rest/reference/actions#list-self-hosted-runner-groups-for-an-enterprise", + "method": "GET", + "url": "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations", + "documentationUrl": "https://docs.github.com/rest/reference/actions#list-organization-access-to-a-self-hosted-runner-group-in-a-enterprise", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" }, + { + "alias": null, + "deprecated": null, + "in": "PATH", + "name": "runner_group_id" + }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/enterprises/{enterprise}/actions/runners/downloads", + "documentationUrl": "https://docs.github.com/rest/reference/actions#list-runner-applications-for-an-enterprise", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/enterprises/{enterprise}/actions/permissions/organizations", + "documentationUrl": "https://docs.github.com/rest/reference/actions#list-selected-organizations-enabled-for-github-actions-in-an-enterprise", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/enterprises/{enterprise}/actions/runner-groups", + "documentationUrl": "https://docs.github.com/rest/reference/actions#list-self-hosted-runner-groups-for-an-enterprise", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" }, + { + "alias": null, + "deprecated": null, + "in": "QUERY", + "name": "visible_to_organization" + } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/enterprises/{enterprise}/actions/runners", + "documentationUrl": "https://docs.github.com/rest/reference/actions#list-self-hosted-runners-for-an-enterprise", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners", + "documentationUrl": "https://docs.github.com/rest/reference/actions#list-self-hosted-runners-in-a-group-for-an-enterprise", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" }, + { + "alias": null, + "deprecated": null, + "in": "PATH", + "name": "runner_group_id" + }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "DELETE", + "url": "/enterprises/{enterprise}/actions/runners/{runner_id}/labels", + "documentationUrl": "https://docs.github.com/rest/reference/actions#remove-all-custom-labels-from-a-self-hosted-runner-for-an-enterprise", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "runner_id" } + ], + "previews": [], + "renamed": null + }, + { + "method": "DELETE", + "url": "/enterprises/{enterprise}/actions/runners/{runner_id}/labels/{name}", + "documentationUrl": "https://docs.github.com/rest/reference/actions#remove-a-custom-label-from-a-self-hosted-runner-for-an-enterprise", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "runner_id" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "name" } + ], + "previews": [], + "renamed": null + }, + { + "method": "DELETE", + "url": "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations/{org_id}", + "documentationUrl": "https://docs.github.com/rest/reference/actions#remove-organization-access-to-a-self-hosted-runner-group-in-an-enterprise", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" }, + { + "alias": null, + "deprecated": null, + "in": "PATH", + "name": "runner_group_id" + }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "org_id" } + ], + "previews": [], + "renamed": null + }, + { + "method": "DELETE", + "url": "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners/{runner_id}", + "documentationUrl": "https://docs.github.com/rest/reference/actions#remove-a-self-hosted-runner-from-a-group-for-an-enterprise", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" }, + { + "alias": null, + "deprecated": null, + "in": "PATH", + "name": "runner_group_id" + }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "runner_id" } + ], + "previews": [], + "renamed": null + }, + { + "method": "PUT", + "url": "/enterprises/{enterprise}/actions/permissions/selected-actions", + "documentationUrl": "https://docs.github.com/rest/reference/actions#set-allowed-actions-for-an-enterprise", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "github_owned_allowed" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "verified_allowed" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "patterns_allowed" + } + ], + "previews": [], + "renamed": null + }, + { + "method": "PUT", + "url": "/enterprises/{enterprise}/actions/runners/{runner_id}/labels", + "documentationUrl": "https://docs.github.com/rest/reference/actions#set-custom-labels-for-a-self-hosted-runner-for-an-enterprise", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "runner_id" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "labels" } + ], + "previews": [], + "renamed": null + }, + { + "method": "PUT", + "url": "/enterprises/{enterprise}/actions/permissions", + "documentationUrl": "https://docs.github.com/rest/reference/actions#set-github-actions-permissions-for-an-enterprise", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "enabled_organizations" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "allowed_actions" + } + ], + "previews": [], + "renamed": null + }, + { + "method": "PUT", + "url": "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations", + "documentationUrl": "https://docs.github.com/rest/reference/actions#set-organization-access-to-a-self-hosted-runner-group-in-an-enterprise", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" }, + { + "alias": null, + "deprecated": null, + "in": "PATH", + "name": "runner_group_id" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "selected_organization_ids" + } + ], + "previews": [], + "renamed": null + }, + { + "method": "PUT", + "url": "/enterprises/{enterprise}/actions/permissions/organizations", + "documentationUrl": "https://docs.github.com/rest/reference/actions#set-selected-organizations-enabled-for-github-actions-in-an-enterprise", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "selected_organization_ids" + } + ], + "previews": [], + "renamed": null + }, + { + "method": "PUT", + "url": "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners", + "documentationUrl": "https://docs.github.com/rest/reference/actions#set-self-hosted-runners-in-a-group-for-an-enterprise", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" }, { "alias": null, "deprecated": null, - "in": "QUERY", - "name": "visible_to_organization" - } + "in": "PATH", + "name": "runner_group_id" + }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "runners" } ], "previews": [], "renamed": null }, { - "method": "DELETE", - "url": "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners/{runner_id}", - "documentationUrl": "https://docs.github.com/rest/reference/actions#remove-a-self-hosted-runner-from-a-group-for-an-enterprise", + "method": "PATCH", + "url": "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}", + "documentationUrl": "https://docs.github.com/rest/reference/actions#update-a-self-hosted-runner-group-for-an-enterprise", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" }, { @@ -5884,7 +5599,26 @@ "in": "PATH", "name": "runner_group_id" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "runner_id" } + { "alias": null, "deprecated": null, "in": "BODY", "name": "name" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "visibility" }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "allows_public_repositories" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "restricted_to_workflows" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "selected_workflows" + } ], "previews": [], "renamed": null @@ -6583,24 +6317,6 @@ "previews": [], "renamed": null }, - { - "method": "GET", - "url": "/repos/{owner}/{repo}/issues/{issue_number}/assignees/{assignee}", - "documentationUrl": "https://docs.github.com/rest/reference/issues#check-if-a-user-can-be-assigned-to-a-issue", - "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { - "alias": null, - "deprecated": null, - "in": "PATH", - "name": "issue_number" - }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "assignee" } - ], - "previews": [], - "renamed": null - }, { "method": "POST", "url": "/repos/{owner}/{repo}/issues", @@ -7141,7 +6857,7 @@ { "method": "PATCH", "url": "/repos/{owner}/{repo}/issues/{issue_number}", - "documentationUrl": "https://docs.github.com/rest/reference/issues#update-an-issue", + "documentationUrl": "https://docs.github.com/rest/reference/issues/#update-an-issue", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -7285,14 +7001,6 @@ "previews": [], "renamed": null }, - { - "method": "GET", - "url": "/versions", - "documentationUrl": "https://docs.github.com/rest/reference/meta#get-all-api-versions", - "parameters": [], - "previews": [], - "renamed": null - }, { "method": "GET", "url": "/octocat", @@ -7306,7 +7014,7 @@ { "method": "GET", "url": "/zen", - "documentationUrl": "https://docs.github.com/rest/meta#get-the-zen-of-github", + "documentationUrl": "", "parameters": [], "previews": [], "renamed": null @@ -7772,32 +7480,6 @@ "previews": [], "renamed": null }, - { - "method": "GET", - "url": "/orgs/{org}/actions/oidc/customization/sub", - "documentationUrl": "https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-an-organization", - "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "org" } - ], - "previews": [], - "renamed": null - }, - { - "method": "PUT", - "url": "/orgs/{org}/actions/oidc/customization/sub", - "documentationUrl": "https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-an-organization", - "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, - { - "alias": null, - "deprecated": null, - "in": "BODY", - "name": "include_claim_keys" - } - ], - "previews": [], - "renamed": null - }, { "method": "PUT", "url": "/orgs/{org}/security-managers/teams/{team_slug}", @@ -7881,6 +7563,25 @@ "previews": [], "renamed": null }, + { + "method": "POST", + "url": "/orgs/{org}/custom_roles", + "documentationUrl": "https://docs.github.com/rest/reference/orgs#create-a-custom-role", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "name" }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "description" + }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "base_role" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "permissions" } + ], + "previews": [], + "renamed": null + }, { "method": "POST", "url": "/orgs/{org}/invitations", @@ -7940,6 +7641,17 @@ "previews": [], "renamed": null }, + { + "method": "DELETE", + "url": "/orgs/{org}/custom_roles/{role_id}", + "documentationUrl": "https://docs.github.com/rest/reference/orgs#delete-a-custom-role", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "role_id" } + ], + "previews": [], + "renamed": null + }, { "method": "DELETE", "url": "/orgs/{org}/hooks/{hook_id}", @@ -8061,9 +7773,22 @@ "url": "/orgs/{org}/blocks", "documentationUrl": "https://docs.github.com/rest/reference/orgs#list-users-blocked-by-an-organization", "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/organizations/{organization_id}/custom_roles", + "documentationUrl": "https://docs.github.com/rest/reference/orgs#list-custom-repository-roles-in-an-organization", + "parameters": [ + { + "alias": null, + "deprecated": null, + "in": "PATH", + "name": "organization_id" + } ], "previews": [], "renamed": null @@ -8080,6 +7805,16 @@ "previews": [], "renamed": null }, + { + "method": "GET", + "url": "/orgs/{org}/fine_grained_permissions", + "documentationUrl": "https://docs.github.com/rest/reference/orgs#list-fine-grained-permissions-for-an-organization", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" } + ], + "previews": [], + "renamed": null + }, { "method": "GET", "url": "/user/orgs", @@ -8202,8 +7937,7 @@ { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "hook_id" }, { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "cursor" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "redelivery" } + { "alias": null, "deprecated": null, "in": "QUERY", "name": "cursor" } ], "previews": [], "renamed": null @@ -8335,7 +8069,7 @@ { "method": "PATCH", "url": "/orgs/{org}", - "documentationUrl": "https://docs.github.com/rest/reference/orgs#update-an-organization", + "documentationUrl": "https://docs.github.com/rest/reference/orgs/#update-an-organization", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, { @@ -8474,19 +8208,27 @@ "deprecated": null, "in": "BODY", "name": "secret_scanning_push_protection_enabled_for_new_repositories" - }, + } + ], + "previews": [], + "renamed": null + }, + { + "method": "PATCH", + "url": "/orgs/{org}/custom_roles/{role_id}", + "documentationUrl": "https://docs.github.com/rest/reference/orgs#update-a-custom-role", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "role_id" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "name" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "secret_scanning_push_protection_custom_link_enabled" + "name": "description" }, - { - "alias": null, - "deprecated": null, - "in": "BODY", - "name": "secret_scanning_push_protection_custom_link" - } + { "alias": null, "deprecated": null, "in": "BODY", "name": "base_role" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "permissions" } ], "previews": [], "renamed": null @@ -10537,7 +10279,7 @@ { "method": "POST", "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", - "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions", + "documentationUrl": "https://docs.github.com/rest/reference/repos#add-app-access-restrictions", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -10563,7 +10305,7 @@ { "method": "POST", "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts", + "documentationUrl": "https://docs.github.com/rest/reference/repos#add-status-check-contexts", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -10576,7 +10318,7 @@ { "method": "POST", "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions", + "documentationUrl": "https://docs.github.com/rest/reference/repos#add-team-access-restrictions", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -10589,7 +10331,7 @@ { "method": "POST", "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions", + "documentationUrl": "https://docs.github.com/rest/reference/repos#add-user-access-restrictions", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -10706,7 +10448,7 @@ { "method": "POST", "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", - "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection", + "documentationUrl": "https://docs.github.com/rest/reference/repos#create-commit-signature-protection", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -10739,7 +10481,7 @@ { "method": "POST", "url": "/repos/{owner}/{repo}/keys", - "documentationUrl": "https://docs.github.com/rest/deploy-keys#create-a-deploy-key", + "documentationUrl": "https://docs.github.com/rest/reference/repos#create-a-deploy-key", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -10753,7 +10495,7 @@ { "method": "POST", "url": "/repos/{owner}/{repo}/deployments", - "documentationUrl": "https://docs.github.com/rest/deployments/deployments#create-a-deployment", + "documentationUrl": "https://docs.github.com/rest/reference/repos#create-a-deployment", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -10816,7 +10558,7 @@ { "method": "POST", "url": "/repos/{owner}/{repo}/deployments/{deployment_id}/statuses", - "documentationUrl": "https://docs.github.com/rest/deployments/statuses#create-a-deployment-status", + "documentationUrl": "https://docs.github.com/rest/reference/repos#create-a-deployment-status", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -10903,12 +10645,6 @@ "name": "has_projects" }, { "alias": null, "deprecated": null, "in": "BODY", "name": "has_wiki" }, - { - "alias": null, - "deprecated": null, - "in": "BODY", - "name": "has_discussions" - }, { "alias": null, "deprecated": null, "in": "BODY", "name": "team_id" }, { "alias": null, "deprecated": null, "in": "BODY", "name": "auto_init" }, { @@ -11036,12 +10772,6 @@ "name": "has_projects" }, { "alias": null, "deprecated": null, "in": "BODY", "name": "has_wiki" }, - { - "alias": null, - "deprecated": null, - "in": "BODY", - "name": "has_downloads" - }, { "alias": null, "deprecated": null, @@ -11129,7 +10859,7 @@ { "method": "PUT", "url": "/repos/{owner}/{repo}/environments/{environment_name}", - "documentationUrl": "https://docs.github.com/rest/deployments/environments#create-or-update-an-environment", + "documentationUrl": "https://docs.github.com/rest/reference/repos#create-or-update-an-environment", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -11303,8 +11033,7 @@ "deprecated": null, "in": "BODY", "name": "generate_release_notes" - }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "make_latest" } + } ], "previews": [], "renamed": null @@ -11447,7 +11176,7 @@ { "method": "DELETE", "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions", - "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions", + "documentationUrl": "https://docs.github.com/rest/reference/repos#delete-access-restrictions", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -11459,7 +11188,7 @@ { "method": "DELETE", "url": "/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", - "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection", + "documentationUrl": "https://docs.github.com/rest/reference/repos#delete-admin-branch-protection", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -11471,7 +11200,7 @@ { "method": "DELETE", "url": "/repos/{owner}/{repo}/environments/{environment_name}", - "documentationUrl": "https://docs.github.com/rest/deployments/environments#delete-an-environment", + "documentationUrl": "https://docs.github.com/rest/reference/repos#delete-an-environment", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -11500,7 +11229,7 @@ { "method": "DELETE", "url": "/repos/{owner}/{repo}/branches/{branch}/protection", - "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#delete-branch-protection", + "documentationUrl": "https://docs.github.com/rest/reference/repos#delete-branch-protection", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -11524,7 +11253,7 @@ { "method": "DELETE", "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", - "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection", + "documentationUrl": "https://docs.github.com/rest/reference/repos#delete-commit-signature-protection", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -11536,7 +11265,7 @@ { "method": "DELETE", "url": "/repos/{owner}/{repo}/keys/{key_id}", - "documentationUrl": "https://docs.github.com/rest/deploy-keys#delete-a-deploy-key", + "documentationUrl": "https://docs.github.com/rest/reference/repos#delete-a-deploy-key", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -11548,7 +11277,7 @@ { "method": "DELETE", "url": "/repos/{owner}/{repo}/deployments/{deployment_id}", - "documentationUrl": "https://docs.github.com/rest/deployments/deployments#delete-a-deployment", + "documentationUrl": "https://docs.github.com/rest/reference/repos#delete-a-deployment", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -11657,7 +11386,7 @@ { "method": "DELETE", "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", - "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection", + "documentationUrl": "https://docs.github.com/rest/reference/repos#delete-pull-request-review-protection", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -11877,7 +11606,7 @@ { "method": "GET", "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions", - "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#get-access-restrictions", + "documentationUrl": "https://docs.github.com/rest/reference/repos#get-access-restrictions", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -11889,7 +11618,7 @@ { "method": "GET", "url": "/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", - "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection", + "documentationUrl": "https://docs.github.com/rest/reference/repos#get-admin-branch-protection", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -11914,7 +11643,7 @@ { "method": "GET", "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts", + "documentationUrl": "https://docs.github.com/rest/reference/repos#get-all-status-check-contexts", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -11939,7 +11668,7 @@ { "method": "GET", "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", - "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#list-apps-with-access-to-the-protected-branch", + "documentationUrl": "https://docs.github.com/rest/reference/repos#list-apps-with-access-to-the-protected-branch", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -11963,7 +11692,7 @@ { "method": "GET", "url": "/repos/{owner}/{repo}/branches/{branch}", - "documentationUrl": "https://docs.github.com/rest/branches/branches#get-a-branch", + "documentationUrl": "https://docs.github.com/rest/reference/repos#get-a-branch", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -11975,7 +11704,7 @@ { "method": "GET", "url": "/repos/{owner}/{repo}/branches/{branch}/protection", - "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#get-branch-protection", + "documentationUrl": "https://docs.github.com/rest/reference/repos#get-branch-protection", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -12073,7 +11802,7 @@ { "method": "GET", "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", - "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection", + "documentationUrl": "https://docs.github.com/rest/reference/repos#get-commit-signature-protection", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -12120,7 +11849,7 @@ { "method": "GET", "url": "/repos/{owner}/{repo}/keys/{key_id}", - "documentationUrl": "https://docs.github.com/rest/deploy-keys#get-a-deploy-key", + "documentationUrl": "https://docs.github.com/rest/reference/repos#get-a-deploy-key", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -12132,7 +11861,7 @@ { "method": "GET", "url": "/repos/{owner}/{repo}/deployments/{deployment_id}", - "documentationUrl": "https://docs.github.com/rest/deployments/deployments#get-a-deployment", + "documentationUrl": "https://docs.github.com/rest/reference/repos#get-a-deployment", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -12172,7 +11901,7 @@ { "method": "GET", "url": "/repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}", - "documentationUrl": "https://docs.github.com/rest/deployments/statuses#get-a-deployment-status", + "documentationUrl": "https://docs.github.com/rest/reference/repos#get-a-deployment-status", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -12190,7 +11919,7 @@ { "method": "GET", "url": "/repos/{owner}/{repo}/environments/{environment_name}", - "documentationUrl": "https://docs.github.com/rest/deployments/environments#get-an-environment", + "documentationUrl": "https://docs.github.com/rest/reference/repos#get-an-environment", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -12274,7 +12003,7 @@ { "method": "GET", "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", - "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection", + "documentationUrl": "https://docs.github.com/rest/reference/repos#get-pull-request-review-protection", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -12358,7 +12087,7 @@ { "method": "GET", "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", - "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection", + "documentationUrl": "https://docs.github.com/rest/reference/repos#get-status-checks-protection", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -12370,7 +12099,7 @@ { "method": "GET", "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#list-teams-with-access-to-the-protected-branch", + "documentationUrl": "https://docs.github.com/rest/reference/repos#list-teams-with-access-to-the-protected-branch", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -12404,7 +12133,7 @@ { "method": "GET", "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#list-users-with-access-to-the-protected-branch", + "documentationUrl": "https://docs.github.com/rest/reference/repos#list-users-with-access-to-the-protected-branch", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -12477,7 +12206,7 @@ { "method": "GET", "url": "/repos/{owner}/{repo}/branches", - "documentationUrl": "https://docs.github.com/rest/branches/branches#list-branches", + "documentationUrl": "https://docs.github.com/rest/reference/repos#list-branches", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -12601,7 +12330,7 @@ { "method": "GET", "url": "/repos/{owner}/{repo}/keys", - "documentationUrl": "https://docs.github.com/rest/deploy-keys#list-deploy-keys", + "documentationUrl": "https://docs.github.com/rest/reference/repos#list-deploy-keys", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -12633,7 +12362,7 @@ { "method": "GET", "url": "/repos/{owner}/{repo}/deployments/{deployment_id}/statuses", - "documentationUrl": "https://docs.github.com/rest/deployments/statuses#list-deployment-statuses", + "documentationUrl": "https://docs.github.com/rest/reference/repos#list-deployment-statuses", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -12652,7 +12381,7 @@ { "method": "GET", "url": "/repos/{owner}/{repo}/deployments", - "documentationUrl": "https://docs.github.com/rest/deployments/deployments#list-deployments", + "documentationUrl": "https://docs.github.com/rest/reference/repos#list-deployments", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -12888,8 +12617,7 @@ { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "hook_id" }, { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "cursor" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "redelivery" } + { "alias": null, "deprecated": null, "in": "QUERY", "name": "cursor" } ], "previews": [], "renamed": null @@ -12910,7 +12638,7 @@ { "method": "POST", "url": "/repos/{owner}/{repo}/merges", - "documentationUrl": "https://docs.github.com/rest/branches/branches#merge-a-branch", + "documentationUrl": "https://docs.github.com/rest/reference/repos#merge-a-branch", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -12929,7 +12657,7 @@ { "method": "POST", "url": "/repos/{owner}/{repo}/merge-upstream", - "documentationUrl": "https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository", + "documentationUrl": "https://docs.github.com/rest/reference/repos#sync-a-fork-branch-with-the-upstream-repository", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -12966,7 +12694,7 @@ { "method": "DELETE", "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", - "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions", + "documentationUrl": "https://docs.github.com/rest/reference/repos#remove-app-access-restrictions", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -12991,7 +12719,7 @@ { "method": "DELETE", "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts", + "documentationUrl": "https://docs.github.com/rest/reference/repos#remove-status-check-contexts", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -13004,7 +12732,7 @@ { "method": "DELETE", "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", - "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection", + "documentationUrl": "https://docs.github.com/rest/reference/repos#remove-status-check-protection", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -13016,7 +12744,7 @@ { "method": "DELETE", "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions", + "documentationUrl": "https://docs.github.com/rest/reference/repos#remove-team-access-restrictions", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -13029,7 +12757,7 @@ { "method": "DELETE", "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions", + "documentationUrl": "https://docs.github.com/rest/reference/repos#remove-user-access-restrictions", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -13042,7 +12770,7 @@ { "method": "POST", "url": "/repos/{owner}/{repo}/branches/{branch}/rename", - "documentationUrl": "https://docs.github.com/rest/branches/branches#rename-a-branch", + "documentationUrl": "https://docs.github.com/rest/reference/repos#rename-a-branch", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -13078,7 +12806,7 @@ { "method": "POST", "url": "/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", - "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection", + "documentationUrl": "https://docs.github.com/rest/reference/repos#set-admin-branch-protection", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -13090,7 +12818,7 @@ { "method": "PUT", "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", - "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions", + "documentationUrl": "https://docs.github.com/rest/reference/repos#set-app-access-restrictions", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -13103,7 +12831,7 @@ { "method": "PUT", "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts", + "documentationUrl": "https://docs.github.com/rest/reference/repos#set-status-check-contexts", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -13116,7 +12844,7 @@ { "method": "PUT", "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions", + "documentationUrl": "https://docs.github.com/rest/reference/repos#set-team-access-restrictions", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -13129,7 +12857,7 @@ { "method": "PUT", "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions", + "documentationUrl": "https://docs.github.com/rest/reference/repos#set-user-access-restrictions", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -13159,7 +12887,6 @@ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, "deprecated": null, "in": "BODY", "name": "new_owner" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "new_name" }, { "alias": null, "deprecated": null, "in": "BODY", "name": "team_ids" } ], "previews": [], @@ -13168,7 +12895,7 @@ { "method": "PATCH", "url": "/repos/{owner}/{repo}", - "documentationUrl": "https://docs.github.com/rest/repos/repos#update-a-repository", + "documentationUrl": "https://docs.github.com/rest/reference/repos/#update-a-repository", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -13330,7 +13057,7 @@ { "method": "PUT", "url": "/repos/{owner}/{repo}/branches/{branch}/protection", - "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#update-branch-protection", + "documentationUrl": "https://docs.github.com/rest/reference/repos#update-branch-protection", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -13425,12 +13152,6 @@ "in": "BODY", "name": "required_pull_request_reviews.required_approving_review_count" }, - { - "alias": null, - "deprecated": null, - "in": "BODY", - "name": "required_pull_request_reviews.require_last_push_approval" - }, { "alias": null, "deprecated": null, @@ -13508,18 +13229,6 @@ "deprecated": null, "in": "BODY", "name": "required_conversation_resolution" - }, - { - "alias": null, - "deprecated": null, - "in": "BODY", - "name": "lock_branch" - }, - { - "alias": null, - "deprecated": null, - "in": "BODY", - "name": "allow_fork_syncing" } ], "previews": [], @@ -13576,6 +13285,7 @@ "in": "BODY", "name": "https_enforced" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "public" }, { "alias": null, "deprecated": null, "in": "BODY", "name": "build_type" }, { "alias": null, "deprecated": null, "in": "BODY", "name": "source" } ], @@ -13603,7 +13313,7 @@ { "method": "PATCH", "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", - "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection", + "documentationUrl": "https://docs.github.com/rest/reference/repos#update-pull-request-review-protection", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -13650,12 +13360,6 @@ "in": "BODY", "name": "required_approving_review_count" }, - { - "alias": null, - "deprecated": null, - "in": "BODY", - "name": "require_last_push_approval" - }, { "alias": null, "deprecated": null, @@ -13703,12 +13407,6 @@ { "alias": null, "deprecated": null, "in": "BODY", "name": "body" }, { "alias": null, "deprecated": null, "in": "BODY", "name": "draft" }, { "alias": null, "deprecated": null, "in": "BODY", "name": "prerelease" }, - { - "alias": null, - "deprecated": null, - "in": "BODY", - "name": "make_latest" - }, { "alias": null, "deprecated": null, @@ -13737,7 +13435,7 @@ { "method": "PATCH", "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", - "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#update-status-check-protection", + "documentationUrl": "https://docs.github.com/rest/reference/repos#update-status-check-protection", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -13764,7 +13462,7 @@ { "method": "PATCH", "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", - "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#update-status-check-protection", + "documentationUrl": "https://docs.github.com/rest/reference/repos#update-status-check-protection", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -14002,16 +13700,6 @@ "previews": [], "renamed": null }, - { - "method": "GET", - "url": "/enterprises/{enterprise}/code_security_and_analysis", - "documentationUrl": "https://docs.github.com/rest/enterprise-admin#get-code-security-analysis-features-for-an-enterprise", - "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" } - ], - "previews": [], - "renamed": null - }, { "method": "GET", "url": "/enterprises/{enterprise}/secret-scanning/alerts", @@ -14118,57 +13806,6 @@ "previews": [], "renamed": null }, - { - "method": "PATCH", - "url": "/enterprises/{enterprise}/code_security_and_analysis", - "documentationUrl": "https://docs.github.com/rest/enterprise-admin#update-code-security-and-analysis-features-for-an-enterprise", - "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" }, - { - "alias": null, - "deprecated": null, - "in": "BODY", - "name": "advanced_security_enabled_for_new_repositories" - }, - { - "alias": null, - "deprecated": null, - "in": "BODY", - "name": "secret_scanning_enabled_for_new_repositories" - }, - { - "alias": null, - "deprecated": null, - "in": "BODY", - "name": "secret_scanning_push_protection_enabled_for_new_repositories" - }, - { - "alias": null, - "deprecated": null, - "in": "BODY", - "name": "secret_scanning_push_protection_custom_link" - } - ], - "previews": [], - "renamed": null - }, - { - "method": "POST", - "url": "/enterprises/{enterprise}/{security_product}/{enablement}", - "documentationUrl": "https://docs.github.com/rest/enterprise-admin#enable-or-disable-a-security-feature", - "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" }, - { - "alias": null, - "deprecated": null, - "in": "PATH", - "name": "security_product" - }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "enablement" } - ], - "previews": [], - "renamed": null - }, { "method": "PATCH", "url": "/repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}", @@ -14272,7 +13909,7 @@ { "method": "PUT", "url": "/teams/{team_id}/repos/{owner}/{repo}", - "documentationUrl": "https://docs.github.com/rest/reference/teams#add-or-update-team-repository-permissions-legacy", + "documentationUrl": "https://docs.github.com/rest/reference/teams/#add-or-update-team-repository-permissions-legacy", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "team_id" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, @@ -15406,10 +15043,7 @@ "method": "GET", "url": "/user/blocks", "documentationUrl": "https://docs.github.com/rest/reference/users#list-users-blocked-by-the-authenticated-user", - "parameters": [ - { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } - ], + "parameters": [], "previews": [], "renamed": { "note": null } }, @@ -15417,10 +15051,7 @@ "method": "GET", "url": "/user/blocks", "documentationUrl": "https://docs.github.com/rest/reference/users#list-users-blocked-by-the-authenticated-user", - "parameters": [ - { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } - ], + "parameters": [], "previews": [], "renamed": null }, diff --git a/src/generated/Endpoints.ts b/src/generated/Endpoints.ts index 64c30b26d..8c8b5a925 100644 --- a/src/generated/Endpoints.ts +++ b/src/generated/Endpoints.ts @@ -133,6 +133,27 @@ export interface Endpoints { "/applications/{client_id}/token", "delete" >; + /** + * @see https://docs.github.com/rest/reference/actions#disable-a-selected-organization-for-github-actions-in-an-enterprise + */ + "DELETE /enterprises/{enterprise}/actions/permissions/organizations/{org_id}": Operation< + "/enterprises/{enterprise}/actions/permissions/organizations/{org_id}", + "delete" + >; + /** + * @see https://docs.github.com/rest/reference/actions#delete-a-self-hosted-runner-group-from-an-enterprise + */ + "DELETE /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}": Operation< + "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}", + "delete" + >; + /** + * @see https://docs.github.com/rest/reference/actions#remove-organization-access-to-a-self-hosted-runner-group-in-an-enterprise + */ + "DELETE /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations/{org_id}": Operation< + "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations/{org_id}", + "delete" + >; /** * @see https://docs.github.com/rest/reference/actions#remove-a-self-hosted-runner-from-a-group-for-an-enterprise */ @@ -147,6 +168,20 @@ export interface Endpoints { "/enterprises/{enterprise}/actions/runners/{runner_id}", "delete" >; + /** + * @see https://docs.github.com/rest/reference/actions#remove-all-custom-labels-from-a-self-hosted-runner-for-an-enterprise + */ + "DELETE /enterprises/{enterprise}/actions/runners/{runner_id}/labels": Operation< + "/enterprises/{enterprise}/actions/runners/{runner_id}/labels", + "delete" + >; + /** + * @see https://docs.github.com/rest/reference/actions#remove-a-custom-label-from-a-self-hosted-runner-for-an-enterprise + */ + "DELETE /enterprises/{enterprise}/actions/runners/{runner_id}/labels/{name}": Operation< + "/enterprises/{enterprise}/actions/runners/{runner_id}/labels/{name}", + "delete" + >; /** * @see https://docs.github.com/rest/reference/gists#delete-a-gist */ @@ -174,24 +209,24 @@ export interface Endpoints { "delete" >; /** - * @see https://docs.github.com/rest/reference/actions#disable-a-selected-repository-for-github-actions-in-an-organization + * @see https://docs.github.com/rest/reference/codespaces#delete-an-organization-secret */ - "DELETE /orgs/{org}/actions/permissions/repositories/{repository_id}": Operation< - "/orgs/{org}/actions/permissions/repositories/{repository_id}", + "DELETE /organizations/{org}/codespaces/secrets/{secret_name}": Operation< + "/organizations/{org}/codespaces/secrets/{secret_name}", "delete" >; /** - * @see https://docs.github.com/rest/reference/actions#delete-a-required-workflow + * @see https://docs.github.com/rest/reference/codespaces#remove-selected-repository-from-an-organization-secret */ - "DELETE /orgs/{org}/actions/required_workflows/{required_workflow_id}": Operation< - "/orgs/{org}/actions/required_workflows/{required_workflow_id}", + "DELETE /organizations/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}": Operation< + "/organizations/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}", "delete" >; /** - * @see https://docs.github.com/rest/reference/actions#remove-a-repository-from-selected-repositories-list-for-a-required-workflow + * @see https://docs.github.com/rest/reference/actions#disable-a-selected-repository-for-github-actions-in-an-organization */ - "DELETE /orgs/{org}/actions/required_workflows/{required_workflow_id}/repositories/{repository_id}": Operation< - "/orgs/{org}/actions/required_workflows/{required_workflow_id}/repositories/{repository_id}", + "DELETE /orgs/{org}/actions/permissions/repositories/{repository_id}": Operation< + "/orgs/{org}/actions/permissions/repositories/{repository_id}", "delete" >; /** @@ -250,20 +285,6 @@ export interface Endpoints { "/orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}", "delete" >; - /** - * @see https://docs.github.com/rest/actions/variables#delete-an-organization-variable - */ - "DELETE /orgs/{org}/actions/variables/{name}": Operation< - "/orgs/{org}/actions/variables/{name}", - "delete" - >; - /** - * @see https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable - */ - "DELETE /orgs/{org}/actions/variables/{name}/repositories/{repository_id}": Operation< - "/orgs/{org}/actions/variables/{name}/repositories/{repository_id}", - "delete" - >; /** * @see https://docs.github.com/rest/reference/orgs#unblock-a-user-from-an-organization */ @@ -272,17 +293,10 @@ export interface Endpoints { "delete" >; /** - * @see https://docs.github.com/rest/reference/codespaces#delete-an-organization-secret - */ - "DELETE /orgs/{org}/codespaces/secrets/{secret_name}": Operation< - "/orgs/{org}/codespaces/secrets/{secret_name}", - "delete" - >; - /** - * @see https://docs.github.com/rest/reference/codespaces#remove-selected-repository-from-an-organization-secret + * @see https://docs.github.com/rest/reference/orgs#delete-a-custom-role */ - "DELETE /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}": Operation< - "/orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}", + "DELETE /orgs/{org}/custom_roles/{role_id}": Operation< + "/orgs/{org}/custom_roles/{role_id}", "delete" >; /** @@ -541,13 +555,6 @@ export interface Endpoints { "/repos/{owner}/{repo}/actions/secrets/{secret_name}", "delete" >; - /** - * @see https://docs.github.com/rest/actions/variables#delete-a-repository-variable - */ - "DELETE /repos/{owner}/{repo}/actions/variables/{name}": Operation< - "/repos/{owner}/{repo}/actions/variables/{name}", - "delete" - >; /** * @see https://docs.github.com/v3/repos#delete-autolink */ @@ -563,70 +570,70 @@ export interface Endpoints { "delete" >; /** - * @see https://docs.github.com/rest/branches/branch-protection#delete-branch-protection + * @see https://docs.github.com/rest/reference/repos#delete-branch-protection */ "DELETE /repos/{owner}/{repo}/branches/{branch}/protection": Operation< "/repos/{owner}/{repo}/branches/{branch}/protection", "delete" >; /** - * @see https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection + * @see https://docs.github.com/rest/reference/repos#delete-admin-branch-protection */ "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins": Operation< "/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", "delete" >; /** - * @see https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection + * @see https://docs.github.com/rest/reference/repos#delete-pull-request-review-protection */ "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews": Operation< "/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", "delete" >; /** - * @see https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection + * @see https://docs.github.com/rest/reference/repos#delete-commit-signature-protection */ "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures": Operation< "/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", "delete" >; /** - * @see https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection + * @see https://docs.github.com/rest/reference/repos#remove-status-check-protection */ "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks": Operation< "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", "delete" >; /** - * @see https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts + * @see https://docs.github.com/rest/reference/repos#remove-status-check-contexts */ "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts": Operation< "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", "delete" >; /** - * @see https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions + * @see https://docs.github.com/rest/reference/repos#delete-access-restrictions */ "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions": Operation< "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions", "delete" >; /** - * @see https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions + * @see https://docs.github.com/rest/reference/repos#remove-app-access-restrictions */ "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps": Operation< "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", "delete" >; /** - * @see https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions + * @see https://docs.github.com/rest/reference/repos#remove-team-access-restrictions */ "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams": Operation< "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", "delete" >; /** - * @see https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions + * @see https://docs.github.com/rest/reference/repos#remove-user-access-restrictions */ "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users": Operation< "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", @@ -682,14 +689,14 @@ export interface Endpoints { "delete" >; /** - * @see https://docs.github.com/rest/deployments/deployments#delete-a-deployment + * @see https://docs.github.com/rest/reference/repos#delete-a-deployment */ "DELETE /repos/{owner}/{repo}/deployments/{deployment_id}": Operation< "/repos/{owner}/{repo}/deployments/{deployment_id}", "delete" >; /** - * @see https://docs.github.com/rest/deployments/environments#delete-an-environment + * @see https://docs.github.com/rest/reference/repos#delete-an-environment */ "DELETE /repos/{owner}/{repo}/environments/{environment_name}": Operation< "/repos/{owner}/{repo}/environments/{environment_name}", @@ -787,7 +794,7 @@ export interface Endpoints { "delete" >; /** - * @see https://docs.github.com/rest/deploy-keys#delete-a-deploy-key + * @see https://docs.github.com/rest/reference/repos#delete-a-deploy-key */ "DELETE /repos/{owner}/{repo}/keys/{key_id}": Operation< "/repos/{owner}/{repo}/keys/{key_id}", @@ -898,13 +905,6 @@ export interface Endpoints { "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", "delete" >; - /** - * @see https://docs.github.com/rest/actions/variables#delete-an-environment-variable - */ - "DELETE /repositories/{repository_id}/environments/{environment_name}/variables/{name}": Operation< - "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", - "delete" - >; /** * @see https://docs.github.com/rest/reference/teams/#delete-a-team-legacy */ @@ -1128,6 +1128,48 @@ export interface Endpoints { * @see https://docs.github.com/rest/reference/emojis#get-emojis */ "GET /emojis": Operation<"/emojis", "get">; + /** + * @see https://docs.github.com/rest/reference/enterprise-admin#get-github-enterprise-server-statistics + */ + "GET /enterprise-installation/{enterprise_or_org}/server-statistics": Operation< + "/enterprise-installation/{enterprise_or_org}/server-statistics", + "get" + >; + /** + * @see https://docs.github.com/rest/reference/actions#get-github-actions-cache-usage-for-an-enterprise + */ + "GET /enterprises/{enterprise}/actions/cache/usage": Operation< + "/enterprises/{enterprise}/actions/cache/usage", + "get" + >; + /** + * @see https://docs.github.com/rest/reference/actions#get-github-actions-permissions-for-an-enterprise + */ + "GET /enterprises/{enterprise}/actions/permissions": Operation< + "/enterprises/{enterprise}/actions/permissions", + "get" + >; + /** + * @see https://docs.github.com/rest/reference/actions#list-selected-organizations-enabled-for-github-actions-in-an-enterprise + */ + "GET /enterprises/{enterprise}/actions/permissions/organizations": Operation< + "/enterprises/{enterprise}/actions/permissions/organizations", + "get" + >; + /** + * @see https://docs.github.com/rest/reference/actions#get-allowed-actions-for-an-enterprise + */ + "GET /enterprises/{enterprise}/actions/permissions/selected-actions": Operation< + "/enterprises/{enterprise}/actions/permissions/selected-actions", + "get" + >; + /** + * @see https://docs.github.com/rest/reference/actions#get-default-workflow-permissions-for-an-enterprise + */ + "GET /enterprises/{enterprise}/actions/permissions/workflow": Operation< + "/enterprises/{enterprise}/actions/permissions/workflow", + "get" + >; /** * @see https://docs.github.com/rest/reference/actions#list-self-hosted-runner-groups-for-an-enterprise */ @@ -1143,24 +1185,52 @@ export interface Endpoints { "get" >; /** - * @see https://docs.github.com/rest/reference/actions#list-labels-for-a-self-hosted-runner-for-an-enterprise + * @see https://docs.github.com/rest/reference/actions#list-organization-access-to-a-self-hosted-runner-group-in-a-enterprise */ - "GET /enterprises/{enterprise}/actions/runners/{runner_id}/labels": Operation< - "/enterprises/{enterprise}/actions/runners/{runner_id}/labels", + "GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations": Operation< + "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations", + "get" + >; + /** + * @see https://docs.github.com/rest/reference/actions#list-self-hosted-runners-in-a-group-for-an-enterprise + */ + "GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners": Operation< + "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners", "get" >; /** - * @see https://docs.github.com/rest/enterprise-admin#get-code-security-analysis-features-for-an-enterprise + * @see https://docs.github.com/rest/reference/actions#list-self-hosted-runners-for-an-enterprise */ - "GET /enterprises/{enterprise}/code_security_and_analysis": Operation< - "/enterprises/{enterprise}/code_security_and_analysis", + "GET /enterprises/{enterprise}/actions/runners": Operation< + "/enterprises/{enterprise}/actions/runners", "get" >; /** - * @see https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise + * @see https://docs.github.com/rest/reference/actions#list-runner-applications-for-an-enterprise */ - "GET /enterprises/{enterprise}/dependabot/alerts": Operation< - "/enterprises/{enterprise}/dependabot/alerts", + "GET /enterprises/{enterprise}/actions/runners/downloads": Operation< + "/enterprises/{enterprise}/actions/runners/downloads", + "get" + >; + /** + * @see https://docs.github.com/rest/reference/actions#get-a-self-hosted-runner-for-an-enterprise + */ + "GET /enterprises/{enterprise}/actions/runners/{runner_id}": Operation< + "/enterprises/{enterprise}/actions/runners/{runner_id}", + "get" + >; + /** + * @see https://docs.github.com/rest/reference/actions#list-labels-for-a-self-hosted-runner-for-an-enterprise + */ + "GET /enterprises/{enterprise}/actions/runners/{runner_id}/labels": Operation< + "/enterprises/{enterprise}/actions/runners/{runner_id}/labels", + "get" + >; + /** + * @see https://docs.github.com/rest/reference/code-scanning#list-code-scanning-alerts-for-an-enterprise + */ + "GET /enterprises/{enterprise}/code-scanning/alerts": Operation< + "/enterprises/{enterprise}/code-scanning/alerts", "get" >; /** @@ -1170,6 +1240,13 @@ export interface Endpoints { "/enterprises/{enterprise}/secret-scanning/alerts", "get" >; + /** + * @see https://docs.github.com/rest/reference/billing#export-advanced-security-active-committers-data-for-enterprise + */ + "GET /enterprises/{enterprise}/settings/billing/advanced-security": Operation< + "/enterprises/{enterprise}/settings/billing/advanced-security", + "get" + >; /** * @see https://docs.github.com/rest/reference/activity#list-public-events */ @@ -1333,6 +1410,41 @@ export interface Endpoints { * @see https://docs.github.com/rest/reference/orgs#list-organizations */ "GET /organizations": Operation<"/organizations", "get">; + /** + * @see https://docs.github.com/rest/reference/orgs#list-custom-repository-roles-in-an-organization + */ + "GET /organizations/{organization_id}/custom_roles": Operation< + "/organizations/{organization_id}/custom_roles", + "get" + >; + /** + * @see https://docs.github.com/rest/reference/codespaces#list-organization-secrets + */ + "GET /organizations/{org}/codespaces/secrets": Operation< + "/organizations/{org}/codespaces/secrets", + "get" + >; + /** + * @see https://docs.github.com/rest/reference/codespaces#get-an-organization-public-key + */ + "GET /organizations/{org}/codespaces/secrets/public-key": Operation< + "/organizations/{org}/codespaces/secrets/public-key", + "get" + >; + /** + * @see https://docs.github.com/rest/reference/codespaces#get-an-organization-secret + */ + "GET /organizations/{org}/codespaces/secrets/{secret_name}": Operation< + "/organizations/{org}/codespaces/secrets/{secret_name}", + "get" + >; + /** + * @see https://docs.github.com/rest/reference/codespaces#list-selected-repositories-for-an-organization-secret + */ + "GET /organizations/{org}/codespaces/secrets/{secret_name}/repositories": Operation< + "/organizations/{org}/codespaces/secrets/{secret_name}/repositories", + "get" + >; /** * @see https://docs.github.com/rest/reference/codespaces#list-in-organization * @deprecated "org_id" is now "org" @@ -1356,13 +1468,6 @@ export interface Endpoints { "/orgs/{org}/actions/cache/usage-by-repository", "get" >; - /** - * @see https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-an-organization - */ - "GET /orgs/{org}/actions/oidc/customization/sub": Operation< - "/orgs/{org}/actions/oidc/customization/sub", - "get" - >; /** * @see https://docs.github.com/rest/reference/actions#get-github-actions-permissions-for-an-organization */ @@ -1391,27 +1496,6 @@ export interface Endpoints { "/orgs/{org}/actions/permissions/workflow", "get" >; - /** - * @see https://docs.github.com/rest/reference/actions#list-required-workflows - */ - "GET /orgs/{org}/actions/required_workflows": Operation< - "/orgs/{org}/actions/required_workflows", - "get" - >; - /** - * @see https://docs.github.com/rest/reference/actions#get-a-required-workflow - */ - "GET /orgs/{org}/actions/required_workflows/{required_workflow_id}": Operation< - "/orgs/{org}/actions/required_workflows/{required_workflow_id}", - "get" - >; - /** - * @see https://docs.github.com/rest/reference/actions#list-selected-repositories-required-workflows - */ - "GET /orgs/{org}/actions/required_workflows/{required_workflow_id}/repositories": Operation< - "/orgs/{org}/actions/required_workflows/{required_workflow_id}/repositories", - "get" - >; /** * @see https://docs.github.com/rest/reference/actions#list-self-hosted-runner-groups-for-an-organization */ @@ -1496,27 +1580,6 @@ export interface Endpoints { "/orgs/{org}/actions/secrets/{secret_name}/repositories", "get" >; - /** - * @see https://docs.github.com/rest/actions/variables#list-organization-variables - */ - "GET /orgs/{org}/actions/variables": Operation< - "/orgs/{org}/actions/variables", - "get" - >; - /** - * @see https://docs.github.com/rest/actions/variables#get-an-organization-variable - */ - "GET /orgs/{org}/actions/variables/{name}": Operation< - "/orgs/{org}/actions/variables/{name}", - "get" - >; - /** - * @see https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable - */ - "GET /orgs/{org}/actions/variables/{name}/repositories": Operation< - "/orgs/{org}/actions/variables/{name}/repositories", - "get" - >; /** * @see https://docs.github.com/rest/reference/orgs#list-users-blocked-by-an-organization */ @@ -1539,41 +1602,6 @@ export interface Endpoints { * @see https://docs.github.com/rest/reference/codespaces#list-in-organization */ "GET /orgs/{org}/codespaces": Operation<"/orgs/{org}/codespaces", "get">; - /** - * @see https://docs.github.com/rest/reference/codespaces#list-organization-secrets - */ - "GET /orgs/{org}/codespaces/secrets": Operation< - "/orgs/{org}/codespaces/secrets", - "get" - >; - /** - * @see https://docs.github.com/rest/reference/codespaces#get-an-organization-public-key - */ - "GET /orgs/{org}/codespaces/secrets/public-key": Operation< - "/orgs/{org}/codespaces/secrets/public-key", - "get" - >; - /** - * @see https://docs.github.com/rest/reference/codespaces#get-an-organization-secret - */ - "GET /orgs/{org}/codespaces/secrets/{secret_name}": Operation< - "/orgs/{org}/codespaces/secrets/{secret_name}", - "get" - >; - /** - * @see https://docs.github.com/rest/reference/codespaces#list-selected-repositories-for-an-organization-secret - */ - "GET /orgs/{org}/codespaces/secrets/{secret_name}/repositories": Operation< - "/orgs/{org}/codespaces/secrets/{secret_name}/repositories", - "get" - >; - /** - * @see https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization - */ - "GET /orgs/{org}/dependabot/alerts": Operation< - "/orgs/{org}/dependabot/alerts", - "get" - >; /** * @see https://docs.github.com/rest/reference/dependabot#list-organization-secrets */ @@ -1613,6 +1641,13 @@ export interface Endpoints { "/orgs/{org}/failed_invitations", "get" >; + /** + * @see https://docs.github.com/rest/reference/orgs#list-fine-grained-permissions-for-an-organization + */ + "GET /orgs/{org}/fine_grained_permissions": Operation< + "/orgs/{org}/fine_grained_permissions", + "get" + >; /** * @see https://docs.github.com/rest/reference/orgs#list-organization-webhooks */ @@ -1689,13 +1724,6 @@ export interface Endpoints { "/orgs/{org}/members/{username}", "get" >; - /** - * @see https://docs.github.com/rest/reference/codespaces#get-codespaces-for-user-in-org - */ - "GET /orgs/{org}/members/{username}/codespaces": Operation< - "/orgs/{org}/members/{username}/codespaces", - "get" - >; /** * @see https://docs.github.com/rest/reference/orgs#get-organization-membership-for-a-user */ @@ -1803,6 +1831,13 @@ export interface Endpoints { "/orgs/{org}/settings/billing/actions", "get" >; + /** + * @see https://docs.github.com/rest/reference/billing#get-github-advanced-security-active-committers-for-an-organization + */ + "GET /orgs/{org}/settings/billing/advanced-security": Operation< + "/orgs/{org}/settings/billing/advanced-security", + "get" + >; /** * @see https://docs.github.com/rest/reference/billing#get-github-packages-billing-for-an-organization */ @@ -1976,27 +2011,6 @@ export interface Endpoints { * @see https://docs.github.com/rest/reference/rate-limit#get-rate-limit-status-for-the-authenticated-user */ "GET /rate_limit": Operation<"/rate_limit", "get">; - /** - * @see https://docs.github.com/rest/reference/actions#list-repository-required-workflows - */ - "GET /repos/{org}/{repo}/actions/required_workflows": Operation< - "/repos/{org}/{repo}/actions/required_workflows", - "get" - >; - /** - * @see https://docs.github.com/rest/reference/actions#get-repository-required-workflow - */ - "GET /repos/{org}/{repo}/actions/required_workflows/{required_workflow_id_for_repo}": Operation< - "/repos/{org}/{repo}/actions/required_workflows/{required_workflow_id_for_repo}", - "get" - >; - /** - * @see https://docs.github.com/rest/reference/actions#get-repository-required-workflow-usage - */ - "GET /repos/{org}/{repo}/actions/required_workflows/{required_workflow_id_for_repo}/timing": Operation< - "/repos/{org}/{repo}/actions/required_workflows/{required_workflow_id_for_repo}/timing", - "get" - >; /** * @see https://docs.github.com/rest/reference/repos#get-a-repository */ @@ -2050,13 +2064,6 @@ export interface Endpoints { "/repos/{owner}/{repo}/actions/jobs/{job_id}/logs", "get" >; - /** - * @see https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository - */ - "GET /repos/{owner}/{repo}/actions/oidc/customization/sub": Operation< - "/repos/{owner}/{repo}/actions/oidc/customization/sub", - "get" - >; /** * @see https://docs.github.com/rest/reference/actions#get-github-actions-permissions-for-a-repository */ @@ -2085,13 +2092,6 @@ export interface Endpoints { "/repos/{owner}/{repo}/actions/permissions/workflow", "get" >; - /** - * @see https://docs.github.com/rest/reference/actions#list-required-workflow-runs - */ - "GET /repos/{owner}/{repo}/actions/required_workflows/{required_workflow_id_for_repo}/runs": Operation< - "/repos/{owner}/{repo}/actions/required_workflows/{required_workflow_id_for_repo}/runs", - "get" - >; /** * @see https://docs.github.com/rest/reference/actions#list-self-hosted-runners-for-a-repository */ @@ -2218,20 +2218,6 @@ export interface Endpoints { "/repos/{owner}/{repo}/actions/secrets/{secret_name}", "get" >; - /** - * @see https://docs.github.com/rest/actions/variables#list-repository-variables - */ - "GET /repos/{owner}/{repo}/actions/variables": Operation< - "/repos/{owner}/{repo}/actions/variables", - "get" - >; - /** - * @see https://docs.github.com/rest/actions/variables#get-a-repository-variable - */ - "GET /repos/{owner}/{repo}/actions/variables/{name}": Operation< - "/repos/{owner}/{repo}/actions/variables/{name}", - "get" - >; /** * @see https://docs.github.com/rest/reference/actions#list-repository-workflows */ @@ -2289,84 +2275,84 @@ export interface Endpoints { "get" >; /** - * @see https://docs.github.com/rest/branches/branches#list-branches + * @see https://docs.github.com/rest/reference/repos#list-branches */ "GET /repos/{owner}/{repo}/branches": Operation< "/repos/{owner}/{repo}/branches", "get" >; /** - * @see https://docs.github.com/rest/branches/branches#get-a-branch + * @see https://docs.github.com/rest/reference/repos#get-a-branch */ "GET /repos/{owner}/{repo}/branches/{branch}": Operation< "/repos/{owner}/{repo}/branches/{branch}", "get" >; /** - * @see https://docs.github.com/rest/branches/branch-protection#get-branch-protection + * @see https://docs.github.com/rest/reference/repos#get-branch-protection */ "GET /repos/{owner}/{repo}/branches/{branch}/protection": Operation< "/repos/{owner}/{repo}/branches/{branch}/protection", "get" >; /** - * @see https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection + * @see https://docs.github.com/rest/reference/repos#get-admin-branch-protection */ "GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins": Operation< "/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", "get" >; /** - * @see https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection + * @see https://docs.github.com/rest/reference/repos#get-pull-request-review-protection */ "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews": Operation< "/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", "get" >; /** - * @see https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection + * @see https://docs.github.com/rest/reference/repos#get-commit-signature-protection */ "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures": Operation< "/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", "get" >; /** - * @see https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection + * @see https://docs.github.com/rest/reference/repos#get-status-checks-protection */ "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks": Operation< "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", "get" >; /** - * @see https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts + * @see https://docs.github.com/rest/reference/repos#get-all-status-check-contexts */ "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts": Operation< "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", "get" >; /** - * @see https://docs.github.com/rest/branches/branch-protection#get-access-restrictions + * @see https://docs.github.com/rest/reference/repos#get-access-restrictions */ "GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions": Operation< "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions", "get" >; /** - * @see https://docs.github.com/rest/branches/branch-protection#list-apps-with-access-to-the-protected-branch + * @see https://docs.github.com/rest/reference/repos#list-apps-with-access-to-the-protected-branch */ "GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps": Operation< "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", "get" >; /** - * @see https://docs.github.com/rest/branches/branch-protection#list-teams-with-access-to-the-protected-branch + * @see https://docs.github.com/rest/reference/repos#list-teams-with-access-to-the-protected-branch */ "GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams": Operation< "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", "get" >; /** - * @see https://docs.github.com/rest/branches/branch-protection#list-users-with-access-to-the-protected-branch + * @see https://docs.github.com/rest/reference/repos#list-users-with-access-to-the-protected-branch */ "GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users": Operation< "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", @@ -2703,28 +2689,28 @@ export interface Endpoints { "get" >; /** - * @see https://docs.github.com/rest/deployments/deployments#list-deployments + * @see https://docs.github.com/rest/reference/repos#list-deployments */ "GET /repos/{owner}/{repo}/deployments": Operation< "/repos/{owner}/{repo}/deployments", "get" >; /** - * @see https://docs.github.com/rest/deployments/deployments#get-a-deployment + * @see https://docs.github.com/rest/reference/repos#get-a-deployment */ "GET /repos/{owner}/{repo}/deployments/{deployment_id}": Operation< "/repos/{owner}/{repo}/deployments/{deployment_id}", "get" >; /** - * @see https://docs.github.com/rest/deployments/statuses#list-deployment-statuses + * @see https://docs.github.com/rest/reference/repos#list-deployment-statuses */ "GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses": Operation< "/repos/{owner}/{repo}/deployments/{deployment_id}/statuses", "get" >; /** - * @see https://docs.github.com/rest/deployments/statuses#get-a-deployment-status + * @see https://docs.github.com/rest/reference/repos#get-a-deployment-status */ "GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}": Operation< "/repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}", @@ -2738,7 +2724,7 @@ export interface Endpoints { "get" >; /** - * @see https://docs.github.com/rest/deployments/environments#get-an-environment + * @see https://docs.github.com/rest/reference/repos#get-an-environment */ "GET /repos/{owner}/{repo}/environments/{environment_name}": Operation< "/repos/{owner}/{repo}/environments/{environment_name}", @@ -2940,13 +2926,6 @@ export interface Endpoints { "/repos/{owner}/{repo}/issues/{issue_number}", "get" >; - /** - * @see https://docs.github.com/rest/reference/issues#check-if-a-user-can-be-assigned-to-a-issue - */ - "GET /repos/{owner}/{repo}/issues/{issue_number}/assignees/{assignee}": Operation< - "/repos/{owner}/{repo}/issues/{issue_number}/assignees/{assignee}", - "get" - >; /** * @see https://docs.github.com/rest/reference/issues#list-issue-comments */ @@ -2983,14 +2962,14 @@ export interface Endpoints { "get" >; /** - * @see https://docs.github.com/rest/deploy-keys#list-deploy-keys + * @see https://docs.github.com/rest/reference/repos#list-deploy-keys */ "GET /repos/{owner}/{repo}/keys": Operation< "/repos/{owner}/{repo}/keys", "get" >; /** - * @see https://docs.github.com/rest/deploy-keys#get-a-deploy-key + * @see https://docs.github.com/rest/reference/repos#get-a-deploy-key */ "GET /repos/{owner}/{repo}/keys/{key_id}": Operation< "/repos/{owner}/{repo}/keys/{key_id}", @@ -3427,20 +3406,6 @@ export interface Endpoints { "/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", "get" >; - /** - * @see https://docs.github.com/rest/actions/variables#list-environment-variables - */ - "GET /repositories/{repository_id}/environments/{environment_name}/variables": Operation< - "/repositories/{repository_id}/environments/{environment_name}/variables", - "get" - >; - /** - * @see https://docs.github.com/rest/actions/variables#get-an-environment-variable - */ - "GET /repositories/{repository_id}/environments/{environment_name}/variables/{name}": Operation< - "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", - "get" - >; /** * @see https://docs.github.com/rest/reference/search#search-code */ @@ -3618,7 +3583,7 @@ export interface Endpoints { "get" >; /** - * @see https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export + * @see */ "GET /user/codespaces/{codespace_name}/exports/{export_id}": Operation< "/user/codespaces/{codespace_name}/exports/{export_id}", @@ -3988,11 +3953,7 @@ export interface Endpoints { "get" >; /** - * @see https://docs.github.com/rest/reference/meta#get-all-api-versions - */ - "GET /versions": Operation<"/versions", "get">; - /** - * @see https://docs.github.com/rest/meta#get-the-zen-of-github + * @see */ "GET /zen": Operation<"/zen", "get">; /** @@ -4007,10 +3968,10 @@ export interface Endpoints { "patch" >; /** - * @see https://docs.github.com/rest/enterprise-admin#update-code-security-and-analysis-features-for-an-enterprise + * @see https://docs.github.com/rest/reference/actions#update-a-self-hosted-runner-group-for-an-enterprise */ - "PATCH /enterprises/{enterprise}/code_security_and_analysis": Operation< - "/enterprises/{enterprise}/code_security_and_analysis", + "PATCH /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}": Operation< + "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}", "patch" >; /** @@ -4032,16 +3993,9 @@ export interface Endpoints { "patch" >; /** - * @see https://docs.github.com/rest/reference/orgs#update-an-organization + * @see https://docs.github.com/rest/reference/orgs/#update-an-organization */ "PATCH /orgs/{org}": Operation<"/orgs/{org}", "patch">; - /** - * @see https://docs.github.com/rest/reference/actions#update-a-required-workflow - */ - "PATCH /orgs/{org}/actions/required_workflows/{required_workflow_id}": Operation< - "/orgs/{org}/actions/required_workflows/{required_workflow_id}", - "patch" - >; /** * @see https://docs.github.com/rest/reference/actions#update-a-self-hosted-runner-group-for-an-organization */ @@ -4050,10 +4004,10 @@ export interface Endpoints { "patch" >; /** - * @see https://docs.github.com/rest/actions/variables#update-an-organization-variable + * @see https://docs.github.com/rest/reference/orgs#update-a-custom-role */ - "PATCH /orgs/{org}/actions/variables/{name}": Operation< - "/orgs/{org}/actions/variables/{name}", + "PATCH /orgs/{org}/custom_roles/{role_id}": Operation< + "/orgs/{org}/custom_roles/{role_id}", "patch" >; /** @@ -4110,25 +4064,18 @@ export interface Endpoints { */ "PATCH /projects/{project_id}": Operation<"/projects/{project_id}", "patch">; /** - * @see https://docs.github.com/rest/repos/repos#update-a-repository + * @see https://docs.github.com/rest/reference/repos/#update-a-repository */ "PATCH /repos/{owner}/{repo}": Operation<"/repos/{owner}/{repo}", "patch">; /** - * @see https://docs.github.com/rest/actions/variables#update-a-repository-variable - */ - "PATCH /repos/{owner}/{repo}/actions/variables/{name}": Operation< - "/repos/{owner}/{repo}/actions/variables/{name}", - "patch" - >; - /** - * @see https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection + * @see https://docs.github.com/rest/reference/repos#update-pull-request-review-protection */ "PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews": Operation< "/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", "patch" >; /** - * @see https://docs.github.com/rest/branches/branch-protection#update-status-check-protection + * @see https://docs.github.com/rest/reference/repos#update-status-check-protection */ "PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks": Operation< "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", @@ -4226,7 +4173,7 @@ export interface Endpoints { "patch" >; /** - * @see https://docs.github.com/rest/reference/issues#update-an-issue + * @see https://docs.github.com/rest/reference/issues/#update-an-issue */ "PATCH /repos/{owner}/{repo}/issues/{issue_number}": Operation< "/repos/{owner}/{repo}/issues/{issue_number}", @@ -4281,13 +4228,6 @@ export interface Endpoints { "/repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}", "patch" >; - /** - * @see https://docs.github.com/rest/actions/variables#update-an-environment-variable - */ - "PATCH /repositories/{repository_id}/environments/{environment_name}/variables/{name}": Operation< - "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", - "patch" - >; /** * @see https://docs.github.com/rest/reference/teams/#update-a-team-legacy */ @@ -4378,17 +4318,24 @@ export interface Endpoints { "post" >; /** - * @see https://docs.github.com/rest/reference/actions#add-custom-labels-to-a-self-hosted-runner-for-an-enterprise + * @see https://docs.github.com/rest/reference/actions#create-a-registration-token-for-an-enterprise */ - "POST /enterprises/{enterprise}/actions/runners/{runner_id}/labels": Operation< - "/enterprises/{enterprise}/actions/runners/{runner_id}/labels", + "POST /enterprises/{enterprise}/actions/runners/registration-token": Operation< + "/enterprises/{enterprise}/actions/runners/registration-token", "post" >; /** - * @see https://docs.github.com/rest/enterprise-admin#enable-or-disable-a-security-feature + * @see https://docs.github.com/rest/reference/actions#create-a-remove-token-for-an-enterprise */ - "POST /enterprises/{enterprise}/{security_product}/{enablement}": Operation< - "/enterprises/{enterprise}/{security_product}/{enablement}", + "POST /enterprises/{enterprise}/actions/runners/remove-token": Operation< + "/enterprises/{enterprise}/actions/runners/remove-token", + "post" + >; + /** + * @see https://docs.github.com/rest/reference/actions#add-custom-labels-to-a-self-hosted-runner-for-an-enterprise + */ + "POST /enterprises/{enterprise}/actions/runners/{runner_id}/labels": Operation< + "/enterprises/{enterprise}/actions/runners/{runner_id}/labels", "post" >; /** @@ -4414,13 +4361,6 @@ export interface Endpoints { * @see https://docs.github.com/rest/reference/markdown#render-a-markdown-document-in-raw-mode */ "POST /markdown/raw": Operation<"/markdown/raw", "post">; - /** - * @see https://docs.github.com/rest/reference/actions#create-a-required-workflow - */ - "POST /orgs/{org}/actions/required_workflows": Operation< - "/orgs/{org}/actions/required_workflows", - "post" - >; /** * @see https://docs.github.com/rest/reference/actions#create-a-self-hosted-runner-group-for-an-organization */ @@ -4450,10 +4390,10 @@ export interface Endpoints { "post" >; /** - * @see https://docs.github.com/rest/actions/variables#create-an-organization-variable + * @see https://docs.github.com/rest/reference/orgs#create-a-custom-role */ - "POST /orgs/{org}/actions/variables": Operation< - "/orgs/{org}/actions/variables", + "POST /orgs/{org}/custom_roles": Operation< + "/orgs/{org}/custom_roles", "post" >; /** @@ -4641,13 +4581,6 @@ export interface Endpoints { "/repos/{owner}/{repo}/actions/runs/{run_id}/rerun-failed-jobs", "post" >; - /** - * @see https://docs.github.com/rest/actions/variables#create-a-repository-variable - */ - "POST /repos/{owner}/{repo}/actions/variables": Operation< - "/repos/{owner}/{repo}/actions/variables", - "post" - >; /** * @see https://docs.github.com/rest/reference/actions#create-a-workflow-dispatch-event */ @@ -4663,49 +4596,49 @@ export interface Endpoints { "post" >; /** - * @see https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection + * @see https://docs.github.com/rest/reference/repos#set-admin-branch-protection */ "POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins": Operation< "/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", "post" >; /** - * @see https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection + * @see https://docs.github.com/rest/reference/repos#create-commit-signature-protection */ "POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures": Operation< "/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", "post" >; /** - * @see https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts + * @see https://docs.github.com/rest/reference/repos#add-status-check-contexts */ "POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts": Operation< "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", "post" >; /** - * @see https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions + * @see https://docs.github.com/rest/reference/repos#add-app-access-restrictions */ "POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps": Operation< "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", "post" >; /** - * @see https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions + * @see https://docs.github.com/rest/reference/repos#add-team-access-restrictions */ "POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams": Operation< "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", "post" >; /** - * @see https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions + * @see https://docs.github.com/rest/reference/repos#add-user-access-restrictions */ "POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users": Operation< "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", "post" >; /** - * @see https://docs.github.com/rest/branches/branches#rename-a-branch + * @see https://docs.github.com/rest/reference/repos#rename-a-branch */ "POST /repos/{owner}/{repo}/branches/{branch}/rename": Operation< "/repos/{owner}/{repo}/branches/{branch}/rename", @@ -4775,14 +4708,14 @@ export interface Endpoints { "post" >; /** - * @see https://docs.github.com/rest/deployments/deployments#create-a-deployment + * @see https://docs.github.com/rest/reference/repos#create-a-deployment */ "POST /repos/{owner}/{repo}/deployments": Operation< "/repos/{owner}/{repo}/deployments", "post" >; /** - * @see https://docs.github.com/rest/deployments/statuses#create-a-deployment-status + * @see https://docs.github.com/rest/reference/repos#create-a-deployment-status */ "POST /repos/{owner}/{repo}/deployments/{deployment_id}/statuses": Operation< "/repos/{owner}/{repo}/deployments/{deployment_id}/statuses", @@ -4915,7 +4848,7 @@ export interface Endpoints { "post" >; /** - * @see https://docs.github.com/rest/deploy-keys#create-a-deploy-key + * @see https://docs.github.com/rest/reference/repos#create-a-deploy-key */ "POST /repos/{owner}/{repo}/keys": Operation< "/repos/{owner}/{repo}/keys", @@ -4929,14 +4862,14 @@ export interface Endpoints { "post" >; /** - * @see https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository + * @see https://docs.github.com/rest/reference/repos#sync-a-fork-branch-with-the-upstream-repository */ "POST /repos/{owner}/{repo}/merge-upstream": Operation< "/repos/{owner}/{repo}/merge-upstream", "post" >; /** - * @see https://docs.github.com/rest/branches/branches#merge-a-branch + * @see https://docs.github.com/rest/reference/repos#merge-a-branch */ "POST /repos/{owner}/{repo}/merges": Operation< "/repos/{owner}/{repo}/merges", @@ -5082,13 +5015,6 @@ export interface Endpoints { "/repos/{template_owner}/{template_repo}/generate", "post" >; - /** - * @see https://docs.github.com/rest/actions/variables#create-an-environment-variable - */ - "POST /repositories/{repository_id}/environments/{environment_name}/variables": Operation< - "/repositories/{repository_id}/environments/{environment_name}/variables", - "post" - >; /** * @see https://docs.github.com/rest/reference/teams#create-a-discussion-legacy */ @@ -5122,19 +5048,12 @@ export interface Endpoints { */ "POST /user/codespaces": Operation<"/user/codespaces", "post">; /** - * @see https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user + * @see */ "POST /user/codespaces/{codespace_name}/exports": Operation< "/user/codespaces/{codespace_name}/exports", "post" >; - /** - * @see https://docs.github.com/rest/reference/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace - */ - "POST /user/codespaces/{codespace_name}/publish": Operation< - "/user/codespaces/{codespace_name}/publish", - "post" - >; /** * @see https://docs.github.com/rest/reference/codespaces#start-a-codespace-for-the-authenticated-user */ @@ -5219,6 +5138,20 @@ export interface Endpoints { "/app/installations/{installation_id}/suspended", "put" >; + /** + * @see https://docs.github.com/rest/reference/actions#set-github-actions-permissions-for-an-enterprise + */ + "PUT /enterprises/{enterprise}/actions/permissions": Operation< + "/enterprises/{enterprise}/actions/permissions", + "put" + >; + /** + * @see https://docs.github.com/rest/reference/actions#set-selected-organizations-enabled-for-github-actions-in-an-enterprise + */ + "PUT /enterprises/{enterprise}/actions/permissions/organizations": Operation< + "/enterprises/{enterprise}/actions/permissions/organizations", + "put" + >; /** * @see https://docs.github.com/rest/reference/actions#enable-a-selected-organization-for-github-actions-in-an-enterprise */ @@ -5226,6 +5159,27 @@ export interface Endpoints { "/enterprises/{enterprise}/actions/permissions/organizations/{org_id}", "put" >; + /** + * @see https://docs.github.com/rest/reference/actions#set-allowed-actions-for-an-enterprise + */ + "PUT /enterprises/{enterprise}/actions/permissions/selected-actions": Operation< + "/enterprises/{enterprise}/actions/permissions/selected-actions", + "put" + >; + /** + * @see https://docs.github.com/rest/reference/actions#set-default-workflow-permissions-for-an-enterprise + */ + "PUT /enterprises/{enterprise}/actions/permissions/workflow": Operation< + "/enterprises/{enterprise}/actions/permissions/workflow", + "put" + >; + /** + * @see https://docs.github.com/rest/reference/actions#set-organization-access-to-a-self-hosted-runner-group-in-an-enterprise + */ + "PUT /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations": Operation< + "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations", + "put" + >; /** * @see https://docs.github.com/rest/reference/actions#add-organization-access-to-a-self-hosted-runner-group-in-an-enterprise */ @@ -5233,6 +5187,27 @@ export interface Endpoints { "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations/{org_id}", "put" >; + /** + * @see https://docs.github.com/rest/reference/actions#set-self-hosted-runners-in-a-group-for-an-enterprise + */ + "PUT /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners": Operation< + "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners", + "put" + >; + /** + * @see https://docs.github.com/rest/reference/actions#add-a-self-hosted-runner-to-a-group-for-an-enterprise + */ + "PUT /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners/{runner_id}": Operation< + "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners/{runner_id}", + "put" + >; + /** + * @see https://docs.github.com/rest/reference/actions#set-custom-labels-for-a-self-hosted-runner-for-an-enterprise + */ + "PUT /enterprises/{enterprise}/actions/runners/{runner_id}/labels": Operation< + "/enterprises/{enterprise}/actions/runners/{runner_id}/labels", + "put" + >; /** * @see https://docs.github.com/rest/reference/gists#star-a-gist */ @@ -5249,10 +5224,24 @@ export interface Endpoints { "put" >; /** - * @see https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-an-organization + * @see https://docs.github.com/rest/reference/codespaces#create-or-update-an-organization-secret + */ + "PUT /organizations/{org}/codespaces/secrets/{secret_name}": Operation< + "/organizations/{org}/codespaces/secrets/{secret_name}", + "put" + >; + /** + * @see https://docs.github.com/rest/reference/codespaces#set-selected-repositories-for-an-organization-secret */ - "PUT /orgs/{org}/actions/oidc/customization/sub": Operation< - "/orgs/{org}/actions/oidc/customization/sub", + "PUT /organizations/{org}/codespaces/secrets/{secret_name}/repositories": Operation< + "/organizations/{org}/codespaces/secrets/{secret_name}/repositories", + "put" + >; + /** + * @see https://docs.github.com/rest/reference/codespaces#add-selected-repository-to-an-organization-secret + */ + "PUT /organizations/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}": Operation< + "/organizations/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}", "put" >; /** @@ -5290,20 +5279,6 @@ export interface Endpoints { "/orgs/{org}/actions/permissions/workflow", "put" >; - /** - * @see https://docs.github.com/rest/reference/actions#set-selected-repositories-for-a-required-workflow - */ - "PUT /orgs/{org}/actions/required_workflows/{required_workflow_id}/repositories": Operation< - "/orgs/{org}/actions/required_workflows/{required_workflow_id}/repositories", - "put" - >; - /** - * @see https://docs.github.com/rest/reference/actions#add-a-repository-to-selected-repositories-list-for-a-required-workflow - */ - "PUT /orgs/{org}/actions/required_workflows/{required_workflow_id}/repositories/{repository_id}": Operation< - "/orgs/{org}/actions/required_workflows/{required_workflow_id}/repositories/{repository_id}", - "put" - >; /** * @see https://docs.github.com/rest/reference/actions#set-repository-access-to-a-self-hosted-runner-group-in-an-organization */ @@ -5353,20 +5328,6 @@ export interface Endpoints { "/orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}", "put" >; - /** - * @see https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable - */ - "PUT /orgs/{org}/actions/variables/{name}/repositories": Operation< - "/orgs/{org}/actions/variables/{name}/repositories", - "put" - >; - /** - * @see https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable - */ - "PUT /orgs/{org}/actions/variables/{name}/repositories/{repository_id}": Operation< - "/orgs/{org}/actions/variables/{name}/repositories/{repository_id}", - "put" - >; /** * @see https://docs.github.com/rest/reference/orgs#block-a-user-from-an-organization */ @@ -5374,34 +5335,6 @@ export interface Endpoints { "/orgs/{org}/blocks/{username}", "put" >; - /** - * @see https://docs.github.com/rest/reference/codespaces#set-codespaces-billing - */ - "PUT /orgs/{org}/codespaces/billing": Operation< - "/orgs/{org}/codespaces/billing", - "put" - >; - /** - * @see https://docs.github.com/rest/reference/codespaces#create-or-update-an-organization-secret - */ - "PUT /orgs/{org}/codespaces/secrets/{secret_name}": Operation< - "/orgs/{org}/codespaces/secrets/{secret_name}", - "put" - >; - /** - * @see https://docs.github.com/rest/reference/codespaces#set-selected-repositories-for-an-organization-secret - */ - "PUT /orgs/{org}/codespaces/secrets/{secret_name}/repositories": Operation< - "/orgs/{org}/codespaces/secrets/{secret_name}/repositories", - "put" - >; - /** - * @see https://docs.github.com/rest/reference/codespaces#add-selected-repository-to-an-organization-secret - */ - "PUT /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}": Operation< - "/orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}", - "put" - >; /** * @see https://docs.github.com/rest/reference/dependabot#create-or-update-an-organization-secret */ @@ -5486,13 +5419,6 @@ export interface Endpoints { "/projects/{project_id}/collaborators/{username}", "put" >; - /** - * @see https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository - */ - "PUT /repos/{owner}/{repo}/actions/oidc/customization/sub": Operation< - "/repos/{owner}/{repo}/actions/oidc/customization/sub", - "put" - >; /** * @see https://docs.github.com/rest/reference/actions#set-github-actions-permissions-for-a-repository */ @@ -5557,35 +5483,35 @@ export interface Endpoints { "put" >; /** - * @see https://docs.github.com/rest/branches/branch-protection#update-branch-protection + * @see https://docs.github.com/rest/reference/repos#update-branch-protection */ "PUT /repos/{owner}/{repo}/branches/{branch}/protection": Operation< "/repos/{owner}/{repo}/branches/{branch}/protection", "put" >; /** - * @see https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts + * @see https://docs.github.com/rest/reference/repos#set-status-check-contexts */ "PUT /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts": Operation< "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", "put" >; /** - * @see https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions + * @see https://docs.github.com/rest/reference/repos#set-app-access-restrictions */ "PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps": Operation< "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", "put" >; /** - * @see https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions + * @see https://docs.github.com/rest/reference/repos#set-team-access-restrictions */ "PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams": Operation< "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", "put" >; /** - * @see https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions + * @see https://docs.github.com/rest/reference/repos#set-user-access-restrictions */ "PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users": Operation< "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", @@ -5620,7 +5546,7 @@ export interface Endpoints { "put" >; /** - * @see https://docs.github.com/rest/deployments/environments#create-or-update-an-environment + * @see https://docs.github.com/rest/reference/repos#create-or-update-an-environment */ "PUT /repos/{owner}/{repo}/environments/{environment_name}": Operation< "/repos/{owner}/{repo}/environments/{environment_name}", @@ -5760,7 +5686,7 @@ export interface Endpoints { "put" >; /** - * @see https://docs.github.com/rest/reference/teams#add-or-update-team-repository-permissions-legacy + * @see https://docs.github.com/rest/reference/teams/#add-or-update-team-repository-permissions-legacy */ "PUT /teams/{team_id}/repos/{owner}/{repo}": Operation< "/teams/{team_id}/repos/{owner}/{repo}",