一覧¶
GET /api/v1/notification_schedule/list
概要¶
Query リクエストパラメータ¶
| パラメータ名 | 型 | 必須 | 説明 |
|---|---|---|---|
| mySchedule | string | 自分のスケジュールを表示。デフォルト false: 全スケジュールを表示 空を許可: True 選択可能な値: ['true', 'false'] |
|
| scheduleCalendar | string | スケジュールカレンダー。デフォルト false: スケジュール管理を表示 空を許可: True 選択可能な値: ['true', 'false'] |
|
| scTimezone | string | スケジュールカレンダー照会時のタイムゾーン。デフォルト Asia/Shanghai 例: Asia/Shanghai 空を許可: False 最大長: 48 |
|
| scDateRange | string | スケジュールカレンダー照会時の日付範囲。デフォルト 照会当日のみ 例: 2024/06/22~2024/07/06 空を許可: False 空文字列を許可: False 最大長: 48 |
|
| notificationScheduleUUIDs | commaArray | スケジュール UUID でフィルタ 空を許可: False |
|
| issueNotificationPolicyUUIDs | commaArray | 通知ポリシー UUID でフィルタ 空を許可: False |
|
| notifyTargets | commaArray | 通知先でフィルタ。acnt_xxx,notify_yyy,xxx@guance.com 空を許可: False |
|
| search | string | 名前で検索 空を許可: True |
|
| pageIndex | integer | ページ番号 空を許可: False 例: 1 $minValue: 1 |
|
| pageSize | integer | 1ページあたりの返却件数 空を許可: False 例: 10 $minValue: 1 $maxValue: 100 |
パラメータ補足説明¶
リクエスト例¶
curl 'https://openapi.guance.com/api/v1/notification_schedule/list' \
-H 'DF-API-KEY: <DF-API-KEY>' \
-H 'Content-Type: application/json;charset=UTF-8' \
--compressed
レスポンス¶
{
"code": 200,
"content": {
"data": [
{
"createAt": 1735798360,
"creator": "acnt_8b4bd2b8782646f3ba8f6554193f5997",
"deleteAt": -1,
"effectiveTimeInfos": {
"expired": false,
"timeStr": ""
},
"end": "23:59",
"extend": {
"enableRotateNotification": false,
"rotationCycle": "day"
},
"id": 132,
"inEffectNotifyTargetsInfos": [
{
"name": "tempN",
"status": 0,
"type": "HTTPRequest",
"uuid": "notify_1c08db8458ba4ecabd27b8ce805e8502"
}
],
"issueNotificationPolicyInfos": [],
"name": "temp22",
"notifyTargets": [
"notify_1c08db8458ba4ecabd27b8ce805e8502"
],
"notifyTargetsInfos": [
{
"name": "tempN",
"status": 0,
"type": "HTTPRequest",
"uuid": "notify_1c08db8458ba4ecabd27b8ce805e8502"
}
],
"rotationUpdateAt": 1735798360,
"start": "00:00",
"status": 0,
"timezone": "Asia/Shanghai",
"updateAt": -1,
"updator": "",
"uuid": "nsche_6c18b90a5900413f960114058fce4d4c",
"workspaceUUID": "wksp_798c5e0f589e4992994196832f64b6ba"
},
{
"createAt": 1735797896,
"creator": "wsak_f2ba9858f4414655be39efc882b120dd",
"deleteAt": -1,
"effectiveTimeInfos": {
"expired": false,
"timeStr": "2025/01/02 00:00:00~2025/01/23 11:37:52"
},
"end": "23:59",
"extend": {
"effectiveTime": {
"end": 1737603472,
"start": 1735747200
},
"enableRotateNotification": false
},
"id": 131,
"inEffectNotifyTargetsInfos": [
{
"acntWsNickname": "",
"email": "xxx@guance.com",
"iconUrl": "",
"mobile": "17621725046",
"name": "jon",
"status": 0,
"username": "jon",
"uuid": "acnt_8b4bd2b8782646f3ba8f6554193f5997",
"wsAccountStatus": 0
}
],
"issueNotificationPolicyInfos": [],
"name": "schecule_modify",
"notifyTargets": [
"acnt_8b4bd2b8782646f3ba8f6554193f5997"
],
"notifyTargetsInfos": [
{
"acntWsNickname": "",
"email": "xxx@guance.com",
"iconUrl": "",
"mobile": "17621725046",
"name": "jon",
"status": 0,
"username": "jon",
"uuid": "acnt_8b4bd2b8782646f3ba8f6554193f5997",
"wsAccountStatus": 0
}
],
"rotationUpdateAt": 1735798211,
"start": "11:00",
"status": 0,
"timezone": "Asia/Shanghai",
"updateAt": 1735798211,
"updator": "wsak_f2ba9858f4414655be39efc882b120dd",
"uuid": "nsche_3512c1f4d176433484676225b547ef7a",
"workspaceUUID": "wksp_798c5e0f589e4992994196832f64b6ba"
}
],
"declaration": {},
"myScheduleCount": 0,
"totalScheduleCount": 2
},
"errorCode": "",
"message": "",
"pageInfo": {
"count": 2,
"pageIndex": 1,
"pageSize": 10,
"totalCount": 2
},
"success": true,
"traceId": "TRACE-0D517EFF-5D02-4672-9189-1C9DEB248E23"
}