Batch video engagement deltas
Videos
Batch video engagement deltas
View-count deltas for many videos over several look-back windows.
For each requested video, returns the view-count change over each
windows entry (e.g. views gained in the last 1/7/14/30 days), keyed as
"<n>d". Read-only and side-effect-free. Video ids your organization
does not track are omitted from data and listed under
meta.not_found (so a zero delta is never confused with a foreign id).
Response shape:
{ "data": { "<video_id>": { "1d": 1234, "7d": 5678, "30d": 9012 } },
"meta": { "windows": [1, 7, 14, 30], "video_count": <n>,
"not_found": ["<unknown_video_id>"] } }
Uses POST so large video_ids batches travel in the body.
POST
Batch video engagement deltas
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Response
Successful Response