Metrics

 

A metric is specified in URL path, and they are in kebab-case format.

 

Format

Copy
GET /3.0/metrics/{metric_name}

where, metric_name can be the name of a singular metric or custom-selection

 

Examples:

  • GET /3.0/metrics/plays

  • GET /3.0/metrics/attempts

 

 

Selecting Multiple Metrics in a Request

It is also possible to custom-select multiple singular metrics in one request.

Use

  • custom-selection endpoint to select up to a maximum of 12 singular metrics in one request.

  • ?metric query parameter to indicate each singular metric that you want to select.

Copy
GET /3.0/metrics/custom-selection?metric={metric_name_1}&metric={metric_name_2}&metric={metric_name_3}

 

Example

The following request retrieves data of the attempts, bitrate, and concurrent-plays metrics.

Copy
GET https://api.conviva.com/insights/3.0/metrics/custom-selection?metric=attempts&metric=bitrate&metric=concurrent-plays

 

API Metrics API Metrics API Metrics