diff --git a/package-lock.json b/package-lock.json index e860d5cd5..9da1deed0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "0.0.0-development", "license": "MIT", "dependencies": { - "@octokit/openapi-types": "^14.0.0" + "@octokit/openapi-types": "^16.0.0" }, "devDependencies": { "@pika/pack": "^0.3.7", @@ -1935,9 +1935,9 @@ } }, "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==" + "version": "16.0.0", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-16.0.0.tgz", + "integrity": "sha512-JbFWOqTJVLHZSUUoF4FzAZKYtqdxWu9Z5m2QQnOyEa04fOFljvyh7D3GYKbfuaSWisqehImiVIMG4eyJeP5VEA==" }, "node_modules/@octokit/plugin-paginate-rest": { "version": "5.0.1", @@ -2034,6 +2034,12 @@ "@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", @@ -12737,9 +12743,9 @@ } }, "@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==" + "version": "16.0.0", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-16.0.0.tgz", + "integrity": "sha512-JbFWOqTJVLHZSUUoF4FzAZKYtqdxWu9Z5m2QQnOyEa04fOFljvyh7D3GYKbfuaSWisqehImiVIMG4eyJeP5VEA==" }, "@octokit/plugin-paginate-rest": { "version": "5.0.1", @@ -12811,6 +12817,14 @@ "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 ed7770384..46428a830 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ }, "description": "Shared TypeScript definitions for Octokit projects", "dependencies": { - "@octokit/openapi-types": "^14.0.0" + "@octokit/openapi-types": "^16.0.0" }, "scripts": { "build": "pika-pack build", @@ -105,6 +105,6 @@ ] }, "octokit": { - "openapi-version": "8.0.1" + "openapi-version": "10.0.0" } } diff --git a/scripts/update-endpoints/generated/endpoints.json b/scripts/update-endpoints/generated/endpoints.json index ce2db0319..c9dd83541 100644 --- a/scripts/update-endpoints/generated/endpoints.json +++ b/scripts/update-endpoints/generated/endpoints.json @@ -46,6 +46,45 @@ "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}", @@ -87,6 +126,29 @@ "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}", @@ -175,6 +237,25 @@ "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", @@ -217,6 +298,48 @@ "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", @@ -333,6 +456,22 @@ "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}", @@ -344,6 +483,17 @@ "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}", @@ -356,6 +506,34 @@ "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}", @@ -580,16 +758,6 @@ "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", @@ -633,6 +801,17 @@ "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", @@ -678,10 +857,22 @@ }, { "method": "GET", - "url": "/enterprises/{enterprise}/actions/permissions/workflow", - "documentationUrl": "https://docs.github.com/rest/reference/actions#get-default-workflow-permissions-for-an-enterprise", + "url": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "documentationUrl": "https://docs.github.com/rest/actions/variables#get-an-environment-variable", "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" } + { + "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" } ], "previews": [], "renamed": null @@ -761,6 +952,17 @@ "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", @@ -795,6 +997,40 @@ "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}", @@ -807,6 +1043,34 @@ "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", @@ -955,7 +1219,8 @@ { "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": "page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "name" } ], "previews": [], "renamed": null @@ -985,18 +1250,41 @@ }, { "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": "/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": "owner" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "run_id" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "filter" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } - ], - "previews": [], - "renamed": null + { + "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", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "run_id" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "filter" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null }, { "method": "GET", @@ -1053,6 +1341,18 @@ "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", @@ -1071,6 +1371,19 @@ "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", @@ -1084,6 +1397,19 @@ "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", @@ -1097,6 +1423,55 @@ "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", @@ -1136,6 +1511,19 @@ "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", @@ -1148,6 +1536,22 @@ "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", @@ -1437,6 +1841,45 @@ "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}", @@ -1558,21 +2001,22 @@ }, { "method": "PUT", - "url": "/enterprises/{enterprise}/actions/permissions/workflow", - "documentationUrl": "https://docs.github.com/rest/reference/actions#set-default-workflow-permissions-for-an-enterprise", + "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", "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "default_workflow_permissions" + "name": "use_default" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "can_approve_pull_request_reviews" + "name": "include_claim_keys" } ], "previews": [], @@ -1707,6 +2151,45 @@ "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", @@ -1759,44 +2242,128 @@ }, { "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", + "url": "/repositories/{repository_id}/environments/{environment_name}/variables/{name}", + "documentationUrl": "https://docs.github.com/rest/actions/variables#update-an-environment-variable", "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, { "alias": null, "deprecated": null, "in": "PATH", - "name": "runner_group_id" + "name": "repository_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": "allows_public_repositories" + "name": "selected_repository_ids" + } + ], + "previews": [], + "renamed": null + }, + { + "method": "PATCH", + "url": "/repos/{owner}/{repo}/actions/variables/{name}", + "documentationUrl": "https://docs.github.com/rest/actions/variables#update-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": "PATCH", + "url": "/orgs/{org}/actions/required_workflows/{required_workflow_id}", + "documentationUrl": "https://docs.github.com/rest/reference/actions#update-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": "restricted_to_workflows" + "name": "workflow_file_path" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "selected_workflows" + "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": "GET", - "url": "/user/starred/{owner}/{repo}", - "documentationUrl": "https://docs.github.com/rest/reference/activity#check-if-a-repository-is-starred-by-the-authenticated-user", + "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" } @@ -2344,6 +2911,12 @@ "in": "BODY", "name": "permissions.pull_requests" }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "permissions.repository_announcement_banners" + }, { "alias": null, "deprecated": null, @@ -2416,6 +2989,12 @@ "in": "BODY", "name": "permissions.organization_custom_roles" }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "permissions.organization_announcement_banners" + }, { "alias": null, "deprecated": null, @@ -2747,7 +3326,8 @@ "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": "cursor" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "redelivery" } ], "previews": [], "renamed": null @@ -2926,6 +3506,12 @@ "in": "BODY", "name": "permissions.pull_requests" }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "permissions.repository_announcement_banners" + }, { "alias": null, "deprecated": null, @@ -2998,6 +3584,12 @@ "in": "BODY", "name": "permissions.organization_custom_roles" }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "permissions.organization_announcement_banners" + }, { "alias": null, "deprecated": null, @@ -3123,30 +3715,6 @@ "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", @@ -3662,25 +4230,6 @@ "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", @@ -3695,7 +4244,8 @@ { "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": "sort" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "severity" } ], "previews": [], "renamed": null @@ -3816,7 +4366,8 @@ "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": "tool_name" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "validate" } ], "previews": [], "renamed": null @@ -3862,7 +4413,7 @@ }, { "method": "PUT", - "url": "/organizations/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}", + "url": "/orgs/{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" }, @@ -3972,7 +4523,7 @@ }, { "method": "PUT", - "url": "/organizations/{org}/codespaces/secrets/{secret_name}", + "url": "/orgs/{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" }, @@ -4193,7 +4744,7 @@ }, { "method": "DELETE", - "url": "/organizations/{org}/codespaces/secrets/{secret_name}", + "url": "/orgs/{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" }, @@ -4227,7 +4778,7 @@ { "method": "POST", "url": "/user/codespaces/{codespace_name}/exports", - "documentationUrl": "", + "documentationUrl": "https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user", "parameters": [ { "alias": null, @@ -4239,10 +4790,23 @@ "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": "", + "documentationUrl": "https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export", "parameters": [ { "alias": null, @@ -4272,7 +4836,7 @@ }, { "method": "GET", - "url": "/organizations/{org}/codespaces/secrets/public-key", + "url": "/orgs/{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" } @@ -4282,7 +4846,7 @@ }, { "method": "GET", - "url": "/organizations/{org}/codespaces/secrets/{secret_name}", + "url": "/orgs/{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" }, @@ -4390,7 +4954,7 @@ }, { "method": "GET", - "url": "/organizations/{org}/codespaces/secrets", + "url": "/orgs/{org}/codespaces/secrets", "documentationUrl": "https://docs.github.com/rest/reference/codespaces#list-organization-secrets", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, @@ -4436,7 +5000,7 @@ }, { "method": "GET", - "url": "/organizations/{org}/codespaces/secrets/{secret_name}/repositories", + "url": "/orgs/{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" }, @@ -4465,6 +5029,23 @@ "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}", @@ -4488,7 +5069,7 @@ }, { "method": "DELETE", - "url": "/organizations/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}", + "url": "/orgs/{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" }, @@ -4521,6 +5102,23 @@ "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", @@ -4544,7 +5142,7 @@ }, { "method": "PUT", - "url": "/organizations/{org}/codespaces/secrets/{secret_name}/repositories", + "url": "/orgs/{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" }, @@ -4799,6 +5397,50 @@ "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", @@ -4815,7 +5457,11 @@ { "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": "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" } ], "previews": [], "renamed": null @@ -5122,43 +5768,6 @@ "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", @@ -5207,33 +5816,6 @@ "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}", @@ -5245,37 +5827,6 @@ "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}", @@ -5294,303 +5845,37 @@ }, { "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", - "documentationUrl": "https://docs.github.com/rest/reference/actions#list-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" } - ], - "previews": [], - "renamed": null - }, - { - "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" - } + "url": "/enterprises/{enterprise}/actions/runners/{runner_id}/labels", + "documentationUrl": "https://docs.github.com/rest/reference/actions#list-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" } ], "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", + "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": "PATH", - "name": "runner_group_id" - }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "runners" } + "in": "QUERY", + "name": "visible_to_organization" + } ], "previews": [], "renamed": null }, { - "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", + "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" }, { @@ -5599,26 +5884,7 @@ "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" - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "runner_id" } ], "previews": [], "renamed": null @@ -6317,6 +6583,24 @@ "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", @@ -6857,7 +7141,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" }, @@ -7001,6 +7285,14 @@ "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", @@ -7014,7 +7306,7 @@ { "method": "GET", "url": "/zen", - "documentationUrl": "", + "documentationUrl": "https://docs.github.com/rest/meta#get-the-zen-of-github", "parameters": [], "previews": [], "renamed": null @@ -7480,6 +7772,32 @@ "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}", @@ -7563,25 +7881,6 @@ "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", @@ -7641,17 +7940,6 @@ "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}", @@ -7773,22 +8061,9 @@ "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" } - ], - "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" - } + { "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 @@ -7805,16 +8080,6 @@ "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", @@ -7937,7 +8202,8 @@ { "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": "cursor" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "redelivery" } ], "previews": [], "renamed": null @@ -8069,7 +8335,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" }, { @@ -8208,27 +8474,19 @@ "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": "description" + "name": "secret_scanning_push_protection_custom_link_enabled" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "base_role" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "permissions" } + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "secret_scanning_push_protection_custom_link" + } ], "previews": [], "renamed": null @@ -10279,7 +10537,7 @@ { "method": "POST", "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", - "documentationUrl": "https://docs.github.com/rest/reference/repos#add-app-access-restrictions", + "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -10305,7 +10563,7 @@ { "method": "POST", "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - "documentationUrl": "https://docs.github.com/rest/reference/repos#add-status-check-contexts", + "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -10318,7 +10576,7 @@ { "method": "POST", "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - "documentationUrl": "https://docs.github.com/rest/reference/repos#add-team-access-restrictions", + "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -10331,7 +10589,7 @@ { "method": "POST", "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - "documentationUrl": "https://docs.github.com/rest/reference/repos#add-user-access-restrictions", + "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -10448,7 +10706,7 @@ { "method": "POST", "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", - "documentationUrl": "https://docs.github.com/rest/reference/repos#create-commit-signature-protection", + "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -10481,7 +10739,7 @@ { "method": "POST", "url": "/repos/{owner}/{repo}/keys", - "documentationUrl": "https://docs.github.com/rest/reference/repos#create-a-deploy-key", + "documentationUrl": "https://docs.github.com/rest/deploy-keys#create-a-deploy-key", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -10495,7 +10753,7 @@ { "method": "POST", "url": "/repos/{owner}/{repo}/deployments", - "documentationUrl": "https://docs.github.com/rest/reference/repos#create-a-deployment", + "documentationUrl": "https://docs.github.com/rest/deployments/deployments#create-a-deployment", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -10558,7 +10816,7 @@ { "method": "POST", "url": "/repos/{owner}/{repo}/deployments/{deployment_id}/statuses", - "documentationUrl": "https://docs.github.com/rest/reference/repos#create-a-deployment-status", + "documentationUrl": "https://docs.github.com/rest/deployments/statuses#create-a-deployment-status", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -10645,6 +10903,12 @@ "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" }, { @@ -10772,6 +11036,12 @@ "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, @@ -10859,7 +11129,7 @@ { "method": "PUT", "url": "/repos/{owner}/{repo}/environments/{environment_name}", - "documentationUrl": "https://docs.github.com/rest/reference/repos#create-or-update-an-environment", + "documentationUrl": "https://docs.github.com/rest/deployments/environments#create-or-update-an-environment", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -11033,7 +11303,8 @@ "deprecated": null, "in": "BODY", "name": "generate_release_notes" - } + }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "make_latest" } ], "previews": [], "renamed": null @@ -11176,7 +11447,7 @@ { "method": "DELETE", "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions", - "documentationUrl": "https://docs.github.com/rest/reference/repos#delete-access-restrictions", + "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -11188,7 +11459,7 @@ { "method": "DELETE", "url": "/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", - "documentationUrl": "https://docs.github.com/rest/reference/repos#delete-admin-branch-protection", + "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -11200,7 +11471,7 @@ { "method": "DELETE", "url": "/repos/{owner}/{repo}/environments/{environment_name}", - "documentationUrl": "https://docs.github.com/rest/reference/repos#delete-an-environment", + "documentationUrl": "https://docs.github.com/rest/deployments/environments#delete-an-environment", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -11229,7 +11500,7 @@ { "method": "DELETE", "url": "/repos/{owner}/{repo}/branches/{branch}/protection", - "documentationUrl": "https://docs.github.com/rest/reference/repos#delete-branch-protection", + "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#delete-branch-protection", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -11253,7 +11524,7 @@ { "method": "DELETE", "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", - "documentationUrl": "https://docs.github.com/rest/reference/repos#delete-commit-signature-protection", + "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -11265,7 +11536,7 @@ { "method": "DELETE", "url": "/repos/{owner}/{repo}/keys/{key_id}", - "documentationUrl": "https://docs.github.com/rest/reference/repos#delete-a-deploy-key", + "documentationUrl": "https://docs.github.com/rest/deploy-keys#delete-a-deploy-key", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -11277,7 +11548,7 @@ { "method": "DELETE", "url": "/repos/{owner}/{repo}/deployments/{deployment_id}", - "documentationUrl": "https://docs.github.com/rest/reference/repos#delete-a-deployment", + "documentationUrl": "https://docs.github.com/rest/deployments/deployments#delete-a-deployment", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -11386,7 +11657,7 @@ { "method": "DELETE", "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", - "documentationUrl": "https://docs.github.com/rest/reference/repos#delete-pull-request-review-protection", + "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -11606,7 +11877,7 @@ { "method": "GET", "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions", - "documentationUrl": "https://docs.github.com/rest/reference/repos#get-access-restrictions", + "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#get-access-restrictions", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -11618,7 +11889,7 @@ { "method": "GET", "url": "/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", - "documentationUrl": "https://docs.github.com/rest/reference/repos#get-admin-branch-protection", + "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -11643,7 +11914,7 @@ { "method": "GET", "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - "documentationUrl": "https://docs.github.com/rest/reference/repos#get-all-status-check-contexts", + "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -11668,7 +11939,7 @@ { "method": "GET", "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", - "documentationUrl": "https://docs.github.com/rest/reference/repos#list-apps-with-access-to-the-protected-branch", + "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#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" }, @@ -11692,7 +11963,7 @@ { "method": "GET", "url": "/repos/{owner}/{repo}/branches/{branch}", - "documentationUrl": "https://docs.github.com/rest/reference/repos#get-a-branch", + "documentationUrl": "https://docs.github.com/rest/branches/branches#get-a-branch", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -11704,7 +11975,7 @@ { "method": "GET", "url": "/repos/{owner}/{repo}/branches/{branch}/protection", - "documentationUrl": "https://docs.github.com/rest/reference/repos#get-branch-protection", + "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#get-branch-protection", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -11802,7 +12073,7 @@ { "method": "GET", "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", - "documentationUrl": "https://docs.github.com/rest/reference/repos#get-commit-signature-protection", + "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -11849,7 +12120,7 @@ { "method": "GET", "url": "/repos/{owner}/{repo}/keys/{key_id}", - "documentationUrl": "https://docs.github.com/rest/reference/repos#get-a-deploy-key", + "documentationUrl": "https://docs.github.com/rest/deploy-keys#get-a-deploy-key", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -11861,7 +12132,7 @@ { "method": "GET", "url": "/repos/{owner}/{repo}/deployments/{deployment_id}", - "documentationUrl": "https://docs.github.com/rest/reference/repos#get-a-deployment", + "documentationUrl": "https://docs.github.com/rest/deployments/deployments#get-a-deployment", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -11901,7 +12172,7 @@ { "method": "GET", "url": "/repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}", - "documentationUrl": "https://docs.github.com/rest/reference/repos#get-a-deployment-status", + "documentationUrl": "https://docs.github.com/rest/deployments/statuses#get-a-deployment-status", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -11919,7 +12190,7 @@ { "method": "GET", "url": "/repos/{owner}/{repo}/environments/{environment_name}", - "documentationUrl": "https://docs.github.com/rest/reference/repos#get-an-environment", + "documentationUrl": "https://docs.github.com/rest/deployments/environments#get-an-environment", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -12003,7 +12274,7 @@ { "method": "GET", "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", - "documentationUrl": "https://docs.github.com/rest/reference/repos#get-pull-request-review-protection", + "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -12087,7 +12358,7 @@ { "method": "GET", "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", - "documentationUrl": "https://docs.github.com/rest/reference/repos#get-status-checks-protection", + "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -12099,7 +12370,7 @@ { "method": "GET", "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - "documentationUrl": "https://docs.github.com/rest/reference/repos#list-teams-with-access-to-the-protected-branch", + "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#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" }, @@ -12133,7 +12404,7 @@ { "method": "GET", "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - "documentationUrl": "https://docs.github.com/rest/reference/repos#list-users-with-access-to-the-protected-branch", + "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#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" }, @@ -12206,7 +12477,7 @@ { "method": "GET", "url": "/repos/{owner}/{repo}/branches", - "documentationUrl": "https://docs.github.com/rest/reference/repos#list-branches", + "documentationUrl": "https://docs.github.com/rest/branches/branches#list-branches", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -12330,7 +12601,7 @@ { "method": "GET", "url": "/repos/{owner}/{repo}/keys", - "documentationUrl": "https://docs.github.com/rest/reference/repos#list-deploy-keys", + "documentationUrl": "https://docs.github.com/rest/deploy-keys#list-deploy-keys", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -12362,7 +12633,7 @@ { "method": "GET", "url": "/repos/{owner}/{repo}/deployments/{deployment_id}/statuses", - "documentationUrl": "https://docs.github.com/rest/reference/repos#list-deployment-statuses", + "documentationUrl": "https://docs.github.com/rest/deployments/statuses#list-deployment-statuses", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -12381,7 +12652,7 @@ { "method": "GET", "url": "/repos/{owner}/{repo}/deployments", - "documentationUrl": "https://docs.github.com/rest/reference/repos#list-deployments", + "documentationUrl": "https://docs.github.com/rest/deployments/deployments#list-deployments", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -12617,7 +12888,8 @@ { "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": "cursor" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "redelivery" } ], "previews": [], "renamed": null @@ -12638,7 +12910,7 @@ { "method": "POST", "url": "/repos/{owner}/{repo}/merges", - "documentationUrl": "https://docs.github.com/rest/reference/repos#merge-a-branch", + "documentationUrl": "https://docs.github.com/rest/branches/branches#merge-a-branch", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -12657,7 +12929,7 @@ { "method": "POST", "url": "/repos/{owner}/{repo}/merge-upstream", - "documentationUrl": "https://docs.github.com/rest/reference/repos#sync-a-fork-branch-with-the-upstream-repository", + "documentationUrl": "https://docs.github.com/rest/branches/branches#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" }, @@ -12694,7 +12966,7 @@ { "method": "DELETE", "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", - "documentationUrl": "https://docs.github.com/rest/reference/repos#remove-app-access-restrictions", + "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -12719,7 +12991,7 @@ { "method": "DELETE", "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - "documentationUrl": "https://docs.github.com/rest/reference/repos#remove-status-check-contexts", + "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -12732,7 +13004,7 @@ { "method": "DELETE", "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", - "documentationUrl": "https://docs.github.com/rest/reference/repos#remove-status-check-protection", + "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -12744,7 +13016,7 @@ { "method": "DELETE", "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - "documentationUrl": "https://docs.github.com/rest/reference/repos#remove-team-access-restrictions", + "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -12757,7 +13029,7 @@ { "method": "DELETE", "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - "documentationUrl": "https://docs.github.com/rest/reference/repos#remove-user-access-restrictions", + "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -12770,7 +13042,7 @@ { "method": "POST", "url": "/repos/{owner}/{repo}/branches/{branch}/rename", - "documentationUrl": "https://docs.github.com/rest/reference/repos#rename-a-branch", + "documentationUrl": "https://docs.github.com/rest/branches/branches#rename-a-branch", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -12806,7 +13078,7 @@ { "method": "POST", "url": "/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", - "documentationUrl": "https://docs.github.com/rest/reference/repos#set-admin-branch-protection", + "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -12818,7 +13090,7 @@ { "method": "PUT", "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", - "documentationUrl": "https://docs.github.com/rest/reference/repos#set-app-access-restrictions", + "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -12831,7 +13103,7 @@ { "method": "PUT", "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - "documentationUrl": "https://docs.github.com/rest/reference/repos#set-status-check-contexts", + "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -12844,7 +13116,7 @@ { "method": "PUT", "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - "documentationUrl": "https://docs.github.com/rest/reference/repos#set-team-access-restrictions", + "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -12857,7 +13129,7 @@ { "method": "PUT", "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - "documentationUrl": "https://docs.github.com/rest/reference/repos#set-user-access-restrictions", + "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -12887,6 +13159,7 @@ { "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": [], @@ -12895,7 +13168,7 @@ { "method": "PATCH", "url": "/repos/{owner}/{repo}", - "documentationUrl": "https://docs.github.com/rest/reference/repos/#update-a-repository", + "documentationUrl": "https://docs.github.com/rest/repos/repos#update-a-repository", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -13057,7 +13330,7 @@ { "method": "PUT", "url": "/repos/{owner}/{repo}/branches/{branch}/protection", - "documentationUrl": "https://docs.github.com/rest/reference/repos#update-branch-protection", + "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#update-branch-protection", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -13152,6 +13425,12 @@ "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, @@ -13229,6 +13508,18 @@ "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": [], @@ -13285,7 +13576,6 @@ "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" } ], @@ -13313,7 +13603,7 @@ { "method": "PATCH", "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", - "documentationUrl": "https://docs.github.com/rest/reference/repos#update-pull-request-review-protection", + "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -13360,6 +13650,12 @@ "in": "BODY", "name": "required_approving_review_count" }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "require_last_push_approval" + }, { "alias": null, "deprecated": null, @@ -13407,6 +13703,12 @@ { "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, @@ -13435,7 +13737,7 @@ { "method": "PATCH", "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", - "documentationUrl": "https://docs.github.com/rest/reference/repos#update-status-check-protection", + "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#update-status-check-protection", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -13462,7 +13764,7 @@ { "method": "PATCH", "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", - "documentationUrl": "https://docs.github.com/rest/reference/repos#update-status-check-protection", + "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#update-status-check-protection", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -13700,6 +14002,16 @@ "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", @@ -13806,6 +14118,57 @@ "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}", @@ -13909,7 +14272,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" }, @@ -15043,7 +15406,10 @@ "method": "GET", "url": "/user/blocks", "documentationUrl": "https://docs.github.com/rest/reference/users#list-users-blocked-by-the-authenticated-user", - "parameters": [], + "parameters": [ + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], "previews": [], "renamed": { "note": null } }, @@ -15051,7 +15417,10 @@ "method": "GET", "url": "/user/blocks", "documentationUrl": "https://docs.github.com/rest/reference/users#list-users-blocked-by-the-authenticated-user", - "parameters": [], + "parameters": [ + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], "previews": [], "renamed": null }, diff --git a/src/generated/Endpoints.ts b/src/generated/Endpoints.ts index 8c8b5a925..64c30b26d 100644 --- a/src/generated/Endpoints.ts +++ b/src/generated/Endpoints.ts @@ -133,27 +133,6 @@ 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 */ @@ -168,20 +147,6 @@ 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 */ @@ -209,24 +174,24 @@ export interface Endpoints { "delete" >; /** - * @see https://docs.github.com/rest/reference/codespaces#delete-an-organization-secret + * @see https://docs.github.com/rest/reference/actions#disable-a-selected-repository-for-github-actions-in-an-organization */ - "DELETE /organizations/{org}/codespaces/secrets/{secret_name}": Operation< - "/organizations/{org}/codespaces/secrets/{secret_name}", + "DELETE /orgs/{org}/actions/permissions/repositories/{repository_id}": Operation< + "/orgs/{org}/actions/permissions/repositories/{repository_id}", "delete" >; /** - * @see https://docs.github.com/rest/reference/codespaces#remove-selected-repository-from-an-organization-secret + * @see https://docs.github.com/rest/reference/actions#delete-a-required-workflow */ - "DELETE /organizations/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}": Operation< - "/organizations/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}", + "DELETE /orgs/{org}/actions/required_workflows/{required_workflow_id}": Operation< + "/orgs/{org}/actions/required_workflows/{required_workflow_id}", "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/actions#remove-a-repository-from-selected-repositories-list-for-a-required-workflow */ - "DELETE /orgs/{org}/actions/permissions/repositories/{repository_id}": Operation< - "/orgs/{org}/actions/permissions/repositories/{repository_id}", + "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" >; /** @@ -285,6 +250,20 @@ 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 */ @@ -293,10 +272,17 @@ export interface Endpoints { "delete" >; /** - * @see https://docs.github.com/rest/reference/orgs#delete-a-custom-role + * @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 */ - "DELETE /orgs/{org}/custom_roles/{role_id}": Operation< - "/orgs/{org}/custom_roles/{role_id}", + "DELETE /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}": Operation< + "/orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}", "delete" >; /** @@ -555,6 +541,13 @@ 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 */ @@ -570,70 +563,70 @@ export interface Endpoints { "delete" >; /** - * @see https://docs.github.com/rest/reference/repos#delete-branch-protection + * @see https://docs.github.com/rest/branches/branch-protection#delete-branch-protection */ "DELETE /repos/{owner}/{repo}/branches/{branch}/protection": Operation< "/repos/{owner}/{repo}/branches/{branch}/protection", "delete" >; /** - * @see https://docs.github.com/rest/reference/repos#delete-admin-branch-protection + * @see https://docs.github.com/rest/branches/branch-protection#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/reference/repos#delete-pull-request-review-protection + * @see https://docs.github.com/rest/branches/branch-protection#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/reference/repos#delete-commit-signature-protection + * @see https://docs.github.com/rest/branches/branch-protection#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/reference/repos#remove-status-check-protection + * @see https://docs.github.com/rest/branches/branch-protection#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/reference/repos#remove-status-check-contexts + * @see https://docs.github.com/rest/branches/branch-protection#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/reference/repos#delete-access-restrictions + * @see https://docs.github.com/rest/branches/branch-protection#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/reference/repos#remove-app-access-restrictions + * @see https://docs.github.com/rest/branches/branch-protection#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/reference/repos#remove-team-access-restrictions + * @see https://docs.github.com/rest/branches/branch-protection#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/reference/repos#remove-user-access-restrictions + * @see https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions */ "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users": Operation< "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", @@ -689,14 +682,14 @@ export interface Endpoints { "delete" >; /** - * @see https://docs.github.com/rest/reference/repos#delete-a-deployment + * @see https://docs.github.com/rest/deployments/deployments#delete-a-deployment */ "DELETE /repos/{owner}/{repo}/deployments/{deployment_id}": Operation< "/repos/{owner}/{repo}/deployments/{deployment_id}", "delete" >; /** - * @see https://docs.github.com/rest/reference/repos#delete-an-environment + * @see https://docs.github.com/rest/deployments/environments#delete-an-environment */ "DELETE /repos/{owner}/{repo}/environments/{environment_name}": Operation< "/repos/{owner}/{repo}/environments/{environment_name}", @@ -794,7 +787,7 @@ export interface Endpoints { "delete" >; /** - * @see https://docs.github.com/rest/reference/repos#delete-a-deploy-key + * @see https://docs.github.com/rest/deploy-keys#delete-a-deploy-key */ "DELETE /repos/{owner}/{repo}/keys/{key_id}": Operation< "/repos/{owner}/{repo}/keys/{key_id}", @@ -905,6 +898,13 @@ 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,48 +1128,6 @@ 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 */ @@ -1184,41 +1142,6 @@ export interface Endpoints { "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}", "get" >; - /** - * @see https://docs.github.com/rest/reference/actions#list-organization-access-to-a-self-hosted-runner-group-in-a-enterprise - */ - "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/reference/actions#list-self-hosted-runners-for-an-enterprise - */ - "GET /enterprises/{enterprise}/actions/runners": Operation< - "/enterprises/{enterprise}/actions/runners", - "get" - >; - /** - * @see https://docs.github.com/rest/reference/actions#list-runner-applications-for-an-enterprise - */ - "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 */ @@ -1227,24 +1150,24 @@ export interface Endpoints { "get" >; /** - * @see https://docs.github.com/rest/reference/code-scanning#list-code-scanning-alerts-for-an-enterprise + * @see https://docs.github.com/rest/enterprise-admin#get-code-security-analysis-features-for-an-enterprise */ - "GET /enterprises/{enterprise}/code-scanning/alerts": Operation< - "/enterprises/{enterprise}/code-scanning/alerts", + "GET /enterprises/{enterprise}/code_security_and_analysis": Operation< + "/enterprises/{enterprise}/code_security_and_analysis", "get" >; /** - * @see https://docs.github.com/rest/reference/secret-scanning#list-secret-scanning-alerts-for-an-enterprise + * @see https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise */ - "GET /enterprises/{enterprise}/secret-scanning/alerts": Operation< - "/enterprises/{enterprise}/secret-scanning/alerts", + "GET /enterprises/{enterprise}/dependabot/alerts": Operation< + "/enterprises/{enterprise}/dependabot/alerts", "get" >; /** - * @see https://docs.github.com/rest/reference/billing#export-advanced-security-active-committers-data-for-enterprise + * @see https://docs.github.com/rest/reference/secret-scanning#list-secret-scanning-alerts-for-an-enterprise */ - "GET /enterprises/{enterprise}/settings/billing/advanced-security": Operation< - "/enterprises/{enterprise}/settings/billing/advanced-security", + "GET /enterprises/{enterprise}/secret-scanning/alerts": Operation< + "/enterprises/{enterprise}/secret-scanning/alerts", "get" >; /** @@ -1410,41 +1333,6 @@ 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" @@ -1468,6 +1356,13 @@ 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 */ @@ -1496,6 +1391,27 @@ 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 */ @@ -1580,6 +1496,27 @@ 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 */ @@ -1602,6 +1539,41 @@ 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 */ @@ -1641,13 +1613,6 @@ 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 */ @@ -1724,6 +1689,13 @@ 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 */ @@ -1831,13 +1803,6 @@ 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 */ @@ -2011,6 +1976,27 @@ 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 */ @@ -2064,6 +2050,13 @@ 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 */ @@ -2092,6 +2085,13 @@ 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,6 +2218,20 @@ 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 */ @@ -2275,84 +2289,84 @@ export interface Endpoints { "get" >; /** - * @see https://docs.github.com/rest/reference/repos#list-branches + * @see https://docs.github.com/rest/branches/branches#list-branches */ "GET /repos/{owner}/{repo}/branches": Operation< "/repos/{owner}/{repo}/branches", "get" >; /** - * @see https://docs.github.com/rest/reference/repos#get-a-branch + * @see https://docs.github.com/rest/branches/branches#get-a-branch */ "GET /repos/{owner}/{repo}/branches/{branch}": Operation< "/repos/{owner}/{repo}/branches/{branch}", "get" >; /** - * @see https://docs.github.com/rest/reference/repos#get-branch-protection + * @see https://docs.github.com/rest/branches/branch-protection#get-branch-protection */ "GET /repos/{owner}/{repo}/branches/{branch}/protection": Operation< "/repos/{owner}/{repo}/branches/{branch}/protection", "get" >; /** - * @see https://docs.github.com/rest/reference/repos#get-admin-branch-protection + * @see https://docs.github.com/rest/branches/branch-protection#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/reference/repos#get-pull-request-review-protection + * @see https://docs.github.com/rest/branches/branch-protection#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/reference/repos#get-commit-signature-protection + * @see https://docs.github.com/rest/branches/branch-protection#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/reference/repos#get-status-checks-protection + * @see https://docs.github.com/rest/branches/branch-protection#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/reference/repos#get-all-status-check-contexts + * @see https://docs.github.com/rest/branches/branch-protection#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/reference/repos#get-access-restrictions + * @see https://docs.github.com/rest/branches/branch-protection#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/reference/repos#list-apps-with-access-to-the-protected-branch + * @see https://docs.github.com/rest/branches/branch-protection#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/reference/repos#list-teams-with-access-to-the-protected-branch + * @see https://docs.github.com/rest/branches/branch-protection#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/reference/repos#list-users-with-access-to-the-protected-branch + * @see https://docs.github.com/rest/branches/branch-protection#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", @@ -2689,28 +2703,28 @@ export interface Endpoints { "get" >; /** - * @see https://docs.github.com/rest/reference/repos#list-deployments + * @see https://docs.github.com/rest/deployments/deployments#list-deployments */ "GET /repos/{owner}/{repo}/deployments": Operation< "/repos/{owner}/{repo}/deployments", "get" >; /** - * @see https://docs.github.com/rest/reference/repos#get-a-deployment + * @see https://docs.github.com/rest/deployments/deployments#get-a-deployment */ "GET /repos/{owner}/{repo}/deployments/{deployment_id}": Operation< "/repos/{owner}/{repo}/deployments/{deployment_id}", "get" >; /** - * @see https://docs.github.com/rest/reference/repos#list-deployment-statuses + * @see https://docs.github.com/rest/deployments/statuses#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/reference/repos#get-a-deployment-status + * @see https://docs.github.com/rest/deployments/statuses#get-a-deployment-status */ "GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}": Operation< "/repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}", @@ -2724,7 +2738,7 @@ export interface Endpoints { "get" >; /** - * @see https://docs.github.com/rest/reference/repos#get-an-environment + * @see https://docs.github.com/rest/deployments/environments#get-an-environment */ "GET /repos/{owner}/{repo}/environments/{environment_name}": Operation< "/repos/{owner}/{repo}/environments/{environment_name}", @@ -2926,6 +2940,13 @@ 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 */ @@ -2962,14 +2983,14 @@ export interface Endpoints { "get" >; /** - * @see https://docs.github.com/rest/reference/repos#list-deploy-keys + * @see https://docs.github.com/rest/deploy-keys#list-deploy-keys */ "GET /repos/{owner}/{repo}/keys": Operation< "/repos/{owner}/{repo}/keys", "get" >; /** - * @see https://docs.github.com/rest/reference/repos#get-a-deploy-key + * @see https://docs.github.com/rest/deploy-keys#get-a-deploy-key */ "GET /repos/{owner}/{repo}/keys/{key_id}": Operation< "/repos/{owner}/{repo}/keys/{key_id}", @@ -3406,6 +3427,20 @@ 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 */ @@ -3583,7 +3618,7 @@ export interface Endpoints { "get" >; /** - * @see + * @see https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export */ "GET /user/codespaces/{codespace_name}/exports/{export_id}": Operation< "/user/codespaces/{codespace_name}/exports/{export_id}", @@ -3953,7 +3988,11 @@ export interface Endpoints { "get" >; /** - * @see + * @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 */ "GET /zen": Operation<"/zen", "get">; /** @@ -3968,10 +4007,10 @@ export interface Endpoints { "patch" >; /** - * @see https://docs.github.com/rest/reference/actions#update-a-self-hosted-runner-group-for-an-enterprise + * @see https://docs.github.com/rest/enterprise-admin#update-code-security-and-analysis-features-for-an-enterprise */ - "PATCH /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}": Operation< - "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}", + "PATCH /enterprises/{enterprise}/code_security_and_analysis": Operation< + "/enterprises/{enterprise}/code_security_and_analysis", "patch" >; /** @@ -3993,9 +4032,16 @@ 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 */ @@ -4004,10 +4050,10 @@ export interface Endpoints { "patch" >; /** - * @see https://docs.github.com/rest/reference/orgs#update-a-custom-role + * @see https://docs.github.com/rest/actions/variables#update-an-organization-variable */ - "PATCH /orgs/{org}/custom_roles/{role_id}": Operation< - "/orgs/{org}/custom_roles/{role_id}", + "PATCH /orgs/{org}/actions/variables/{name}": Operation< + "/orgs/{org}/actions/variables/{name}", "patch" >; /** @@ -4064,18 +4110,25 @@ export interface Endpoints { */ "PATCH /projects/{project_id}": Operation<"/projects/{project_id}", "patch">; /** - * @see https://docs.github.com/rest/reference/repos/#update-a-repository + * @see https://docs.github.com/rest/repos/repos#update-a-repository */ "PATCH /repos/{owner}/{repo}": Operation<"/repos/{owner}/{repo}", "patch">; /** - * @see https://docs.github.com/rest/reference/repos#update-pull-request-review-protection + * @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 */ "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/reference/repos#update-status-check-protection + * @see https://docs.github.com/rest/branches/branch-protection#update-status-check-protection */ "PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks": Operation< "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", @@ -4173,7 +4226,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}", @@ -4228,6 +4281,13 @@ 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 */ @@ -4318,24 +4378,17 @@ export interface Endpoints { "post" >; /** - * @see https://docs.github.com/rest/reference/actions#create-a-registration-token-for-an-enterprise - */ - "POST /enterprises/{enterprise}/actions/runners/registration-token": Operation< - "/enterprises/{enterprise}/actions/runners/registration-token", - "post" - >; - /** - * @see https://docs.github.com/rest/reference/actions#create-a-remove-token-for-an-enterprise + * @see https://docs.github.com/rest/reference/actions#add-custom-labels-to-a-self-hosted-runner-for-an-enterprise */ - "POST /enterprises/{enterprise}/actions/runners/remove-token": Operation< - "/enterprises/{enterprise}/actions/runners/remove-token", + "POST /enterprises/{enterprise}/actions/runners/{runner_id}/labels": Operation< + "/enterprises/{enterprise}/actions/runners/{runner_id}/labels", "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/enterprise-admin#enable-or-disable-a-security-feature */ - "POST /enterprises/{enterprise}/actions/runners/{runner_id}/labels": Operation< - "/enterprises/{enterprise}/actions/runners/{runner_id}/labels", + "POST /enterprises/{enterprise}/{security_product}/{enablement}": Operation< + "/enterprises/{enterprise}/{security_product}/{enablement}", "post" >; /** @@ -4361,6 +4414,13 @@ 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 */ @@ -4390,10 +4450,10 @@ export interface Endpoints { "post" >; /** - * @see https://docs.github.com/rest/reference/orgs#create-a-custom-role + * @see https://docs.github.com/rest/actions/variables#create-an-organization-variable */ - "POST /orgs/{org}/custom_roles": Operation< - "/orgs/{org}/custom_roles", + "POST /orgs/{org}/actions/variables": Operation< + "/orgs/{org}/actions/variables", "post" >; /** @@ -4581,6 +4641,13 @@ 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 */ @@ -4596,49 +4663,49 @@ export interface Endpoints { "post" >; /** - * @see https://docs.github.com/rest/reference/repos#set-admin-branch-protection + * @see https://docs.github.com/rest/branches/branch-protection#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/reference/repos#create-commit-signature-protection + * @see https://docs.github.com/rest/branches/branch-protection#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/reference/repos#add-status-check-contexts + * @see https://docs.github.com/rest/branches/branch-protection#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/reference/repos#add-app-access-restrictions + * @see https://docs.github.com/rest/branches/branch-protection#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/reference/repos#add-team-access-restrictions + * @see https://docs.github.com/rest/branches/branch-protection#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/reference/repos#add-user-access-restrictions + * @see https://docs.github.com/rest/branches/branch-protection#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/reference/repos#rename-a-branch + * @see https://docs.github.com/rest/branches/branches#rename-a-branch */ "POST /repos/{owner}/{repo}/branches/{branch}/rename": Operation< "/repos/{owner}/{repo}/branches/{branch}/rename", @@ -4708,14 +4775,14 @@ export interface Endpoints { "post" >; /** - * @see https://docs.github.com/rest/reference/repos#create-a-deployment + * @see https://docs.github.com/rest/deployments/deployments#create-a-deployment */ "POST /repos/{owner}/{repo}/deployments": Operation< "/repos/{owner}/{repo}/deployments", "post" >; /** - * @see https://docs.github.com/rest/reference/repos#create-a-deployment-status + * @see https://docs.github.com/rest/deployments/statuses#create-a-deployment-status */ "POST /repos/{owner}/{repo}/deployments/{deployment_id}/statuses": Operation< "/repos/{owner}/{repo}/deployments/{deployment_id}/statuses", @@ -4848,7 +4915,7 @@ export interface Endpoints { "post" >; /** - * @see https://docs.github.com/rest/reference/repos#create-a-deploy-key + * @see https://docs.github.com/rest/deploy-keys#create-a-deploy-key */ "POST /repos/{owner}/{repo}/keys": Operation< "/repos/{owner}/{repo}/keys", @@ -4862,14 +4929,14 @@ export interface Endpoints { "post" >; /** - * @see https://docs.github.com/rest/reference/repos#sync-a-fork-branch-with-the-upstream-repository + * @see https://docs.github.com/rest/branches/branches#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/reference/repos#merge-a-branch + * @see https://docs.github.com/rest/branches/branches#merge-a-branch */ "POST /repos/{owner}/{repo}/merges": Operation< "/repos/{owner}/{repo}/merges", @@ -5015,6 +5082,13 @@ 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 */ @@ -5048,12 +5122,19 @@ export interface Endpoints { */ "POST /user/codespaces": Operation<"/user/codespaces", "post">; /** - * @see + * @see https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user */ "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 */ @@ -5138,20 +5219,6 @@ 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 */ @@ -5159,27 +5226,6 @@ 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 */ @@ -5187,27 +5233,6 @@ 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 */ @@ -5224,24 +5249,10 @@ export interface Endpoints { "put" >; /** - * @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 + * @see https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-an-organization */ - "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 /orgs/{org}/actions/oidc/customization/sub": Operation< + "/orgs/{org}/actions/oidc/customization/sub", "put" >; /** @@ -5279,6 +5290,20 @@ 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 */ @@ -5328,6 +5353,20 @@ 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 */ @@ -5335,6 +5374,34 @@ 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 */ @@ -5419,6 +5486,13 @@ 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 */ @@ -5483,35 +5557,35 @@ export interface Endpoints { "put" >; /** - * @see https://docs.github.com/rest/reference/repos#update-branch-protection + * @see https://docs.github.com/rest/branches/branch-protection#update-branch-protection */ "PUT /repos/{owner}/{repo}/branches/{branch}/protection": Operation< "/repos/{owner}/{repo}/branches/{branch}/protection", "put" >; /** - * @see https://docs.github.com/rest/reference/repos#set-status-check-contexts + * @see https://docs.github.com/rest/branches/branch-protection#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/reference/repos#set-app-access-restrictions + * @see https://docs.github.com/rest/branches/branch-protection#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/reference/repos#set-team-access-restrictions + * @see https://docs.github.com/rest/branches/branch-protection#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/reference/repos#set-user-access-restrictions + * @see https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions */ "PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users": Operation< "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", @@ -5546,7 +5620,7 @@ export interface Endpoints { "put" >; /** - * @see https://docs.github.com/rest/reference/repos#create-or-update-an-environment + * @see https://docs.github.com/rest/deployments/environments#create-or-update-an-environment */ "PUT /repos/{owner}/{repo}/environments/{environment_name}": Operation< "/repos/{owner}/{repo}/environments/{environment_name}", @@ -5686,7 +5760,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}",