Skip to main content

GitHub 应用程序所需的权限

对于授予 GitHub App 的每个权限,这些是应用可以使用的 REST API 终结点。

本文内容

关于 GitHub App 权限

GitHub Apps 是用一组权限创建的。 权限定义了 GitHub App 可以通过 API 访问哪些资源。 有关详细信息,请参阅“为 GitHub Apps 选择权限”。

为帮助正确选择权限,在 REST API 响应中将会收到 X-Accepted-GitHub-Permissions 标头。 标头将会提示访问端点所需的权限。 有关详细信息,请参阅“REST API 故障排除”。

需要拥有这些权限才能访问专用资源。 某些端点也可以用来访问不具有这些权限的公共资源。 若要查看端点是否可以在没有权限的情况下访问公共资源,请参阅该端点的文档。

某些端点需要多个权限。 其他端点使用一组权限中的任何一个权限。 在这些情况下,“其他权限”列将包含复选标记。 有关使用端点所需的权限的完整详细信息,请参阅该端点的文档。

Business permissions for "Enterprise administration"

终结点Access令牌类型其他权限
GET /enterprises/{enterprise}/actions/cache/usagewriteUAT
IAT
PUT /enterprises/{enterprise}/actions/oidc/customization/issuerwriteUAT
IAT
GET /enterprises/{enterprise}/settings/billing/actionswriteUAT
IAT
GET /enterprises/{enterprise}/settings/billing/advanced-securitywriteUAT
IAT
GET /enterprises/{enterprise}/settings/billing/cost-centerswrite
POST /enterprises/{enterprise}/settings/billing/cost-centers/{cost_center_id}/resourcewrite
DELETE /enterprises/{enterprise}/settings/billing/cost-centers/{cost_center_id}/resourcewrite
GET /enterprises/{enterprise}/settings/billing/packageswriteUAT
IAT
GET /enterprises/{enterprise}/settings/billing/shared-storagewriteUAT
IAT
GET /enterprises/{enterprise}/settings/billing/usagewrite
GET /scim/v2/enterprises/{enterprise}/GroupswriteUAT
IAT
POST /scim/v2/enterprises/{enterprise}/GroupswriteUAT
IAT
GET /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}writeUAT
IAT
PUT /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}writeUAT
IAT
PATCH /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}writeUAT
IAT
DELETE /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}writeUAT
IAT
GET /scim/v2/enterprises/{enterprise}/UserswriteUAT
IAT
POST /scim/v2/enterprises/{enterprise}/UserswriteUAT
IAT
GET /scim/v2/enterprises/{enterprise}/Users/{scim_user_id}writeUAT
IAT
PUT /scim/v2/enterprises/{enterprise}/Users/{scim_user_id}writeUAT
IAT
DELETE /scim/v2/enterprises/{enterprise}/Users/{scim_user_id}writeUAT
IAT
GET /enterprise-installation/{enterprise_or_org}/server-statisticsreadUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
GET /enterprises/{enterprise}/audit-logreadUAT
IAT
GET /enterprises/{enterprise}/consumed-licensesreadUAT
IAT
GET /enterprises/{enterprise}/copilot/billing/seatsread
GET /enterprises/{enterprise}/copilot/usageread
GET /enterprises/{enterprise}/license-sync-statusreadUAT
IAT
GET /orgs/{org}/copilot/usagereadUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。

Organization permissions for "Administration"

