Returns the distinct values for a dimension, each annotated with the total playing time across all matching values. Sorted by playing time descending by default.
The subview type to query.
Name of the dimension. See the List Subview Dimensions endpoint for the valid values for a given subview type.
Timeframe window to limit results by. Must be provided as an array query string parameter (e.g. timeframe[]=).
Accepted formats are...
timeframe[]=1498867200&timeframe[]=1498953600timeframe[]=24:hours or timeframe[]=7:daysFilter results using key:value pairs. Must be provided as an array query string parameter.
The set of filterable dimensions is distinct from the main Data API's dimensions, and depends on the subview type — see the List Subview Dimensions endpoint for the valid names.
filters[]=dimension:value - Include rows where dimension equals valuefilters[]=!dimension:value - Exclude rows where dimension equals valuefilters[]=dimension:__empty__ - Include rows where the dimension has no valueExample: filters[]=country:US
Number of items to include in the response.
Offset by this many pages, of the size of limit
Value to order the results by.
Sort order.
Only return dimension values containing this substring.
{
"data": [
{
"value": "United States",
"playing_time": 86400000
},
{
"value": "Great Britain",
"playing_time": 24800000
},
{
"value": "Germany",
"playing_time": 18200000
}
],
"meta": {
"subview_type": "rendition",
"dimension_name": "country",
"metric": "playing_time",
"unit": "ms"
},
"total_row_count": 3,
"timeframe": [
1617235200,
1617321600
]
}