リアクション一覧
GET
https://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