终结点Access令牌类型其他权限
PATCH /orgs/{org}writeUAT
IAT
DELETE /orgs/{org}writeUAT
IAT
PUT /orgs/{org}/actions/oidc/customization/subwriteUAT
IAT
PUT /orgs/{org}/actions/permissionswriteUAT
IAT
PUT /orgs/{org}/actions/permissions/repositorieswriteUAT
IAT
PUT /orgs/{org}/actions/permissions/repositories/{repository_id}writeUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
DELETE /orgs/{org}/actions/permissions/repositories/{repository_id}writeUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
PUT /orgs/{org}/actions/permissions/selected-actionswriteUAT
IAT
PUT /orgs/{org}/actions/permissions/workflowwriteUAT
IAT
GET /orgs/{org}/code-security/configurationswriteUAT
IAT
POST /orgs/{org}/code-security/configurationswriteUAT
IAT
GET /orgs/{org}/code-security/configurations/defaultswriteUAT
IAT
DELETE /orgs/{org}/code-security/configurations/detachwriteUAT
IAT
GET /orgs/{org}/code-security/configurations/{configuration_id}writeUAT
IAT
PATCH /orgs/{org}/code-security/configurations/{configuration_id}writeUAT
IAT
DELETE /orgs/{org}/code-security/configurations/{configuration_id}writeUAT
IAT
POST /orgs/{org}/code-security/configurations/{configuration_id}/attachwriteUAT
IAT
PUT /orgs/{org}/code-security/configurations/{configuration_id}/defaultswriteUAT
IAT
GET /orgs/{org}/code-security/configurations/{configuration_id}/repositorieswriteUAT
IAT
POST /orgs/{org}/copilot/billing/selected_teamswriteUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
DELETE /orgs/{org}/copilot/billing/selected_teamswriteUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
POST /orgs/{org}/copilot/billing/selected_userswriteUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
DELETE /orgs/{org}/copilot/billing/selected_userswriteUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
DELETE /orgs/{org}/credential-authorizations/{credential_id}writeUAT
IAT
PUT /orgs/{org}/interaction-limitswriteUAT
IAT
DELETE /orgs/{org}/interaction-limitswriteUAT
IAT
GET /orgs/{org}/rulesetswriteUAT
IAT
POST /orgs/{org}/rulesetswriteUAT
IAT
GET /orgs/{org}/rulesets/rule-suiteswriteUAT
IAT
GET /orgs/{org}/rulesets/rule-suites/{rule_suite_id}writeUAT
IAT
GET /orgs/{org}/rulesets/{ruleset_id}writeUAT
IAT
PUT /orgs/{org}/rulesets/{ruleset_id}writeUAT
IAT
DELETE /orgs/{org}/rulesets/{ruleset_id}writeUAT
IAT
PUT /orgs/{org}/security-managers/teams/{team_slug}writeUAT
IAT
DELETE /orgs/{org}/security-managers/teams/{team_slug}writeUAT
IAT
POST /orgs/{org}/{security_product}/{enablement}writeUAT
IAT
GET /enterprise-installation/{enterprise_or_org}/server-statisticsreadUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
GET /organizations/{organization_id}/custom_rolesreadUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
GET /orgs/{org}/actions/cache/usagereadUAT
IAT
GET /orgs/{org}/actions/cache/usage-by-repositoryreadUAT
IAT
GET /orgs/{org}/actions/oidc/customization/subreadUAT
IAT
GET /orgs/{org}/actions/permissionsreadUAT
IAT
GET /orgs/{org}/actions/permissions/repositoriesreadUAT
IAT
GET /orgs/{org}/actions/permissions/selected-actionsreadUAT
IAT
GET /orgs/{org}/actions/permissions/workflowreadUAT
IAT
GET /orgs/{org}/audit-logreadUAT
IAT
GET /orgs/{org}/copilot/billingreadUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
GET /orgs/{org}/copilot/billing/seatsreadUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
GET /orgs/{org}/copilot/usagereadUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
GET /orgs/{org}/credential-authorizationsreadUAT
IAT
GET /orgs/{org}/custom-repository-rolesreadUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
GET /orgs/{org}/custom-repository-roles/{role_id}readUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
GET /orgs/{org}/custom_roles/{role_id}readUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
GET /orgs/{org}/fine_grained_permissionsreadUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
GET /orgs/{org}/installationsreadUAT
IAT
GET /orgs/{org}/interaction-limitsreadUAT
IAT
GET /orgs/{org}/members/{username}/copilotreadUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
GET /orgs/{org}/repository-fine-grained-permissionsreadUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
GET /orgs/{org}/security-managersreadUAT
IAT
GET /orgs/{org}/settings/billing/actionsreadUAT
IAT
GET /orgs/{org}/settings/billing/advanced-securityreadUAT
IAT
GET /orgs/{org}/settings/billing/packagesreadUAT
IAT
GET /orgs/{org}/settings/billing/shared-storagereadUAT
IAT

Organization permissions for "Members"

