動画モニタリングデータを更新

5 件のエンドポイント • ベース: https://openapi.scdata.cc

既存タスクに対してスケジュール外のスナップショットを強制取得し、タスクの時系列に追加します。手動更新は定期収集と同様にクォータを消費します。

POST/api/v1/monitor/video/tasks/refresh

クォータ消費: このエンドポイントへの成功したリクエスト 1 件あたり、プランのクォータが 1500 単位消費されます。

リクエストパラメータ

必須パラメータ

名前位置型説明
monitor_idquerystringMonitor ID

レスポンスフィールド

名前型説明
successbooleanSuccess
codeintegerCode
messagestringMessage
dataobject-
data.idintegerSnapshot ID
data.snapshot_timestringSnapshot time
data.snapshot_typestringCollection type: auto / manual
data.like_countintegerLike count
data.comment_countintegerComment count
data.play_countintegerPlays / views
data.share_countintegerShare count
data.collect_countintegerSave count

お試し実行

https://openapi.scdata.cc/api/v1/monitor/video/tasks/refresh
ダッシュボードのAPIキーを選択
リクエストを送信する前にAPIキーを入力してください。ダッシュボードを開く

クエリパラメータ

monitor_id*

JSONボディ

cURL の例

bash
curl -X POST "https://openapi.scdata.cc/api/v1/monitor/video/tasks/refresh?monitor_id=example" \
-H "Authorization: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'

レスポンス例 (200 application/json)

json
{
"success": true,
"code": 200,
"message": "Request successful",
"data": {
"id": 0,
"snapshot_time": "2019-08-24T14:15:22.123Z",
"snapshot_type": "string",
"like_count": 0,
"comment_count": 0,
"play_count": 0,
"share_count": 0,
"collect_count": 0
}
}

ユースケース

  • マイルストーンの記録 — プロモーションの開始・終了直後に正確な値を取得します。
  • アドホック報告 — レポート作成前に更新し、最新の数値を含めます。

関連エンドポイント