GET
/
data
/
views
/
query
/
total
/
{playbackId}
curl --request GET \
  --url https://livepeer.studio/api/data/views/query/total/{playbackId} \
  --header 'Authorization: <api-key>'
{
  "playbackId": "<string>",
  "dStorageUrl": "<string>",
  "viewCount": 123,
  "playtimeMins": 123
}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

playbackId
string
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

200 - application/json
playbackId
string

The playback ID associated with the metric.

dStorageUrl
string

The URL of the distributed storage used for the asset

viewCount
integer
required

The number of views for the asset.

playtimeMins
number
required

The total playtime in minutes for the asset.