General Guidelines
These API endpoints will help you obtain Video and AD data. This data can be further classified into QoE and Qos data.
The required data can be fetched by using the API endpoints along with combinations of metrics and dimensions. This data can further be diced and sliced and featched by using optional query parameters mentioned here.
Request Query Parameters
General Guidelines
To query for totals or averages of metrics over any time range, use the following parameters in the API call:
agg=1
To query for totals or averages of metrics over any time range grouped by different values of a dimension, use the following parameters in the API call:
agg=1
aggby=<name_of_primary_metric>
To query for total plays per asset, use the following parameters in the API call:
count=1
agg=1
aggby=assetid
To query for timeline trends, use the following parameters in the API call:
metrics=timestamp,<all_other_metrics>
agg=1
orderby=timestamp
To filter data on a particular dimension, use the following parameters in the API call:
metrics=<filter_metric_name>
filter=<filter_metric_name><operator><value>
agg=1
To filter data of an asset, use the following parameters in the API call (e.g asset name is GameOfThrones) :
metrics=assetid
agg=1
filter=assetname=GameOfThrones
To query for totals or averages of metrics for a particular dimension value, use :
agg=1
filter=<metric name><operator><value>
To query for total play time of an asset, use the following parameters in the API call (e.g asset name is GameOfThrones) :
metrics=assetid,playdur
count=1
agg=1
filter=assetname=GameOfThrones
To sort responses, use:
orderby=<metric_name>
order=DESC or order=ASC
Last updated
Was this helpful?