终结点Access令牌类型其他权限
GET /orgs/{org}/external-group/{group_id}writeUAT
IAT
GET /orgs/{org}/external-groupswriteUAT
IAT
POST /orgs/{org}/invitationswriteUAT
IAT
DELETE /orgs/{org}/invitations/{invitation_id}writeUAT
IAT
DELETE /orgs/{org}/members/{username}writeUAT
IAT
PUT /orgs/{org}/memberships/{username}writeUAT
IAT
DELETE /orgs/{org}/memberships/{username}writeUAT
IAT
DELETE /orgs/{org}/organization-roles/teams/{team_slug}writeUAT
IAT
PUT /orgs/{org}/organization-roles/teams/{team_slug}/{role_id}writeUAT
IAT
DELETE /orgs/{org}/organization-roles/teams/{team_slug}/{role_id}writeUAT
IAT
DELETE /orgs/{org}/organization-roles/users/{username}writeUAT
IAT
PUT /orgs/{org}/organization-roles/users/{username}/{role_id}writeUAT
IAT
DELETE /orgs/{org}/organization-roles/users/{username}/{role_id}writeUAT
IAT
PUT /orgs/{org}/outside_collaborators/{username}writeUAT
IAT
DELETE /orgs/{org}/outside_collaborators/{username}writeUAT
IAT
PUT /orgs/{org}/public_members/{username}writeUAT
DELETE /orgs/{org}/public_members/{username}writeUAT
GET /orgs/{org}/team-sync/groupswriteUAT
IAT
POST /orgs/{org}/teamswriteUAT
IAT
GET /orgs/{org}/teams/{team_slug}/external-groupswriteUAT
IAT
PATCH /orgs/{org}/teams/{team_slug}/external-groupswriteUAT
IAT
DELETE /orgs/{org}/teams/{team_slug}/external-groupswriteUAT
IAT
POST /scim/v2/organizations/{org}/UserswriteUAT
IAT
PUT /scim/v2/organizations/{org}/Users/{scim_user_id}writeUAT
IAT
PATCH /scim/v2/organizations/{org}/Users/{scim_user_id}writeUAT
IAT
DELETE /scim/v2/organizations/{org}/Users/{scim_user_id}writeUAT
IAT
PUT /teams/{team_id}/members/{username}writeUAT
IAT
DELETE /teams/{team_id}/members/{username}writeUAT
IAT
PATCH /user/memberships/orgs/{org}writeUAT
GET /orgs/{org}/failed_invitationsreadUAT
IAT
GET /orgs/{org}/invitationsreadUAT
IAT
GET /orgs/{org}/invitations/{invitation_id}/teamsreadUAT
IAT
GET /orgs/{org}/membersreadUAT
IAT
GET /orgs/{org}/members/{username}readUAT
IAT
GET /orgs/{org}/memberships/{username}readUAT
IAT
GET /orgs/{org}/organization-roles/{role_id}/teamsreadUAT
IAT
GET /orgs/{org}/organization-roles/{role_id}/usersreadUAT
IAT
GET /orgs/{org}/outside_collaboratorsreadUAT
IAT
GET /orgs/{org}/public_membersreadUAT
IAT
GET /orgs/{org}/public_members/{username}readUAT
IAT
GET /orgs/{org}/teamsreadUAT
IAT
GET /scim/v2/organizations/{org}/UsersreadUAT
IAT
GET /scim/v2/organizations/{org}/Users/{scim_user_id}readUAT
IAT
GET /teams/{team_id}/members/{username}readUAT
IAT
GET /user/memberships/orgs/{org}readUAT

Organization permissions for "Projects"

终结点Access令牌类型其他权限
GET /projects/{project_id}/collaboratorsadminUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
PUT /projects/{project_id}/collaborators/{username}adminUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
DELETE /projects/{project_id}/collaborators/{username}adminUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
GET /projects/{project_id}/collaborators/{username}/permissionadminUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
POST /orgs/{org}/projectswriteUAT
IAT
PATCH /projects/columns/cards/{card_id}writeUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
DELETE /projects/columns/cards/{card_id}writeUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
POST /projects/columns/cards/{card_id}/moveswriteUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
PATCH /projects/columns/{column_id}writeUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
DELETE /projects/columns/{column_id}writeUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
POST /projects/columns/{column_id}/cardswriteUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
POST /projects/columns/{column_id}/moveswriteUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
PATCH /projects/{project_id}writeUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
DELETE /projects/{project_id}writeUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
POST /projects/{project_id}/columnswriteUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
GET /orgs/{org}/projectsreadUAT
IAT
GET /projects/columns/cards/{card_id}readUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
GET /projects/columns/{column_id}readUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
GET /projects/columns/{column_id}/cardsreadUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
GET /projects/{project_id}readUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
GET /projects/{project_id}/columnsreadUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。

