通知を既読にする

未読の通知を既読状態にします。

メソッド

PUT

URL

https://typetalk.com/api/v3/notifications

スコープ

my

フォームパラメーター

名前 説明
spaceKey 文字列 組織キー

レスポンスの例

{
    "space": {
        "key": "xxxxxxxx",
        "name": "Nulab Inc",
        "enabled": true,
        "imageUrl": "https://apps.nulab.com/spaces/xxxxxxxx/photo/large"
    },
    "access": {
        "unopened": 0
    }
}

レスポンスのフォーマットは全て JSON です。GET メソッドは ETag に対応しているので、If-None-Match ヘッダを付けて送ると、変更がない場合は 304 を返します。日付のフォーマットは ISO 8601 で、UTC です。 (例 : 2014-01-09T06:20:08Z )