獲取應用的通知條件設置
獲取應用的通知條件的設置。
| HTTP 方法 | GET |
|---|---|
| URL | https://sample.cybozu.com/k/v1/app/notifications/general.json |
| URL(訪客空間) | https://sample.cybozu.com/k/guest/GUEST_SPACE_ID/v1/app/notifications/general.json |
| URL(操作測試環境) | https://sample.cybozu.com/k/v1/preview/app/notifications/general.json |
| URL(測試環境中的訪客空間) | https://sample.cybozu.com/k/guest/GUEST_SPACE_ID/v1/preview/app/notifications/general.json |
| 認證 | 密碼驗證 , API令牌認證 , 會話認證 , OAuth認證 |
| Content-Type | application/json(透過查詢字串指定查詢時不需指定此項) |
請求參數
| 參數名稱 | 類型 | 必須 | 說明 |
|---|---|---|---|
| app | 數值或字串 | 必須 | 應用程式ID |
應答屬性
| 屬性名稱 | 類型 | 說明 |
|---|---|---|
| notifications | 陣列(物件) | 通知條件設置的物件陣列 |
| notifications[].entity | 物件 | 為其設置條件通知的物件 |
| notifications[].entity.type | 字串 | 通知條件設置的類型
|
| notifications[].entity.code | 字串 | 設置條件通知的代碼 這取決於 entity.type值。
|
| notifications[].includeSubs | 布爾值 | 設置是否由子單位繼承
entity.type 僅當的值為「ORGANIZATION」或 「FIELD_ENTITY」指定組織選擇欄位時,才返回「true」。 |
| notifications[].recordAdded | 布爾值 | 添加記錄時是否通知
|
| notifications[].recordEdited | 布爾值 | 編輯記錄時是否通知
|
| notifications[].commentAdded | 布爾值 | 是否在撰寫評論時通知
|
| notifications[].statusChanged | 布爾值 | 是否希望收到狀態更新的通知
|
| notifications[].fileImported | 布爾值 | 載入檔時是否通知
|
| notifyToCommenter | 布爾值 | 曾填寫回覆的使用者,將於該記錄新增回覆時收到通知。
|
| revision | 字串 | 應用設置的修訂號 |
所需存取權限
- 應用程式管理權限
範例
|
|
|
|
有關請求頭的詳細資訊,請參閱通用規格。
kintone REST API通用規格
|
|
|
|
有關請求頭的詳細資訊,請參閱通用規格。
kintone REST API通用規格
|
|
|
|
有關kintone.api()的說明,請參閱以下頁面。
傳送kintone REST API請求
|
|
根據您的環境,curl的格式可能會有所不同。
有關說明,請參閱以下頁面。
使用curl命令執行kintone REST API/3.執行API
|
|
