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/refreshQuota usage: Each successful request to this endpoint deducts 1500 quota units from your plan.
Request Parameters
Required Parameters
| Name | In | Type | Description |
|---|---|---|---|
monitor_id | query | string | Monitor ID |
Response Fields
| Name | Type | Description |
|---|---|---|
success | boolean | Success |
code | integer | Code |
message | string | Message |
data | object | - |
data.id | integer | Snapshot ID |
data.snapshot_time | string | Snapshot time |
data.snapshot_type | string | Collection type: auto / manual |
data.like_count | integer | Like count |
data.comment_count | integer | Comment count |
data.play_count | integer | Plays / views |
data.share_count | integer | Share count |
data.collect_count | integer | Save 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 capture — Grab an exact reading right when a promotion goes live or ends.
- Ad-hoc reporting — Refresh before generating a report so the latest numbers are included.