Refresh Video Monitoring Data

5 endpoints • Base: https://openapi.scdata.cc

Forces an out-of-schedule snapshot for an existing task and appends it to the task's series. Manual refreshes consume quota like a scheduled collection.

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

Quota usage: Each successful request to this endpoint deducts 1500 quota units from your plan.

Request Parameters

Required Parameters

NameInTypeDescription
monitor_idquerystringMonitor ID

Response Fields

NameTypeDescription
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

Try It

https://openapi.scdata.cc/api/v1/monitor/video/tasks/refresh
Select an API key from Dashboard
Add an API key before sending a request.Go to Dashboard

Query Params

monitor_id*

JSON Body

cURL Example

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 '{}'

Response Example (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
}
}

Use Cases

  • Milestone captureGrab an exact reading right when a promotion goes live or ends.
  • Ad-hoc reportingRefresh before generating a report so the latest numbers are included.

Related Endpoints