Organization permissions for "Self-hosted runners"

终结点Access令牌类型其他权限
POST /orgs/{org}/actions/runner-groupswriteUAT
IAT
PATCH /orgs/{org}/actions/runner-groups/{runner_group_id}writeUAT
IAT
DELETE /orgs/{org}/actions/runner-groups/{runner_group_id}writeUAT
IAT
PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/repositorieswriteUAT
IAT
PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}writeUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
DELETE /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}writeUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/runnerswriteUAT
IAT
PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}writeUAT
IAT
DELETE /orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}writeUAT
IAT
POST /orgs/{org}/actions/runners/generate-jitconfigwriteUAT
IAT
POST /orgs/{org}/actions/runners/registration-tokenwriteUAT
IAT
POST /orgs/{org}/actions/runners/remove-tokenwriteUAT
IAT
DELETE /orgs/{org}/actions/runners/{runner_id}writeUAT
IAT
POST /orgs/{org}/actions/runners/{runner_id}/labelswriteUAT
IAT
PUT /orgs/{org}/actions/runners/{runner_id}/labelswriteUAT
IAT
DELETE /orgs/{org}/actions/runners/{runner_id}/labelswriteUAT
IAT
DELETE /orgs/{org}/actions/runners/{runner_id}/labels/{name}writeUAT
IAT
GET /orgs/{org}/actions/runner-groupsreadUAT
IAT
GET /orgs/{org}/actions/runner-groups/{runner_group_id}readUAT
IAT
GET /orgs/{org}/actions/runner-groups/{runner_group_id}/repositoriesreadUAT
IAT
GET /orgs/{org}/actions/runner-groups/{runner_group_id}/runnersreadUAT
IAT
GET /orgs/{org}/actions/runnersreadUAT
IAT
GET /orgs/{org}/actions/runners/downloadsreadUAT
IAT
GET /orgs/{org}/actions/runners/{runner_id}readUAT
IAT
GET /orgs/{org}/actions/runners/{runner_id}/labelsreadUAT
IAT

Repository permissions for "Actions"

终结点Access令牌类型其他权限
DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}writeUAT
IAT
DELETE /repos/{owner}/{repo}/actions/cacheswriteUAT
IAT
DELETE /repos/{owner}/{repo}/actions/caches/{cache_id}writeUAT
IAT
POST /repos/{owner}/{repo}/actions/jobs/{job_id}/rerunwriteUAT
IAT
PUT /repos/{owner}/{repo}/actions/oidc/customization/subwriteUAT
IAT
DELETE /repos/{owner}/{repo}/actions/runs/{run_id}writeUAT
IAT
POST /repos/{owner}/{repo}/actions/runs/{run_id}/approvewriteUAT
IAT
POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancelwriteUAT
IAT
POST /repos/{owner}/{repo}/actions/runs/{run_id}/force-cancelwriteUAT
IAT
DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logswriteUAT
IAT
POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerunwriteUAT
IAT
POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun-failed-jobswriteUAT
IAT
PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/disablewriteUAT
IAT
POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatcheswriteUAT
IAT
PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/enablewriteUAT
IAT
GET /repos/{owner}/{repo}/actions/artifactsreadUAT
IAT
GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}readUAT
IAT
GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}readUAT
IAT
GET /repos/{owner}/{repo}/actions/cache/usagereadUAT
IAT
GET /repos/{owner}/{repo}/actions/cachesreadUAT
IAT
GET /repos/{owner}/{repo}/actions/jobs/{job_id}readUAT
IAT
GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logsreadUAT
IAT
GET /repos/{owner}/{repo}/actions/oidc/customization/subreadUAT
IAT
GET /repos/{owner}/{repo}/actions/runsreadUAT
IAT
GET /repos/{owner}/{repo}/actions/runs/{run_id}readUAT
IAT
GET /repos/{owner}/{repo}/actions/runs/{run_id}/approvalsreadUAT
IAT
GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifactsreadUAT
IAT
GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}readUAT
IAT
GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobsreadUAT
IAT
GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/logsreadUAT
IAT
GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobsreadUAT
IAT
GET /repos/{owner}/{repo}/actions/runs/{run_id}/logsreadUAT
IAT
GET /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deploymentsreadUAT
IAT
POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deploymentsreadUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
GET /repos/{owner}/{repo}/actions/runs/{run_id}/timingreadUAT
IAT
GET /repos/{owner}/{repo}/actions/workflowsreadUAT
IAT
GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}readUAT
IAT
GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runsreadUAT
IAT
GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/timingreadUAT
IAT
GET /repos/{owner}/{repo}/environmentsreadUAT
IAT
GET /repos/{owner}/{repo}/environments/{environment_name}readUAT
IAT
GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policiesreadUAT
IAT
GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}readUAT
IAT
GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rulesreadUAT
IAT
GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}readUAT
IAT

