GET
/
data
/
views
/
query
/
total
/
{playbackId}
curl --request GET \
  --url https://livepeer.studio/api/data/views/query/total/{playbackId} \
  --header 'Authorization: <api-key>'
{
  "playbackId": "1bde4o2i6xycudoy",
  "dStorageUrl": "ipfs://QmZ4",
  "viewCount": 100,
  "playtimeMins": 10
}

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

The number of views for the asset.

playtimeMins
number

The total playtime in minutes for the asset.