metrics
Query public total views metrics
Changed onAllows querying for the public metrics for viewership about a video. This can be called from the frontend with a CORS key, or even unauthenticated.
get/data/views/query/total/{playbackId}
Request
- Base URLhttps://livepeer.studio/api
- URLhttps://livepeer.studio/api/data/views/query/total/{playbackId}
- AuthHTTP bearer
Path parameters
playbackIdstring required
The playback ID to filter the query results. This can be a canonical playback ID from Livepeer assets or streams, or dStorage identifiers for assets
Response
A single Metric object with the viewCount and playtimeMins metrics.
Changes
- breaking
the response property
became optional for the status - breaking
the response property
became optional for the status - breaking
the response property
became optional for the status
- breaking
- info
api operation id
getPublicViewershipMetricswas added - info
api tag
metricsadded
- info