Repository permissions for "Administration"

终结点Access令牌类型其他权限
POST /orgs/{org}/reposwriteUAT
IAT
PATCH /repos/{owner}/{repo}writeUAT
IAT
DELETE /repos/{owner}/{repo}writeUAT
IAT
PUT /repos/{owner}/{repo}/actions/permissionswriteUAT
IAT
PUT /repos/{owner}/{repo}/actions/permissions/accesswriteUAT
IAT
PUT /repos/{owner}/{repo}/actions/permissions/selected-actionswriteUAT
IAT
PUT /repos/{owner}/{repo}/actions/permissions/workflowwriteUAT
IAT
POST /repos/{owner}/{repo}/actions/runners/generate-jitconfigwriteUAT
IAT
POST /repos/{owner}/{repo}/actions/runners/registration-tokenwriteUAT
IAT
POST /repos/{owner}/{repo}/actions/runners/remove-tokenwriteUAT
IAT
DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}writeUAT
IAT
POST /repos/{owner}/{repo}/actions/runners/{runner_id}/labelswriteUAT
IAT
PUT /repos/{owner}/{repo}/actions/runners/{runner_id}/labelswriteUAT
IAT
DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labelswriteUAT
IAT
DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels/{name}writeUAT
IAT
POST /repos/{owner}/{repo}/autolinkswriteUAT
IAT
DELETE /repos/{owner}/{repo}/autolinks/{autolink_id}writeUAT
IAT
PUT /repos/{owner}/{repo}/automated-security-fixeswriteUAT
IAT
DELETE /repos/{owner}/{repo}/automated-security-fixeswriteUAT
IAT
PUT /repos/{owner}/{repo}/branches/{branch}/protectionwriteUAT
IAT
DELETE /repos/{owner}/{repo}/branches/{branch}/protectionwriteUAT
IAT
POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_adminswriteUAT
IAT
DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_adminswriteUAT
IAT
PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviewswriteUAT
IAT
DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviewswriteUAT
IAT
POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatureswriteUAT
IAT
DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatureswriteUAT
IAT
PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checkswriteUAT
IAT
DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checkswriteUAT
IAT
POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contextswriteUAT
IAT
PUT /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contextswriteUAT
IAT
DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contextswriteUAT
IAT
DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictionswriteUAT
IAT
POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/appswriteUAT
IAT
PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/appswriteUAT
IAT
DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/appswriteUAT
IAT
POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teamswriteUAT
IAT
PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teamswriteUAT
IAT
DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teamswriteUAT
IAT
POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/userswriteUAT
IAT
PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/userswriteUAT
IAT
DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/userswriteUAT
IAT
PATCH /repos/{owner}/{repo}/code-scanning/default-setupwriteUAT
IAT
PUT /repos/{owner}/{repo}/collaborators/{username}writeUAT
IAT
DELETE /repos/{owner}/{repo}/collaborators/{username}writeUAT
IAT
PUT /repos/{owner}/{repo}/environments/{environment_name}writeUAT
IAT
DELETE /repos/{owner}/{repo}/environments/{environment_name}writeUAT
IAT
POST /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policieswriteUAT
IAT
PUT /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}writeUAT
IAT
DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}writeUAT
IAT
POST /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_ruleswriteUAT
IAT
DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}writeUAT
IAT
POST /repos/{owner}/{repo}/forkswriteUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
PUT /repos/{owner}/{repo}/interaction-limitswriteUAT
IAT
DELETE /repos/{owner}/{repo}/interaction-limitswriteUAT
IAT
PATCH /repos/{owner}/{repo}/invitations/{invitation_id}writeUAT
IAT
DELETE /repos/{owner}/{repo}/invitations/{invitation_id}writeUAT
IAT
POST /repos/{owner}/{repo}/keyswriteUAT
IAT
DELETE /repos/{owner}/{repo}/keys/{key_id}writeUAT
IAT
POST /repos/{owner}/{repo}/pageswriteUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
PUT /repos/{owner}/{repo}/pageswriteUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
DELETE /repos/{owner}/{repo}/pageswriteUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
GET /repos/{owner}/{repo}/pages/healthwriteUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
PUT /repos/{owner}/{repo}/private-vulnerability-reportingwriteUAT
IAT
DELETE /repos/{owner}/{repo}/private-vulnerability-reportingwriteUAT
IAT
POST /repos/{owner}/{repo}/rulesetswriteUAT
IAT
GET /repos/{owner}/{repo}/rulesets/rule-suiteswriteUAT
IAT
GET /repos/{owner}/{repo}/rulesets/rule-suites/{rule_suite_id}writeUAT
IAT
PUT /repos/{owner}/{repo}/rulesets/{ruleset_id}writeUAT
IAT
DELETE /repos/{owner}/{repo}/rulesets/{ruleset_id}writeUAT
IAT
POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/forkswriteUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
POST /repos/{owner}/{repo}/tags/protectionwriteUAT
IAT
DELETE /repos/{owner}/{repo}/tags/protection/{tag_protection_id}writeUAT
IAT
PUT /repos/{owner}/{repo}/topicswriteUAT
IAT
POST /repos/{owner}/{repo}/transferwriteUAT
PUT /repos/{owner}/{repo}/vulnerability-alertswriteUAT
IAT
DELETE /repos/{owner}/{repo}/vulnerability-alertswriteUAT
IAT
POST /repos/{template_owner}/{template_repo}/generatewriteUAT
IAT
POST /user/reposwriteUAT
PATCH /user/repository_invitations/{invitation_id}writeUAT
DELETE /user/repository_invitations/{invitation_id}writeUAT
GET /repos/{owner}/{repo}/actions/permissionsreadUAT
IAT
GET /repos/{owner}/{repo}/actions/permissions/accessreadUAT
IAT
GET /repos/{owner}/{repo}/actions/permissions/selected-actionsreadUAT
IAT
GET /repos/{owner}/{repo}/actions/permissions/workflowreadUAT
IAT
GET /repos/{owner}/{repo}/actions/runnersreadUAT
IAT
GET /repos/{owner}/{repo}/actions/runners/downloadsreadUAT
IAT
GET /repos/{owner}/{repo}/actions/runners/{runner_id}readUAT
IAT
GET /repos/{owner}/{repo}/actions/runners/{runner_id}/labelsreadUAT
IAT
GET /repos/{owner}/{repo}/autolinksreadUAT
IAT
GET /repos/{owner}/{repo}/autolinks/{autolink_id}readUAT
IAT
GET /repos/{owner}/{repo}/automated-security-fixesreadUAT
IAT
GET /repos/{owner}/{repo}/branches/{branch}/protectionreadUAT
IAT
GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_adminsreadUAT
IAT
GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviewsreadUAT
IAT
GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signaturesreadUAT
IAT
GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checksreadUAT
IAT
GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contextsreadUAT
IAT
GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictionsreadUAT
IAT
GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/appsreadUAT
IAT
GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teamsreadUAT
IAT
GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/usersreadUAT
IAT
GET /repos/{owner}/{repo}/code-scanning/default-setupreadUAT
IAT
GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/appsreadUAT
IAT
GET /repos/{owner}/{repo}/interaction-limitsreadUAT
IAT
GET /repos/{owner}/{repo}/invitationsreadUAT
IAT
GET /repos/{owner}/{repo}/keysreadUAT
IAT
GET /repos/{owner}/{repo}/keys/{key_id}readUAT
IAT
GET /repos/{owner}/{repo}/tags/protectionreadUAT
IAT
GET /repos/{owner}/{repo}/teamsreadUAT
IAT
GET /repos/{owner}/{repo}/traffic/clonesreadUAT
IAT
GET /repos/{owner}/{repo}/traffic/popular/pathsreadUAT
IAT
GET /repos/{owner}/{repo}/traffic/popular/referrersreadUAT
IAT
GET /repos/{owner}/{repo}/traffic/viewsreadUAT
IAT
GET /repos/{owner}/{repo}/vulnerability-alertsreadUAT
IAT
GET /user/repository_invitationsreadUAT

