Skip to Content

Plays

GET /api/analytics/plays

Totals and a time series of views, watch time, completions, and sessions.

Requires analytics.read. See Overview for shared parameters and category scope.

Parameters

ParameterRequiredDescription
contentTypeNovod (default) or live
contentIdNoLimit to one video or live event
intervalNohour or day (default day)
from, toNoISO 8601 range
minimumWatchSecondsNoDefault 3

Request

curl -X GET "https://app.ignitevideo.cloud/api/analytics/plays?interval=day&contentType=vod" \ -H "Authorization: Bearer YOUR_API_KEY"

Response

{ "interval": "day" | "hour", "from": string, "to": string, "minimumWatchSeconds": number, "totals": { "views": number, "watchSeconds": number, "completions": number, "sessions": number }, "series": [ { "periodStart": string, "views": number, "watchSeconds": number, "completions": number, "sessions": number }, [...] ] }