Beta

リアクション一覧

GEThttps://api.youvico.com/api/comments/:id/reactions
レート制限
Default
スコープ
comments:read

コメントのリアクション一覧を取得します。

例

curl 'https://api.youvico.com/api/comments/2fb4e60b-0d9a-46f3-a4dc-cb9fe8ad9be6/reactions' \
  -H 'Authorization: Bearer YOUR_API_KEY'
{
  "data": [
    {
      "type": "👍",
      "count": 2,
      "me": true
    }
  ]
}
リクエスト
curl -X GET 'https://api.youvico.com/api/comments/2fb4e60b-0d9a-46f3-a4dc-cb9fe8ad9be6/reactions' \
-H 'Authorization: Bearer YOUR_API_KEY'
レスポンス200 OK
{
  "data": [
    {
      "type": "👍",
      "count": 2,
      "me": true
    }
  ]
}

リクエスト

パス

idstringrequired
コメントID

レスポンス

200 OK を返します。

dataarray
リアクション
data[].typestring
絵文字

例: 👍

data[].countnumber
リアクション数

例: 2

data[].meboolean
自分がこのリアクションを追加したかどうか

例: true