Repository permissions for "Contents"

终结点Access令牌类型其他权限
POST /repos/{owner}/{repo}/branches/{branch}/renamewriteUAT
IAT
POST /repos/{owner}/{repo}/code-scanning/codeql/variant-analyseswriteUAT
IAT
PATCH /repos/{owner}/{repo}/comments/{comment_id}writeUAT
IAT
DELETE /repos/{owner}/{repo}/comments/{comment_id}writeUAT
IAT
POST /repos/{owner}/{repo}/comments/{comment_id}/reactionswriteUAT
IAT
DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}writeUAT
IAT
PUT /repos/{owner}/{repo}/contents/{path}writeUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
PUT /repos/{owner}/{repo}/contents/{path}writeUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
DELETE /repos/{owner}/{repo}/contents/{path}writeUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
DELETE /repos/{owner}/{repo}/contents/{path}writeUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
POST /repos/{owner}/{repo}/dependency-graph/snapshotswriteUAT
IAT
POST /repos/{owner}/{repo}/dispatcheswriteUAT
IAT
POST /repos/{owner}/{repo}/git/blobswriteUAT
IAT
POST /repos/{owner}/{repo}/git/commitswriteUAT
IAT
POST /repos/{owner}/{repo}/git/refswriteUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
POST /repos/{owner}/{repo}/git/refswriteUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
PATCH /repos/{owner}/{repo}/git/refs/{ref}writeUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
PATCH /repos/{owner}/{repo}/git/refs/{ref}writeUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
DELETE /repos/{owner}/{repo}/git/refs/{ref}writeUAT
IAT
POST /repos/{owner}/{repo}/git/tagswriteUAT
IAT
POST /repos/{owner}/{repo}/git/treeswriteUAT
IAT
PUT /repos/{owner}/{repo}/importwriteUAT
PATCH /repos/{owner}/{repo}/importwriteUAT
DELETE /repos/{owner}/{repo}/importwriteUAT
PATCH /repos/{owner}/{repo}/import/authors/{author_id}writeUAT
PATCH /repos/{owner}/{repo}/import/lfswriteUAT
POST /repos/{owner}/{repo}/merge-upstreamwriteUAT
IAT
POST /repos/{owner}/{repo}/mergeswriteUAT
IAT
PUT /repos/{owner}/{repo}/pulls/{pull_number}/mergewriteUAT
IAT
POST /repos/{owner}/{repo}/releaseswriteUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
POST /repos/{owner}/{repo}/releaseswriteUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
PATCH /repos/{owner}/{repo}/releases/assets/{asset_id}writeUAT
IAT
DELETE /repos/{owner}/{repo}/releases/assets/{asset_id}writeUAT
IAT
POST /repos/{owner}/{repo}/releases/generate-noteswriteUAT
IAT
PATCH /repos/{owner}/{repo}/releases/{release_id}writeUAT
IAT
DELETE /repos/{owner}/{repo}/releases/{release_id}writeUAT
IAT
GET /repos/{owner}/{repo}/activityreadUAT
IAT
GET /repos/{owner}/{repo}/branchesreadUAT
IAT
GET /repos/{owner}/{repo}/branches/{branch}readUAT
IAT
GET /repos/{owner}/{repo}/code-scanning/codeql/databasesreadUAT
IAT
GET /repos/{owner}/{repo}/code-scanning/codeql/databases/{language}readUAT
IAT
GET /repos/{owner}/{repo}/code-scanning/codeql/variant-analyses/{codeql_variant_analysis_id}readUAT
IAT
GET /repos/{owner}/{repo}/code-scanning/codeql/variant-analyses/{codeql_variant_analysis_id}/repos/{repo_owner}/{repo_name}readUAT
IAT
GET /repos/{owner}/{repo}/codeowners/errorsreadUAT
IAT
GET /repos/{owner}/{repo}/commitsreadUAT
IAT
GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-headreadUAT
IAT
POST /repos/{owner}/{repo}/commits/{commit_sha}/commentsreadUAT
IAT
GET /repos/{owner}/{repo}/commits/{ref}readUAT
IAT
GET /repos/{owner}/{repo}/community/profilereadUAT
IAT
GET /repos/{owner}/{repo}/compare/{basehead}readUAT
IAT
GET /repos/{owner}/{repo}/contents/{path}readUAT
IAT
GET /repos/{owner}/{repo}/dependency-graph/compare/{basehead}readUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
GET /repos/{owner}/{repo}/dependency-graph/sbomreadUAT
IAT
POST /repos/{owner}/{repo}/forksreadUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
GET /repos/{owner}/{repo}/git/blobs/{file_sha}readUAT
IAT
GET /repos/{owner}/{repo}/git/commits/{commit_sha}readUAT
IAT
GET /repos/{owner}/{repo}/git/matching-refs/{ref}readUAT
IAT
GET /repos/{owner}/{repo}/git/ref/{ref}readUAT
IAT
GET /repos/{owner}/{repo}/git/tags/{tag_sha}readUAT
IAT
GET /repos/{owner}/{repo}/git/trees/{tree_sha}readUAT
IAT
GET /repos/{owner}/{repo}/importreadUAT
GET /repos/{owner}/{repo}/import/authorsreadUAT
GET /repos/{owner}/{repo}/import/large_filesreadUAT
GET /repos/{owner}/{repo}/pulls/{pull_number}readUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
GET /repos/{owner}/{repo}/releasesreadUAT
IAT
GET /repos/{owner}/{repo}/releases/assets/{asset_id}readUAT
IAT
GET /repos/{owner}/{repo}/releases/latestreadUAT
IAT
GET /repos/{owner}/{repo}/releases/tags/{tag}readUAT
IAT
GET /repos/{owner}/{repo}/releases/{release_id}readUAT
IAT
GET /repos/{owner}/{repo}/releases/{release_id}/assetsreadUAT
IAT
GET /repos/{owner}/{repo}/tarball/{ref}readUAT
IAT
GET /repos/{owner}/{repo}/zipball/{ref}readUAT
IAT

