Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 6.01 KB

getviewershipmetricsrequest.md

File metadata and controls

15 lines (12 loc) · 6.01 KB

GetViewershipMetricsRequest

Fields

Field Type Required Description
playback_id Optional[str] 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
from_ Optional[operations.From] Start timestamp for the query range (inclusive)
to Optional[operations.To] End timestamp for the query range (exclusive)
time_step Optional[operations.TimeStep] The time step to aggregate viewership metrics by
asset_id Optional[str] The asset ID to filter metrics for
stream_id Optional[str] The stream ID to filter metrics for
creator_id Optional[str] The creator ID to filter the query results
breakdown_by List[operations.QueryParamBreakdownBy] The list of fields to break down the query results. Specify this
query-string multiple times to break down by multiple fields.