Stats > Channel > Viewing

Viewing time

This endpoint allows you to retrieve Global Viewing histogram per channel.

get/1/videos/{channel}/stats/viewing

Path parameters

channelinteger required

The unique identifier (ID) of the Pack order to request.

Query parameters

fromstring required

Specify the starting date to get Consumption

Example:1640995200

Specify the starting date to get Consumption

tostring nullable required

Specify the ending date to get Consumption

Example:1672444800

Specify the ending date to get Consumption

per'day' | 'hour' | 'minute' | 'month' | 'quarter' | 'week' | 'year' required

Specify

Example:"toto"

Specify the ending date to get Consumption

account_idinteger required

Account identifier

The account identifier

Response

OK

result'success' | 'error' | 'asynchronous' required

Result of the HTTP request

Example response

{
  "result": "success"
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.