diff --git a/package-lock.json b/package-lock.json index acb8b19de..de368eb38 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "0.0.0-development", "license": "MIT", "dependencies": { - "@octokit/openapi-types": "^16.0.0" + "@octokit/openapi-types": "^16.1.0" }, "devDependencies": { "@pika/pack": "^0.3.7", @@ -1973,9 +1973,9 @@ } }, "node_modules/@octokit/openapi-types": { - "version": "16.0.0", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-16.0.0.tgz", - "integrity": "sha512-JbFWOqTJVLHZSUUoF4FzAZKYtqdxWu9Z5m2QQnOyEa04fOFljvyh7D3GYKbfuaSWisqehImiVIMG4eyJeP5VEA==" + "version": "16.1.0", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-16.1.0.tgz", + "integrity": "sha512-+m6+376kp4gZAYtg64aXGHK2qM2LtIiZctqtbTnETdUaD7OSuX7zDV5kciqw1QIN13lg9jWz039OF7NZUdYEeQ==" }, "node_modules/@octokit/plugin-paginate-rest": { "version": "6.0.0", @@ -13811,9 +13811,9 @@ } }, "@octokit/openapi-types": { - "version": "16.0.0", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-16.0.0.tgz", - "integrity": "sha512-JbFWOqTJVLHZSUUoF4FzAZKYtqdxWu9Z5m2QQnOyEa04fOFljvyh7D3GYKbfuaSWisqehImiVIMG4eyJeP5VEA==" + "version": "16.1.0", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-16.1.0.tgz", + "integrity": "sha512-+m6+376kp4gZAYtg64aXGHK2qM2LtIiZctqtbTnETdUaD7OSuX7zDV5kciqw1QIN13lg9jWz039OF7NZUdYEeQ==" }, "@octokit/plugin-paginate-rest": { "version": "6.0.0", diff --git a/package.json b/package.json index aaab65620..c2eeefa87 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ }, "description": "Shared TypeScript definitions for Octokit projects", "dependencies": { - "@octokit/openapi-types": "^16.0.0" + "@octokit/openapi-types": "^16.1.0" }, "scripts": { "build": "pika-pack build", @@ -105,6 +105,6 @@ ] }, "octokit": { - "openapi-version": "10.0.0" + "openapi-version": "11.0.0" } } diff --git a/scripts/update-endpoints/generated/endpoints.json b/scripts/update-endpoints/generated/endpoints.json index c9dd83541..40f237bf3 100644 --- a/scripts/update-endpoints/generated/endpoints.json +++ b/scripts/update-endpoints/generated/endpoints.json @@ -85,23 +85,6 @@ "previews": [], "renamed": null }, - { - "method": "PUT", - "url": "/orgs/{org}/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-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": "PATH", "name": "runner_id" } - ], - "previews": [], - "renamed": null - }, { "method": "POST", "url": "/repos/{owner}/{repo}/actions/runs/{run_id}/approve", @@ -340,43 +323,6 @@ "previews": [], "renamed": null }, - { - "method": "POST", - "url": "/orgs/{org}/actions/runner-groups", - "documentationUrl": "https://docs.github.com/rest/reference/actions#create-a-self-hosted-runner-group-for-an-organization", - "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "name" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "visibility" }, - { - "alias": null, - "deprecated": null, - "in": "BODY", - "name": "selected_repository_ids" - }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "runners" }, - { - "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": "POST", "url": "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches", @@ -467,7 +413,13 @@ "in": "PATH", "name": "repository_id" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "name" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "name" }, + { + "alias": null, + "deprecated": null, + "in": "PATH", + "name": "environment_name" + } ], "previews": [], "renamed": null @@ -557,22 +509,6 @@ "previews": [], "renamed": null }, - { - "method": "DELETE", - "url": "/orgs/{org}/actions/runner-groups/{runner_group_id}", - "documentationUrl": "https://docs.github.com/rest/reference/actions#delete-a-self-hosted-runner-group-from-an-organization", - "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, - { - "alias": null, - "deprecated": null, - "in": "PATH", - "name": "runner_group_id" - } - ], - "previews": [], - "renamed": null - }, { "method": "DELETE", "url": "/repos/{owner}/{repo}/actions/runs/{run_id}", @@ -1106,22 +1042,6 @@ "previews": [], "renamed": null }, - { - "method": "GET", - "url": "/orgs/{org}/actions/runner-groups/{runner_group_id}", - "documentationUrl": "https://docs.github.com/rest/reference/actions#get-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" - } - ], - "previews": [], - "renamed": null - }, { "method": "GET", "url": "/repos/{owner}/{repo}/actions/workflows/{workflow_id}", @@ -1355,18 +1275,26 @@ }, { "method": "GET", - "url": "/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories", - "documentationUrl": "https://docs.github.com/rest/reference/actions#list-repository-access-to-a-self-hosted-runner-group-in-an-organization", + "url": "/repos/{owner}/{repo}/actions/organization-secrets", + "documentationUrl": "https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets", "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, - { - "alias": null, - "deprecated": null, - "in": "PATH", - "name": "runner_group_id" - }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" } + { "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/organization-variables", + "documentationUrl": "https://docs.github.com/rest/actions/variables#list-repository-organization-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 @@ -1552,24 +1480,6 @@ "previews": [], "renamed": null }, - { - "method": "GET", - "url": "/orgs/{org}/actions/runner-groups", - "documentationUrl": "https://docs.github.com/rest/reference/actions#list-self-hosted-runner-groups-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" }, - { - "alias": null, - "deprecated": null, - "in": "QUERY", - "name": "visible_to_repository" - } - ], - "previews": [], - "renamed": null - }, { "method": "GET", "url": "/orgs/{org}/actions/runners", @@ -1595,24 +1505,6 @@ "previews": [], "renamed": null }, - { - "method": "GET", - "url": "/orgs/{org}/actions/runner-groups/{runner_group_id}/runners", - "documentationUrl": "https://docs.github.com/rest/reference/actions#list-self-hosted-runners-in-a-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": "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}/artifacts", @@ -1797,28 +1689,6 @@ "previews": [], "renamed": null }, - { - "method": "DELETE", - "url": "/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}", - "documentationUrl": "https://docs.github.com/rest/reference/actions#remove-repository-access-to-a-self-hosted-runner-group-in-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": "PATH", - "name": "repository_id" - } - ], - "previews": [], - "renamed": null - }, { "method": "DELETE", "url": "/orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}", @@ -1880,23 +1750,6 @@ "previews": [], "renamed": null }, - { - "method": "DELETE", - "url": "/orgs/{org}/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-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": "PATH", "name": "runner_id" } - ], - "previews": [], - "renamed": null - }, { "method": "POST", "url": "/repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments", @@ -2107,28 +1960,6 @@ "previews": [], "renamed": null }, - { - "method": "PUT", - "url": "/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories", - "documentationUrl": "https://docs.github.com/rest/reference/actions#set-repository-access-to-a-self-hosted-runner-group-in-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": "selected_repository_ids" - } - ], - "previews": [], - "renamed": null - }, { "method": "PUT", "url": "/orgs/{org}/actions/secrets/{secret_name}/repositories", @@ -2206,23 +2037,6 @@ "previews": [], "renamed": null }, - { - "method": "PUT", - "url": "/orgs/{org}/actions/runner-groups/{runner_group_id}/runners", - "documentationUrl": "https://docs.github.com/rest/reference/actions#set-self-hosted-runners-in-a-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": "runners" } - ], - "previews": [], - "renamed": null - }, { "method": "PUT", "url": "/repos/{owner}/{repo}/actions/permissions/access", @@ -2252,6 +2066,12 @@ "name": "repository_id" }, { "alias": null, "deprecated": null, "in": "BODY", "name": "name" }, + { + "alias": null, + "deprecated": null, + "in": "PATH", + "name": "environment_name" + }, { "alias": null, "deprecated": null, "in": "BODY", "name": "value" } ], "previews": [], @@ -2324,42 +2144,6 @@ "previews": [], "renamed": null }, - { - "method": "PATCH", - "url": "/orgs/{org}/actions/runner-groups/{runner_group_id}", - "documentationUrl": "https://docs.github.com/rest/reference/actions#update-a-self-hosted-runner-group-for-an-organization", - "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, - { - "alias": null, - "deprecated": null, - "in": "PATH", - "name": "runner_group_id" - }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "name" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "visibility" }, - { - "alias": null, - "deprecated": null, - "in": "BODY", - "name": "allows_public_repositories" - }, - { - "alias": null, - "deprecated": null, - "in": "BODY", - "name": "restricted_to_workflows" - }, - { - "alias": null, - "deprecated": null, - "in": "BODY", - "name": "selected_workflows" - } - ], - "previews": [], - "renamed": null - }, { "method": "GET", "url": "/user/starred/{owner}/{repo}", @@ -2911,12 +2695,6 @@ "in": "BODY", "name": "permissions.pull_requests" }, - { - "alias": null, - "deprecated": null, - "in": "BODY", - "name": "permissions.repository_announcement_banners" - }, { "alias": null, "deprecated": null, @@ -3001,6 +2779,18 @@ "in": "BODY", "name": "permissions.organization_hooks" }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "permissions.organization_personal_access_tokens" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "permissions.organization_personal_access_token_requests" + }, { "alias": null, "deprecated": null, @@ -3243,21 +3033,32 @@ }, { "method": "GET", - "url": "/app/installations", - "documentationUrl": "https://docs.github.com/rest/reference/apps#list-installations-for-the-authenticated-app", + "url": "/app/installation-requests", + "documentationUrl": "https://docs.github.com/rest/reference/apps#list-installation-requests-for-the-authenticated-app", "parameters": [ { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "since" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "outdated" } + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], "previews": [], "renamed": null }, { "method": "GET", - "url": "/user/installations", - "documentationUrl": "https://docs.github.com/rest/reference/apps#list-app-installations-accessible-to-the-user-access-token", + "url": "/app/installations", + "documentationUrl": "https://docs.github.com/rest/reference/apps#list-installations-for-the-authenticated-app", + "parameters": [ + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "since" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "outdated" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/user/installations", + "documentationUrl": "https://docs.github.com/rest/reference/apps#list-app-installations-accessible-to-the-user-access-token", "parameters": [ { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } @@ -3411,7 +3212,7 @@ { "method": "POST", "url": "/applications/{client_id}/token/scoped", - "documentationUrl": "https://docs.github.com/rest/reference/apps#create-a-scoped-access-token", + "documentationUrl": "https://docs.github.com/rest/apps/apps#create-a-scoped-access-token", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "client_id" }, { @@ -3506,12 +3307,6 @@ "in": "BODY", "name": "permissions.pull_requests" }, - { - "alias": null, - "deprecated": null, - "in": "BODY", - "name": "permissions.repository_announcement_banners" - }, { "alias": null, "deprecated": null, @@ -3596,6 +3391,18 @@ "in": "BODY", "name": "permissions.organization_hooks" }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "permissions.organization_personal_access_tokens" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "permissions.organization_personal_access_token_requests" + }, { "alias": null, "deprecated": null, @@ -4189,7 +3996,7 @@ { "method": "GET", "url": "/repos/{owner}/{repo}/code-scanning/codeql/databases/{language}", - "documentationUrl": "https://docs.github.com/rest/reference/code-scanning#get-codeql-database", + "documentationUrl": "https://docs.github.com/rest/reference/code-scanning#get-a-codeql-database-for-a-repository", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -4198,10 +4005,21 @@ "previews": [], "renamed": null }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/code-scanning/default-setup", + "documentationUrl": "https://docs.github.com/rest/code-scanning#get-a-code-scanning-default-setup-configuration", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } + ], + "previews": [], + "renamed": null + }, { "method": "GET", "url": "/repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}", - "documentationUrl": "https://docs.github.com/rest/reference/code-scanning#list-recent-code-scanning-analyses-for-a-repository", + "documentationUrl": "https://docs.github.com/rest/reference/code-scanning#get-information-about-a-sarif-upload", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -4233,7 +4051,7 @@ { "method": "GET", "url": "/orgs/{org}/code-scanning/alerts", - "documentationUrl": "https://docs.github.com/rest/reference/code-scanning#list-code-scanning-alerts-by-organization", + "documentationUrl": "https://docs.github.com/rest/reference/code-scanning#list-code-scanning-alerts-for-an-organization", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, { "alias": null, "deprecated": null, "in": "QUERY", "name": "tool_name" }, @@ -4292,7 +4110,7 @@ { "method": "GET", "url": "/repos/{owner}/{repo}/code-scanning/codeql/databases", - "documentationUrl": "https://docs.github.com/rest/reference/code-scanning#list-codeql-databases", + "documentationUrl": "https://docs.github.com/rest/reference/code-scanning#list-codeql-databases-for-a-repository", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } @@ -4349,10 +4167,23 @@ "previews": [], "renamed": null }, + { + "method": "PATCH", + "url": "/repos/{owner}/{repo}/code-scanning/default-setup", + "documentationUrl": "https://docs.github.com/rest/code-scanning#update-a-code-scanning-default-setup-configuration", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "state" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "query_suite" } + ], + "previews": [], + "renamed": null + }, { "method": "POST", "url": "/repos/{owner}/{repo}/code-scanning/sarifs", - "documentationUrl": "https://docs.github.com/rest/reference/code-scanning#upload-a-sarif-file", + "documentationUrl": "https://docs.github.com/rest/reference/code-scanning#upload-an-analysis-as-sarif-data", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -4710,6 +4541,22 @@ "previews": [], "renamed": null }, + { + "method": "DELETE", + "url": "/orgs/{org}/codespaces/billing/selected_users", + "documentationUrl": "https://docs.github.com/rest/reference/codespaces#delete-codespaces-billing-users", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "selected_usernames" + } + ], + "previews": [], + "renamed": null + }, { "method": "DELETE", "url": "/user/codespaces/{codespace_name}", @@ -5119,6 +4966,22 @@ "previews": [], "renamed": null }, + { + "method": "POST", + "url": "/orgs/{org}/codespaces/billing/selected_users", + "documentationUrl": "https://docs.github.com/rest/reference/codespaces#set-codespaces-billing-users", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "selected_usernames" + } + ], + "previews": [], + "renamed": null + }, { "method": "PUT", "url": "/user/codespaces/secrets/{secret_name}/repositories", @@ -5733,159 +5596,20 @@ }, { "method": "GET", - "url": "/emojis", - "documentationUrl": "https://docs.github.com/rest/reference/emojis#get-emojis", - "parameters": [], - "previews": [], - "renamed": null - }, - { - "method": "POST", - "url": "/enterprises/{enterprise}/actions/runners/{runner_id}/labels", - "documentationUrl": "https://docs.github.com/rest/reference/actions#add-custom-labels-to-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/runner-groups/{runner_group_id}/organizations/{org_id}", - "documentationUrl": "https://docs.github.com/rest/reference/actions#add-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": "POST", - "url": "/enterprises/{enterprise}/actions/runner-groups", - "documentationUrl": "https://docs.github.com/rest/reference/actions#create-self-hosted-runner-group-for-an-enterprise", - "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "name" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "visibility" }, - { - "alias": null, - "deprecated": null, - "in": "BODY", - "name": "selected_organization_ids" - }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "runners" }, - { - "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": "DELETE", - "url": "/enterprises/{enterprise}/actions/runners/{runner_id}", - "documentationUrl": "https://docs.github.com/rest/reference/actions#delete-self-hosted-runner-from-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/permissions/organizations/{org_id}", - "documentationUrl": "https://docs.github.com/rest/reference/actions#enable-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": "GET", - "url": "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}", - "documentationUrl": "https://docs.github.com/rest/reference/actions#get-a-self-hosted-runner-group-for-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": "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", + "url": "/repos/{owner}/{repo}/dependency-graph/sbom", + "documentationUrl": "https://docs.github.com/rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository", "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": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } ], "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": "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" } - ], + "url": "/emojis", + "documentationUrl": "https://docs.github.com/rest/reference/emojis#get-emojis", + "parameters": [], "previews": [], "renamed": null }, @@ -7322,7 +7046,7 @@ { "method": "DELETE", "url": "/repos/{owner}/{repo}/import", - "documentationUrl": "https://docs.github.com/rest/reference/migrations#cancel-an-import", + "documentationUrl": "https://docs.github.com/rest/migrations/source-imports#cancel-an-import", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } @@ -7333,7 +7057,7 @@ { "method": "DELETE", "url": "/user/migrations/{migration_id}/archive", - "documentationUrl": "https://docs.github.com/rest/reference/migrations#delete-a-user-migration-archive", + "documentationUrl": "https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive", "parameters": [ { "alias": null, @@ -7348,7 +7072,7 @@ { "method": "DELETE", "url": "/orgs/{org}/migrations/{migration_id}/archive", - "documentationUrl": "https://docs.github.com/rest/reference/migrations#delete-an-organization-migration-archive", + "documentationUrl": "https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, { @@ -7364,7 +7088,7 @@ { "method": "GET", "url": "/orgs/{org}/migrations/{migration_id}/archive", - "documentationUrl": "https://docs.github.com/rest/reference/migrations#download-an-organization-migration-archive", + "documentationUrl": "https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, { @@ -7380,7 +7104,7 @@ { "method": "GET", "url": "/user/migrations/{migration_id}/archive", - "documentationUrl": "https://docs.github.com/rest/reference/migrations#download-a-user-migration-archive", + "documentationUrl": "https://docs.github.com/rest/migrations/users#download-a-user-migration-archive", "parameters": [ { "alias": null, @@ -7395,7 +7119,7 @@ { "method": "GET", "url": "/repos/{owner}/{repo}/import/authors", - "documentationUrl": "https://docs.github.com/rest/reference/migrations#get-commit-authors", + "documentationUrl": "https://docs.github.com/rest/migrations/source-imports#get-commit-authors", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -7407,7 +7131,7 @@ { "method": "GET", "url": "/repos/{owner}/{repo}/import", - "documentationUrl": "https://docs.github.com/rest/reference/migrations#get-an-import-status", + "documentationUrl": "https://docs.github.com/rest/migrations/source-imports#get-an-import-status", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } @@ -7418,7 +7142,7 @@ { "method": "GET", "url": "/repos/{owner}/{repo}/import/large_files", - "documentationUrl": "https://docs.github.com/rest/reference/migrations#get-large-files", + "documentationUrl": "https://docs.github.com/rest/migrations/source-imports#get-large-files", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } @@ -7429,7 +7153,7 @@ { "method": "GET", "url": "/user/migrations/{migration_id}", - "documentationUrl": "https://docs.github.com/rest/reference/migrations#get-a-user-migration-status", + "documentationUrl": "https://docs.github.com/rest/migrations/users#get-a-user-migration-status", "parameters": [ { "alias": null, @@ -7445,7 +7169,7 @@ { "method": "GET", "url": "/orgs/{org}/migrations/{migration_id}", - "documentationUrl": "https://docs.github.com/rest/reference/migrations#get-an-organization-migration-status", + "documentationUrl": "https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, { @@ -7462,7 +7186,7 @@ { "method": "GET", "url": "/user/migrations", - "documentationUrl": "https://docs.github.com/rest/reference/migrations#list-user-migrations", + "documentationUrl": "https://docs.github.com/rest/migrations/users#list-user-migrations", "parameters": [ { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } @@ -7473,7 +7197,7 @@ { "method": "GET", "url": "/orgs/{org}/migrations", - "documentationUrl": "https://docs.github.com/rest/reference/migrations#list-organization-migrations", + "documentationUrl": "https://docs.github.com/rest/migrations/orgs#list-organization-migrations", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, @@ -7486,7 +7210,7 @@ { "method": "GET", "url": "/user/migrations/{migration_id}/repositories", - "documentationUrl": "https://docs.github.com/rest/reference/migrations#list-repositories-for-a-user-migration", + "documentationUrl": "https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration", "parameters": [ { "alias": null, @@ -7503,7 +7227,7 @@ { "method": "GET", "url": "/orgs/{org}/migrations/{migration_id}/repositories", - "documentationUrl": "https://docs.github.com/rest/reference/migrations#list-repositories-in-an-organization-migration", + "documentationUrl": "https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, { @@ -7521,7 +7245,7 @@ { "method": "GET", "url": "/user/migrations/{migration_id}/repositories", - "documentationUrl": "https://docs.github.com/rest/reference/migrations#list-repositories-for-a-user-migration", + "documentationUrl": "https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration", "parameters": [ { "alias": null, @@ -7538,7 +7262,7 @@ { "method": "PATCH", "url": "/repos/{owner}/{repo}/import/authors/{author_id}", - "documentationUrl": "https://docs.github.com/rest/reference/migrations#map-a-commit-author", + "documentationUrl": "https://docs.github.com/rest/migrations/source-imports#map-a-commit-author", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -7552,7 +7276,7 @@ { "method": "PATCH", "url": "/repos/{owner}/{repo}/import/lfs", - "documentationUrl": "https://docs.github.com/rest/reference/migrations#update-git-lfs-preference", + "documentationUrl": "https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -7564,7 +7288,7 @@ { "method": "POST", "url": "/user/migrations", - "documentationUrl": "https://docs.github.com/rest/reference/migrations#start-a-user-migration", + "documentationUrl": "https://docs.github.com/rest/migrations/users#start-a-user-migration", "parameters": [ { "alias": null, @@ -7622,7 +7346,7 @@ { "method": "POST", "url": "/orgs/{org}/migrations", - "documentationUrl": "https://docs.github.com/rest/reference/migrations#start-an-organization-migration", + "documentationUrl": "https://docs.github.com/rest/migrations/orgs#start-an-organization-migration", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, { @@ -7681,7 +7405,7 @@ { "method": "PUT", "url": "/repos/{owner}/{repo}/import", - "documentationUrl": "https://docs.github.com/rest/reference/migrations#start-an-import", + "documentationUrl": "https://docs.github.com/rest/migrations/source-imports#start-an-import", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -7712,7 +7436,7 @@ { "method": "DELETE", "url": "/user/migrations/{migration_id}/repos/{repo_name}/lock", - "documentationUrl": "https://docs.github.com/rest/reference/migrations#unlock-a-user-repository", + "documentationUrl": "https://docs.github.com/rest/migrations/users#unlock-a-user-repository", "parameters": [ { "alias": null, @@ -7728,7 +7452,7 @@ { "method": "DELETE", "url": "/orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock", - "documentationUrl": "https://docs.github.com/rest/reference/migrations#unlock-an-organization-repository", + "documentationUrl": "https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, { @@ -7745,7 +7469,7 @@ { "method": "PATCH", "url": "/repos/{owner}/{repo}/import", - "documentationUrl": "https://docs.github.com/rest/reference/migrations#update-an-import", + "documentationUrl": "https://docs.github.com/rest/migrations/source-imports#update-an-import", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -7940,6 +7664,16 @@ "previews": [], "renamed": null }, + { + "method": "DELETE", + "url": "/orgs/{org}", + "documentationUrl": "https://docs.github.com/rest/orgs/orgs/#delete-an-organization", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" } + ], + "previews": [], + "renamed": null + }, { "method": "DELETE", "url": "/orgs/{org}/hooks/{hook_id}", @@ -8162,10 +7896,11 @@ }, { "method": "GET", - "url": "/orgs/{org}/invitations", - "documentationUrl": "https://docs.github.com/rest/reference/orgs#list-pending-organization-invitations", + "url": "/organizations/{org}/personal-access-tokens/{pat_id}/repositories", + "documentationUrl": "https://docs.github.com/rest/orgs/orgs#list-repositories-a-fine-grained-personal-access-token-has-access-to", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "pat_id" }, { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], @@ -8174,10 +7909,16 @@ }, { "method": "GET", - "url": "/orgs/{org}/public_members", - "documentationUrl": "https://docs.github.com/rest/reference/orgs#list-public-organization-members", + "url": "/organizations/{org}/personal-access-token-requests/{pat_request_id}/repositories", + "documentationUrl": "https://docs.github.com/rest/orgs/orgs#list-repositories-requested-to-be-accessed-by-a-fine-grained-personal-access-token", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { + "alias": null, + "deprecated": null, + "in": "PATH", + "name": "pat_request_id" + }, { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], @@ -8186,29 +7927,138 @@ }, { "method": "GET", - "url": "/orgs/{org}/security-managers", - "documentationUrl": "https://docs.github.com/rest/reference/orgs#list-security-manager-teams", + "url": "/organizations/{org}/personal-access-token-requests", + "documentationUrl": "https://docs.github.com/rest/orgs/orgs#list-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens", "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "org" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "sort" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "direction" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "owner" }, + { + "alias": null, + "deprecated": null, + "in": "QUERY", + "name": "repository" + }, + { + "alias": null, + "deprecated": null, + "in": "QUERY", + "name": "permission" + }, + { + "alias": null, + "deprecated": null, + "in": "QUERY", + "name": "last_used_before" + }, + { + "alias": null, + "deprecated": null, + "in": "QUERY", + "name": "last_used_after" + } ], "previews": [], "renamed": null }, { "method": "GET", - "url": "/orgs/{org}/hooks/{hook_id}/deliveries", - "documentationUrl": "https://docs.github.com/rest/reference/orgs#list-deliveries-for-an-organization-webhook", + "url": "/organizations/{org}/personal-access-tokens", + "documentationUrl": "https://docs.github.com/rest/orgs/orgs#list-fine-grained-personal-access-tokens-with-access-to-organization-resources", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "hook_id" }, { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "cursor" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "redelivery" } - ], - "previews": [], - "renamed": null - }, - { + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "sort" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "direction" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "owner" }, + { + "alias": null, + "deprecated": null, + "in": "QUERY", + "name": "repository" + }, + { + "alias": null, + "deprecated": null, + "in": "QUERY", + "name": "permission" + }, + { + "alias": null, + "deprecated": null, + "in": "QUERY", + "name": "last_used_before" + }, + { + "alias": null, + "deprecated": null, + "in": "QUERY", + "name": "last_used_after" + } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/orgs/{org}/invitations", + "documentationUrl": "https://docs.github.com/rest/reference/orgs#list-pending-organization-invitations", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "role" }, + { + "alias": null, + "deprecated": null, + "in": "QUERY", + "name": "invitation_source" + } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/orgs/{org}/public_members", + "documentationUrl": "https://docs.github.com/rest/reference/orgs#list-public-organization-members", + "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}/security-managers", + "documentationUrl": "https://docs.github.com/rest/reference/orgs#list-security-manager-teams", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/orgs/{org}/hooks/{hook_id}/deliveries", + "documentationUrl": "https://docs.github.com/rest/reference/orgs#list-deliveries-for-an-organization-webhook", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "hook_id" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "cursor" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "redelivery" } + ], + "previews": [], + "renamed": null + }, + { "method": "GET", "url": "/orgs/{org}/hooks", "documentationUrl": "https://docs.github.com/rest/reference/orgs#list-organization-webhooks", @@ -8298,6 +8148,42 @@ "previews": [], "renamed": null }, + { + "method": "POST", + "url": "/organizations/{org}/personal-access-token-requests/{pat_request_id}", + "documentationUrl": "https://docs.github.com/rest/orgs/orgs#review-a-request-to-access-organization-resources-with-a-fine-grained-personal-access-token", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { + "alias": null, + "deprecated": null, + "in": "PATH", + "name": "pat_request_id" + }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "action" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "reason" } + ], + "previews": [], + "renamed": null + }, + { + "method": "POST", + "url": "/organizations/{org}/personal-access-token-requests", + "documentationUrl": "https://docs.github.com/rest/orgs/orgs#review-requests-to-access-organization-resources-with-a-fine-grained-personal-access-token", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "pat_request_ids" + }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "action" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "reason" } + ], + "previews": [], + "renamed": null + }, { "method": "PUT", "url": "/orgs/{org}/memberships/{username}", @@ -8502,6 +8388,30 @@ "previews": [], "renamed": null }, + { + "method": "POST", + "url": "/organizations/{org}/personal-access-tokens/{pat_id}", + "documentationUrl": "https://docs.github.com/rest/orgs/orgs#update-the-access-a-fine-grained-personal-access-token-has-to-organization-resources", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "pat_id" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "action" } + ], + "previews": [], + "renamed": null + }, + { + "method": "POST", + "url": "/organizations/{org}/personal-access-tokens", + "documentationUrl": "https://docs.github.com/rest/orgs/orgs#update-the-access-to-organization-resources-via-fine-grained-personal-access-tokens", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "action" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "pat_ids" } + ], + "previews": [], + "renamed": null + }, { "method": "PATCH", "url": "/orgs/{org}/hooks/{hook_id}", @@ -8977,6 +8887,34 @@ "previews": [], "renamed": null }, + { + "method": "GET", + "url": "/user/docker/conflicts", + "documentationUrl": "https://docs.github.com/rest/packages#list-docker-migration-conflicting-packages-for-authenticated-user", + "parameters": [], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/orgs/{org}/docker/conflicts", + "documentationUrl": "https://docs.github.com/rest/reference/packages#list-docker-migration-conflicting-packages-for-organization", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/users/{username}/docker/conflicts", + "documentationUrl": "https://docs.github.com/rest/reference/packages#list-docker-migration-conflicting-packages-for-user", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "username" } + ], + "previews": [], + "renamed": null + }, { "method": "GET", "url": "/user/packages", @@ -8988,7 +8926,14 @@ "in": "QUERY", "name": "package_type" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "visibility" } + { + "alias": null, + "deprecated": null, + "in": "QUERY", + "name": "visibility" + }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" } ], "previews": [], "renamed": null @@ -9005,7 +8950,14 @@ "name": "package_type" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "visibility" } + { + "alias": null, + "deprecated": null, + "in": "QUERY", + "name": "visibility" + }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" } ], "previews": [], "renamed": null @@ -9027,7 +8979,9 @@ "in": "QUERY", "name": "visibility" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "username" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "username" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" } ], "previews": [], "renamed": null @@ -9517,6 +9471,7 @@ { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, "deprecated": null, "in": "BODY", "name": "title" }, { "alias": null, "deprecated": null, "in": "BODY", "name": "head" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "head_repo" }, { "alias": null, "deprecated": null, "in": "BODY", "name": "base" }, { "alias": null, "deprecated": null, "in": "BODY", "name": "body" }, { @@ -9634,7 +9589,18 @@ { "alias": null, "deprecated": null, "in": "BODY", "name": "line" }, { "alias": null, "deprecated": null, "in": "BODY", "name": "start_line" }, { "alias": null, "deprecated": null, "in": "BODY", "name": "start_side" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "in_reply_to" } + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "in_reply_to" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "subject_type" + } ], "previews": [], "renamed": null @@ -10666,7 +10632,7 @@ { "method": "POST", "url": "/repos/{owner}/{repo}/autolinks", - "documentationUrl": "https://docs.github.com/v3/repos#create-an-autolink", + "documentationUrl": "https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -11226,482 +11192,513 @@ }, { "method": "POST", - "url": "/repos/{owner}/{repo}/pages/deployment", - "documentationUrl": "https://docs.github.com/rest/pages#create-a-github-pages-deployment", + "url": "/orgs/{org}/rulesets", + "documentationUrl": "https://docs.github.com/rest/repos/rules#create-organization-repository-ruleset", "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "name" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "target" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "artifact_url" + "name": "enforcement" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "environment" + "name": "bypass_actors" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "pages_build_version" + "name": "bypass_actors[].actor_id" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "oidc_token" } - ], - "previews": [], - "renamed": null - }, - { - "method": "POST", - "url": "/repos/{owner}/{repo}/pages", - "documentationUrl": "https://docs.github.com/rest/pages#create-a-github-pages-site", - "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "build_type" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "source" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "source.branch" + "name": "bypass_actors[].actor_type" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "source.path" } - ], - "previews": [], - "renamed": null - }, - { - "method": "POST", - "url": "/repos/{owner}/{repo}/releases", - "documentationUrl": "https://docs.github.com/rest/reference/repos#create-a-release", - "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "tag_name" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "conditions" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "rules" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "target_commitish" + "name": "rules[].type" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "name" }, - { "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": "discussion_category_name" + "name": "rules[].parameters" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "generate_release_notes" + "name": "rules[].parameters.update_allows_fetch_and_merge" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "make_latest" } - ], - "previews": [], - "renamed": null - }, - { - "method": "POST", - "url": "/repos/{owner}/{repo}/tags/protection", - "documentationUrl": "https://docs.github.com/rest/reference/repos#create-tag-protection-state-for-a-repository", - "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "pattern" } - ], - "previews": [], - "renamed": null - }, - { - "method": "POST", - "url": "/repos/{template_owner}/{template_repo}/generate", - "documentationUrl": "https://docs.github.com/rest/reference/repos#create-a-repository-using-a-template", - "parameters": [ { "alias": null, "deprecated": null, - "in": "PATH", - "name": "template_owner" + "in": "BODY", + "name": "rules[].parameters.required_deployment_environments" }, { "alias": null, "deprecated": null, - "in": "PATH", - "name": "template_repo" + "in": "BODY", + "name": "rules[].parameters.dismiss_stale_reviews_on_push" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "owner" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "name" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "description" + "name": "rules[].parameters.require_code_owner_review" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "include_all_branches" + "name": "rules[].parameters.require_last_push_approval" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "private" } - ], - "previews": [], - "renamed": null - }, - { - "method": "POST", - "url": "/repos/{owner}/{repo}/hooks", - "documentationUrl": "https://docs.github.com/rest/webhooks/repos#create-a-repository-webhook", - "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": "config" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "config.url" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "config.content_type" + "name": "rules[].parameters.required_approving_review_count" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "config.secret" + "name": "rules[].parameters.required_review_thread_resolution" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "config.insecure_ssl" + "name": "rules[].parameters.required_status_checks" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "config.token" + "name": "rules[].parameters.required_status_checks[].context" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "config.digest" + "name": "rules[].parameters.required_status_checks[].integration_id" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "events" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "active" } - ], - "previews": [], - "renamed": null - }, - { - "method": "DELETE", - "url": "/user/repository_invitations/{invitation_id}", - "documentationUrl": "https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation", - "parameters": [ { "alias": null, "deprecated": null, - "in": "PATH", - "name": "invitation_id" - } - ], - "previews": [], - "renamed": { "note": null } - }, - { - "method": "DELETE", - "url": "/user/repository_invitations/{invitation_id}", - "documentationUrl": "https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation", - "parameters": [ + "in": "BODY", + "name": "rules[].parameters.strict_required_status_checks_policy" + }, { "alias": null, "deprecated": null, - "in": "PATH", - "name": "invitation_id" - } - ], - "previews": [], - "renamed": null - }, - { - "method": "DELETE", - "url": "/repos/{owner}/{repo}", - "documentationUrl": "https://docs.github.com/rest/reference/repos#delete-a-repository", - "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } - ], - "previews": [], - "renamed": null - }, - { - "method": "DELETE", - "url": "/repos/{owner}/{repo}/branches/{branch}/protection/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" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" } - ], - "previews": [], - "renamed": null - }, - { - "method": "DELETE", - "url": "/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", - "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" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" } - ], - "previews": [], - "renamed": null - }, - { - "method": "DELETE", - "url": "/repos/{owner}/{repo}/environments/{environment_name}", - "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" }, + "in": "BODY", + "name": "rules[].parameters.name" + }, { "alias": null, "deprecated": null, - "in": "PATH", - "name": "environment_name" + "in": "BODY", + "name": "rules[].parameters.negate" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "rules[].parameters.operator" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "rules[].parameters.pattern" } ], "previews": [], "renamed": null }, { - "method": "DELETE", - "url": "/repos/{owner}/{repo}/autolinks/{autolink_id}", - "documentationUrl": "https://docs.github.com/v3/repos#delete-autolink", - "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "autolink_id" } - ], - "previews": [], - "renamed": null - }, - { - "method": "DELETE", - "url": "/repos/{owner}/{repo}/branches/{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" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" } - ], - "previews": [], - "renamed": null - }, - { - "method": "DELETE", - "url": "/repos/{owner}/{repo}/comments/{comment_id}", - "documentationUrl": "https://docs.github.com/rest/commits/comments#delete-a-commit-comment", - "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "comment_id" } - ], - "previews": [], - "renamed": null - }, - { - "method": "DELETE", - "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", - "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" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" } - ], - "previews": [], - "renamed": null - }, - { - "method": "DELETE", - "url": "/repos/{owner}/{repo}/keys/{key_id}", - "documentationUrl": "https://docs.github.com/rest/deploy-keys#delete-a-deploy-key", + "method": "POST", + "url": "/repos/{owner}/{repo}/pages/deployment", + "documentationUrl": "https://docs.github.com/rest/pages#create-a-github-pages-deployment", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "key_id" } + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "artifact_url" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "environment" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "pages_build_version" + }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "oidc_token" } ], "previews": [], "renamed": null }, { - "method": "DELETE", - "url": "/repos/{owner}/{repo}/deployments/{deployment_id}", - "documentationUrl": "https://docs.github.com/rest/deployments/deployments#delete-a-deployment", + "method": "POST", + "url": "/repos/{owner}/{repo}/pages", + "documentationUrl": "https://docs.github.com/rest/pages#create-a-github-pages-site", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "build_type" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "source" }, { "alias": null, "deprecated": null, - "in": "PATH", - "name": "deployment_id" - } + "in": "BODY", + "name": "source.branch" + }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "source.path" } ], "previews": [], "renamed": null }, { - "method": "DELETE", - "url": "/repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}", - "documentationUrl": "https://docs.github.com/rest/deployments/branch-policies#delete-deployment-branch-policy", + "method": "POST", + "url": "/repos/{owner}/{repo}/releases", + "documentationUrl": "https://docs.github.com/rest/releases/releases#create-a-release", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "tag_name" }, { "alias": null, "deprecated": null, - "in": "PATH", - "name": "environment_name" + "in": "BODY", + "name": "target_commitish" + }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "name" }, + { "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": "discussion_category_name" }, { "alias": null, "deprecated": null, - "in": "PATH", - "name": "branch_policy_id" - } + "in": "BODY", + "name": "generate_release_notes" + }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "make_latest" } ], "previews": [], "renamed": null }, { - "method": "DELETE", - "url": "/repos/{owner}/{repo}/contents/{path}", - "documentationUrl": "https://docs.github.com/rest/reference/repos#delete-a-file", + "method": "POST", + "url": "/repos/{owner}/{repo}/rulesets", + "documentationUrl": "https://docs.github.com/rest/repos/rules#create-repository-ruleset", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "path" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "message" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "sha" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "branch" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "committer" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "name" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "target" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "committer.name" + "name": "enforcement" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "committer.email" + "name": "bypass_mode" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "author" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "author.name" + "name": "bypass_actors" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "author.email" - } - ], - "previews": [], - "renamed": null - }, - { - "method": "DELETE", - "url": "/repos/{owner}/{repo}/invitations/{invitation_id}", - "documentationUrl": "https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation", - "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + "name": "bypass_actors[].actor_id" + }, { "alias": null, "deprecated": null, - "in": "PATH", - "name": "invitation_id" - } - ], - "previews": [], + "in": "BODY", + "name": "bypass_actors[].actor_type" + }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "conditions" }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "conditions.ref_name" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "conditions.ref_name.include" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "conditions.ref_name.exclude" + }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "rules" }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "rules[].type" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "rules[].parameters" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "rules[].parameters.update_allows_fetch_and_merge" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "rules[].parameters.required_deployment_environments" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "rules[].parameters.dismiss_stale_reviews_on_push" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "rules[].parameters.require_code_owner_review" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "rules[].parameters.require_last_push_approval" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "rules[].parameters.required_approving_review_count" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "rules[].parameters.required_review_thread_resolution" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "rules[].parameters.required_status_checks" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "rules[].parameters.required_status_checks[].context" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "rules[].parameters.required_status_checks[].integration_id" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "rules[].parameters.strict_required_status_checks_policy" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "rules[].parameters.name" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "rules[].parameters.negate" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "rules[].parameters.operator" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "rules[].parameters.pattern" + } + ], + "previews": [], "renamed": null }, { - "method": "DELETE", - "url": "/repos/{owner}/{repo}/pages", - "documentationUrl": "https://docs.github.com/rest/pages#delete-a-github-pages-site", + "method": "POST", + "url": "/repos/{owner}/{repo}/tags/protection", + "documentationUrl": "https://docs.github.com/rest/reference/repos#create-tag-protection-state-for-a-repository", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "pattern" } ], "previews": [], "renamed": null }, { - "method": "DELETE", - "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", - "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection", + "method": "POST", + "url": "/repos/{template_owner}/{template_repo}/generate", + "documentationUrl": "https://docs.github.com/rest/reference/repos#create-a-repository-using-a-template", "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" } + { + "alias": null, + "deprecated": null, + "in": "PATH", + "name": "template_owner" + }, + { + "alias": null, + "deprecated": null, + "in": "PATH", + "name": "template_repo" + }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "name" }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "description" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "include_all_branches" + }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "private" } ], "previews": [], "renamed": null }, { - "method": "DELETE", - "url": "/repos/{owner}/{repo}/releases/{release_id}", - "documentationUrl": "https://docs.github.com/rest/reference/repos#delete-a-release", + "method": "POST", + "url": "/repos/{owner}/{repo}/hooks", + "documentationUrl": "https://docs.github.com/rest/webhooks/repos#create-a-repository-webhook", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "release_id" } + { "alias": null, "deprecated": null, "in": "BODY", "name": "name" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "config" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "config.url" }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "config.content_type" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "config.secret" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "config.insecure_ssl" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "config.token" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "config.digest" + }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "events" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "active" } ], "previews": [], "renamed": null }, { "method": "DELETE", - "url": "/repos/{owner}/{repo}/releases/assets/{asset_id}", - "documentationUrl": "https://docs.github.com/rest/reference/repos#delete-a-release-asset", + "url": "/user/repository_invitations/{invitation_id}", + "documentationUrl": "https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation", "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "asset_id" } + { + "alias": null, + "deprecated": null, + "in": "PATH", + "name": "invitation_id" + } ], "previews": [], - "renamed": null + "renamed": { "note": null } }, { "method": "DELETE", - "url": "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}", - "documentationUrl": "https://docs.github.com/rest/reference/repos#delete-tag-protection-state-for-a-repository", + "url": "/user/repository_invitations/{invitation_id}", + "documentationUrl": "https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation", "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, "deprecated": null, "in": "PATH", - "name": "tag_protection_id" + "name": "invitation_id" } ], "previews": [], @@ -11709,297 +11706,339 @@ }, { "method": "DELETE", - "url": "/repos/{owner}/{repo}/hooks/{hook_id}", - "documentationUrl": "https://docs.github.com/rest/webhooks/repos#delete-a-repository-webhook", + "url": "/repos/{owner}/{repo}", + "documentationUrl": "https://docs.github.com/rest/reference/repos#delete-a-repository", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "hook_id" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } ], "previews": [], "renamed": null }, { "method": "DELETE", - "url": "/repos/{owner}/{repo}/automated-security-fixes", - "documentationUrl": "https://docs.github.com/rest/reference/repos#disable-automated-security-fixes", + "url": "/repos/{owner}/{repo}/branches/{branch}/protection/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" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" } ], "previews": [], "renamed": null }, { "method": "DELETE", - "url": "/repos/{owner}/{repo}/lfs", - "documentationUrl": "https://docs.github.com/rest/reference/repos#disable-git-lfs-for-a-repository", + "url": "/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", + "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" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" } ], "previews": [], "renamed": null }, { "method": "DELETE", - "url": "/repos/{owner}/{repo}/vulnerability-alerts", - "documentationUrl": "https://docs.github.com/rest/reference/repos#disable-vulnerability-alerts", + "url": "/repos/{owner}/{repo}/environments/{environment_name}", + "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" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { + "alias": null, + "deprecated": null, + "in": "PATH", + "name": "environment_name" + } ], "previews": [], "renamed": null }, { - "method": "GET", - "url": "/repos/{owner}/{repo}/tarball/{ref}", - "documentationUrl": "https://docs.github.com/rest/reference/repos#download-a-repository-archive", + "method": "DELETE", + "url": "/repos/{owner}/{repo}/autolinks/{autolink_id}", + "documentationUrl": "https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "ref" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "autolink_id" } ], "previews": [], - "renamed": { "note": null } + "renamed": null }, { - "method": "GET", - "url": "/repos/{owner}/{repo}/zipball/{ref}", - "documentationUrl": "https://docs.github.com/rest/reference/repos#download-a-repository-archive", + "method": "DELETE", + "url": "/repos/{owner}/{repo}/branches/{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" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "ref" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" } ], "previews": [], - "renamed": { "note": null } + "renamed": null }, { - "method": "GET", - "url": "/repos/{owner}/{repo}/tarball/{ref}", - "documentationUrl": "https://docs.github.com/rest/reference/repos#download-a-repository-archive", + "method": "DELETE", + "url": "/repos/{owner}/{repo}/comments/{comment_id}", + "documentationUrl": "https://docs.github.com/rest/commits/comments#delete-a-commit-comment", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "ref" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "comment_id" } ], "previews": [], "renamed": null }, { - "method": "GET", - "url": "/repos/{owner}/{repo}/zipball/{ref}", - "documentationUrl": "https://docs.github.com/rest/reference/repos#download-a-repository-archive", + "method": "DELETE", + "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", + "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" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "ref" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" } ], "previews": [], "renamed": null }, { - "method": "PUT", - "url": "/repos/{owner}/{repo}/automated-security-fixes", - "documentationUrl": "https://docs.github.com/rest/reference/repos#enable-automated-security-fixes", + "method": "DELETE", + "url": "/repos/{owner}/{repo}/keys/{key_id}", + "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" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "key_id" } ], "previews": [], "renamed": null }, { - "method": "PUT", - "url": "/repos/{owner}/{repo}/lfs", - "documentationUrl": "https://docs.github.com/rest/reference/repos#enable-git-lfs-for-a-repository", + "method": "DELETE", + "url": "/repos/{owner}/{repo}/deployments/{deployment_id}", + "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" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { + "alias": null, + "deprecated": null, + "in": "PATH", + "name": "deployment_id" + } ], "previews": [], "renamed": null }, { - "method": "PUT", - "url": "/repos/{owner}/{repo}/vulnerability-alerts", - "documentationUrl": "https://docs.github.com/rest/reference/repos#enable-vulnerability-alerts", + "method": "DELETE", + "url": "/repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}", + "documentationUrl": "https://docs.github.com/rest/deployments/branch-policies#delete-deployment-branch-policy", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { + "alias": null, + "deprecated": null, + "in": "PATH", + "name": "environment_name" + }, + { + "alias": null, + "deprecated": null, + "in": "PATH", + "name": "branch_policy_id" + } ], "previews": [], "renamed": null }, { - "method": "POST", - "url": "/repos/{owner}/{repo}/releases/generate-notes", - "documentationUrl": "https://docs.github.com/rest/reference/repos#generate-release-notes", + "method": "DELETE", + "url": "/repos/{owner}/{repo}/contents/{path}", + "documentationUrl": "https://docs.github.com/rest/reference/repos#delete-a-file", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "tag_name" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "path" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "message" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "sha" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "branch" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "committer" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "target_commitish" + "name": "committer.name" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "previous_tag_name" + "name": "committer.email" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "author" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "configuration_file_path" + "name": "author.name" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "author.email" } ], "previews": [], "renamed": null }, { - "method": "GET", - "url": "/repos/{owner}/{repo}", - "documentationUrl": "https://docs.github.com/rest/reference/repos#get-a-repository", + "method": "DELETE", + "url": "/repos/{owner}/{repo}/invitations/{invitation_id}", + "documentationUrl": "https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { + "alias": null, + "deprecated": null, + "in": "PATH", + "name": "invitation_id" + } ], "previews": [], "renamed": null }, { - "method": "GET", - "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions", - "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#get-access-restrictions", + "method": "DELETE", + "url": "/orgs/{org}/rulesets/{ruleset_id}", + "documentationUrl": "https://docs.github.com/rest/repos/rules#delete-organization-ruleset", "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "ruleset_id" } ], "previews": [], "renamed": null }, { - "method": "GET", - "url": "/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", - "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection", + "method": "DELETE", + "url": "/repos/{owner}/{repo}/pages", + "documentationUrl": "https://docs.github.com/rest/pages#delete-a-github-pages-site", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } ], "previews": [], "renamed": null }, { - "method": "GET", - "url": "/repos/{owner}/{repo}/environments", - "documentationUrl": "https://docs.github.com/rest/deployments/environments#list-environments", + "method": "DELETE", + "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", + "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection", "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" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" } ], "previews": [], "renamed": null }, { - "method": "GET", - "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts", + "method": "DELETE", + "url": "/repos/{owner}/{repo}/releases/{release_id}", + "documentationUrl": "https://docs.github.com/rest/reference/repos#delete-a-release", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "release_id" } ], "previews": [], "renamed": null }, { - "method": "GET", - "url": "/repos/{owner}/{repo}/topics", - "documentationUrl": "https://docs.github.com/rest/reference/repos#get-all-repository-topics", + "method": "DELETE", + "url": "/repos/{owner}/{repo}/releases/assets/{asset_id}", + "documentationUrl": "https://docs.github.com/rest/reference/repos#delete-a-release-asset", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "asset_id" } ], "previews": [], "renamed": null }, { - "method": "GET", - "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", - "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#list-apps-with-access-to-the-protected-branch", + "method": "DELETE", + "url": "/repos/{owner}/{repo}/rulesets/{ruleset_id}", + "documentationUrl": "https://docs.github.com/rest/repos/rules#delete-repository-ruleset", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "ruleset_id" } ], "previews": [], "renamed": null }, { - "method": "GET", - "url": "/repos/{owner}/{repo}/autolinks/{autolink_id}", - "documentationUrl": "https://docs.github.com/v3/repos#get-autolink", + "method": "DELETE", + "url": "/repos/{owner}/{repo}/tags/protection/{tag_protection_id}", + "documentationUrl": "https://docs.github.com/rest/reference/repos#delete-tag-protection-state-for-a-repository", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "autolink_id" } + { + "alias": null, + "deprecated": null, + "in": "PATH", + "name": "tag_protection_id" + } ], "previews": [], "renamed": null }, { - "method": "GET", - "url": "/repos/{owner}/{repo}/branches/{branch}", - "documentationUrl": "https://docs.github.com/rest/branches/branches#get-a-branch", + "method": "DELETE", + "url": "/repos/{owner}/{repo}/hooks/{hook_id}", + "documentationUrl": "https://docs.github.com/rest/webhooks/repos#delete-a-repository-webhook", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "hook_id" } ], "previews": [], "renamed": null }, { - "method": "GET", - "url": "/repos/{owner}/{repo}/branches/{branch}/protection", - "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#get-branch-protection", + "method": "DELETE", + "url": "/repos/{owner}/{repo}/automated-security-fixes", + "documentationUrl": "https://docs.github.com/rest/reference/repos#disable-automated-security-fixes", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } ], "previews": [], "renamed": null }, { - "method": "GET", - "url": "/repos/{owner}/{repo}/traffic/clones", - "documentationUrl": "https://docs.github.com/rest/metrics/traffic#get-repository-clones", + "method": "DELETE", + "url": "/repos/{owner}/{repo}/lfs", + "documentationUrl": "https://docs.github.com/rest/reference/repos#disable-git-lfs-for-a-repository", "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" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } ], "previews": [], "renamed": null }, { - "method": "GET", - "url": "/repos/{owner}/{repo}/stats/code_frequency", - "documentationUrl": "https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity", + "method": "DELETE", + "url": "/repos/{owner}/{repo}/vulnerability-alerts", + "documentationUrl": "https://docs.github.com/rest/reference/repos#disable-vulnerability-alerts", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } @@ -12009,39 +12048,35 @@ }, { "method": "GET", - "url": "/repos/{owner}/{repo}/collaborators/{username}/permission", - "documentationUrl": "https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user", + "url": "/repos/{owner}/{repo}/tarball/{ref}", + "documentationUrl": "https://docs.github.com/rest/reference/repos#download-a-repository-archive", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "username" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "ref" } ], "previews": [], - "renamed": null + "renamed": { "note": null } }, { "method": "GET", - "url": "/repos/{owner}/{repo}/commits/{ref}/status", - "documentationUrl": "https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference", + "url": "/repos/{owner}/{repo}/zipball/{ref}", + "documentationUrl": "https://docs.github.com/rest/reference/repos#download-a-repository-archive", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "ref" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "ref" } ], "previews": [], - "renamed": null + "renamed": { "note": null } }, { "method": "GET", - "url": "/repos/{owner}/{repo}/commits/{ref}", - "documentationUrl": "https://docs.github.com/rest/commits/commits#get-a-commit", + "url": "/repos/{owner}/{repo}/tarball/{ref}", + "documentationUrl": "https://docs.github.com/rest/reference/repos#download-a-repository-archive", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "ref" } ], "previews": [], @@ -12049,43 +12084,42 @@ }, { "method": "GET", - "url": "/repos/{owner}/{repo}/stats/commit_activity", - "documentationUrl": "https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity", + "url": "/repos/{owner}/{repo}/zipball/{ref}", + "documentationUrl": "https://docs.github.com/rest/reference/repos#download-a-repository-archive", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "ref" } ], "previews": [], "renamed": null }, { - "method": "GET", - "url": "/repos/{owner}/{repo}/comments/{comment_id}", - "documentationUrl": "https://docs.github.com/rest/commits/comments#get-a-commit-comment", + "method": "PUT", + "url": "/repos/{owner}/{repo}/automated-security-fixes", + "documentationUrl": "https://docs.github.com/rest/reference/repos#enable-automated-security-fixes", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "comment_id" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } ], "previews": [], "renamed": null }, { - "method": "GET", - "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", - "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection", + "method": "PUT", + "url": "/repos/{owner}/{repo}/lfs", + "documentationUrl": "https://docs.github.com/rest/reference/repos#enable-git-lfs-for-a-repository", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } ], "previews": [], "renamed": null }, { - "method": "GET", - "url": "/repos/{owner}/{repo}/community/profile", - "documentationUrl": "https://docs.github.com/rest/metrics/community#get-community-profile-metrics", + "method": "PUT", + "url": "/repos/{owner}/{repo}/vulnerability-alerts", + "documentationUrl": "https://docs.github.com/rest/reference/repos#enable-vulnerability-alerts", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } @@ -12094,22 +12128,39 @@ "renamed": null }, { - "method": "GET", - "url": "/repos/{owner}/{repo}/contents/{path}", - "documentationUrl": "https://docs.github.com/rest/reference/repos#get-repository-content", + "method": "POST", + "url": "/repos/{owner}/{repo}/releases/generate-notes", + "documentationUrl": "https://docs.github.com/rest/reference/repos#generate-release-notes", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "path" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "ref" } + { "alias": null, "deprecated": null, "in": "BODY", "name": "tag_name" }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "target_commitish" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "previous_tag_name" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "configuration_file_path" + } ], "previews": [], "renamed": null }, { "method": "GET", - "url": "/repos/{owner}/{repo}/stats/contributors", - "documentationUrl": "https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity", + "url": "/repos/{owner}/{repo}", + "documentationUrl": "https://docs.github.com/rest/reference/repos#get-a-repository", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } @@ -12119,270 +12170,252 @@ }, { "method": "GET", - "url": "/repos/{owner}/{repo}/keys/{key_id}", - "documentationUrl": "https://docs.github.com/rest/deploy-keys#get-a-deploy-key", + "url": "/repos/{owner}/{repo}/branches/{branch}/protection/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" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "key_id" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" } ], "previews": [], "renamed": null }, { "method": "GET", - "url": "/repos/{owner}/{repo}/deployments/{deployment_id}", - "documentationUrl": "https://docs.github.com/rest/deployments/deployments#get-a-deployment", + "url": "/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", + "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" }, - { - "alias": null, - "deprecated": null, - "in": "PATH", - "name": "deployment_id" - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" } ], "previews": [], "renamed": null }, { "method": "GET", - "url": "/repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}", - "documentationUrl": "https://docs.github.com/rest/deployments/branch-policies#get-deployment-branch-policy", + "url": "/repos/{owner}/{repo}/environments", + "documentationUrl": "https://docs.github.com/rest/deployments/environments#list-environments", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { - "alias": null, - "deprecated": null, - "in": "PATH", - "name": "environment_name" - }, - { - "alias": null, - "deprecated": null, - "in": "PATH", - "name": "branch_policy_id" - } + { "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}/deployments/{deployment_id}/statuses/{status_id}", - "documentationUrl": "https://docs.github.com/rest/deployments/statuses#get-a-deployment-status", + "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", + "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { - "alias": null, - "deprecated": null, - "in": "PATH", - "name": "deployment_id" - }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "status_id" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" } ], "previews": [], "renamed": null }, { "method": "GET", - "url": "/repos/{owner}/{repo}/environments/{environment_name}", - "documentationUrl": "https://docs.github.com/rest/deployments/environments#get-an-environment", + "url": "/repos/{owner}/{repo}/topics", + "documentationUrl": "https://docs.github.com/rest/reference/repos#get-all-repository-topics", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { - "alias": null, - "deprecated": null, - "in": "PATH", - "name": "environment_name" - } + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" } ], "previews": [], "renamed": null }, { "method": "GET", - "url": "/repos/{owner}/{repo}/pages/builds/latest", - "documentationUrl": "https://docs.github.com/rest/pages#get-latest-pages-build", + "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", + "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#list-apps-with-access-to-the-protected-branch", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" } ], "previews": [], "renamed": null }, { "method": "GET", - "url": "/repos/{owner}/{repo}/releases/latest", - "documentationUrl": "https://docs.github.com/rest/reference/repos#get-the-latest-release", + "url": "/repos/{owner}/{repo}/autolinks/{autolink_id}", + "documentationUrl": "https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "autolink_id" } ], "previews": [], "renamed": null }, { "method": "GET", - "url": "/repos/{owner}/{repo}/pages", - "documentationUrl": "https://docs.github.com/rest/pages#get-a-github-pages-site", + "url": "/repos/{owner}/{repo}/branches/{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" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" } ], "previews": [], "renamed": null }, { "method": "GET", - "url": "/repos/{owner}/{repo}/pages/builds/{build_id}", - "documentationUrl": "https://docs.github.com/rest/pages#get-github-pages-build", + "url": "/repos/{owner}/{repo}/branches/{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" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "build_id" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" } ], "previews": [], "renamed": null }, { "method": "GET", - "url": "/repos/{owner}/{repo}/pages/health", - "documentationUrl": "https://docs.github.com/rest/pages#get-a-dns-health-check-for-github-pages", + "url": "/repos/{owner}/{repo}/rules/branches/{branch}", + "documentationUrl": "https://docs.github.com/rest/repos/rules#get-rules-for-a-branch", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" } ], "previews": [], "renamed": null }, { "method": "GET", - "url": "/repos/{owner}/{repo}/stats/participation", - "documentationUrl": "https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count", + "url": "/repos/{owner}/{repo}/traffic/clones", + "documentationUrl": "https://docs.github.com/rest/metrics/traffic#get-repository-clones", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per" } ], "previews": [], "renamed": null }, { "method": "GET", - "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", - "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection", + "url": "/repos/{owner}/{repo}/stats/code_frequency", + "documentationUrl": "https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } ], "previews": [], "renamed": null }, { "method": "GET", - "url": "/repos/{owner}/{repo}/stats/punch_card", - "documentationUrl": "https://docs.github.com/rest/statistics/repos#get-the-hourly-commit-count-for-each-day", + "url": "/repos/{owner}/{repo}/collaborators/{username}/permission", + "documentationUrl": "https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "username" } ], "previews": [], "renamed": null }, { "method": "GET", - "url": "/repos/{owner}/{repo}/readme", - "documentationUrl": "https://docs.github.com/rest/reference/repos#get-a-repository-readme", + "url": "/repos/{owner}/{repo}/commits/{ref}/status", + "documentationUrl": "https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "ref" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "ref" }, + { "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}/readme/{dir}", - "documentationUrl": "https://docs.github.com/rest/reference/repos#get-a-repository-directory-readme", + "url": "/repos/{owner}/{repo}/commits/{ref}", + "documentationUrl": "https://docs.github.com/rest/commits/commits#get-a-commit", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "dir" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "ref" } + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "ref" } ], "previews": [], "renamed": null }, { "method": "GET", - "url": "/repos/{owner}/{repo}/releases/{release_id}", - "documentationUrl": "https://docs.github.com/rest/reference/repos#get-a-release", + "url": "/repos/{owner}/{repo}/stats/commit_activity", + "documentationUrl": "https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "release_id" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } ], "previews": [], "renamed": null }, { "method": "GET", - "url": "/repos/{owner}/{repo}/releases/assets/{asset_id}", - "documentationUrl": "https://docs.github.com/rest/reference/repos#get-a-release-asset", + "url": "/repos/{owner}/{repo}/comments/{comment_id}", + "documentationUrl": "https://docs.github.com/rest/commits/comments#get-a-commit-comment", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "asset_id" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "comment_id" } ], "previews": [], "renamed": null }, { "method": "GET", - "url": "/repos/{owner}/{repo}/releases/tags/{tag}", - "documentationUrl": "https://docs.github.com/rest/reference/repos#get-a-release-by-tag-name", + "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", + "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" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "tag" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" } ], "previews": [], "renamed": null }, { "method": "GET", - "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", - "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection", + "url": "/repos/{owner}/{repo}/community/profile", + "documentationUrl": "https://docs.github.com/rest/metrics/community#get-community-profile-metrics", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } ], "previews": [], "renamed": null }, { "method": "GET", - "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#list-teams-with-access-to-the-protected-branch", + "url": "/repos/{owner}/{repo}/contents/{path}", + "documentationUrl": "https://docs.github.com/rest/reference/repos#get-repository-content", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "path" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "ref" } ], "previews": [], "renamed": null }, { "method": "GET", - "url": "/repos/{owner}/{repo}/traffic/popular/paths", - "documentationUrl": "https://docs.github.com/rest/metrics/traffic#get-top-referral-paths", + "url": "/repos/{owner}/{repo}/stats/contributors", + "documentationUrl": "https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } @@ -12392,438 +12425,412 @@ }, { "method": "GET", - "url": "/repos/{owner}/{repo}/traffic/popular/referrers", - "documentationUrl": "https://docs.github.com/rest/metrics/traffic#get-top-referral-sources", + "url": "/repos/{owner}/{repo}/keys/{key_id}", + "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" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "key_id" } ], "previews": [], "renamed": null }, { "method": "GET", - "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#list-users-with-access-to-the-protected-branch", + "url": "/repos/{owner}/{repo}/deployments/{deployment_id}", + "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" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" } + { + "alias": null, + "deprecated": null, + "in": "PATH", + "name": "deployment_id" + } ], "previews": [], "renamed": null }, { "method": "GET", - "url": "/repos/{owner}/{repo}/traffic/views", - "documentationUrl": "https://docs.github.com/rest/metrics/traffic#get-page-views", + "url": "/repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}", + "documentationUrl": "https://docs.github.com/rest/deployments/branch-policies#get-deployment-branch-policy", "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" } + { + "alias": null, + "deprecated": null, + "in": "PATH", + "name": "environment_name" + }, + { + "alias": null, + "deprecated": null, + "in": "PATH", + "name": "branch_policy_id" + } ], "previews": [], "renamed": null }, { "method": "GET", - "url": "/repos/{owner}/{repo}/hooks/{hook_id}", - "documentationUrl": "https://docs.github.com/rest/webhooks/repos#get-a-repository-webhook", + "url": "/repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}", + "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" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "hook_id" } + { + "alias": null, + "deprecated": null, + "in": "PATH", + "name": "deployment_id" + }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "status_id" } ], "previews": [], "renamed": null }, { "method": "GET", - "url": "/repos/{owner}/{repo}/hooks/{hook_id}/config", - "documentationUrl": "https://docs.github.com/rest/webhooks/repo-config#get-a-webhook-configuration-for-a-repository", + "url": "/repos/{owner}/{repo}/environments/{environment_name}", + "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" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "hook_id" } + { + "alias": null, + "deprecated": null, + "in": "PATH", + "name": "environment_name" + } ], "previews": [], "renamed": null }, { "method": "GET", - "url": "/repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}", - "documentationUrl": "https://docs.github.com/rest/webhooks/repo-deliveries#get-a-delivery-for-a-repository-webhook", + "url": "/repos/{owner}/{repo}/pages/builds/latest", + "documentationUrl": "https://docs.github.com/rest/pages#get-latest-pages-build", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "hook_id" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "delivery_id" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } ], "previews": [], "renamed": null }, { "method": "GET", - "url": "/repos/{owner}/{repo}/autolinks", - "documentationUrl": "https://docs.github.com/v3/repos#list-autolinks", + "url": "/repos/{owner}/{repo}/releases/latest", + "documentationUrl": "https://docs.github.com/rest/reference/repos#get-the-latest-release", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } ], "previews": [], "renamed": null }, { "method": "GET", - "url": "/repos/{owner}/{repo}/branches", - "documentationUrl": "https://docs.github.com/rest/branches/branches#list-branches", + "url": "/orgs/{org}/rulesets/{ruleset_id}", + "documentationUrl": "https://docs.github.com/rest/repos/rules#get-organization-ruleset", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "ruleset_id" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/orgs/{org}/rulesets", + "documentationUrl": "https://docs.github.com/rest/repos/rules#get-organization-rulesets", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/pages", + "documentationUrl": "https://docs.github.com/rest/pages#get-a-github-pages-site", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "protected" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } ], "previews": [], "renamed": null }, { "method": "GET", - "url": "/repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head", - "documentationUrl": "https://docs.github.com/rest/commits/commits#list-branches-for-head-commit", + "url": "/repos/{owner}/{repo}/pages/builds/{build_id}", + "documentationUrl": "https://docs.github.com/rest/pages#get-github-pages-build", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "commit_sha" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "build_id" } ], "previews": [], "renamed": null }, { "method": "GET", - "url": "/repos/{owner}/{repo}/collaborators", - "documentationUrl": "https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators", + "url": "/repos/{owner}/{repo}/pages/health", + "documentationUrl": "https://docs.github.com/rest/pages#get-a-dns-health-check-for-github-pages", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { - "alias": null, - "deprecated": null, - "in": "QUERY", - "name": "affiliation" - }, - { - "alias": null, - "deprecated": null, - "in": "QUERY", - "name": "permission" - }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } ], "previews": [], "renamed": null }, { "method": "GET", - "url": "/repos/{owner}/{repo}/commits/{commit_sha}/comments", - "documentationUrl": "https://docs.github.com/rest/commits/comments#list-commit-comments", + "url": "/repos/{owner}/{repo}/stats/participation", + "documentationUrl": "https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "commit_sha" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } ], "previews": [], "renamed": null }, { "method": "GET", - "url": "/repos/{owner}/{repo}/comments", - "documentationUrl": "https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository", + "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", + "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection", "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" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" } ], "previews": [], "renamed": null }, { "method": "GET", - "url": "/repos/{owner}/{repo}/commits/{ref}/statuses", - "documentationUrl": "https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference", + "url": "/repos/{owner}/{repo}/stats/punch_card", + "documentationUrl": "https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "ref" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } ], "previews": [], "renamed": null }, { "method": "GET", - "url": "/repos/{owner}/{repo}/commits", - "documentationUrl": "https://docs.github.com/rest/commits/commits#list-commits", + "url": "/repos/{owner}/{repo}/readme", + "documentationUrl": "https://docs.github.com/rest/reference/repos#get-a-repository-readme", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "sha" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "path" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "author" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "since" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "until" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + { "alias": null, "deprecated": null, "in": "QUERY", "name": "ref" } ], "previews": [], "renamed": null }, { "method": "GET", - "url": "/repos/{owner}/{repo}/contributors", - "documentationUrl": "https://docs.github.com/rest/reference/repos#list-repository-contributors", + "url": "/repos/{owner}/{repo}/readme/{dir}", + "documentationUrl": "https://docs.github.com/rest/reference/repos#get-a-repository-directory-readme", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "anon" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "dir" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "ref" } ], "previews": [], "renamed": null }, { "method": "GET", - "url": "/repos/{owner}/{repo}/keys", - "documentationUrl": "https://docs.github.com/rest/deploy-keys#list-deploy-keys", + "url": "/repos/{owner}/{repo}/releases/{release_id}", + "documentationUrl": "https://docs.github.com/rest/reference/repos#get-a-release", "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" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "release_id" } ], "previews": [], "renamed": null }, { "method": "GET", - "url": "/repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies", - "documentationUrl": "https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies", + "url": "/repos/{owner}/{repo}/releases/assets/{asset_id}", + "documentationUrl": "https://docs.github.com/rest/reference/repos#get-a-release-asset", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { - "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" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "asset_id" } ], "previews": [], "renamed": null }, { "method": "GET", - "url": "/repos/{owner}/{repo}/deployments/{deployment_id}/statuses", - "documentationUrl": "https://docs.github.com/rest/deployments/statuses#list-deployment-statuses", + "url": "/repos/{owner}/{repo}/releases/tags/{tag}", + "documentationUrl": "https://docs.github.com/rest/reference/repos#get-a-release-by-tag-name", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { - "alias": null, - "deprecated": null, - "in": "PATH", - "name": "deployment_id" - }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "tag" } ], "previews": [], "renamed": null }, { "method": "GET", - "url": "/repos/{owner}/{repo}/deployments", - "documentationUrl": "https://docs.github.com/rest/deployments/deployments#list-deployments", + "url": "/repos/{owner}/{repo}/rulesets/{ruleset_id}", + "documentationUrl": "https://docs.github.com/rest/repos/rules#get-repository-ruleset", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "sha" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "ref" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "task" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "ruleset_id" }, { "alias": null, "deprecated": null, "in": "QUERY", - "name": "environment" - }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + "name": "includes_parents" + } ], "previews": [], "renamed": null }, { "method": "GET", - "url": "/user/repos", - "documentationUrl": "https://docs.github.com/rest/reference/repos#list-repositories-for-the-authenticated-user", + "url": "/repos/{owner}/{repo}/rulesets", + "documentationUrl": "https://docs.github.com/rest/repos/rules#get-repository-rulesets", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, "deprecated": null, "in": "QUERY", - "name": "visibility" - }, - { - "alias": null, - "deprecated": null, - "in": "QUERY", - "name": "affiliation" - }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "type" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "sort" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "direction" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "since" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "before" } + "name": "includes_parents" + } ], "previews": [], "renamed": null }, { "method": "GET", - "url": "/orgs/{org}/repos", - "documentationUrl": "https://docs.github.com/rest/reference/repos#list-organization-repositories", + "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", + "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection", "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "type" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "sort" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "direction" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" } ], "previews": [], "renamed": null }, { "method": "GET", - "url": "/users/{username}/repos", - "documentationUrl": "https://docs.github.com/rest/reference/repos#list-repositories-for-a-user", + "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", + "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#list-teams-with-access-to-the-protected-branch", "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "username" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "type" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "sort" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "direction" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" } ], "previews": [], "renamed": null }, { "method": "GET", - "url": "/repos/{owner}/{repo}/forks", - "documentationUrl": "https://docs.github.com/rest/reference/repos#list-forks", + "url": "/repos/{owner}/{repo}/traffic/popular/paths", + "documentationUrl": "https://docs.github.com/rest/metrics/traffic#get-top-referral-paths", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "sort" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } ], "previews": [], "renamed": null }, { "method": "GET", - "url": "/repos/{owner}/{repo}/invitations", - "documentationUrl": "https://docs.github.com/rest/collaborators/invitations#list-repository-invitations", + "url": "/repos/{owner}/{repo}/traffic/popular/referrers", + "documentationUrl": "https://docs.github.com/rest/metrics/traffic#get-top-referral-sources", "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" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } ], "previews": [], "renamed": null }, { "method": "GET", - "url": "/user/repository_invitations", - "documentationUrl": "https://docs.github.com/rest/collaborators/invitations#list-repository-invitations-for-the-authenticated-user", + "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", + "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#list-users-with-access-to-the-protected-branch", "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": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" } ], "previews": [], "renamed": null }, { "method": "GET", - "url": "/repos/{owner}/{repo}/languages", - "documentationUrl": "https://docs.github.com/rest/reference/repos#list-repository-languages", + "url": "/repos/{owner}/{repo}/traffic/views", + "documentationUrl": "https://docs.github.com/rest/metrics/traffic#get-page-views", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per" } ], "previews": [], "renamed": null }, { "method": "GET", - "url": "/repos/{owner}/{repo}/pages/builds", - "documentationUrl": "https://docs.github.com/rest/pages#list-github-pages-builds", + "url": "/repos/{owner}/{repo}/hooks/{hook_id}", + "documentationUrl": "https://docs.github.com/rest/webhooks/repos#get-a-repository-webhook", "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" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "hook_id" } ], "previews": [], "renamed": null }, { "method": "GET", - "url": "/repositories", - "documentationUrl": "https://docs.github.com/rest/reference/repos#list-public-repositories", + "url": "/repos/{owner}/{repo}/hooks/{hook_id}/config", + "documentationUrl": "https://docs.github.com/rest/webhooks/repo-config#get-a-webhook-configuration-for-a-repository", "parameters": [ - { "alias": null, "deprecated": null, "in": "QUERY", "name": "since" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "hook_id" } ], "previews": [], "renamed": null }, { "method": "GET", - "url": "/repos/{owner}/{repo}/commits/{commit_sha}/pulls", - "documentationUrl": "https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit", + "url": "/repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}", + "documentationUrl": "https://docs.github.com/rest/webhooks/repo-deliveries#get-a-delivery-for-a-repository-webhook", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "commit_sha" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "hook_id" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "delivery_id" } ], "previews": [], "renamed": null }, { "method": "GET", - "url": "/repos/{owner}/{repo}/releases/{release_id}/assets", - "documentationUrl": "https://docs.github.com/rest/reference/repos#list-release-assets", + "url": "/repos/{owner}/{repo}/autolinks", + "documentationUrl": "https://docs.github.com/rest/repos/autolinks#list-all-autolinks-of-a-repository", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "release_id" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], "previews": [], @@ -12831,11 +12838,12 @@ }, { "method": "GET", - "url": "/repos/{owner}/{repo}/releases", - "documentationUrl": "https://docs.github.com/rest/reference/repos#list-releases", + "url": "/repos/{owner}/{repo}/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" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "protected" }, { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], @@ -12844,22 +12852,35 @@ }, { "method": "GET", - "url": "/repos/{owner}/{repo}/tags/protection", - "documentationUrl": "https://docs.github.com/rest/reference/repos#list-tag-protection-state-of-a-repository", + "url": "/repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head", + "documentationUrl": "https://docs.github.com/rest/commits/commits#list-branches-for-head-commit", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "commit_sha" } ], "previews": [], "renamed": null }, { "method": "GET", - "url": "/repos/{owner}/{repo}/tags", - "documentationUrl": "https://docs.github.com/rest/reference/repos#list-repository-tags", + "url": "/repos/{owner}/{repo}/collaborators", + "documentationUrl": "https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { + "alias": null, + "deprecated": null, + "in": "QUERY", + "name": "affiliation" + }, + { + "alias": null, + "deprecated": null, + "in": "QUERY", + "name": "permission" + }, { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], @@ -12868,11 +12889,12 @@ }, { "method": "GET", - "url": "/repos/{owner}/{repo}/teams", - "documentationUrl": "https://docs.github.com/rest/reference/repos#list-repository-teams", + "url": "/repos/{owner}/{repo}/commits/{commit_sha}/comments", + "documentationUrl": "https://docs.github.com/rest/commits/comments#list-commit-comments", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "commit_sha" }, { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], @@ -12881,26 +12903,25 @@ }, { "method": "GET", - "url": "/repos/{owner}/{repo}/hooks/{hook_id}/deliveries", - "documentationUrl": "https://docs.github.com/rest/webhooks/repo-deliveries#list-deliveries-for-a-repository-webhook", + "url": "/repos/{owner}/{repo}/comments", + "documentationUrl": "https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "hook_id" }, { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "cursor" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "redelivery" } + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], "previews": [], "renamed": null }, { "method": "GET", - "url": "/repos/{owner}/{repo}/hooks", - "documentationUrl": "https://docs.github.com/rest/webhooks/repos#list-repository-webhooks", + "url": "/repos/{owner}/{repo}/commits/{ref}/statuses", + "documentationUrl": "https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "ref" }, { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], @@ -12908,166 +12929,211 @@ "renamed": null }, { - "method": "POST", - "url": "/repos/{owner}/{repo}/merges", - "documentationUrl": "https://docs.github.com/rest/branches/branches#merge-a-branch", + "method": "GET", + "url": "/repos/{owner}/{repo}/commits", + "documentationUrl": "https://docs.github.com/rest/commits/commits#list-commits", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "base" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "head" }, - { - "alias": null, - "deprecated": null, - "in": "BODY", - "name": "commit_message" - } + { "alias": null, "deprecated": null, "in": "QUERY", "name": "sha" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "path" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "author" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "committer" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "since" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "until" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], "previews": [], "renamed": null }, { - "method": "POST", - "url": "/repos/{owner}/{repo}/merge-upstream", - "documentationUrl": "https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository", + "method": "GET", + "url": "/repos/{owner}/{repo}/contributors", + "documentationUrl": "https://docs.github.com/rest/reference/repos#list-repository-contributors", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "branch" } + { "alias": null, "deprecated": null, "in": "QUERY", "name": "anon" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], "previews": [], "renamed": null }, { - "method": "POST", - "url": "/repos/{owner}/{repo}/hooks/{hook_id}/pings", - "documentationUrl": "https://docs.github.com/rest/webhooks/repos#ping-a-repository-webhook", + "method": "GET", + "url": "/repos/{owner}/{repo}/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" }, - { "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": "page" } ], "previews": [], "renamed": null }, { - "method": "POST", - "url": "/repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts", - "documentationUrl": "https://docs.github.com/rest/webhooks/repo-deliveries#redeliver-a-delivery-for-a-repository-webhook", + "method": "GET", + "url": "/repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies", + "documentationUrl": "https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "hook_id" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "delivery_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": "DELETE", - "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", - "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions", + "method": "GET", + "url": "/repos/{owner}/{repo}/deployments/{deployment_id}/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" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "apps" } + { + "alias": null, + "deprecated": null, + "in": "PATH", + "name": "deployment_id" + }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], "previews": [], "renamed": null }, { - "method": "DELETE", - "url": "/repos/{owner}/{repo}/collaborators/{username}", - "documentationUrl": "https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator", + "method": "GET", + "url": "/repos/{owner}/{repo}/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" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "username" } + { "alias": null, "deprecated": null, "in": "QUERY", "name": "sha" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "ref" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "task" }, + { + "alias": null, + "deprecated": null, + "in": "QUERY", + "name": "environment" + }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], "previews": [], "renamed": null }, { - "method": "DELETE", - "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts", + "method": "GET", + "url": "/user/repos", + "documentationUrl": "https://docs.github.com/rest/reference/repos#list-repositories-for-the-authenticated-user", "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "contexts" } + { + "alias": null, + "deprecated": null, + "in": "QUERY", + "name": "visibility" + }, + { + "alias": null, + "deprecated": null, + "in": "QUERY", + "name": "affiliation" + }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "type" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "sort" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "direction" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "since" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "before" } ], "previews": [], "renamed": null }, { - "method": "DELETE", - "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", - "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection", + "method": "GET", + "url": "/orgs/{org}/repos", + "documentationUrl": "https://docs.github.com/rest/reference/repos#list-organization-repositories", "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "type" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "sort" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "direction" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], "previews": [], "renamed": null }, { - "method": "DELETE", - "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions", + "method": "GET", + "url": "/users/{username}/repos", + "documentationUrl": "https://docs.github.com/rest/reference/repos#list-repositories-for-a-user", "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "teams" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "username" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "type" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "sort" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "direction" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], "previews": [], "renamed": null }, { - "method": "DELETE", - "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions", + "method": "GET", + "url": "/repos/{owner}/{repo}/forks", + "documentationUrl": "https://docs.github.com/rest/reference/repos#list-forks", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "users" } + { "alias": null, "deprecated": null, "in": "QUERY", "name": "sort" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], "previews": [], "renamed": null }, { - "method": "POST", - "url": "/repos/{owner}/{repo}/branches/{branch}/rename", - "documentationUrl": "https://docs.github.com/rest/branches/branches#rename-a-branch", + "method": "GET", + "url": "/repos/{owner}/{repo}/invitations", + "documentationUrl": "https://docs.github.com/rest/collaborators/invitations#list-repository-invitations", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "new_name" } + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], "previews": [], "renamed": null }, { - "method": "PUT", - "url": "/repos/{owner}/{repo}/topics", - "documentationUrl": "https://docs.github.com/rest/reference/repos#replace-all-repository-topics", + "method": "GET", + "url": "/user/repository_invitations", + "documentationUrl": "https://docs.github.com/rest/collaborators/invitations#list-repository-invitations-for-the-authenticated-user", "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "names" } + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], "previews": [], "renamed": null }, { - "method": "POST", - "url": "/repos/{owner}/{repo}/pages/builds", - "documentationUrl": "https://docs.github.com/rest/pages#request-a-github-pages-build", + "method": "GET", + "url": "/repos/{owner}/{repo}/languages", + "documentationUrl": "https://docs.github.com/rest/reference/repos#list-repository-languages", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } @@ -13076,34 +13142,219 @@ "renamed": null }, { - "method": "POST", - "url": "/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", - "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection", + "method": "GET", + "url": "/repos/{owner}/{repo}/pages/builds", + "documentationUrl": "https://docs.github.com/rest/pages#list-github-pages-builds", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" } + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], "previews": [], "renamed": null }, { - "method": "PUT", - "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", - "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions", + "method": "GET", + "url": "/repositories", + "documentationUrl": "https://docs.github.com/rest/reference/repos#list-public-repositories", "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "apps" } + { "alias": null, "deprecated": null, "in": "QUERY", "name": "since" } ], "previews": [], "renamed": null }, { - "method": "PUT", + "method": "GET", + "url": "/repos/{owner}/{repo}/commits/{commit_sha}/pulls", + "documentationUrl": "https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "commit_sha" }, + { "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}/releases/{release_id}/assets", + "documentationUrl": "https://docs.github.com/rest/reference/repos#list-release-assets", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "release_id" }, + { "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}/releases", + "documentationUrl": "https://docs.github.com/rest/reference/repos#list-releases", + "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}/tags/protection", + "documentationUrl": "https://docs.github.com/rest/reference/repos#list-tag-protection-state-of-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": "/repos/{owner}/{repo}/tags", + "documentationUrl": "https://docs.github.com/rest/reference/repos#list-repository-tags", + "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}/teams", + "documentationUrl": "https://docs.github.com/rest/reference/repos#list-repository-teams", + "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}/hooks/{hook_id}/deliveries", + "documentationUrl": "https://docs.github.com/rest/webhooks/repo-deliveries#list-deliveries-for-a-repository-webhook", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "hook_id" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "cursor" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "redelivery" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/hooks", + "documentationUrl": "https://docs.github.com/rest/webhooks/repos#list-repository-webhooks", + "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": "POST", + "url": "/repos/{owner}/{repo}/merges", + "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" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "base" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "head" }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "commit_message" + } + ], + "previews": [], + "renamed": null + }, + { + "method": "POST", + "url": "/repos/{owner}/{repo}/merge-upstream", + "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" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "branch" } + ], + "previews": [], + "renamed": null + }, + { + "method": "POST", + "url": "/repos/{owner}/{repo}/hooks/{hook_id}/pings", + "documentationUrl": "https://docs.github.com/rest/webhooks/repos#ping-a-repository-webhook", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "hook_id" } + ], + "previews": [], + "renamed": null + }, + { + "method": "POST", + "url": "/repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts", + "documentationUrl": "https://docs.github.com/rest/webhooks/repo-deliveries#redeliver-a-delivery-for-a-repository-webhook", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "hook_id" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "delivery_id" } + ], + "previews": [], + "renamed": null + }, + { + "method": "DELETE", + "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", + "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" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "apps" } + ], + "previews": [], + "renamed": null + }, + { + "method": "DELETE", + "url": "/repos/{owner}/{repo}/collaborators/{username}", + "documentationUrl": "https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "username" } + ], + "previews": [], + "renamed": null + }, + { + "method": "DELETE", "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts", + "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -13114,9 +13365,21 @@ "renamed": null }, { - "method": "PUT", + "method": "DELETE", + "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", + "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" } + ], + "previews": [], + "renamed": null + }, + { + "method": "DELETE", "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions", + "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -13127,9 +13390,9 @@ "renamed": null }, { - "method": "PUT", + "method": "DELETE", "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions", + "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -13141,39 +13404,139 @@ }, { "method": "POST", - "url": "/repos/{owner}/{repo}/hooks/{hook_id}/tests", - "documentationUrl": "https://docs.github.com/rest/webhooks/repos#test-the-push-repository-webhook", + "url": "/repos/{owner}/{repo}/branches/{branch}/rename", + "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" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "hook_id" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "new_name" } + ], + "previews": [], + "renamed": null + }, + { + "method": "PUT", + "url": "/repos/{owner}/{repo}/topics", + "documentationUrl": "https://docs.github.com/rest/reference/repos#replace-all-repository-topics", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "names" } ], "previews": [], "renamed": null }, { "method": "POST", - "url": "/repos/{owner}/{repo}/transfer", - "documentationUrl": "https://docs.github.com/rest/reference/repos#transfer-a-repository", + "url": "/repos/{owner}/{repo}/pages/builds", + "documentationUrl": "https://docs.github.com/rest/pages#request-a-github-pages-build", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } + ], + "previews": [], + "renamed": null + }, + { + "method": "POST", + "url": "/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", + "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" }, - { "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" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" } ], "previews": [], "renamed": null }, { - "method": "PATCH", - "url": "/repos/{owner}/{repo}", - "documentationUrl": "https://docs.github.com/rest/repos/repos#update-a-repository", + "method": "PUT", + "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", + "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" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "name" }, - { + { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "apps" } + ], + "previews": [], + "renamed": null + }, + { + "method": "PUT", + "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", + "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "contexts" } + ], + "previews": [], + "renamed": null + }, + { + "method": "PUT", + "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", + "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" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "teams" } + ], + "previews": [], + "renamed": null + }, + { + "method": "PUT", + "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", + "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" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "users" } + ], + "previews": [], + "renamed": null + }, + { + "method": "POST", + "url": "/repos/{owner}/{repo}/hooks/{hook_id}/tests", + "documentationUrl": "https://docs.github.com/rest/webhooks/repos#test-the-push-repository-webhook", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "hook_id" } + ], + "previews": [], + "renamed": null + }, + { + "method": "POST", + "url": "/repos/{owner}/{repo}/transfer", + "documentationUrl": "https://docs.github.com/rest/reference/repos#transfer-a-repository", + "parameters": [ + { "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": [], + "renamed": null + }, + { + "method": "PATCH", + "url": "/repos/{owner}/{repo}", + "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" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "name" }, + { "alias": null, "deprecated": null, "in": "BODY", @@ -13198,139 +13561,553 @@ "alias": null, "deprecated": null, "in": "BODY", - "name": "security_and_analysis.advanced_security.status" + "name": "security_and_analysis.advanced_security.status" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "security_and_analysis.secret_scanning" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "security_and_analysis.secret_scanning.status" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "security_and_analysis.secret_scanning_push_protection" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "security_and_analysis.secret_scanning_push_protection.status" + }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "has_issues" }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "has_projects" + }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "has_wiki" }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "is_template" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "default_branch" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "allow_squash_merge" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "allow_merge_commit" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "allow_rebase_merge" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "allow_auto_merge" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "delete_branch_on_merge" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "allow_update_branch" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "use_squash_pr_title_as_default" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "squash_merge_commit_title" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "squash_merge_commit_message" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "merge_commit_title" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "merge_commit_message" + }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "archived" }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "allow_forking" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "web_commit_signoff_required" + } + ], + "previews": [], + "renamed": null + }, + { + "method": "PUT", + "url": "/repos/{owner}/{repo}/branches/{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" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "required_status_checks" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "required_status_checks.strict" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "required_status_checks.contexts" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "required_status_checks.checks" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "required_status_checks.checks[].context" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "required_status_checks.checks[].app_id" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "enforce_admins" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "required_pull_request_reviews" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "required_pull_request_reviews.dismissal_restrictions" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "required_pull_request_reviews.dismissal_restrictions.users" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "required_pull_request_reviews.dismissal_restrictions.teams" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "required_pull_request_reviews.dismissal_restrictions.apps" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "required_pull_request_reviews.dismiss_stale_reviews" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "required_pull_request_reviews.require_code_owner_reviews" + }, + { + "alias": null, + "deprecated": null, + "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, + "in": "BODY", + "name": "required_pull_request_reviews.bypass_pull_request_allowances" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "required_pull_request_reviews.bypass_pull_request_allowances.users" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "required_pull_request_reviews.bypass_pull_request_allowances.teams" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "required_pull_request_reviews.bypass_pull_request_allowances.apps" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "restrictions" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "restrictions.users" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "restrictions.teams" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "restrictions.apps" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "required_linear_history" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "allow_force_pushes" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "allow_deletions" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "block_creations" + }, + { + "alias": null, + "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": [], + "renamed": null + }, + { + "method": "PATCH", + "url": "/repos/{owner}/{repo}/comments/{comment_id}", + "documentationUrl": "https://docs.github.com/rest/commits/comments#update-a-commit-comment", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "comment_id" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "body" } + ], + "previews": [], + "renamed": null + }, + { + "method": "PUT", + "url": "/repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}", + "documentationUrl": "https://docs.github.com/rest/deployments/branch-policies#update-deployment-branch-policy", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { + "alias": null, + "deprecated": null, + "in": "PATH", + "name": "environment_name" + }, + { + "alias": null, + "deprecated": null, + "in": "PATH", + "name": "branch_policy_id" + }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "name" } + ], + "previews": [], + "renamed": null + }, + { + "method": "PUT", + "url": "/repos/{owner}/{repo}/pages", + "documentationUrl": "https://docs.github.com/rest/pages#update-information-about-a-github-pages-site", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "cname" }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "https_enforced" + }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "build_type" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "source" } + ], + "previews": [], + "renamed": null + }, + { + "method": "PATCH", + "url": "/repos/{owner}/{repo}/invitations/{invitation_id}", + "documentationUrl": "https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { + "alias": null, + "deprecated": null, + "in": "PATH", + "name": "invitation_id" + }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "permissions" } + ], + "previews": [], + "renamed": null + }, + { + "method": "PUT", + "url": "/orgs/{org}/rulesets/{ruleset_id}", + "documentationUrl": "https://docs.github.com/rest/repos/rules#update-organization-ruleset", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "ruleset_id" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "name" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "target" }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "enforcement" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "security_and_analysis.secret_scanning" + "name": "bypass_actors" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "security_and_analysis.secret_scanning.status" + "name": "bypass_actors[].actor_id" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "security_and_analysis.secret_scanning_push_protection" + "name": "bypass_actors[].actor_type" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "conditions" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "rules" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "security_and_analysis.secret_scanning_push_protection.status" + "name": "rules[].type" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "has_issues" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "has_projects" + "name": "rules[].parameters" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "has_wiki" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "is_template" + "name": "rules[].parameters.update_allows_fetch_and_merge" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "default_branch" + "name": "rules[].parameters.required_deployment_environments" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "allow_squash_merge" + "name": "rules[].parameters.dismiss_stale_reviews_on_push" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "allow_merge_commit" + "name": "rules[].parameters.require_code_owner_review" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "allow_rebase_merge" + "name": "rules[].parameters.require_last_push_approval" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "allow_auto_merge" + "name": "rules[].parameters.required_approving_review_count" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "delete_branch_on_merge" + "name": "rules[].parameters.required_review_thread_resolution" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "allow_update_branch" + "name": "rules[].parameters.required_status_checks" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "use_squash_pr_title_as_default" + "name": "rules[].parameters.required_status_checks[].context" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "squash_merge_commit_title" + "name": "rules[].parameters.required_status_checks[].integration_id" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "squash_merge_commit_message" + "name": "rules[].parameters.strict_required_status_checks_policy" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "merge_commit_title" + "name": "rules[].parameters.name" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "merge_commit_message" + "name": "rules[].parameters.negate" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "archived" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "allow_forking" + "name": "rules[].parameters.operator" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "web_commit_signoff_required" + "name": "rules[].parameters.pattern" } ], "previews": [], "renamed": null }, { - "method": "PUT", - "url": "/repos/{owner}/{repo}/branches/{branch}/protection", - "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#update-branch-protection", + "method": "PATCH", + "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", + "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, @@ -13339,401 +14116,294 @@ "alias": null, "deprecated": null, "in": "BODY", - "name": "required_status_checks" - }, - { - "alias": null, - "deprecated": null, - "in": "BODY", - "name": "required_status_checks.strict" - }, - { - "alias": null, - "deprecated": null, - "in": "BODY", - "name": "required_status_checks.contexts" - }, - { - "alias": null, - "deprecated": null, - "in": "BODY", - "name": "required_status_checks.checks" - }, - { - "alias": null, - "deprecated": null, - "in": "BODY", - "name": "required_status_checks.checks[].context" - }, - { - "alias": null, - "deprecated": null, - "in": "BODY", - "name": "required_status_checks.checks[].app_id" - }, - { - "alias": null, - "deprecated": null, - "in": "BODY", - "name": "enforce_admins" - }, - { - "alias": null, - "deprecated": null, - "in": "BODY", - "name": "required_pull_request_reviews" + "name": "dismissal_restrictions" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "required_pull_request_reviews.dismissal_restrictions" + "name": "dismissal_restrictions.users" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "required_pull_request_reviews.dismissal_restrictions.users" + "name": "dismissal_restrictions.teams" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "required_pull_request_reviews.dismissal_restrictions.teams" + "name": "dismissal_restrictions.apps" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "required_pull_request_reviews.dismissal_restrictions.apps" + "name": "dismiss_stale_reviews" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "required_pull_request_reviews.dismiss_stale_reviews" + "name": "require_code_owner_reviews" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "required_pull_request_reviews.require_code_owner_reviews" + "name": "required_approving_review_count" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "required_pull_request_reviews.required_approving_review_count" + "name": "require_last_push_approval" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "required_pull_request_reviews.require_last_push_approval" + "name": "bypass_pull_request_allowances" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "required_pull_request_reviews.bypass_pull_request_allowances" + "name": "bypass_pull_request_allowances.users" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "required_pull_request_reviews.bypass_pull_request_allowances.users" + "name": "bypass_pull_request_allowances.teams" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "required_pull_request_reviews.bypass_pull_request_allowances.teams" - }, + "name": "bypass_pull_request_allowances.apps" + } + ], + "previews": [], + "renamed": null + }, + { + "method": "PATCH", + "url": "/repos/{owner}/{repo}/releases/{release_id}", + "documentationUrl": "https://docs.github.com/rest/reference/repos#update-a-release", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "release_id" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "tag_name" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "required_pull_request_reviews.bypass_pull_request_allowances.apps" + "name": "target_commitish" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "name" }, + { "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": "restrictions" + "name": "make_latest" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "restrictions.users" - }, + "name": "discussion_category_name" + } + ], + "previews": [], + "renamed": null + }, + { + "method": "PATCH", + "url": "/repos/{owner}/{repo}/releases/assets/{asset_id}", + "documentationUrl": "https://docs.github.com/rest/reference/repos#update-a-release-asset", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "asset_id" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "name" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "label" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "state" } + ], + "previews": [], + "renamed": null + }, + { + "method": "PUT", + "url": "/repos/{owner}/{repo}/rulesets/{ruleset_id}", + "documentationUrl": "https://docs.github.com/rest/repos/rules#update-repository-ruleset", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "ruleset_id" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "name" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "target" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "restrictions.teams" + "name": "enforcement" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "restrictions.apps" + "name": "bypass_mode" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "required_linear_history" + "name": "bypass_actors" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "allow_force_pushes" + "name": "bypass_actors[].actor_id" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "allow_deletions" + "name": "bypass_actors[].actor_type" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "conditions" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "block_creations" + "name": "conditions.ref_name" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "required_conversation_resolution" + "name": "conditions.ref_name.include" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "lock_branch" + "name": "conditions.ref_name.exclude" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "rules" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "allow_fork_syncing" - } - ], - "previews": [], - "renamed": null - }, - { - "method": "PATCH", - "url": "/repos/{owner}/{repo}/comments/{comment_id}", - "documentationUrl": "https://docs.github.com/rest/commits/comments#update-a-commit-comment", - "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "comment_id" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "body" } - ], - "previews": [], - "renamed": null - }, - { - "method": "PUT", - "url": "/repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}", - "documentationUrl": "https://docs.github.com/rest/deployments/branch-policies#update-deployment-branch-policy", - "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { - "alias": null, - "deprecated": null, - "in": "PATH", - "name": "environment_name" - }, - { - "alias": null, - "deprecated": null, - "in": "PATH", - "name": "branch_policy_id" + "name": "rules[].type" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "name" } - ], - "previews": [], - "renamed": null - }, - { - "method": "PUT", - "url": "/repos/{owner}/{repo}/pages", - "documentationUrl": "https://docs.github.com/rest/pages#update-information-about-a-github-pages-site", - "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "cname" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "https_enforced" - }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "build_type" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "source" } - ], - "previews": [], - "renamed": null - }, - { - "method": "PATCH", - "url": "/repos/{owner}/{repo}/invitations/{invitation_id}", - "documentationUrl": "https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation", - "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { - "alias": null, - "deprecated": null, - "in": "PATH", - "name": "invitation_id" + "name": "rules[].parameters" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "permissions" } - ], - "previews": [], - "renamed": null - }, - { - "method": "PATCH", - "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", - "documentationUrl": "https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection", - "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "dismissal_restrictions" + "name": "rules[].parameters.update_allows_fetch_and_merge" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "dismissal_restrictions.users" + "name": "rules[].parameters.required_deployment_environments" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "dismissal_restrictions.teams" + "name": "rules[].parameters.dismiss_stale_reviews_on_push" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "dismissal_restrictions.apps" + "name": "rules[].parameters.require_code_owner_review" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "dismiss_stale_reviews" + "name": "rules[].parameters.require_last_push_approval" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "require_code_owner_reviews" + "name": "rules[].parameters.required_approving_review_count" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "required_approving_review_count" + "name": "rules[].parameters.required_review_thread_resolution" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "require_last_push_approval" + "name": "rules[].parameters.required_status_checks" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "bypass_pull_request_allowances" + "name": "rules[].parameters.required_status_checks[].context" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "bypass_pull_request_allowances.users" + "name": "rules[].parameters.required_status_checks[].integration_id" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "bypass_pull_request_allowances.teams" + "name": "rules[].parameters.strict_required_status_checks_policy" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "bypass_pull_request_allowances.apps" - } - ], - "previews": [], - "renamed": null - }, - { - "method": "PATCH", - "url": "/repos/{owner}/{repo}/releases/{release_id}", - "documentationUrl": "https://docs.github.com/rest/reference/repos#update-a-release", - "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "release_id" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "tag_name" }, + "name": "rules[].parameters.name" + }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "target_commitish" + "name": "rules[].parameters.negate" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "name" }, - { "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" + "name": "rules[].parameters.operator" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "discussion_category_name" + "name": "rules[].parameters.pattern" } ], "previews": [], "renamed": null }, - { - "method": "PATCH", - "url": "/repos/{owner}/{repo}/releases/assets/{asset_id}", - "documentationUrl": "https://docs.github.com/rest/reference/repos#update-a-release-asset", - "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "PATH", "name": "asset_id" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "name" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "label" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "state" } - ], - "previews": [], - "renamed": null - }, { "method": "PATCH", "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", @@ -14002,16 +14672,6 @@ "previews": [], "renamed": null }, - { - "method": "GET", - "url": "/enterprises/{enterprise}/code_security_and_analysis", - "documentationUrl": "https://docs.github.com/rest/enterprise-admin#get-code-security-analysis-features-for-an-enterprise", - "parameters": [ - { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" } - ], - "previews": [], - "renamed": null - }, { "method": "GET", "url": "/enterprises/{enterprise}/secret-scanning/alerts", @@ -14120,76 +14780,220 @@ }, { "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", + "url": "/repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}", + "documentationUrl": "https://docs.github.com/rest/reference/secret-scanning#update-a-secret-scanning-alert", "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": "PATH", + "name": "alert_number" + }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "state" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "resolution" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "advanced_security_enabled_for_new_repositories" + "name": "resolution_comment" + } + ], + "previews": [], + "renamed": null + }, + { + "method": "POST", + "url": "/repos/{owner}/{repo}/security-advisories", + "documentationUrl": "https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "summary" }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "description" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "cve_id" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "secret_scanning_enabled_for_new_repositories" + "name": "vulnerabilities" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "secret_scanning_push_protection_enabled_for_new_repositories" + "name": "vulnerabilities[].package" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "secret_scanning_push_protection_custom_link" + "name": "vulnerabilities[].package.ecosystem" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "vulnerabilities[].package.name" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "vulnerabilities[].vulnerable_version_range" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "vulnerabilities[].patched_versions" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "vulnerabilities[].vulnerable_functions" + }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "cwe_ids" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "credits" }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "credits[].login" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "credits[].type" + }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "severity" }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "cvss_vector_string" } ], "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", + "method": "GET", + "url": "/repos/{owner}/{repo}/security-advisories/{ghsa_id}", + "documentationUrl": "https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory", "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" } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "ghsa_id" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/security-advisories", + "documentationUrl": "https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "direction" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "sort" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "before" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "after" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "state" } ], "previews": [], "renamed": null }, { "method": "PATCH", - "url": "/repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}", - "documentationUrl": "https://docs.github.com/rest/reference/secret-scanning#update-a-secret-scanning-alert", + "url": "/repos/{owner}/{repo}/security-advisories/{ghsa_id}", + "documentationUrl": "https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory", "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "ghsa_id" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "summary" }, { "alias": null, "deprecated": null, - "in": "PATH", - "name": "alert_number" + "in": "BODY", + "name": "description" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "state" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "resolution" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "cve_id" }, { "alias": null, "deprecated": null, "in": "BODY", - "name": "resolution_comment" - } + "name": "vulnerabilities" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "vulnerabilities[].package" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "vulnerabilities[].package.ecosystem" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "vulnerabilities[].package.name" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "vulnerabilities[].vulnerable_version_range" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "vulnerabilities[].patched_versions" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "vulnerabilities[].vulnerable_functions" + }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "cwe_ids" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "credits" }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "credits[].login" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "credits[].type" + }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "severity" }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "cvss_vector_string" + }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "state" } ], "previews": [], "renamed": null @@ -14351,6 +15155,12 @@ }, { "alias": null, "deprecated": null, "in": "BODY", "name": "repo_names" }, { "alias": null, "deprecated": null, "in": "BODY", "name": "privacy" }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "notification_setting" + }, { "alias": null, "deprecated": null, "in": "BODY", "name": "permission" }, { "alias": null, @@ -15054,6 +15864,12 @@ "name": "description" }, { "alias": null, "deprecated": null, "in": "BODY", "name": "privacy" }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "notification_setting" + }, { "alias": null, "deprecated": null, "in": "BODY", "name": "permission" }, { "alias": null, @@ -15079,6 +15895,12 @@ "name": "description" }, { "alias": null, "deprecated": null, "in": "BODY", "name": "privacy" }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "notification_setting" + }, { "alias": null, "deprecated": null, "in": "BODY", "name": "permission" }, { "alias": null, @@ -15110,6 +15932,21 @@ "previews": [], "renamed": null }, + { + "method": "POST", + "url": "/user/social_accounts", + "documentationUrl": "https://docs.github.com/rest/users/social-accounts#add-social-account-for-authenticated-user", + "parameters": [ + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "account_urls" + } + ], + "previews": [], + "renamed": null + }, { "method": "PUT", "url": "/user/blocks/{username}", @@ -15276,6 +16113,21 @@ "previews": [], "renamed": null }, + { + "method": "DELETE", + "url": "/user/social_accounts", + "documentationUrl": "https://docs.github.com/rest/users/social-accounts#delete-social-account-for-authenticated-user", + "parameters": [ + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "account_urls" + } + ], + "previews": [], + "renamed": null + }, { "method": "DELETE", "url": "/user/ssh_signing_keys/{ssh_signing_key_id}", @@ -15593,6 +16445,29 @@ "previews": [], "renamed": null }, + { + "method": "GET", + "url": "/user/social_accounts", + "documentationUrl": "https://docs.github.com/rest/users/social-accounts#list-social-accounts-for-the-authenticated-user", + "parameters": [ + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/users/{username}/social_accounts", + "documentationUrl": "https://docs.github.com/rest/users/social-accounts#list-social-accounts-for-a-user", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "username" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, { "method": "GET", "url": "/user/ssh_signing_keys", diff --git a/src/generated/Endpoints.ts b/src/generated/Endpoints.ts index 64c30b26d..2ff3d38f8 100644 --- a/src/generated/Endpoints.ts +++ b/src/generated/Endpoints.ts @@ -133,20 +133,6 @@ export interface Endpoints { "/applications/{client_id}/token", "delete" >; - /** - * @see https://docs.github.com/rest/reference/actions#remove-a-self-hosted-runner-from-a-group-for-an-enterprise - */ - "DELETE /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners/{runner_id}": Operation< - "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners/{runner_id}", - "delete" - >; - /** - * @see https://docs.github.com/rest/reference/actions#delete-self-hosted-runner-from-an-enterprise - */ - "DELETE /enterprises/{enterprise}/actions/runners/{runner_id}": Operation< - "/enterprises/{enterprise}/actions/runners/{runner_id}", - "delete" - >; /** * @see https://docs.github.com/rest/reference/gists#delete-a-gist */ @@ -173,6 +159,10 @@ export interface Endpoints { "/notifications/threads/{thread_id}/subscription", "delete" >; + /** + * @see https://docs.github.com/rest/orgs/orgs/#delete-an-organization + */ + "DELETE /orgs/{org}": Operation<"/orgs/{org}", "delete">; /** * @see https://docs.github.com/rest/reference/actions#disable-a-selected-repository-for-github-actions-in-an-organization */ @@ -194,27 +184,6 @@ export interface Endpoints { "/orgs/{org}/actions/required_workflows/{required_workflow_id}/repositories/{repository_id}", "delete" >; - /** - * @see https://docs.github.com/rest/reference/actions#delete-a-self-hosted-runner-group-from-an-organization - */ - "DELETE /orgs/{org}/actions/runner-groups/{runner_group_id}": Operation< - "/orgs/{org}/actions/runner-groups/{runner_group_id}", - "delete" - >; - /** - * @see https://docs.github.com/rest/reference/actions#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization - */ - "DELETE /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}": Operation< - "/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}", - "delete" - >; - /** - * @see https://docs.github.com/rest/reference/actions#remove-a-self-hosted-runner-from-a-group-for-an-organization - */ - "DELETE /orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}": Operation< - "/orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}", - "delete" - >; /** * @see https://docs.github.com/rest/reference/actions#delete-a-self-hosted-runner-from-an-organization */ @@ -271,6 +240,13 @@ export interface Endpoints { "/orgs/{org}/blocks/{username}", "delete" >; + /** + * @see https://docs.github.com/rest/reference/codespaces#delete-codespaces-billing-users + */ + "DELETE /orgs/{org}/codespaces/billing/selected_users": Operation< + "/orgs/{org}/codespaces/billing/selected_users", + "delete" + >; /** * @see https://docs.github.com/rest/reference/codespaces#delete-an-organization-secret */ @@ -342,14 +318,14 @@ export interface Endpoints { "delete" >; /** - * @see https://docs.github.com/rest/reference/migrations#delete-an-organization-migration-archive + * @see https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive */ "DELETE /orgs/{org}/migrations/{migration_id}/archive": Operation< "/orgs/{org}/migrations/{migration_id}/archive", "delete" >; /** - * @see https://docs.github.com/rest/reference/migrations#unlock-an-organization-repository + * @see https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository */ "DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock": Operation< "/orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock", @@ -383,6 +359,13 @@ export interface Endpoints { "/orgs/{org}/public_members/{username}", "delete" >; + /** + * @see https://docs.github.com/rest/repos/rules#delete-organization-ruleset + */ + "DELETE /orgs/{org}/rulesets/{ruleset_id}": Operation< + "/orgs/{org}/rulesets/{ruleset_id}", + "delete" + >; /** * @see https://docs.github.com/rest/reference/orgs#remove-a-security-manager-team */ @@ -549,7 +532,7 @@ export interface Endpoints { "delete" >; /** - * @see https://docs.github.com/v3/repos#delete-autolink + * @see https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository */ "DELETE /repos/{owner}/{repo}/autolinks/{autolink_id}": Operation< "/repos/{owner}/{repo}/autolinks/{autolink_id}", @@ -717,7 +700,7 @@ export interface Endpoints { "delete" >; /** - * @see https://docs.github.com/rest/reference/migrations#cancel-an-import + * @see https://docs.github.com/rest/migrations/source-imports#cancel-an-import */ "DELETE /repos/{owner}/{repo}/import": Operation< "/repos/{owner}/{repo}/import", @@ -870,6 +853,13 @@ export interface Endpoints { "/repos/{owner}/{repo}/releases/{release_id}/reactions/{reaction_id}", "delete" >; + /** + * @see https://docs.github.com/rest/repos/rules#delete-repository-ruleset + */ + "DELETE /repos/{owner}/{repo}/rulesets/{ruleset_id}": Operation< + "/repos/{owner}/{repo}/rulesets/{ruleset_id}", + "delete" + >; /** * @see https://docs.github.com/rest/reference/activity#delete-a-repository-subscription */ @@ -1016,14 +1006,14 @@ export interface Endpoints { */ "DELETE /user/keys/{key_id}": Operation<"/user/keys/{key_id}", "delete">; /** - * @see https://docs.github.com/rest/reference/migrations#delete-a-user-migration-archive + * @see https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive */ "DELETE /user/migrations/{migration_id}/archive": Operation< "/user/migrations/{migration_id}/archive", "delete" >; /** - * @see https://docs.github.com/rest/reference/migrations#unlock-a-user-repository + * @see https://docs.github.com/rest/migrations/users#unlock-a-user-repository */ "DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock": Operation< "/user/migrations/{migration_id}/repos/{repo_name}/lock", @@ -1050,6 +1040,10 @@ export interface Endpoints { "/user/repository_invitations/{invitation_id}", "delete" >; + /** + * @see https://docs.github.com/rest/users/social-accounts#delete-social-account-for-authenticated-user + */ + "DELETE /user/social_accounts": Operation<"/user/social_accounts", "delete">; /** * @see https://docs.github.com/rest/reference/users#delete-a-ssh-signing-key-for-the-authenticated-user */ @@ -1101,6 +1095,13 @@ export interface Endpoints { "/app/hook/deliveries/{delivery_id}", "get" >; + /** + * @see https://docs.github.com/rest/reference/apps#list-installation-requests-for-the-authenticated-app + */ + "GET /app/installation-requests": Operation< + "/app/installation-requests", + "get" + >; /** * @see https://docs.github.com/rest/reference/apps#list-installations-for-the-authenticated-app */ @@ -1128,34 +1129,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/actions#list-self-hosted-runner-groups-for-an-enterprise - */ - "GET /enterprises/{enterprise}/actions/runner-groups": Operation< - "/enterprises/{enterprise}/actions/runner-groups", - "get" - >; - /** - * @see https://docs.github.com/rest/reference/actions#get-a-self-hosted-runner-group-for-an-enterprise - */ - "GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}": Operation< - "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}", - "get" - >; - /** - * @see https://docs.github.com/rest/reference/actions#list-labels-for-a-self-hosted-runner-for-an-enterprise - */ - "GET /enterprises/{enterprise}/actions/runners/{runner_id}/labels": Operation< - "/enterprises/{enterprise}/actions/runners/{runner_id}/labels", - "get" - >; - /** - * @see https://docs.github.com/rest/enterprise-admin#get-code-security-analysis-features-for-an-enterprise - */ - "GET /enterprises/{enterprise}/code_security_and_analysis": Operation< - "/enterprises/{enterprise}/code_security_and_analysis", - "get" - >; /** * @see https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise */ @@ -1333,6 +1306,34 @@ export interface Endpoints { * @see https://docs.github.com/rest/reference/orgs#list-organizations */ "GET /organizations": Operation<"/organizations", "get">; + /** + * @see https://docs.github.com/rest/orgs/orgs#list-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens + */ + "GET /organizations/{org}/personal-access-token-requests": Operation< + "/organizations/{org}/personal-access-token-requests", + "get" + >; + /** + * @see https://docs.github.com/rest/orgs/orgs#list-repositories-requested-to-be-accessed-by-a-fine-grained-personal-access-token + */ + "GET /organizations/{org}/personal-access-token-requests/{pat_request_id}/repositories": Operation< + "/organizations/{org}/personal-access-token-requests/{pat_request_id}/repositories", + "get" + >; + /** + * @see https://docs.github.com/rest/orgs/orgs#list-fine-grained-personal-access-tokens-with-access-to-organization-resources + */ + "GET /organizations/{org}/personal-access-tokens": Operation< + "/organizations/{org}/personal-access-tokens", + "get" + >; + /** + * @see https://docs.github.com/rest/orgs/orgs#list-repositories-a-fine-grained-personal-access-token-has-access-to + */ + "GET /organizations/{org}/personal-access-tokens/{pat_id}/repositories": Operation< + "/organizations/{org}/personal-access-tokens/{pat_id}/repositories", + "get" + >; /** * @see https://docs.github.com/rest/reference/codespaces#list-in-organization * @deprecated "org_id" is now "org" @@ -1412,34 +1413,6 @@ export interface Endpoints { "/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 - */ - "GET /orgs/{org}/actions/runner-groups": Operation< - "/orgs/{org}/actions/runner-groups", - "get" - >; - /** - * @see https://docs.github.com/rest/reference/actions#get-a-self-hosted-runner-group-for-an-organization - */ - "GET /orgs/{org}/actions/runner-groups/{runner_group_id}": Operation< - "/orgs/{org}/actions/runner-groups/{runner_group_id}", - "get" - >; - /** - * @see https://docs.github.com/rest/reference/actions#list-repository-access-to-a-self-hosted-runner-group-in-an-organization - */ - "GET /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories": Operation< - "/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories", - "get" - >; - /** - * @see https://docs.github.com/rest/reference/actions#list-self-hosted-runners-in-a-group-for-an-organization - */ - "GET /orgs/{org}/actions/runner-groups/{runner_group_id}/runners": Operation< - "/orgs/{org}/actions/runner-groups/{runner_group_id}/runners", - "get" - >; /** * @see https://docs.github.com/rest/reference/actions#list-self-hosted-runners-for-an-organization */ @@ -1529,7 +1502,7 @@ export interface Endpoints { "get" >; /** - * @see https://docs.github.com/rest/reference/code-scanning#list-code-scanning-alerts-by-organization + * @see https://docs.github.com/rest/reference/code-scanning#list-code-scanning-alerts-for-an-organization */ "GET /orgs/{org}/code-scanning/alerts": Operation< "/orgs/{org}/code-scanning/alerts", @@ -1602,6 +1575,13 @@ export interface Endpoints { "/orgs/{org}/dependabot/secrets/{secret_name}/repositories", "get" >; + /** + * @see https://docs.github.com/rest/reference/packages#list-docker-migration-conflicting-packages-for-organization + */ + "GET /orgs/{org}/docker/conflicts": Operation< + "/orgs/{org}/docker/conflicts", + "get" + >; /** * @see https://docs.github.com/rest/reference/activity#list-public-organization-events */ @@ -1704,25 +1684,25 @@ export interface Endpoints { "get" >; /** - * @see https://docs.github.com/rest/reference/migrations#list-organization-migrations + * @see https://docs.github.com/rest/migrations/orgs#list-organization-migrations */ "GET /orgs/{org}/migrations": Operation<"/orgs/{org}/migrations", "get">; /** - * @see https://docs.github.com/rest/reference/migrations#get-an-organization-migration-status + * @see https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status */ "GET /orgs/{org}/migrations/{migration_id}": Operation< "/orgs/{org}/migrations/{migration_id}", "get" >; /** - * @see https://docs.github.com/rest/reference/migrations#download-an-organization-migration-archive + * @see https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive */ "GET /orgs/{org}/migrations/{migration_id}/archive": Operation< "/orgs/{org}/migrations/{migration_id}/archive", "get" >; /** - * @see https://docs.github.com/rest/reference/migrations#list-repositories-in-an-organization-migration + * @see https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration */ "GET /orgs/{org}/migrations/{migration_id}/repositories": Operation< "/orgs/{org}/migrations/{migration_id}/repositories", @@ -1782,6 +1762,17 @@ export interface Endpoints { * @see https://docs.github.com/rest/reference/repos#list-organization-repositories */ "GET /orgs/{org}/repos": Operation<"/orgs/{org}/repos", "get">; + /** + * @see https://docs.github.com/rest/repos/rules#get-organization-rulesets + */ + "GET /orgs/{org}/rulesets": Operation<"/orgs/{org}/rulesets", "get">; + /** + * @see https://docs.github.com/rest/repos/rules#get-organization-ruleset + */ + "GET /orgs/{org}/rulesets/{ruleset_id}": Operation< + "/orgs/{org}/rulesets/{ruleset_id}", + "get" + >; /** * @see https://docs.github.com/rest/reference/secret-scanning#list-secret-scanning-alerts-for-an-organization */ @@ -2057,6 +2048,20 @@ export interface Endpoints { "/repos/{owner}/{repo}/actions/oidc/customization/sub", "get" >; + /** + * @see https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets + */ + "GET /repos/{owner}/{repo}/actions/organization-secrets": Operation< + "/repos/{owner}/{repo}/actions/organization-secrets", + "get" + >; + /** + * @see https://docs.github.com/rest/actions/variables#list-repository-organization-variables + */ + "GET /repos/{owner}/{repo}/actions/organization-variables": Operation< + "/repos/{owner}/{repo}/actions/organization-variables", + "get" + >; /** * @see https://docs.github.com/rest/reference/actions#get-github-actions-permissions-for-a-repository */ @@ -2275,14 +2280,14 @@ export interface Endpoints { "get" >; /** - * @see https://docs.github.com/v3/repos#list-autolinks + * @see https://docs.github.com/rest/repos/autolinks#list-all-autolinks-of-a-repository */ "GET /repos/{owner}/{repo}/autolinks": Operation< "/repos/{owner}/{repo}/autolinks", "get" >; /** - * @see https://docs.github.com/v3/repos#get-autolink + * @see https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository */ "GET /repos/{owner}/{repo}/autolinks/{autolink_id}": Operation< "/repos/{owner}/{repo}/autolinks/{autolink_id}", @@ -2444,21 +2449,28 @@ export interface Endpoints { "get" >; /** - * @see https://docs.github.com/rest/reference/code-scanning#list-codeql-databases + * @see https://docs.github.com/rest/reference/code-scanning#list-codeql-databases-for-a-repository */ "GET /repos/{owner}/{repo}/code-scanning/codeql/databases": Operation< "/repos/{owner}/{repo}/code-scanning/codeql/databases", "get" >; /** - * @see https://docs.github.com/rest/reference/code-scanning#get-codeql-database + * @see https://docs.github.com/rest/reference/code-scanning#get-a-codeql-database-for-a-repository */ "GET /repos/{owner}/{repo}/code-scanning/codeql/databases/{language}": Operation< "/repos/{owner}/{repo}/code-scanning/codeql/databases/{language}", "get" >; /** - * @see https://docs.github.com/rest/reference/code-scanning#list-recent-code-scanning-analyses-for-a-repository + * @see https://docs.github.com/rest/code-scanning#get-a-code-scanning-default-setup-configuration + */ + "GET /repos/{owner}/{repo}/code-scanning/default-setup": Operation< + "/repos/{owner}/{repo}/code-scanning/default-setup", + "get" + >; + /** + * @see https://docs.github.com/rest/reference/code-scanning#get-information-about-a-sarif-upload */ "GET /repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}": Operation< "/repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}", @@ -2702,6 +2714,13 @@ export interface Endpoints { "/repos/{owner}/{repo}/dependency-graph/compare/{basehead}", "get" >; + /** + * @see https://docs.github.com/rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository + */ + "GET /repos/{owner}/{repo}/dependency-graph/sbom": Operation< + "/repos/{owner}/{repo}/dependency-graph/sbom", + "get" + >; /** * @see https://docs.github.com/rest/deployments/deployments#list-deployments */ @@ -2850,21 +2869,21 @@ export interface Endpoints { "get" >; /** - * @see https://docs.github.com/rest/reference/migrations#get-an-import-status + * @see https://docs.github.com/rest/migrations/source-imports#get-an-import-status */ "GET /repos/{owner}/{repo}/import": Operation< "/repos/{owner}/{repo}/import", "get" >; /** - * @see https://docs.github.com/rest/reference/migrations#get-commit-authors + * @see https://docs.github.com/rest/migrations/source-imports#get-commit-authors */ "GET /repos/{owner}/{repo}/import/authors": Operation< "/repos/{owner}/{repo}/import/authors", "get" >; /** - * @see https://docs.github.com/rest/reference/migrations#get-large-files + * @see https://docs.github.com/rest/migrations/source-imports#get-large-files */ "GET /repos/{owner}/{repo}/import/large_files": Operation< "/repos/{owner}/{repo}/import/large_files", @@ -3248,6 +3267,27 @@ export interface Endpoints { "/repos/{owner}/{repo}/releases/{release_id}/reactions", "get" >; + /** + * @see https://docs.github.com/rest/repos/rules#get-rules-for-a-branch + */ + "GET /repos/{owner}/{repo}/rules/branches/{branch}": Operation< + "/repos/{owner}/{repo}/rules/branches/{branch}", + "get" + >; + /** + * @see https://docs.github.com/rest/repos/rules#get-repository-rulesets + */ + "GET /repos/{owner}/{repo}/rulesets": Operation< + "/repos/{owner}/{repo}/rulesets", + "get" + >; + /** + * @see https://docs.github.com/rest/repos/rules#get-repository-ruleset + */ + "GET /repos/{owner}/{repo}/rulesets/{ruleset_id}": Operation< + "/repos/{owner}/{repo}/rulesets/{ruleset_id}", + "get" + >; /** * @see https://docs.github.com/rest/reference/secret-scanning#list-secret-scanning-alerts-for-a-repository */ @@ -3269,6 +3309,20 @@ export interface Endpoints { "/repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations", "get" >; + /** + * @see https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories + */ + "GET /repos/{owner}/{repo}/security-advisories": Operation< + "/repos/{owner}/{repo}/security-advisories", + "get" + >; + /** + * @see https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory + */ + "GET /repos/{owner}/{repo}/security-advisories/{ghsa_id}": Operation< + "/repos/{owner}/{repo}/security-advisories/{ghsa_id}", + "get" + >; /** * @see https://docs.github.com/rest/reference/activity#list-stargazers */ @@ -3305,7 +3359,7 @@ export interface Endpoints { "get" >; /** - * @see https://docs.github.com/rest/statistics/repos#get-the-hourly-commit-count-for-each-day + * @see https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day */ "GET /repos/{owner}/{repo}/stats/punch_card": Operation< "/repos/{owner}/{repo}/stats/punch_card", @@ -3631,6 +3685,10 @@ export interface Endpoints { "/user/codespaces/{codespace_name}/machines", "get" >; + /** + * @see https://docs.github.com/rest/packages#list-docker-migration-conflicting-packages-for-authenticated-user + */ + "GET /user/docker/conflicts": Operation<"/user/docker/conflicts", "get">; /** * @see https://docs.github.com/rest/reference/users#list-email-addresses-for-the-authenticated-user */ @@ -3714,25 +3772,25 @@ export interface Endpoints { "get" >; /** - * @see https://docs.github.com/rest/reference/migrations#list-user-migrations + * @see https://docs.github.com/rest/migrations/users#list-user-migrations */ "GET /user/migrations": Operation<"/user/migrations", "get">; /** - * @see https://docs.github.com/rest/reference/migrations#get-a-user-migration-status + * @see https://docs.github.com/rest/migrations/users#get-a-user-migration-status */ "GET /user/migrations/{migration_id}": Operation< "/user/migrations/{migration_id}", "get" >; /** - * @see https://docs.github.com/rest/reference/migrations#download-a-user-migration-archive + * @see https://docs.github.com/rest/migrations/users#download-a-user-migration-archive */ "GET /user/migrations/{migration_id}/archive": Operation< "/user/migrations/{migration_id}/archive", "get" >; /** - * @see https://docs.github.com/rest/reference/migrations#list-repositories-for-a-user-migration + * @see https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration */ "GET /user/migrations/{migration_id}/repositories": Operation< "/user/migrations/{migration_id}/repositories", @@ -3782,6 +3840,10 @@ export interface Endpoints { "/user/repository_invitations", "get" >; + /** + * @see https://docs.github.com/rest/users/social-accounts#list-social-accounts-for-the-authenticated-user + */ + "GET /user/social_accounts": Operation<"/user/social_accounts", "get">; /** * @see https://docs.github.com/rest/reference/users#list-public-ssh-signing-keys-for-the-authenticated-user */ @@ -3820,6 +3882,13 @@ export interface Endpoints { * @see https://docs.github.com/rest/reference/users#get-a-user */ "GET /users/{username}": Operation<"/users/{username}", "get">; + /** + * @see https://docs.github.com/rest/reference/packages#list-docker-migration-conflicting-packages-for-user + */ + "GET /users/{username}/docker/conflicts": Operation< + "/users/{username}/docker/conflicts", + "get" + >; /** * @see https://docs.github.com/rest/reference/activity#list-events-for-the-authenticated-user */ @@ -3966,6 +4035,13 @@ export interface Endpoints { "/users/{username}/settings/billing/shared-storage", "get" >; + /** + * @see https://docs.github.com/rest/users/social-accounts#list-social-accounts-for-a-user + */ + "GET /users/{username}/social_accounts": Operation< + "/users/{username}/social_accounts", + "get" + >; /** * @see https://docs.github.com/rest/reference/users#list-ssh-signing-keys-for-a-user */ @@ -4006,13 +4082,6 @@ export interface Endpoints { "/applications/{client_id}/token", "patch" >; - /** - * @see https://docs.github.com/rest/enterprise-admin#update-code-security-and-analysis-features-for-an-enterprise - */ - "PATCH /enterprises/{enterprise}/code_security_and_analysis": Operation< - "/enterprises/{enterprise}/code_security_and_analysis", - "patch" - >; /** * @see https://docs.github.com/rest/reference/gists/#update-a-gist */ @@ -4042,13 +4111,6 @@ export interface Endpoints { "/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 - */ - "PATCH /orgs/{org}/actions/runner-groups/{runner_group_id}": Operation< - "/orgs/{org}/actions/runner-groups/{runner_group_id}", - "patch" - >; /** * @see https://docs.github.com/rest/actions/variables#update-an-organization-variable */ @@ -4155,6 +4217,13 @@ export interface Endpoints { "/repos/{owner}/{repo}/code-scanning/alerts/{alert_number}", "patch" >; + /** + * @see https://docs.github.com/rest/code-scanning#update-a-code-scanning-default-setup-configuration + */ + "PATCH /repos/{owner}/{repo}/code-scanning/default-setup": Operation< + "/repos/{owner}/{repo}/code-scanning/default-setup", + "patch" + >; /** * @see https://docs.github.com/rest/commits/comments#update-a-commit-comment */ @@ -4191,21 +4260,21 @@ export interface Endpoints { "patch" >; /** - * @see https://docs.github.com/rest/reference/migrations#update-an-import + * @see https://docs.github.com/rest/migrations/source-imports#update-an-import */ "PATCH /repos/{owner}/{repo}/import": Operation< "/repos/{owner}/{repo}/import", "patch" >; /** - * @see https://docs.github.com/rest/reference/migrations#map-a-commit-author + * @see https://docs.github.com/rest/migrations/source-imports#map-a-commit-author */ "PATCH /repos/{owner}/{repo}/import/authors/{author_id}": Operation< "/repos/{owner}/{repo}/import/authors/{author_id}", "patch" >; /** - * @see https://docs.github.com/rest/reference/migrations#update-git-lfs-preference + * @see https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference */ "PATCH /repos/{owner}/{repo}/import/lfs": Operation< "/repos/{owner}/{repo}/import/lfs", @@ -4281,6 +4350,13 @@ export interface Endpoints { "/repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}", "patch" >; + /** + * @see https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory + */ + "PATCH /repos/{owner}/{repo}/security-advisories/{ghsa_id}": Operation< + "/repos/{owner}/{repo}/security-advisories/{ghsa_id}", + "patch" + >; /** * @see https://docs.github.com/rest/actions/variables#update-an-environment-variable */ @@ -4364,33 +4440,12 @@ export interface Endpoints { "post" >; /** - * @see https://docs.github.com/rest/reference/apps#create-a-scoped-access-token + * @see https://docs.github.com/rest/apps/apps#create-a-scoped-access-token */ "POST /applications/{client_id}/token/scoped": Operation< "/applications/{client_id}/token/scoped", "post" >; - /** - * @see https://docs.github.com/rest/reference/actions#create-self-hosted-runner-group-for-an-enterprise - */ - "POST /enterprises/{enterprise}/actions/runner-groups": Operation< - "/enterprises/{enterprise}/actions/runner-groups", - "post" - >; - /** - * @see https://docs.github.com/rest/reference/actions#add-custom-labels-to-a-self-hosted-runner-for-an-enterprise - */ - "POST /enterprises/{enterprise}/actions/runners/{runner_id}/labels": Operation< - "/enterprises/{enterprise}/actions/runners/{runner_id}/labels", - "post" - >; - /** - * @see https://docs.github.com/rest/enterprise-admin#enable-or-disable-a-security-feature - */ - "POST /enterprises/{enterprise}/{security_product}/{enablement}": Operation< - "/enterprises/{enterprise}/{security_product}/{enablement}", - "post" - >; /** * @see https://docs.github.com/rest/reference/gists#create-a-gist */ @@ -4415,17 +4470,38 @@ export interface Endpoints { */ "POST /markdown/raw": Operation<"/markdown/raw", "post">; /** - * @see https://docs.github.com/rest/reference/actions#create-a-required-workflow + * @see https://docs.github.com/rest/orgs/orgs#review-requests-to-access-organization-resources-with-a-fine-grained-personal-access-token */ - "POST /orgs/{org}/actions/required_workflows": Operation< - "/orgs/{org}/actions/required_workflows", + "POST /organizations/{org}/personal-access-token-requests": Operation< + "/organizations/{org}/personal-access-token-requests", "post" >; /** - * @see https://docs.github.com/rest/reference/actions#create-a-self-hosted-runner-group-for-an-organization + * @see https://docs.github.com/rest/orgs/orgs#review-a-request-to-access-organization-resources-with-a-fine-grained-personal-access-token */ - "POST /orgs/{org}/actions/runner-groups": Operation< - "/orgs/{org}/actions/runner-groups", + "POST /organizations/{org}/personal-access-token-requests/{pat_request_id}": Operation< + "/organizations/{org}/personal-access-token-requests/{pat_request_id}", + "post" + >; + /** + * @see https://docs.github.com/rest/orgs/orgs#update-the-access-to-organization-resources-via-fine-grained-personal-access-tokens + */ + "POST /organizations/{org}/personal-access-tokens": Operation< + "/organizations/{org}/personal-access-tokens", + "post" + >; + /** + * @see https://docs.github.com/rest/orgs/orgs#update-the-access-a-fine-grained-personal-access-token-has-to-organization-resources + */ + "POST /organizations/{org}/personal-access-tokens/{pat_id}": Operation< + "/organizations/{org}/personal-access-tokens/{pat_id}", + "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" >; /** @@ -4456,6 +4532,13 @@ export interface Endpoints { "/orgs/{org}/actions/variables", "post" >; + /** + * @see https://docs.github.com/rest/reference/codespaces#set-codespaces-billing-users + */ + "POST /orgs/{org}/codespaces/billing/selected_users": Operation< + "/orgs/{org}/codespaces/billing/selected_users", + "post" + >; /** * @see https://docs.github.com/rest/reference/orgs#create-an-organization-webhook */ @@ -4486,7 +4569,7 @@ export interface Endpoints { "post" >; /** - * @see https://docs.github.com/rest/reference/migrations#start-an-organization-migration + * @see https://docs.github.com/rest/migrations/orgs#start-an-organization-migration */ "POST /orgs/{org}/migrations": Operation<"/orgs/{org}/migrations", "post">; /** @@ -4511,6 +4594,10 @@ export interface Endpoints { * @see https://docs.github.com/rest/reference/repos#create-an-organization-repository */ "POST /orgs/{org}/repos": Operation<"/orgs/{org}/repos", "post">; + /** + * @see https://docs.github.com/rest/repos/rules#create-organization-repository-ruleset + */ + "POST /orgs/{org}/rulesets": Operation<"/orgs/{org}/rulesets", "post">; /** * @see https://docs.github.com/rest/reference/teams#create-a-team */ @@ -4656,7 +4743,7 @@ export interface Endpoints { "post" >; /** - * @see https://docs.github.com/v3/repos#create-an-autolink + * @see https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository */ "POST /repos/{owner}/{repo}/autolinks": Operation< "/repos/{owner}/{repo}/autolinks", @@ -4740,7 +4827,7 @@ export interface Endpoints { "post" >; /** - * @see https://docs.github.com/rest/reference/code-scanning#upload-a-sarif-file + * @see https://docs.github.com/rest/reference/code-scanning#upload-an-analysis-as-sarif-data */ "POST /repos/{owner}/{repo}/code-scanning/sarifs": Operation< "/repos/{owner}/{repo}/code-scanning/sarifs", @@ -5034,7 +5121,7 @@ export interface Endpoints { "post" >; /** - * @see https://docs.github.com/rest/reference/repos#create-a-release + * @see https://docs.github.com/rest/releases/releases#create-a-release */ "POST /repos/{owner}/{repo}/releases": Operation< "/repos/{owner}/{repo}/releases", @@ -5054,6 +5141,20 @@ export interface Endpoints { "/repos/{owner}/{repo}/releases/{release_id}/reactions", "post" >; + /** + * @see https://docs.github.com/rest/repos/rules#create-repository-ruleset + */ + "POST /repos/{owner}/{repo}/rulesets": Operation< + "/repos/{owner}/{repo}/rulesets", + "post" + >; + /** + * @see https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory + */ + "POST /repos/{owner}/{repo}/security-advisories": Operation< + "/repos/{owner}/{repo}/security-advisories", + "post" + >; /** * @see https://docs.github.com/rest/commits/statuses#create-a-commit-status */ @@ -5162,7 +5263,7 @@ export interface Endpoints { */ "POST /user/keys": Operation<"/user/keys", "post">; /** - * @see https://docs.github.com/rest/reference/migrations#start-a-user-migration + * @see https://docs.github.com/rest/migrations/users#start-a-user-migration */ "POST /user/migrations": Operation<"/user/migrations", "post">; /** @@ -5187,6 +5288,10 @@ export interface Endpoints { * @see https://docs.github.com/rest/reference/repos#create-a-repository-for-the-authenticated-user */ "POST /user/repos": Operation<"/user/repos", "post">; + /** + * @see https://docs.github.com/rest/users/social-accounts#add-social-account-for-authenticated-user + */ + "POST /user/social_accounts": Operation<"/user/social_accounts", "post">; /** * @see https://docs.github.com/rest/reference/users#create-an-ssh-signing-key-for-the-authenticated-user */ @@ -5219,20 +5324,6 @@ export interface Endpoints { "/app/installations/{installation_id}/suspended", "put" >; - /** - * @see https://docs.github.com/rest/reference/actions#enable-a-selected-organization-for-github-actions-in-an-enterprise - */ - "PUT /enterprises/{enterprise}/actions/permissions/organizations/{org_id}": Operation< - "/enterprises/{enterprise}/actions/permissions/organizations/{org_id}", - "put" - >; - /** - * @see https://docs.github.com/rest/reference/actions#add-organization-access-to-a-self-hosted-runner-group-in-an-enterprise - */ - "PUT /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations/{org_id}": Operation< - "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations/{org_id}", - "put" - >; /** * @see https://docs.github.com/rest/reference/gists#star-a-gist */ @@ -5304,27 +5395,6 @@ export interface Endpoints { "/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 - */ - "PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories": Operation< - "/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories", - "put" - >; - /** - * @see https://docs.github.com/rest/reference/actions#set-self-hosted-runners-in-a-group-for-an-organization - */ - "PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/runners": Operation< - "/orgs/{org}/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-organization - */ - "PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}": Operation< - "/orgs/{org}/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-organization */ @@ -5451,6 +5521,13 @@ export interface Endpoints { "/orgs/{org}/public_members/{username}", "put" >; + /** + * @see https://docs.github.com/rest/repos/rules#update-organization-ruleset + */ + "PUT /orgs/{org}/rulesets/{ruleset_id}": Operation< + "/orgs/{org}/rulesets/{ruleset_id}", + "put" + >; /** * @see https://docs.github.com/rest/reference/orgs#add-a-security-manager-team */ @@ -5634,7 +5711,7 @@ export interface Endpoints { "put" >; /** - * @see https://docs.github.com/rest/reference/migrations#start-an-import + * @see https://docs.github.com/rest/migrations/source-imports#start-an-import */ "PUT /repos/{owner}/{repo}/import": Operation< "/repos/{owner}/{repo}/import", @@ -5710,6 +5787,13 @@ export interface Endpoints { "/repos/{owner}/{repo}/pulls/{pull_number}/update-branch", "put" >; + /** + * @see https://docs.github.com/rest/repos/rules#update-repository-ruleset + */ + "PUT /repos/{owner}/{repo}/rulesets/{ruleset_id}": Operation< + "/repos/{owner}/{repo}/rulesets/{ruleset_id}", + "put" + >; /** * @see https://docs.github.com/rest/reference/activity#set-a-repository-subscription */