Sobre as permissões de aplicativo GitHub
aplicativo GitHubs são criados com um conjunto de permissões. As permissões definem quais recursos o aplicativo GitHub pode acessar através da API. Para obter mais informações, consulte "Configurações de permissões para os aplicativos GitHub".
Permissões de metadados
Os aplicativos GitHub têm a permissão de metadados Read-only
por padrão. A permissão de metadados fornece acesso a uma coleção de pontos de extremidade somente leitura com metadados para vários recursos. Esses pontos de extremidade não vazam informações privadas sobre repositórios.
Se você definir a permissão de metadados para No access
e selecionar uma permissão que exija acesso ao repositório, GitHub irá substituir sua seleção e definir a permissão de metadados de volta para Read-only
. Para definir a permissão de metadados para No access
, você deve definir todas as permissões que requerem acesso ao repositório No access
primeiro.
Colaboradores
Comentários de commit
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
Eventos
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
Chaves
Integrantes da organização
GET /orgs/:org/members
GET /orgs/:org/members/:username
GET /orgs/:org/public_members
GET /orgs/:org/public_members/:username
Pesquisar
GET /search/code
GET /search/commits
GET /search/issues
GET /search/labels
GET /search/repositories
GET /search/topics
GET /search/users
Permissão em "administração"
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)
Branches
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)
Colaboradores
PUT /repos/:owner/:repo/collaborators/:username
(:write)DELETE /repos/:owner/:repo/collaborators/:username
(:write)
Convites
GET /repos/:owner/:repo/invitations
(:read)PATCH /repos/:owner/:repo/invitations/:invitation_id
(:write)DELETE /repos/:owner/:repo/invitations/:invitation_id
(:write)
Chaves
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)
Equipes
GET /repos/:owner/:repo/teams
(:read)PUT /teams/:team_id/repos/:owner/:repo
(:write)DELETE /teams/:team_id/repos/:owner/:repo
(:write)
Permissão em "verificações"
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)
Permissão em "conteúdo"
-
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)
Branches
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)
Comentários de commit
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)
Reações
DELETE /reactions/:reaction_id
(:write)
Versões
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)
Permissão em "implantações"
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)
Permissão em "e-mails"
GET /user/emails
(:read)POST /user/emails
(:write)DELETE /user/emails
(:write)GET /user/public_emails
(:read)
Permissão em "seguidores"
GET /user/followers
(:read)GET /user/following
(:read)GET /user/following/:username
(:read)PUT /user/following/:username
(:write)DELETE /user/following/:username
(:write)
Permissão em "chaves 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)
Permissão em "problemas"
Problemas e pull requests estão estreitamente relacionados. Para obter mais informações, consulte "Lista de problemas atribuídos ao usuário autenticado". Se seu aplicativo GitHub tiver permissões em problemas e não em pull requests, esses pontos de extremidade irão limitar-se a problemas. Pontos de extremidade que retornam problemas e pull requests serão filtrados. Os pontos de extremidade que permitem operações em ambos problemas e pull requests estarão restritos a problemas.
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)
Responsáveis
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)
Eventos
Etiquetas
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)
Marcos
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)
Reações
-
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)
Permissão em "chaves"
Chaves
GET /user/keys
(:read)POST /user/keys
(:write)GET /user/keys/:key_id
(:read)DELETE /user/keys/:key_id
(:write)
Permissão em "integrantes"
-
GET /orgs/:org/team/:team_id
(:read)
Integrantes da organização
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)
Integrantes da equipe
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)
Equipes
-
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)
Permissão em "administração da organização"
PATCH /orgs/:org
(:write)
Permissão em "hooks da organização"
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)
Equipes
Permissão em "hooks pre-receive da organização"
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)
Permissão em "projetos da organização"
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)
Permissão em "páginas"
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)
Permissão em "pull requests"
Pull requests and issues are closely related.. If your GitHub App has permissions on pull requests but not on issues, these endpoints will be limited to pull requests. Os pontos de extremidade que retornam pull requests e problemas serão filtrados. Os pontos de extremidade que permitem operações em pull requests e problemas serão restritos a pull requests.
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)
Responsáveis
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)
Eventos
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)
Etiquetas
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)
Marcos
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)
Reações
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)
Revisores solicitados
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)
Revisões
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)
Permissão em "hooks de repositório"
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)
Permission on "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)
Permissão em "projetos de repositório"
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)
Equipes
Permissão em "arquivo único"
GET /repos/:owner/:repo/contents/:path
(:read)PUT /repos/:owner/:repo/contents/:path
(:write)DELETE /repos/:owner/:repo/contents/:path
(:write)
Permissão em "marcar com uma estrela"
GET /user/starred/:owner/:repo
(:read)PUT /user/starred/:owner/:repo
(:write)DELETE /user/starred/:owner/:repo
(:write)
Permissão em "status"
GET /repos/:owner/:repo/commits/:ref/status
(:read)GET /repos/:owner/:repo/commits/:ref/statuses
(:read)POST /repos/:owner/:repo/statuses/:sha
(:write)
Permissão em "discussões em equipe"
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)