MINARA

1 件の通知を既読にする

POST /v1/notifications/:id/read:単一の通知を既読にします。操作は冪等です。

POST /v1/notifications/:id/read

単一の通知を既読にします。操作は冪等です。{ ok: true, updated } を返します。すでに既読の場合は updated が false です。id が存在しない場合のみ 404 を返します。

メソッドPOST
パス/v1/notifications/:id/read
認証既定では Authorization: Bearer <token> が必要(設定済みまたは自動生成の token)。明示的なループバック開発モードのみ省略可能(MINARA_ALLOW_INSECURE_BIND=1、GATEWAY_AUTH_TOKEN は未設定)
カテゴリnotifications

目次