Returns the metric value broken down by subview attributes, for each of up to 4 selected values of a given dimension. Powers side-by-side comparisons across dimension values (for example, comparing the rendition breakdown for the US vs. India).
ID of the metric to compute over subviews. Additional metrics may be added over time.
The subview type to query.
Name of the dimension to compare across. 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
The dimension values to compare, up to 4. Must be provided as an array query string parameter. Use __empty__ to select subviews where the dimension has no value.
Example: values[]=US&values[]=FR
Subview attributes to group the results by. Must be provided as an array query string parameter. Currently only supported for the rendition subview type, as any combination of the 6 enum values below.
If omitted, defaults to grouping by every attribute available for the subview type.
Number of breakdown rows to include per selected dimension value.
{
"data": [
{
"dimension_value": "US",
"values": [
{
"breakdown_value": "18.5Mb / 3840w / 2160h / 60fps / HEVC / 4k",
"metric_value": 112000000
},
{
"breakdown_value": "5.1Mb / 1920w / 1080h / 60fps / h264 / hi",
"metric_value": 56200000
},
{
"breakdown_value": "other",
"metric_value": 13200000
}
]
},
{
"dimension_value": "FR",
"values": [
{
"breakdown_value": "18.5Mb / 3840w / 2160h / 60fps / HEVC / 4k",
"metric_value": 41200000
},
{
"breakdown_value": "other",
"metric_value": 8300000
}
]
}
],
"meta": {
"dimension": "country",
"subview_type": "rendition",
"metric": "playing_time",
"unit": "ms",
"group_by": [
"video_source_bitrate",
"video_source_width",
"video_source_height",
"video_source_fps",
"video_source_codec",
"video_source_rendition_name"
]
},
"total_row_count": 2,
"timeframe": [
1617235200,
1617321600
]
}