关于 GitHub 应用程序 权限
GitHub 应用程序 are created with a set of permissions. 权限定义了 GitHub 应用程序 可以通过 API 访问哪些资源。 更多信息请参阅“设置 GitHub 的权限”。
元数据权限
GitHub 应用程序默认具有 Read-only
元数据权限。 元数据权限允许访问带有各种资源元数据的只读端点集合。 这些端点不会泄露敏感的私有仓库信息。
如果将元数据权限设置为 No access
并选择需要访问仓库的权限,GitHub 将覆盖您的选择并将元数据权限设回 Read-only
。 要将元数据权限设置为 No access
,必须先将需要访问仓库的所有权限设置为 No access
。
GET /
GET /codes_of_conduct
GET /codes_of_conduct/:key
GET /emojis
GET /feeds
GET /licenses
GET /licenses/:key
POST /markdown
POST /markdown/raw
GET /meta
GET /organizations
GET /orgs/:org
GET /orgs/:org/projects
GET /orgs/:org/repos
GET /rate_limit
GET /repos/:owner/:repo
GET /repos/:owner/:repo/contributors
GET /repos/:owner/:repo/forks
GET /repos/:owner/:repo/languages
GET /repos/:owner/:repo/license
GET /repos/:owner/:repo/stargazers
GET /repos/:owner/:repo/stats/code_frequency
GET /repos/:owner/:repo/stats/commit_activity
GET /repos/:owner/:repo/stats/contributors
GET /repos/:owner/:repo/stats/participation
GET /repos/:owner/:repo/stats/punch_card
GET /repos/:owner/:repo/subscribers
GET /repos/:owner/:repo/tags
GET /repos/:owner/:repo/topics
GET /repositories
GET /user/repos
GET /user/starred
GET /user/subscriptions
GET /users
GET /users/:username
GET /users/:username/followers
GET /users/:username/following
GET /users/:username/following/:target_user
GET /users/:username/gpg_keys
GET /users/:username/orgs
GET /users/:username/received_events
GET /users/:username/received_events/public
GET /users/:username/repos
GET /users/:username/subscriptions
协作者
提交注释
GET /repos/:owner/:repo/comments
GET /repos/:owner/:repo/comments/:comment_id
GET /repos/:owner/:repo/comments/:comment_id/reactions
GET /repos/:owner/:repo/commits/:sha/comments
事件
GET /events
GET /networks/:owner/:repo/events
GET /orgs/:org/events
GET /repos/:owner/:repo/events
GET /repos/:owner/:repo/events/issues
GET /users/:username/events
GET /users/:username/events/public
Git
键
组织成员
GET /orgs/:org/members
GET /orgs/:org/members/:username
GET /orgs/:org/public_members
GET /orgs/:org/public_members/:username
搜索
GET /search/code
GET /search/commits
GET /search/issues
GET /search/labels
GET /search/repositories
GET /search/topics
GET /search/users
有关“操作”的权限
GET /repos/:owner/:repo/actions/artifacts
(:read)GET /repos/:owner/:repo/actions/artifacts/:artifact_id
(:read)DELETE /repos/:owner/:repo/actions/artifacts/:artifact_id
(:write)GET /repos/:owner/:repo/actions/artifacts/:artifact_id/zip
(:read)GET /repos/:owner/:repo/actions/jobs/:job_id
(:read)GET /repos/:owner/:repo/actions/jobs/:job_id/logs
(:read)GET /repos/:owner/:repo/actions/runs
(:read)GET /repos/:owner/:repo/actions/runs/:run_id
(:read)GET /repos/:owner/:repo/actions/runs/:run_id/artifacts
(:read)POST /repos/:owner/:repo/actions/runs/:run_id/cancel
(:write)GET /repos/:owner/:repo/actions/runs/:run_id/jobs
(:read)GET /repos/:owner/:repo/actions/runs/:run_id/logs
(:read)DELETE /repos/:owner/:repo/actions/runs/:run_id/logs
(:write)POST /repos/:owner/:repo/actions/runs/:run_id/rerun
(:write)GET /repos/:owner/:repo/actions/workflows
(:read)GET /repos/:owner/:repo/actions/workflows/:workflow_id
(:read)GET /repos/:owner/:repo/actions/workflows/:workflow_id/runs
(:read)
有关“管理”的权限
POST /orgs/:org/repos
(:write)PATCH /repos/:owner/:repo
(:write)DELETE /repos/:owner/:repo
(:write)POST /repos/:owner/:repo/forks
(:write)PUT /repos/:owner/:repo/topics
(:write)POST /repos/:owner/:repo/transfer
(:write)PATCH /user/repository_invitations/:invitation_id
(:write)DELETE /user/repository_invitations/:invitation_id
(:write)
分支
GET /repos/:owner/:repo/branches/:branch/protection
(:read)PUT /repos/:owner/:repo/branches/:branch/protection
(:write)DELETE /repos/:owner/:repo/branches/:branch/protection
(:write)GET /repos/:owner/:repo/branches/:branch/protection/enforce_admins
(:read)POST /repos/:owner/:repo/branches/:branch/protection/enforce_admins
(:write)DELETE /repos/:owner/:repo/branches/:branch/protection/enforce_admins
(:write)GET /repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews
(:read)PATCH /repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews
(:write)DELETE /repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews
(:write)GET /repos/:owner/:repo/branches/:branch/protection/required_signatures
(:read)POST /repos/:owner/:repo/branches/:branch/protection/required_signatures
(:write)DELETE /repos/:owner/:repo/branches/:branch/protection/required_signatures
(:write)GET /repos/:owner/:repo/branches/:branch/protection/required_status_checks
(:read)PATCH /repos/:owner/:repo/branches/:branch/protection/required_status_checks
(:write)DELETE /repos/:owner/:repo/branches/:branch/protection/required_status_checks
(:write)GET /repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts
(:read)POST /repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts
(:write)PUT /repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts
(:write)DELETE /repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts
(:write)GET /repos/:owner/:repo/branches/:branch/protection/restrictions
(:read)DELETE /repos/:owner/:repo/branches/:branch/protection/restrictions
(:write)GET /repos/:owner/:repo/branches/:branch/protection/restrictions/teams
(:read)POST /repos/:owner/:repo/branches/:branch/protection/restrictions/teams
(:write)PUT /repos/:owner/:repo/branches/:branch/protection/restrictions/teams
(:write)DELETE /repos/:owner/:repo/branches/:branch/protection/restrictions/teams
(:write)GET /repos/:owner/:repo/branches/:branch/protection/restrictions/users
(:read)POST /repos/:owner/:repo/branches/:branch/protection/restrictions/users
(:write)PUT /repos/:owner/:repo/branches/:branch/protection/restrictions/users
(:write)DELETE /repos/:owner/:repo/branches/:branch/protection/restrictions/users
(:write)
协作者
PUT /repos/:owner/:repo/collaborators/:username
(:write)DELETE /repos/:owner/:repo/collaborators/:username
(:write)
邀请
GET /repos/:owner/:repo/invitations
(:read)PATCH /repos/:owner/:repo/invitations/:invitation_id
(:write)DELETE /repos/:owner/:repo/invitations/:invitation_id
(:write)
键
GET /repos/:owner/:repo/keys
(:read)POST /repos/:owner/:repo/keys
(:write)GET /repos/:owner/:repo/keys/:key_id
(:read)DELETE /repos/:owner/:repo/keys/:key_id
(:write)
团队
GET /repos/:owner/:repo/teams
(:read)PUT /teams/:team_id/repos/:owner/:repo
(:write)DELETE /teams/:team_id/repos/:owner/:repo
(:write)
有关“检查”的权限
POST /repos/:owner/:repo/check-runs
(:write)GET /repos/:owner/:repo/check-runs/:check_run_id
(:read)PATCH /repos/:owner/:repo/check-runs/:check_run_id
(:write)GET /repos/:owner/:repo/check-runs/:check_run_id/annotations
(:read)POST /repos/:owner/:repo/check-suites
(:write)GET /repos/:owner/:repo/check-suites/:check_suite_id
(:read)GET /repos/:owner/:repo/check-suites/:check_suite_id/check-runs
(:read)POST /repos/:owner/:repo/check-suites/:check_suite_id/rerequest
(:write)PATCH /repos/:owner/:repo/check-suites/preferences
(:write)GET /repos/:owner/:repo/commits/:sha/check-runs
(:read)GET /repos/:owner/:repo/commits/:sha/check-suites
(:read)
有关“内容”的权限
GET /repos/:owner/:repo/:archive_format/:ref
(:read)GET /repos/:owner/:repo/check-runs/:check_run_id
(:read)GET /repos/:owner/:repo/check-runs/:check_run_id/annotations
(:read)GET /repos/:owner/:repo/check-suites/:check_suite_id
(:read)GET /repos/:owner/:repo/check-suites/:check_suite_id/check-runs
(:read)POST /repos/:owner/:repo/check-suites/:check_suite_id/rerequest
(:write)GET /repos/:owner/:repo/commits
(:read)GET /repos/:owner/:repo/commits/:sha
(:read)GET /repos/:owner/:repo/commits/:sha/check-runs
(:read)GET /repos/:owner/:repo/commits/:sha/check-suites
(:read)GET /repos/:owner/:repo/community/code_of_conduct
(:read)GET /repos/:owner/:repo/compare/:base...:head
(:read)GET /repos/:owner/:repo/contents/:path
(:read)POST /repos/:owner/:repo/dispatches
(:write)POST /repos/:owner/:repo/forks
(:read)POST /repos/:owner/:repo/merges
(:write)PUT /repos/:owner/:repo/pulls/:pull_number/merge
(:write)GET /repos/:owner/:repo/readme(?:/(.*))?
(:read)
分支
GET /repos/:owner/:repo/branches
(:read)GET /repos/:owner/:repo/branches/:branch
(:read)GET /repos/:owner/:repo/branches/:branch/protection/restrictions/apps
(:write)POST /repos/:owner/:repo/branches/:branch/protection/restrictions/apps
(:write)PUT /repos/:owner/:repo/branches/:branch/protection/restrictions/apps
(:write)DELETE /repos/:owner/:repo/branches/:branch/protection/restrictions/apps
(:write)
提交注释
PATCH /repos/:owner/:repo/comments/:comment_id
(:write)DELETE /repos/:owner/:repo/comments/:comment_id
(:write)POST /repos/:owner/:repo/comments/:comment_id/reactions
(:read)POST /repos/:owner/:repo/commits/:sha/comments
(:read)
Git
POST /repos/:owner/:repo/git/blobs
(:write)GET /repos/:owner/:repo/git/blobs/:sha
(:read)POST /repos/:owner/:repo/git/commits
(:write)GET /repos/:owner/:repo/git/commits/:commit_id
(:read)POST /repos/:owner/:repo/git/refs
(:write)GET /repos/:owner/:repo/git/ref/:ref
(:read)GET /repos/:owner/:repo/git/matching-refs/:ref
(:read)PATCH /repos/:owner/:repo/git/refs/:ref
(:write)DELETE /repos/:owner/:repo/git/refs/:ref
(:write)POST /repos/:owner/:repo/git/tags
(:write)GET /repos/:owner/:repo/git/tags/:tag_id
(:read)POST /repos/:owner/:repo/git/trees
(:write)GET /repos/:owner/:repo/git/trees/:sha
(:read)
反应
DELETE /reactions/:reaction_id
(:write)DELETE /repos/:owner/:repo/comments/:comment_id/reactions/:reaction_id
(:write)DELETE /repos/:owner/:repo/issues/:issue_number/reactions/:reaction_id
(:write)DELETE /repos/:owner/:repo/issues/comments/:comment_id/reactions/:reaction_id
(:write)DELETE /repos/:owner/:repo/pulls/comments/:comment_id/reactions/:reaction_id
(:write)DELETE /orgs/:org/teams/:team_slug/discussions/:discussion_number/reactions/:reaction_id
(:write)DELETE /orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id
(:write)
版本发布
GET /repos/:owner/:repo/releases
(:read)POST /repos/:owner/:repo/releases
(:write)GET /repos/:owner/:repo/releases/:release_id
(:read)PATCH /repos/:owner/:repo/releases/:release_id
(:write)DELETE /repos/:owner/:repo/releases/:release_id
(:write)GET /repos/:owner/:repo/releases/:release_id/assets
(:read)GET /repos/:owner/:repo/releases/assets/:asset_id
(:read)PATCH /repos/:owner/:repo/releases/assets/:asset_id
(:write)DELETE /repos/:owner/:repo/releases/assets/:asset_id
(:write)GET /repos/:owner/:repo/releases/latest
(:read)GET /repos/:owner/:repo/releases/tags/:tag
(:read)
有关“部署”的权限
GET /repos/:owner/:repo/deployments
(:read)POST /repos/:owner/:repo/deployments
(:write)GET /repos/:owner/:repo/deployments/:deployment_id
(:read)DELETE /repos/:owner/:repo/deployments/:deployment_id
(:write)GET /repos/:owner/:repo/deployments/:deployment_id/statuses
(:read)POST /repos/:owner/:repo/deployments/:deployment_id/statuses
(:write)GET /repos/:owner/:repo/deployments/:deployment_id/statuses/:status_id
(:read)
有关“电子邮件”的权限
GET /user/emails
(:read)POST /user/emails
(:write)DELETE /user/emails
(:write)GET /user/public_emails
(:read)
有关“关注者”的权限
GET /user/followers
(:read)GET /user/following
(:read)GET /user/following/:username
(:read)PUT /user/following/:username
(:write)DELETE /user/following/:username
(:write)
有关“gpg 密钥”的权限
GET /user/gpg_keys
(:read)POST /user/gpg_keys
(:write)GET /user/gpg_keys/:gpg_key_id
(:read)DELETE /user/gpg_keys/:gpg_key_id
(:write)
有关“议题”的权限
议题和拉取请求密切相关。 更多信息请参阅"列出分配给经身份验证用户的议题“。 如果您的 GitHub 应用程序拥有处理议题的权限但没有处理拉取请求的权限,则这些端点将仅限于处理议题。 既返回议题又返回拉取请求的端点将被过滤。 允许对议题和拉取请求进行操作的端点将被限制为仅处理议题。
GET /repos/:owner/:repo/issues
(:read)POST /repos/:owner/:repo/issues
(:write)GET /repos/:owner/:repo/issues/:issue_number
(:read)PATCH /repos/:owner/:repo/issues/:issue_number
(:write)GET /repos/:owner/:repo/issues/:issue_number/comments
(:read)POST /repos/:owner/:repo/issues/:issue_number/comments
(:write)PUT /repos/:owner/:repo/issues/:issue_number/lock
(:write)DELETE /repos/:owner/:repo/issues/:issue_number/lock
(:write)GET /repos/:owner/:repo/issues/:issue_number/reactions
(:read)POST /repos/:owner/:repo/issues/:issue_number/reactions
(:write)GET /repos/:owner/:repo/issues/:issue_number/timeline
(:read)GET /repos/:owner/:repo/issues/comments
(:read)GET /repos/:owner/:repo/issues/comments/:comment_id
(:read)PATCH /repos/:owner/:repo/issues/comments/:comment_id
(:write)DELETE /repos/:owner/:repo/issues/comments/:comment_id
(:write)GET /repos/:owner/:repo/issues/comments/:comment_id/reactions
(:read)POST /repos/:owner/:repo/issues/comments/:comment_id/reactions
(:write)
受理人
GET /repos/:owner/:repo/assignees
(:read)GET /repos/:owner/:repo/assignees/:username
(:read)POST /repos/:owner/:repo/issues/:issue_number/assignees
(:write)DELETE /repos/:owner/:repo/issues/:issue_number/assignees
(:write)
事件
GET /repos/:owner/:repo/issues/:issue_number/events
(:read)GET /repos/:owner/:repo/issues/events/:event_id
(:read)
标签
GET /repos/:owner/:repo/issues/:issue_number/labels
(:read)POST /repos/:owner/:repo/issues/:issue_number/labels
(:write)PUT /repos/:owner/:repo/issues/:issue_number/labels
(:write)DELETE /repos/:owner/:repo/issues/:issue_number/labels
(:write)DELETE /repos/:owner/:repo/issues/:issue_number/labels/:name
(:write)GET /repos/:owner/:repo/labels
(:read)POST /repos/:owner/:repo/labels
(:write)GET /repos/:owner/:repo/labels/:name
(:read)PATCH /repos/:owner/:repo/labels/:name
(:write)DELETE /repos/:owner/:repo/labels/:name
(:write)
里程碑
GET /repos/:owner/:repo/milestones
(:read)POST /repos/:owner/:repo/milestones
(:write)GET /repos/:owner/:repo/milestones/:milestone_number
(:read)PATCH /repos/:owner/:repo/milestones/:milestone_number
(:write)DELETE /repos/:owner/:repo/milestones/:milestone_number
(:write)GET /repos/:owner/:repo/milestones/:milestone_number/labels
(:read)
反应
GET /repos/:owner/:repo/issues/comments/:comment_id/reactions
(:read)POST /repos/:owner/:repo/issues/comments/:comment_id/reactions
(:write)GET /repos/:owner/:repo/issues/:issue_number/reactions
(:read)POST /repos/:owner/:repo/issues/:issue_number/reactions
(:write)DELETE /reactions/:reaction_id
(:write)DELETE /repos/:owner/:repo/comments/:comment_id/reactions/:reaction_id
(:write)DELETE /repos/:owner/:repo/issues/:issue_number/reactions/:reaction_id
(:write)DELETE /repos/:owner/:repo/issues/comments/:comment_id/reactions/:reaction_id
(:write)DELETE /repos/:owner/:repo/pulls/comments/:comment_id/reactions/:reaction_id
(:write)DELETE /orgs/:org/teams/:team_slug/discussions/:discussion_number/reactions/:reaction_id
(:write)DELETE /orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id
(:write)
有关“键”的权限
键
GET /user/keys
(:read)POST /user/keys
(:write)GET /user/keys/:key_id
(:read)DELETE /user/keys/:key_id
(:write)
有关“成员”的权限
GET /orgs/:org/outside_collaborators
(:read)PUT /orgs/:org/outside_collaborators/:username
(:write)DELETE /orgs/:org/outside_collaborators/:username
(:write)GET /orgs/:org/team/:team_id
(:read)
组织成员
DELETE /orgs/:org/members/:username
(:write)GET /orgs/:org/memberships/:username
(:read)PUT /orgs/:org/memberships/:username
(:write)DELETE /orgs/:org/memberships/:username
(:write)PUT /orgs/:org/public_members/:username
(:write)DELETE /orgs/:org/public_members/:username
(:write)GET /user/memberships/orgs
(:read)GET /user/memberships/orgs/:org
(:read)PATCH /user/memberships/orgs/:org
(:write)
团队成员
GET /teams/:team_id/members
(:read)GET /teams/:team_id/memberships/:username
(:read)PUT /teams/:team_id/memberships/:username
(:write)DELETE /teams/:team_id/memberships/:username
(:write)
团队
GET /orgs/:org/teams
(:read)POST /orgs/:org/teams
(:write)GET /orgs/:org/teams/:team_slug
(:read)PATCH /teams/:team_id
(:write)DELETE /teams/:team_id
(:write)GET /teams/:team_id/projects
(:read)GET /teams/:team_id/projects/:project_id
(:read)PUT /teams/:team_id/projects/:project_id
(:read)DELETE /teams/:team_id/projects/:project_id
(:read)GET /teams/:team_id/repos
(:read)GET /teams/:team_id/repos/:owner/:repo
(:read)PUT /teams/:team_id/repos/:owner/:repo
(:read)DELETE /teams/:team_id/repos/:owner/:repo
(:write)GET /teams/:team_id/teams
(:read)
有关“组织管理”的权限
PATCH /orgs/:org
(:write)
有关“组织事件”的权限
有关“组织挂钩”的权限
GET /orgs/:org/hooks
(:read)POST /orgs/:org/hooks
(:write)GET /orgs/:org/hooks/:hook_id
(:read)PATCH /orgs/:org/hooks/:hook_id
(:write)DELETE /orgs/:org/hooks/:hook_id
(:write)POST /orgs/:org/hooks/:hook_id/pings
(:write)
团队
有关“组织预接收挂钩”的权限
GET /orgs/:org/pre-receive-hooks
(:read)GET /orgs/:org/pre-receive-hooks/:pre_receive_hook_id
(:read)PATCH /orgs/:org/pre-receive-hooks/:pre_receive_hook_id
(:write)DELETE /orgs/:org/pre-receive-hooks/:pre_receive_hook_id
(:write)
有关“组织项目”的权限
POST /orgs/:org/projects
(:write)GET /projects/:project_id
(:read)PATCH /projects/:project_id
(:write)DELETE /projects/:project_id
(:write)POST /projects/:project_id/cards
(:write)GET /projects/:project_id/columns
(:read)POST /projects/:project_id/columns
(:write)GET /projects/columns/:column_id
(:read)PATCH /projects/columns/:column_id
(:write)DELETE /projects/columns/:column_id
(:write)GET /projects/columns/:column_id/cards
(:read)POST /projects/columns/:column_id/cards
(:write)POST /projects/columns/:column_id/moves
(:write)GET /projects/columns/cards/:card_id
(:read)PATCH /projects/columns/cards/:card_id
(:write)DELETE /projects/columns/cards/:card_id
(:write)POST /projects/columns/cards/:card_id/moves
(:write)
有关“页面”的权限
GET /repos/:owner/:repo/pages
(:read)POST /repos/:owner/:repo/pages
(:write)PUT /repos/:owner/:repo/pages
(:write)DELETE /repos/:owner/:repo/pages
(:write)GET /repos/:owner/:repo/pages/builds
(:read)POST /repos/:owner/:repo/pages/builds
(:write)GET /repos/:owner/:repo/pages/builds/:build_id
(:read)GET /repos/:owner/:repo/pages/builds/latest
(:read)
有关“拉取请求”的权限
拉取请求和议题密切相关。 如果您的 GitHub 应用程序拥有处理拉取请求的权限但没有处理议题的权限,则这些端点将仅限于处理拉取请求。 既返回拉取请求又返回议题的端点将被过滤。 允许对拉取请求和议题进行操作的端点将被限制为仅处理拉取请求。
PATCH /repos/:owner/:repo/issues/:issue_number
(:write)GET /repos/:owner/:repo/issues/:issue_number/comments
(:read)POST /repos/:owner/:repo/issues/:issue_number/comments
(:write)PUT /repos/:owner/:repo/issues/:issue_number/lock
(:write)DELETE /repos/:owner/:repo/issues/:issue_number/lock
(:write)GET /repos/:owner/:repo/issues/:issue_number/timeline
(:read)GET /repos/:owner/:repo/issues/comments
(:read)GET /repos/:owner/:repo/issues/comments/:comment_id
(:read)PATCH /repos/:owner/:repo/issues/comments/:comment_id
(:write)DELETE /repos/:owner/:repo/issues/comments/:comment_id
(:write)GET /repos/:owner/:repo/pulls
(:read)POST /repos/:owner/:repo/pulls
(:write)GET /repos/:owner/:repo/pulls/:pull_number
(:read)PATCH /repos/:owner/:repo/pulls/:pull_number
(:write)GET /repos/:owner/:repo/pulls/:pull_number/comments
(:read)POST /repos/:owner/:repo/pulls/:pull_number/comments
(:write)GET /repos/:owner/:repo/pulls/:pull_number/commits
(:read)GET /repos/:owner/:repo/pulls/:pull_number/files
(:read)GET /repos/:owner/:repo/pulls/:pull_number/merge
(:read)GET /repos/:owner/:repo/pulls/comments
(:read)GET /repos/:owner/:repo/pulls/comments/:comment_id
(:read)PATCH /repos/:owner/:repo/pulls/comments/:comment_id
(:write)DELETE /repos/:owner/:repo/pulls/comments/:comment_id
(:write)
受理人
GET /repos/:owner/:repo/assignees
(:read)GET /repos/:owner/:repo/assignees/:username
(:read)POST /repos/:owner/:repo/issues/:issue_number/assignees
(:write)DELETE /repos/:owner/:repo/issues/:issue_number/assignees
(:write)
事件
GET /repos/:owner/:repo/issues/:issue_number/events
(:read)GET /repos/:owner/:repo/issues/events/:event_id
(:read)POST /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/events
(:write)
标签
GET /repos/:owner/:repo/issues/:issue_number/labels
(:read)POST /repos/:owner/:repo/issues/:issue_number/labels
(:write)PUT /repos/:owner/:repo/issues/:issue_number/labels
(:write)DELETE /repos/:owner/:repo/issues/:issue_number/labels
(:write)DELETE /repos/:owner/:repo/issues/:issue_number/labels/:name
(:write)GET /repos/:owner/:repo/labels
(:read)POST /repos/:owner/:repo/labels
(:write)GET /repos/:owner/:repo/labels/:name
(:read)PATCH /repos/:owner/:repo/labels/:name
(:write)DELETE /repos/:owner/:repo/labels/:name
(:write)
里程碑
GET /repos/:owner/:repo/milestones
(:read)POST /repos/:owner/:repo/milestones
(:write)GET /repos/:owner/:repo/milestones/:milestone_number
(:read)PATCH /repos/:owner/:repo/milestones/:milestone_number
(:write)DELETE /repos/:owner/:repo/milestones/:milestone_number
(:write)GET /repos/:owner/:repo/milestones/:milestone_number/labels
(:read)
反应
POST /repos/:owner/:repo/issues/:issue_number/reactions
(:write)GET /repos/:owner/:repo/issues/comments/:comment_id/reactions
(:read)POST /repos/:owner/:repo/issues/comments/:comment_id/reactions
(:write)GET /repos/:owner/:repo/pulls/comments/:comment_id/reactions
(:read)POST /repos/:owner/:repo/pulls/comments/:comment_id/reactions
(:write)DELETE /reactions/:reaction_id
(:write)DELETE /repos/:owner/:repo/comments/:comment_id/reactions/:reaction_id
(:write)DELETE /repos/:owner/:repo/issues/:issue_number/reactions/:reaction_id
(:write)DELETE /repos/:owner/:repo/issues/comments/:comment_id/reactions/:reaction_id
(:write)DELETE /repos/:owner/:repo/pulls/comments/:comment_id/reactions/:reaction_id
(:write)DELETE /orgs/:org/teams/:team_slug/discussions/:discussion_number/reactions/:reaction_id
(:write)DELETE /orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id
(:write)
请求的审查者
GET /repos/:owner/:repo/pulls/:pull_number/requested_reviewers
(:read)POST /repos/:owner/:repo/pulls/:pull_number/requested_reviewers
(:write)DELETE /repos/:owner/:repo/pulls/:pull_number/requested_reviewers
(:write)
审查
GET /repos/:owner/:repo/pulls/:pull_number/reviews
(:read)POST /repos/:owner/:repo/pulls/:pull_number/reviews
(:write)GET /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id
(:read)PUT /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id
(:write)DELETE /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id
(:write)GET /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/comments
(:read)PUT /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/dismissals
(:write)
有关“个人资料”的权限
PATCH /user
(:write)
有关“仓库挂钩”的权限
GET /repos/:owner/:repo/hooks
(:read)POST /repos/:owner/:repo/hooks
(:write)GET /repos/:owner/:repo/hooks/:hook_id
(:read)PATCH /repos/:owner/:repo/hooks/:hook_id
(:write)DELETE /repos/:owner/:repo/hooks/:hook_id
(:write)POST /repos/:owner/:repo/hooks/:hook_id/pings
(:read)POST /repos/:owner/:repo/hooks/:hook_id/tests
(:read)
有关“仓库预接收挂钩”的权限
GET /repos/:owner/:repo/pre-receive-hooks
(:read)GET /repos/:owner/:repo/pre-receive-hooks/:pre_receive_hook_id
(:read)PATCH /repos/:owner/:repo/pre-receive-hooks/:pre_receive_hook_id
(:write)DELETE /repos/:owner/:repo/pre-receive-hooks/:pre_receive_hook_id
(:write)
有关“仓库项目”的权限
GET /projects/:project_id
(:read)PATCH /projects/:project_id
(:write)DELETE /projects/:project_id
(:write)POST /projects/:project_id/cards
(:write)GET /projects/:project_id/columns
(:read)POST /projects/:project_id/columns
(:write)GET /projects/columns/:column_id
(:read)PATCH /projects/columns/:column_id
(:write)DELETE /projects/columns/:column_id
(:write)GET /projects/columns/:column_id/cards
(:read)POST /projects/columns/:column_id/cards
(:write)POST /projects/columns/:column_id/moves
(:write)GET /projects/columns/cards/:card_id
(:read)PATCH /projects/columns/cards/:card_id
(:write)DELETE /projects/columns/cards/:card_id
(:write)POST /projects/columns/cards/:card_id/moves
(:write)GET /repos/:owner/:repo/projects
(:read)POST /repos/:owner/:repo/projects
(:write)
团队
有关“安全事件”的权限
GET /repos/:owner/:repo/code-scanning/alerts
(:read)GET /repos/:owner/:repo/code-scanning/alerts/:alert_number
(:read)PATCH /repos/:owner/:repo/code-scanning/alerts/:alert_number
(:write)GET /repos/:owner/:repo/code-scanning/analyses
(:read)POST /repos/:owner/:repo/code-scanning/sarifs
(:write)
有关“单个文件”的权限
GET /repos/:owner/:repo/contents/:path
(:read)PUT /repos/:owner/:repo/contents/:path
(:write)DELETE /repos/:owner/:repo/contents/:path
(:write)
有关“星标”的权限
GET /user/starred/:owner/:repo
(:read)PUT /user/starred/:owner/:repo
(:write)DELETE /user/starred/:owner/:repo
(:write)
有关“状态”的权限
GET /repos/:owner/:repo/commits/:ref/status
(:read)GET /repos/:owner/:repo/commits/:ref/statuses
(:read)POST /repos/:owner/:repo/statuses/:sha
(:write)
有关“团队讨论”的权限
GET /teams/:team_id/discussions
(:read)POST /teams/:team_id/discussions
(:write)GET /teams/:team_id/discussions/:discussion_number
(:read)PATCH /teams/:team_id/discussions/:discussion_number
(:write)DELETE /teams/:team_id/discussions/:discussion_number
(:write)GET /teams/:team_id/discussions/:discussion_number/comments
(:read)POST /teams/:team_id/discussions/:discussion_number/comments
(:write)GET /teams/:team_id/discussions/:discussion_number/comments/:comment_number
(:read)PATCH /teams/:team_id/discussions/:discussion_number/comments/:comment_number
(:write)DELETE /teams/:team_id/discussions/:discussion_number/comments/:comment_number
(:write)GET /teams/:team_id/discussions/:discussion_number/comments/:comment_number/reactions
(:read)POST /teams/:team_id/discussions/:discussion_number/comments/:comment_number/reactions
(:write)GET /teams/:team_id/discussions/:discussion_number/reactions
(:read)POST /teams/:team_id/discussions/:discussion_number/reactions
(:write)