Beta

リアクション作成

POSThttps://api.youvico.com/api/comments/:id/reactions
レート制限
Tier 3
スコープ
comments:write

コメントにリアクションを追加します。

例

curl -X POST 'https://api.youvico.com/api/comments/2fb4e60b-0d9a-46f3-a4dc-cb9fe8ad9be6/reactions' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{ "type": "👍" }'
リクエスト
curl -X POST 'https://api.youvico.com/api/comments/2fb4e60b-0d9a-46f3-a4dc-cb9fe8ad9be6/reactions' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"type": "👍"
}'
レスポンス204 No Content

リクエスト

パス

idstringrequired
コメントID

ボディ

typestringrequired
Unicode絵文字

例: 👍

レスポンス

204 No Content を返します。