アカウントが所有するモニタリングタスクを新しい順に返します。追跡対象の確認や、詳細・更新・停止エンドポイントで使うタスク識別子の取得に利用します。
GET
/api/v1/monitor/video/tasks/listクォータ消費: このエンドポイントへの成功したリクエスト 1 件あたり、プランのクォータが 1500 単位消費されます。
リクエストパラメータ
必須パラメータ
このエンドポイントに必須パラメータはありません。
任意パラメータ
| 名前 | 位置 | 型 | 説明 |
|---|---|---|---|
platform | query | string | Platform filter: tiktok, youtube, instagram |
monitor_status | query | string | Status filter: 0 = monitoring, 10 = completed, 20 = stopped |
page | query | integer | Page number |
page_size | query | integer | Items per page |
レスポンスフィールド
| 名前 | 型 | 説明 |
|---|---|---|
success | boolean | Success |
code | integer | Code |
message | string | Message |
data | object | - |
data.items | array<object> | Items |
data.total | integer | Total |
data.page | integer | Page |
data.page_size | integer | Page Size |
data.total_pages | integer | Total Pages |
お試し実行
https://openapi.scdata.cc/api/v1/monitor/video/tasks/list
ダッシュボードのAPIキーを選択
リクエストを送信する前にAPIキーを入力してください。ダッシュボードを開く
クエリパラメータ
platformmonitor_statuspagepage_sizecURL の例
bash
curl -X GET "https://openapi.scdata.cc/api/v1/monitor/video/tasks/list" \-H "Authorization: YOUR_API_KEY"
レスポンス例 (200 application/json)
json
{"success": true,"code": 200,"message": "Request successful","data": {"items": [{"monitor_id": "string","platform": "string","video_id": "string","video_title": "string","video_description": "string","video_publish_at": "2019-08-24T14:15:22.123Z","video_url": "string","video_cover": "string","video_type": "string","author_id": "string","author_name": "string","monitor_status": 0,"monitor_start_date": "2019-08-24","monitor_end_date": "2019-08-24","last_snapshot_time": "2019-08-24T14:15:22.123Z","snapshot_count": 0,"created_time": "2019-08-24T14:15:22.123Z"}],"total": 0,"page": 0,"page_size": 0,"total_pages": 0}}
ユースケース
- タスクの整理 — 不要になった長期稼働タスクを見つけて停止し、クォータを節約します。
- ダッシュボード表示 — 現在監視中のすべての動画を社内ダッシュボードに表示します。