GitHub Appの権限について
GitHub Appは、一連の権限を付けて作成されます。 GitHub AppがAPIを介してアクセスできるリソースが、権限によって決まります。 詳細は、「GitHub Appの権限の設定」を参照してください。
メタデータ権限
GitHub Appは、デフォルトでRead-only
メタデータ権限を持ちます。 メタデータ権限は、各種リソースのメタデータを持つ読み取り専用のエンドポイントのコレクションへのアクセスを提供します。 これらのエンドポイントで、機密のプライベートリポジトリ情報が漏洩することはありません。
If you set the metadata permission to No access
and select a permission that requires repository access, GitHub will override your selection and set the metadata permission back to Read-only
. To set the metadata permission to No access
, you must set all permissions that require repository access to No access
first.
コラボレータ
コミットのコメント
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 /users/:username/events
GET /users/:username/events/public
Git
キー
Organizationメンバー
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
"administration"に対する権限
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)
Team
GET /repos/:owner/:repo/teams
(:read)PUT /teams/:team_id/repos/:owner/:repo
(:write)DELETE /teams/:team_id/repos/:owner/:repo
(:write)
"checks"に対する権限
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)
"contents"に対する権限
-
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) -
POST /repos/:owner/:repo/forks
(:read) -
POST /repos/:owner/:repo/merges
(:write)
ブランチ
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)
リリース
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)
"deployments"に対する権限
GET /repos/:owner/:repo/deployments
(:read)POST /repos/:owner/:repo/deployments
(:write)GET /repos/:owner/:repo/deployments/:deployment_id
(:read)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)
"emails"に対する権限
GET /user/emails
(:read)POST /user/emails
(:write)DELETE /user/emails
(:write)GET /user/public_emails
(:read)
"followers"に対する権限
GET /user/followers
(:read)GET /user/following
(:read)GET /user/following/:username
(:read)PUT /user/following/:username
(:write)DELETE /user/following/:username
(:write)
"gpg keys"に対する権限
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)
"issues"に対する権限
Issueとプルリクエストには密接な関係があります。 詳細は、「認証済みユーザに割り当てられたIssueのリスト」を参照してください。 GitHub Appに、Issueに対する権限があってプルリクエストに対する権限がない場合、そのエンドポイントはIssueに限定されます。 Issueとプルリクエストの両方を返すエンドポイントがフィルターされます。 Issueとプルリクエストの両方に対する操作が可能なエンドポイントは、Issueに限定されます。
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)
"keys"に対する権限
キー
GET /user/keys
(:read)POST /user/keys
(:write)GET /user/keys/:key_id
(:read)DELETE /user/keys/:key_id
(:write)
"members"に対する権限
-
GET /orgs/:org/team/:team_id
(:read)
Organizationメンバー
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)
Teamメンバー
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)
Team
-
GET /orgs/:org/teams
(:read) -
POST /orgs/:org/teams
(:write) -
GET /orgs/:org/teams/:team_slug
(:read) -
GET /teams/:team_id
(:read) -
PATCH /teams/:team_id
(:write) -
DELETE /teams/:team_id
(:write) -
GET /teams/:team_id/repos
(:read) -
GET /teams/:team_id/teams
(:read)
"organization administration"に対する権限
PATCH /orgs/:org
(:write)
"organization hooks"に対する権限
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)
Team
"organization pre receive hooks"に対する権限
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)
"organization projects"に対する権限
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)
"pages"に対する権限
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)
"pull requests"に対する権限
プルリクエストとIssueには密接な関係があります。 GitHub Appに、プルリクエストに対する権限があってIssueに対する権限がない場合、そのエンドポイントはプルリクエストに限定されます。 プルリクエストとIssueの両方を返すエンドポイントがフィルターされます。 プルリクエストとIssueの両方に対する操作が可能なエンドポイントは、プルリクエストに限定されます。
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)
リクエストされたレビュー担当者
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)
"repository hooks"に対する権限
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)
"repository pre receive hooks"に対する権限
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)
"repository projects"に対する権限
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)
Team
"single file"に対する権限
GET /repos/:owner/:repo/contents/:path
(:read)PUT /repos/:owner/:repo/contents/:path
(:write)DELETE /repos/:owner/:repo/contents/:path
(:write)
"starring"に対する権限
GET /user/starred/:owner/:repo
(:read)PUT /user/starred/:owner/:repo
(:write)DELETE /user/starred/:owner/:repo
(:write)
"statuses"に対する権限
GET /repos/:owner/:repo/commits/:ref/status
(:read)GET /repos/:owner/:repo/commits/:ref/statuses
(:read)POST /repos/:owner/:repo/statuses/:sha
(:write)
"team discussions"に対する権限
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)