Skip to Content

Watching

GET /api/analytics/watching

Current concurrent viewers in a sliding window.

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

Parameters

ParameterRequiredDescription
contentTypeNovod (default) or live
contentIdNoLimit to one video or live event
windowSecondsNoSliding window size. Default 20.

Request

curl -X GET "https://app.ignitevideo.cloud/api/analytics/watching?contentType=live&contentId=LIVE_EVENT_ID" \ -H "Authorization: Bearer YOUR_API_KEY"

Response

{ "windowSeconds": number, "viewers": number }