List the filter values for a dimension
This endpoint returns the filter values associated with a specific dimension, along with the total number of video views for each value. For example, it can list all browser_name (dimension) and show how many views occurred for all available browsers like Chrome, Safari (filter values).
In order to use the Custom Dimensions, you must enable them in the dashboard under settings option based on the plan you have opted for.
Example
A developer wants to know how their video content performs across different browsers. By calling this endpoint for the device_type dimension, they can retrieve a breakdown of video views by each device (for example, Desktop, Mobile, Tablet). This data helps the developer understand where optimizations or troubleshooting is necessary.
Related guide: Filters and timespan
Authentication
FastPix APIs are secured with Basic Authentication. Use your Access Token ID as the username and Secret Key as the password in the Authorization header of each API request.
- Username: Access Token ID
- Password: Secret Key
Activate your FastPix account to generate your API credentials. See the guide here
Path parameters
Query parameters
This parameter specifies the time span between which the video views list must be retrieved by. You can provide either from and to unix epoch timestamps or time duration. The scope of duration is between 60 minutes to 30 days.
Accepted formats are:
array of epoch timestamps for example
timespan[]=1498867200×pan[]=1498953600
duration string for example
timespan[]=24:hours or timespan[]=7:days
Pass the dimensions and their corresponding values you want to filter the views by. For excluding the values in the filter we can pass "!" before the filter value. The list of filters can be obtained from list of dimensions endpoint. Example Values : [ browser_name:Chrome , os_name:macOS , !device_name:Galaxy ]
Response
Get filter / dimension value details by dimension name.