Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 5.26 KB

getcreatorviewershipmetricsrequest.md

File metadata and controls

21 lines (16 loc) · 5.26 KB

GetCreatorViewershipMetricsRequest

Example Usage

import { GetCreatorViewershipMetricsRequest } from "livepeer/models/operations";

let value: GetCreatorViewershipMetricsRequest = {};

Fields

Field Type Required Description
from operations.QueryParamFrom Start timestamp for the query range (inclusive)
to operations.QueryParamTo End timestamp for the query range (exclusive)
timeStep operations.QueryParamTimeStep The time step to aggregate viewership metrics by
assetId string The asset ID to filter metrics for
streamId string The stream ID to filter metrics for
creatorId string The creator ID to filter the query results
breakdownBy operations.GetCreatorViewershipMetricsQueryParamBreakdownBy[] The list of fields to break down the query results. Specify this
query-string multiple times to break down by multiple fields.