1. REST API

通知

日本語翻訳に関する免責事項

このページの翻訳はAIによって自動的に行われました。可能な限り正確な翻訳を心掛けていますが、原文と異なる表現や解釈が含まれる場合があります。正確で公式な情報については、必ず英語の原文をご参照ください。

Notificationオブジェクトは、通知の種類と、通知の送信方法を定義するチャネルの一覧を表します。

これは、次のプロパティを持つオブジェクトです。

名前

種類

形容

notificationType

オプション リストNotificationTypesの項目を指す文字列。

isUserOwned

ブール値

通知がグローバルであるか、特定のユーザーに割り当てられているかを定義するブール値。

user

リンク

通知が適用される ユーザーオブジェクト へのリンク(ユーザー所有の場合)。

channels

配列

チャネルごとにチャネル名とis_checkedブール値を含む配列。

{
  "id": 16,
  "notificationtype": "SearchChanged",
  "notificationtypelabel": "Saved search results changed",
  "is_user_owned": false,
  "created_on": "2017-04-11T01:11:12.149588Z",
  "created_by": {
    "href": "https://stylelabs_example.com/api/entities/6",
    "title": "The user who created the entity"
  },
  "modified_on": "2017-04-11T01:11:12.149588Z",
  "modified_by": {
    "href": "https://stylelabs_example.com/api/entities/6",
    "title": "The user who last modified the entity"
  },
  "channels": [
    {
      "channelname": "EmailNotification",
      "is_checked": true
    },
    {
      "channelname": "RealTimeNotification",
      "is_checked": false
    }
  ],
  "UserId": 0,
  "self": {
  "href": "https://stylelabs_example.com/api/notifications",
  "title": "This Notification."
  }
}
この記事を改善するための提案がある場合は、 お知らせください!