Reações
Use a API REST para interagir com reações no GitHub.
Sobre reações
Você pode criar e gerenciar reações a comentários, problemas, solicitações de pull e discussões sobre GitHub. Durante a criação de uma reação, os valores permitidos para o parâmetro content são os seguintes (com o emoji correspondente para referência):
| conteúdo | emoji |
|---|---|
+1 |
👍 |
-1 |
👎 |
laugh |
😄 |
confused |
😕 |
heart |
❤️ |
hooray |
🎉 |
rocket |
🚀 |
eyes |
👀 |
List reactions for a team discussion comment
List the reactions to a team discussion comment. OAuth access tokens require the read:discussion scope.
Note: You can also specify a team by org_id and team_id using the route GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions.
Parâmetros para "List reactions for a team discussion comment"
| Cabeçalhos |
|---|
| Nome, Tipo, Descrição |
accept string Setting to |
| Parâmetros de caminho |
| Nome, Tipo, Descrição |
org string ObrigatórioThe organization name. The name is not case sensitive. |
team_slug string ObrigatórioThe slug of the team name. |
discussion_number integer ObrigatórioThe number that identifies the discussion. |
comment_number integer ObrigatórioThe number that identifies the comment. |
| Parâmetros de consulta |
| Nome, Tipo, Descrição |
content string Returns a single reaction type. Omit this parameter to list all reactions to a team discussion comment. Pode ser um dos: |
per_page integer The number of results per page (max 100). Padrão: |
page integer Page number of the results to fetch. Padrão: |
Códigos de status de resposta HTTP para "List reactions for a team discussion comment"
| Código de status | Descrição |
|---|---|
200 | OK |