すべての通知を既読にする
PUT
/notifications/read-all認証中ユーザーの未読通知をすべて既読にします。既読にした件数を返します。
| 認証 | 要ログイン |
|---|
レスポンス
| フィールド | 型 | 説明 |
|---|---|---|
success | boolean | 常に true。 |
readCount | number | 既読にした件数。 |
リクエスト
curl https://api.4s.link/notifications/read-all \-X PUT \-H "Authorization: Bearer 4s_at_..."
レスポンス例
{"success": true,"readCount": 3}