Repository permissions for "Environments"

终结点Access令牌类型其他权限
PUT /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}writeUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
DELETE /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}writeUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
POST /repos/{owner}/{repo}/environments/{environment_name}/variableswriteUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
PATCH /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}writeUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
DELETE /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}writeUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
GET /repos/{owner}/{repo}/environments/{environment_name}/secretsreadUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
GET /repos/{owner}/{repo}/environments/{environment_name}/secrets/public-keyreadUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
GET /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}readUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
GET /repos/{owner}/{repo}/environments/{environment_name}/variablesreadUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
GET /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}readUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。

Repository permissions for "Issues"

终结点Access令牌类型其他权限
POST /repos/{owner}/{repo}/issueswriteUAT
IAT
PATCH /repos/{owner}/{repo}/issues/comments/{comment_id}writeUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}writeUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactionswriteUAT
IAT
DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}writeUAT
IAT
PATCH /repos/{owner}/{repo}/issues/{issue_number}writeUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
POST /repos/{owner}/{repo}/issues/{issue_number}/assigneeswriteUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
DELETE /repos/{owner}/{repo}/issues/{issue_number}/assigneeswriteUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
POST /repos/{owner}/{repo}/issues/{issue_number}/commentswriteUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
POST /repos/{owner}/{repo}/issues/{issue_number}/labelswriteUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
PUT /repos/{owner}/{repo}/issues/{issue_number}/labelswriteUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
DELETE /repos/{owner}/{repo}/issues/{issue_number}/labelswriteUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels/{name}writeUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
PUT /repos/{owner}/{repo}/issues/{issue_number}/lockwriteUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
DELETE /repos/{owner}/{repo}/issues/{issue_number}/lockwriteUAT
IAT
需要多个权限,或者可以使用不同的权限。 有关权限的更多信息,请参阅此终结点的文档。
POST /repos/{owner}/{repo}/issues/{issue_number}/reactionswriteUAT
IAT
DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}writeUAT
IAT
POST /repos/{owner}/{repo}/labelswriteUAT
IAT