@distilled.cloud/mux 0.0.0-stage → 1.0.0-rc.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +126 -2
- package/lib/.lazy.json +1 -0
- package/lib/_bundle/lazy.js +4 -0
- package/lib/_bundle/sdk.js +2 -0
- package/lib/_bundle/sdk.js.map +1 -0
- package/lib/credentials.d.ts +66 -0
- package/lib/credentials.d.ts.map +1 -0
- package/lib/credentials.js +1 -0
- package/lib/errors.d.ts +45 -0
- package/lib/errors.d.ts.map +1 -0
- package/lib/errors.js +1 -0
- package/lib/index.d.ts +44 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +6 -0
- package/lib/pagination.d.ts +11 -0
- package/lib/pagination.d.ts.map +1 -0
- package/lib/pagination.js +1 -0
- package/lib/protocol.d.ts +19 -0
- package/lib/protocol.d.ts.map +1 -0
- package/lib/protocol.js +1 -0
- package/lib/retry.d.ts +54 -0
- package/lib/retry.d.ts.map +1 -0
- package/lib/retry.js +1 -0
- package/lib/services/data.d.ts +1347 -0
- package/lib/services/data.d.ts.map +1 -0
- package/lib/services/data.js +58 -0
- package/lib/services/data.js.map +1 -0
- package/lib/services/index.d.ts +5 -0
- package/lib/services/index.d.ts.map +1 -0
- package/lib/services/index.js +4 -0
- package/lib/services/robots.d.ts +2206 -0
- package/lib/services/robots.d.ts.map +1 -0
- package/lib/services/robots.js +75 -0
- package/lib/services/robots.js.map +1 -0
- package/lib/services/system.d.ts +263 -0
- package/lib/services/system.d.ts.map +1 -0
- package/lib/services/system.js +2 -0
- package/lib/services/system.js.map +1 -0
- package/lib/services/video.d.ts +1564 -0
- package/lib/services/video.d.ts.map +1 -0
- package/lib/services/video.js +100 -0
- package/lib/services/video.js.map +1 -0
- package/lib/services.lazy/data.js +3 -0
- package/lib/services.lazy/index.js +3 -0
- package/lib/services.lazy/robots.js +4 -0
- package/lib/services.lazy/system.js +1 -0
- package/lib/services.lazy/video.js +4 -0
- package/lib/traits.d.ts +7 -0
- package/lib/traits.d.ts.map +1 -0
- package/lib/traits.js +1 -0
- package/package.json +87 -3
- package/src/credentials.ts +142 -0
- package/src/errors.ts +59 -0
- package/src/index.ts +43 -0
- package/src/pagination.ts +63 -0
- package/src/protocol.ts +62 -0
- package/src/retry.ts +73 -0
- package/src/services/data.ts +3993 -0
- package/src/services/index.ts +5 -0
- package/src/services/robots.ts +4712 -0
- package/src/services/system.ts +752 -0
- package/src/services/video.ts +4291 -0
- package/src/traits.ts +40 -0
|
@@ -0,0 +1,1347 @@
|
|
|
1
|
+
import * as API from "@distilled.cloud/core/api";
|
|
2
|
+
import { type MuxOpError, type MuxOpContext } from "../protocol.ts";
|
|
3
|
+
export type { MuxOpError, MuxOpContext };
|
|
4
|
+
export interface CreateAnnotationRequest {
|
|
5
|
+
/** The annotation note content */
|
|
6
|
+
note: string;
|
|
7
|
+
/** Datetime when the annotation applies (Unix timestamp) */
|
|
8
|
+
date: number;
|
|
9
|
+
/** Customer-defined sub-property identifier */
|
|
10
|
+
sub_property_id?: string | undefined;
|
|
11
|
+
}
|
|
12
|
+
export interface Annotation {
|
|
13
|
+
/** Unique identifier for the annotation */
|
|
14
|
+
id: string;
|
|
15
|
+
/** The annotation note content */
|
|
16
|
+
note: string;
|
|
17
|
+
/** Datetime when the annotation applies */
|
|
18
|
+
date: string;
|
|
19
|
+
/** Customer-defined sub-property identifier */
|
|
20
|
+
sub_property_id?: string | null | undefined;
|
|
21
|
+
}
|
|
22
|
+
export interface AnnotationResponse {
|
|
23
|
+
data: Annotation;
|
|
24
|
+
}
|
|
25
|
+
export interface DeleteAnnotationRequest {
|
|
26
|
+
/** The annotation ID */
|
|
27
|
+
ANNOTATION_ID: string;
|
|
28
|
+
}
|
|
29
|
+
export interface DeleteAnnotationResponse {
|
|
30
|
+
}
|
|
31
|
+
export interface GetAnnotationRequest {
|
|
32
|
+
/** The annotation ID */
|
|
33
|
+
ANNOTATION_ID: string;
|
|
34
|
+
}
|
|
35
|
+
export type GetEngagementHeatmapAssetRequestTimeframeList = Array<string>;
|
|
36
|
+
export interface GetEngagementHeatmapAssetRequest {
|
|
37
|
+
/** ID of the Asset */
|
|
38
|
+
ASSET_ID: string;
|
|
39
|
+
/** Timeframe window to limit results by. Must be provided as an array query string parameter (e.g. timeframe[]=). Accepted formats are... * array of epoch timestamps e.g. `timeframe[]=1498867200&timeframe[]=1498953600` * duration string e.g. `timeframe[]=24:hours or timeframe[]=7:days` */
|
|
40
|
+
timeframe__?: GetEngagementHeatmapAssetRequestTimeframeList | undefined;
|
|
41
|
+
}
|
|
42
|
+
/** Per-bucket engagement values across the content timeline, ordered from the start to the end of the content. The number of buckets is dynamic (between 10 and 1000) and scales with the content duration. */
|
|
43
|
+
export type EngagementHeatmapHeatmapList = Array<number>;
|
|
44
|
+
export interface EngagementHeatmap {
|
|
45
|
+
/** Per-bucket engagement values across the content timeline, ordered from the start to the end of the content. The number of buckets is dynamic (between 10 and 1000) and scales with the content duration. */
|
|
46
|
+
heatmap: EngagementHeatmapHeatmapList;
|
|
47
|
+
/** The asset ID for which the heatmap was calculated. Omitted if the heatmap is associated with a video_id or playback_id. */
|
|
48
|
+
asset_id?: string | null | undefined;
|
|
49
|
+
/** The playback ID for which the heatmap was calculated. Omitted if the heatmap is associated with a video_id or asset_id. */
|
|
50
|
+
playback_id?: string | null | undefined;
|
|
51
|
+
/** The video ID for which the heatmap was calculated. Omitted if the heatmap is associated with a playback_id or asset_id. */
|
|
52
|
+
video_id?: string | null | undefined;
|
|
53
|
+
}
|
|
54
|
+
export type GetEngagementHeatmapResponseTimeframeList = Array<number>;
|
|
55
|
+
export interface GetEngagementHeatmapResponse {
|
|
56
|
+
data: EngagementHeatmap;
|
|
57
|
+
total_row_count: number | null;
|
|
58
|
+
timeframe: GetEngagementHeatmapResponseTimeframeList;
|
|
59
|
+
}
|
|
60
|
+
export type GetEngagementHeatmapPlaybackIdRequestTimeframeList = Array<string>;
|
|
61
|
+
export interface GetEngagementHeatmapPlaybackIdRequest {
|
|
62
|
+
/** A Playback ID for the asset. */
|
|
63
|
+
PLAYBACK_ID: string;
|
|
64
|
+
/** Timeframe window to limit results by. Must be provided as an array query string parameter (e.g. timeframe[]=). Accepted formats are... * array of epoch timestamps e.g. `timeframe[]=1498867200&timeframe[]=1498953600` * duration string e.g. `timeframe[]=24:hours or timeframe[]=7:days` */
|
|
65
|
+
timeframe__?: GetEngagementHeatmapPlaybackIdRequestTimeframeList | undefined;
|
|
66
|
+
}
|
|
67
|
+
export type GetEngagementHeatmapVideoRequestTimeframeList = Array<string>;
|
|
68
|
+
export interface GetEngagementHeatmapVideoRequest {
|
|
69
|
+
/** ID of the Video, as provided in the `video_id` metadata field when configuring the player. */
|
|
70
|
+
VIDEO_ID: string;
|
|
71
|
+
/** Timeframe window to limit results by. Must be provided as an array query string parameter (e.g. timeframe[]=). Accepted formats are... * array of epoch timestamps e.g. `timeframe[]=1498867200&timeframe[]=1498953600` * duration string e.g. `timeframe[]=24:hours or timeframe[]=7:days` */
|
|
72
|
+
timeframe__?: GetEngagementHeatmapVideoRequestTimeframeList | undefined;
|
|
73
|
+
}
|
|
74
|
+
export type GetEngagementHotspotsAssetRequestTimeframeList = Array<string>;
|
|
75
|
+
export type GetEngagementHotspotsAssetRequestOrderDirection = "asc" | "desc";
|
|
76
|
+
export interface GetEngagementHotspotsAssetRequest {
|
|
77
|
+
/** ID of the Asset */
|
|
78
|
+
ASSET_ID: string;
|
|
79
|
+
/** Timeframe window to limit results by. Must be provided as an array query string parameter (e.g. timeframe[]=). Accepted formats are... * array of epoch timestamps e.g. `timeframe[]=1498867200&timeframe[]=1498953600` * duration string e.g. `timeframe[]=24:hours or timeframe[]=7:days` */
|
|
80
|
+
timeframe__?: GetEngagementHotspotsAssetRequestTimeframeList | undefined;
|
|
81
|
+
/** Maximum number of hotspots to return. If omitted, all hotspots are returned. */
|
|
82
|
+
limit?: number | undefined;
|
|
83
|
+
/** Sort order. */
|
|
84
|
+
order_direction?: GetEngagementHotspotsAssetRequestOrderDirection | (string & {}) | undefined;
|
|
85
|
+
}
|
|
86
|
+
export interface Hotspot {
|
|
87
|
+
/** Start of the hotspot, in milliseconds from the beginning of the content. */
|
|
88
|
+
start_ms: number;
|
|
89
|
+
/** End of the hotspot (exclusive), in milliseconds from the beginning of the content. */
|
|
90
|
+
end_ms: number;
|
|
91
|
+
/** Engagement score for the hotspot, between 0 and 1. Higher scores indicate more engaging moments; lower scores indicate less engaging moments (cold spots). */
|
|
92
|
+
score: number;
|
|
93
|
+
}
|
|
94
|
+
export type EngagementHotspotsHotspotsList = Array<Hotspot>;
|
|
95
|
+
export interface EngagementHotspots {
|
|
96
|
+
hotspots: EngagementHotspotsHotspotsList;
|
|
97
|
+
/** The asset ID for which the hotspots were calculated. Omitted if the hotspots are associated with a video_id or playback_id. */
|
|
98
|
+
asset_id?: string | null | undefined;
|
|
99
|
+
/** The playback ID for which the hotspots were calculated. Omitted if the hotspots are associated with a video_id or asset_id. */
|
|
100
|
+
playback_id?: string | null | undefined;
|
|
101
|
+
/** The video ID for which the hotspots were calculated. Omitted if the hotspots are associated with a playback_id or asset_id. */
|
|
102
|
+
video_id?: string | null | undefined;
|
|
103
|
+
}
|
|
104
|
+
export type GetEngagementHotspotsResponseTimeframeList = Array<number>;
|
|
105
|
+
export interface GetEngagementHotspotsResponse {
|
|
106
|
+
data: EngagementHotspots;
|
|
107
|
+
total_row_count: number | null;
|
|
108
|
+
timeframe: GetEngagementHotspotsResponseTimeframeList;
|
|
109
|
+
}
|
|
110
|
+
export type GetEngagementHotspotsPlaybackIdRequestTimeframeList = Array<string>;
|
|
111
|
+
export type GetEngagementHotspotsPlaybackIdRequestOrderDirection = "asc" | "desc";
|
|
112
|
+
export interface GetEngagementHotspotsPlaybackIdRequest {
|
|
113
|
+
/** A Playback ID for the asset. */
|
|
114
|
+
PLAYBACK_ID: string;
|
|
115
|
+
/** Timeframe window to limit results by. Must be provided as an array query string parameter (e.g. timeframe[]=). Accepted formats are... * array of epoch timestamps e.g. `timeframe[]=1498867200&timeframe[]=1498953600` * duration string e.g. `timeframe[]=24:hours or timeframe[]=7:days` */
|
|
116
|
+
timeframe__?: GetEngagementHotspotsPlaybackIdRequestTimeframeList | undefined;
|
|
117
|
+
/** Maximum number of hotspots to return. If omitted, all hotspots are returned. */
|
|
118
|
+
limit?: number | undefined;
|
|
119
|
+
/** Sort order. */
|
|
120
|
+
order_direction?: GetEngagementHotspotsPlaybackIdRequestOrderDirection | (string & {}) | undefined;
|
|
121
|
+
}
|
|
122
|
+
export type GetEngagementHotspotsVideoRequestTimeframeList = Array<string>;
|
|
123
|
+
export type GetEngagementHotspotsVideoRequestOrderDirection = "asc" | "desc";
|
|
124
|
+
export interface GetEngagementHotspotsVideoRequest {
|
|
125
|
+
/** ID of the Video, as provided in the `video_id` metadata field when configuring the player. */
|
|
126
|
+
VIDEO_ID: string;
|
|
127
|
+
/** Timeframe window to limit results by. Must be provided as an array query string parameter (e.g. timeframe[]=). Accepted formats are... * array of epoch timestamps e.g. `timeframe[]=1498867200&timeframe[]=1498953600` * duration string e.g. `timeframe[]=24:hours or timeframe[]=7:days` */
|
|
128
|
+
timeframe__?: GetEngagementHotspotsVideoRequestTimeframeList | undefined;
|
|
129
|
+
/** Maximum number of hotspots to return. If omitted, all hotspots are returned. */
|
|
130
|
+
limit?: number | undefined;
|
|
131
|
+
/** Sort order. */
|
|
132
|
+
order_direction?: GetEngagementHotspotsVideoRequestOrderDirection | (string & {}) | undefined;
|
|
133
|
+
}
|
|
134
|
+
export interface GetIncidentRequest {
|
|
135
|
+
/** ID of the Incident */
|
|
136
|
+
INCIDENT_ID: string;
|
|
137
|
+
}
|
|
138
|
+
export interface IncidentNotification {
|
|
139
|
+
queued_at: string;
|
|
140
|
+
id: number;
|
|
141
|
+
attempted_at: string;
|
|
142
|
+
}
|
|
143
|
+
export type IncidentNotificationsList = Array<IncidentNotification>;
|
|
144
|
+
export interface NotificationRule {
|
|
145
|
+
value: string;
|
|
146
|
+
name: string;
|
|
147
|
+
id: string;
|
|
148
|
+
}
|
|
149
|
+
export type IncidentNotificationRuleRulesList = Array<NotificationRule>;
|
|
150
|
+
export interface IncidentNotificationRule {
|
|
151
|
+
status: string;
|
|
152
|
+
rules: IncidentNotificationRuleRulesList;
|
|
153
|
+
property_id: string;
|
|
154
|
+
id: string;
|
|
155
|
+
action: string;
|
|
156
|
+
}
|
|
157
|
+
export type IncidentNotificationRulesList = Array<IncidentNotificationRule>;
|
|
158
|
+
export type IncidentBreakdown = NotificationRule;
|
|
159
|
+
export type IncidentBreakdownsList = Array<NotificationRule>;
|
|
160
|
+
export interface Incident {
|
|
161
|
+
threshold: number;
|
|
162
|
+
status: string;
|
|
163
|
+
started_at: string;
|
|
164
|
+
severity: string;
|
|
165
|
+
sample_size_unit: string;
|
|
166
|
+
sample_size: number;
|
|
167
|
+
resolved_at: string | null;
|
|
168
|
+
notifications: IncidentNotificationsList;
|
|
169
|
+
notification_rules: IncidentNotificationRulesList;
|
|
170
|
+
measurement: string;
|
|
171
|
+
measured_value_on_close: number | null;
|
|
172
|
+
measured_value: number | null;
|
|
173
|
+
incident_key: string;
|
|
174
|
+
impact: string;
|
|
175
|
+
id: string;
|
|
176
|
+
error_description: string;
|
|
177
|
+
description: string;
|
|
178
|
+
breakdowns: IncidentBreakdownsList;
|
|
179
|
+
affected_views_per_hour_on_open: number;
|
|
180
|
+
affected_views_per_hour: number;
|
|
181
|
+
affected_views: number;
|
|
182
|
+
}
|
|
183
|
+
export type IncidentResponseTimeframeList = Array<number>;
|
|
184
|
+
export interface IncidentResponse {
|
|
185
|
+
data: Incident;
|
|
186
|
+
total_row_count: number | null;
|
|
187
|
+
timeframe: IncidentResponseTimeframeList;
|
|
188
|
+
}
|
|
189
|
+
export type GetMetricTimeseriesDataRequestMETRICID = "aggregate_startup_time" | "downscale_percentage" | "exits_before_video_start" | "live_stream_latency" | "max_downscale_percentage" | "max_request_latency" | "max_upscale_percentage" | "page_load_time" | "playback_failure_percentage" | "playback_success_score" | "player_startup_time" | "playing_time" | "rebuffer_count" | "rebuffer_duration" | "rebuffer_frequency" | "rebuffer_percentage" | "request_latency" | "request_throughput" | "rebuffer_score" | "requests_for_first_preroll" | "seek_latency" | "startup_time_score" | "unique_viewers" | "upscale_percentage" | "video_quality_score" | "video_startup_preroll_load_time" | "video_startup_preroll_request_time" | "video_startup_time" | "viewer_experience_score" | "views" | "weighted_average_bitrate" | "video_startup_failure_percentage" | "ad_attempt_count" | "ad_break_count" | "ad_break_error_count" | "ad_break_error_percentage" | "ad_error_count" | "ad_error_percentage" | "ad_exit_before_start_count" | "ad_exit_before_start_percentage" | "ad_impression_count" | "ad_startup_error_count" | "ad_startup_error_percentage" | "playback_business_exception_percentage" | "video_startup_business_exception_percentage" | "view_content_startup_time" | "ad_preroll_startup_time" | "view_dropped_percentage" | "rendition_change_count" | "rendition_upshift_count" | "rendition_downshift_count";
|
|
190
|
+
export type GetMetricTimeseriesDataRequestTimeframeList = Array<string>;
|
|
191
|
+
export type GetMetricTimeseriesDataRequestFiltersList = Array<string>;
|
|
192
|
+
export type GetMetricTimeseriesDataRequestMetricFiltersList = Array<string>;
|
|
193
|
+
export type GetMetricTimeseriesDataRequestMeasurement = "95th" | "median" | "avg" | "count" | "sum";
|
|
194
|
+
export type GetMetricTimeseriesDataRequestOrderDirection = "asc" | "desc";
|
|
195
|
+
export type GetMetricTimeseriesDataRequestGroupBy = "minute" | "ten_minutes" | "hour" | "day";
|
|
196
|
+
export interface GetMetricTimeseriesDataRequest {
|
|
197
|
+
/** ID of the Metric */
|
|
198
|
+
METRIC_ID: GetMetricTimeseriesDataRequestMETRICID | (string & {});
|
|
199
|
+
/** Timeframe window to limit results by. Must be provided as an array query string parameter (e.g. timeframe[]=). Accepted formats are... * array of epoch timestamps e.g. `timeframe[]=1498867200&timeframe[]=1498953600` * duration string e.g. `timeframe[]=24:hours or timeframe[]=7:days` */
|
|
200
|
+
timeframe__?: GetMetricTimeseriesDataRequestTimeframeList | undefined;
|
|
201
|
+
/** Filter results using key:value pairs. Must be provided as an array query string parameter. **Basic filtering:** * `filters[]=dimension:value` - Include rows where dimension equals value * `filters[]=!dimension:value` - Exclude rows where dimension equals value **For trace dimensions (like video_cdn_trace):** * `filters[]=+dimension:value` - Include rows where trace contains value * `filters[]=-dimension:value` - Exclude rows where trace contains value * `filters[]=dimension:[value1,value2]` - Exact trace match **Examples:** * `filters[]=country:US` - US views only * `filters[]=+video_cdn_trace:fastly` - Views using Fastly CDN */
|
|
202
|
+
filters__?: GetMetricTimeseriesDataRequestFiltersList | undefined;
|
|
203
|
+
/** Limit the results to rows that match inequality conditions from provided metric comparison clauses. Must be provided as an array query string parameter. Possible filterable metrics are the same as the set of metric ids, with the exceptions of `exits_before_video_start`, `unique_viewers`, `video_startup_failure_percentage`, `view_dropped_percentage`, and `views`. Example: * `metric_filters[]=aggregate_startup_time>=1000` */
|
|
204
|
+
metric_filters__?: GetMetricTimeseriesDataRequestMetricFiltersList | undefined;
|
|
205
|
+
/** Measurement for the provided metric. If omitted, the default for the metric will be used. The default measurement for each metric is: "sum" : `ad_attempt_count`, `ad_break_count`, `ad_break_error_count`, `ad_error_count`, `ad_impression_count`, `playing_time` "median" : `ad_preroll_startup_time`, `aggregate_startup_time`, `content_startup_time`, `max_downscale_percentage`, `max_upscale_percentage`, `page_load_time`, `player_average_live_latency`, `player_startup_time`, `rebuffer_count`, `rebuffer_duration`, `requests_for_first_preroll`, `video_startup_preroll_load_time`, `video_startup_preroll_request_time`, `video_startup_time`, `view_average_request_latency`, `view_average_request_throughput`, `view_max_request_latency`, `weighted_average_bitrate` "avg" : `ad_break_error_percentage`, `ad_error_percentage`, `ad_exit_before_start_count`, `ad_exit_before_start_percentage`, `ad_playback_failure_percentage`, `ad_startup_error_count`, `ad_startup_error_percentage`, `content_playback_failure_percentage`, `downscale_percentage`, `exits_before_video_start`, `playback_business_exception_percentage`, `playback_failure_percentage`, `playback_success_score`, `rebuffer_frequency`, `rebuffer_percentage`, `seek_latency`, `smoothness_score`, `startup_time_score`, `upscale_percentage`, `video_quality_score`, `video_startup_business_exception_percentage`, `video_startup_failure_percentage`, `view_dropped_percentage`, `viewer_experience_score` "count" : `started_views`, `unique_viewers` */
|
|
206
|
+
measurement?: GetMetricTimeseriesDataRequestMeasurement | (string & {}) | undefined;
|
|
207
|
+
/** Sort order. */
|
|
208
|
+
order_direction?: GetMetricTimeseriesDataRequestOrderDirection | (string & {}) | undefined;
|
|
209
|
+
/** Time granularity to group results by. If this value is omitted, a default granularity is chosen based on the timeframe. For timeframes of less than 90 minutes, the default granularity is `minute`. Between 90 minutes and 6 hours, the default granularity is `ten_minutes`. Between 6 hours and 15 days inclusive, the default granularity is `hour`. The granularity of timeframes that exceed 15 days is `day`. This default behavior is subject to change; it is strongly suggested that you explicitly specify the granularity. */
|
|
210
|
+
group_by?: GetMetricTimeseriesDataRequestGroupBy | (string & {}) | undefined;
|
|
211
|
+
}
|
|
212
|
+
export type GetMetricTimeseriesDataResponseDataItemItem = string | number | number;
|
|
213
|
+
export type GetMetricTimeseriesDataResponseDataItemList = Array<GetMetricTimeseriesDataResponseDataItemItem>;
|
|
214
|
+
export type GetMetricTimeseriesDataResponseDataList = Array<GetMetricTimeseriesDataResponseDataItemList>;
|
|
215
|
+
export type GetMetricTimeseriesDataResponseTimeframeList = Array<number>;
|
|
216
|
+
export interface GetMetricTimeseriesDataResponseMeta {
|
|
217
|
+
granularity?: string | undefined;
|
|
218
|
+
aggregation?: string | undefined;
|
|
219
|
+
}
|
|
220
|
+
export interface GetMetricTimeseriesDataResponse {
|
|
221
|
+
data: GetMetricTimeseriesDataResponseDataList;
|
|
222
|
+
total_row_count: number;
|
|
223
|
+
timeframe: GetMetricTimeseriesDataResponseTimeframeList;
|
|
224
|
+
meta: GetMetricTimeseriesDataResponseMeta;
|
|
225
|
+
}
|
|
226
|
+
export type GetMonitoringBreakdownRequestMONITORINGMETRICID = "current-concurrent-viewers" | "current-rebuffering-percentage" | "exits-before-video-start" | "playback-failure-percentage" | "current-average-bitrate" | "video-startup-failure-percentage";
|
|
227
|
+
export type GetMonitoringBreakdownRequestDimension = "asn" | "cdn" | "country" | "operating_system" | "player_name" | "region" | "stream_type" | "sub_property_id" | "video_series" | "video_title" | "view_has_ad";
|
|
228
|
+
export type GetMonitoringBreakdownRequestFiltersList = Array<string>;
|
|
229
|
+
export type GetMonitoringBreakdownRequestOrderBy = "negative_impact" | "value" | "views" | "field";
|
|
230
|
+
export type GetMonitoringBreakdownRequestOrderDirection = "asc" | "desc";
|
|
231
|
+
export interface GetMonitoringBreakdownRequest {
|
|
232
|
+
/** ID of the Monitoring Metric */
|
|
233
|
+
MONITORING_METRIC_ID: GetMonitoringBreakdownRequestMONITORINGMETRICID | (string & {});
|
|
234
|
+
/** Dimension the specified value belongs to */
|
|
235
|
+
dimension?: GetMonitoringBreakdownRequestDimension | (string & {}) | undefined;
|
|
236
|
+
/** Timestamp to limit results by. This value must be provided as a unix timestamp. Defaults to the current unix timestamp. */
|
|
237
|
+
timestamp?: number | undefined;
|
|
238
|
+
/** Limit the results to rows that match conditions from provided key:value pairs. Must be provided as an array query string parameter. To exclude rows that match a certain condition, prepend a `!` character to the dimension. Possible filter names are the same as returned by the List Monitoring Dimensions endpoint. Example: * `filters[]=operating_system:windows&filters[]=!country:US` */
|
|
239
|
+
filters__?: GetMonitoringBreakdownRequestFiltersList | undefined;
|
|
240
|
+
/** Value to order the results by */
|
|
241
|
+
order_by?: GetMonitoringBreakdownRequestOrderBy | (string & {}) | undefined;
|
|
242
|
+
/** Sort order. */
|
|
243
|
+
order_direction?: GetMonitoringBreakdownRequestOrderDirection | (string & {}) | undefined;
|
|
244
|
+
}
|
|
245
|
+
export interface MonitoringBreakdownValue {
|
|
246
|
+
value: string | null;
|
|
247
|
+
negative_impact: number;
|
|
248
|
+
metric_value: number | null;
|
|
249
|
+
display_value?: string | undefined;
|
|
250
|
+
concurrent_viewers: number;
|
|
251
|
+
starting_up_viewers: number;
|
|
252
|
+
}
|
|
253
|
+
export type GetMonitoringBreakdownResponseDataList = Array<MonitoringBreakdownValue>;
|
|
254
|
+
export type GetMonitoringBreakdownResponseTimeframeList = Array<number>;
|
|
255
|
+
export interface GetMonitoringBreakdownResponse {
|
|
256
|
+
data: GetMonitoringBreakdownResponseDataList;
|
|
257
|
+
total_row_count: number | null;
|
|
258
|
+
timeframe: GetMonitoringBreakdownResponseTimeframeList;
|
|
259
|
+
}
|
|
260
|
+
export type GetMonitoringBreakdownTimeseriesRequestMONITORINGMETRICID = "current-concurrent-viewers" | "current-rebuffering-percentage" | "exits-before-video-start" | "playback-failure-percentage" | "current-average-bitrate" | "video-startup-failure-percentage";
|
|
261
|
+
export type GetMonitoringBreakdownTimeseriesRequestDimension = "asn" | "cdn" | "country" | "operating_system" | "player_name" | "region" | "stream_type" | "sub_property_id" | "video_series" | "video_title" | "view_has_ad";
|
|
262
|
+
export type GetMonitoringBreakdownTimeseriesRequestTimeframeList = Array<string>;
|
|
263
|
+
export type GetMonitoringBreakdownTimeseriesRequestFiltersList = Array<string>;
|
|
264
|
+
export type GetMonitoringBreakdownTimeseriesRequestOrderBy = "negative_impact" | "value" | "views" | "field";
|
|
265
|
+
export type GetMonitoringBreakdownTimeseriesRequestOrderDirection = "asc" | "desc";
|
|
266
|
+
export interface GetMonitoringBreakdownTimeseriesRequest {
|
|
267
|
+
/** ID of the Monitoring Metric */
|
|
268
|
+
MONITORING_METRIC_ID: GetMonitoringBreakdownTimeseriesRequestMONITORINGMETRICID | (string & {});
|
|
269
|
+
/** Dimension the specified value belongs to */
|
|
270
|
+
dimension?: GetMonitoringBreakdownTimeseriesRequestDimension | (string & {}) | undefined;
|
|
271
|
+
/** Timeframe window to limit results by. Must be provided as an array query string parameter (e.g. timeframe[]=). The default for this is the last 60 seconds of available data. Timeframes larger than 10 minutes are not allowed, and must be within the last 24 hours. */
|
|
272
|
+
timeframe__?: GetMonitoringBreakdownTimeseriesRequestTimeframeList | undefined;
|
|
273
|
+
/** Limit the results to rows that match conditions from provided key:value pairs. Must be provided as an array query string parameter. To exclude rows that match a certain condition, prepend a `!` character to the dimension. Possible filter names are the same as returned by the List Monitoring Dimensions endpoint. Example: * `filters[]=operating_system:windows&filters[]=!country:US` */
|
|
274
|
+
filters__?: GetMonitoringBreakdownTimeseriesRequestFiltersList | undefined;
|
|
275
|
+
/** Number of items to include in each timestamp's `value` list. The default is 10, and the maximum is 100. */
|
|
276
|
+
limit?: number | undefined;
|
|
277
|
+
/** Value to order the results by */
|
|
278
|
+
order_by?: GetMonitoringBreakdownTimeseriesRequestOrderBy | (string & {}) | undefined;
|
|
279
|
+
/** Sort order. */
|
|
280
|
+
order_direction?: GetMonitoringBreakdownTimeseriesRequestOrderDirection | (string & {}) | undefined;
|
|
281
|
+
}
|
|
282
|
+
export interface MonitoringBreakdownTimeseriesDatapoint {
|
|
283
|
+
value: string | null;
|
|
284
|
+
metric_value: number | null;
|
|
285
|
+
concurrent_viewers: number;
|
|
286
|
+
starting_up_viewers: number;
|
|
287
|
+
}
|
|
288
|
+
export type MonitoringBreakdownTimeseriesValuesValuesList = Array<MonitoringBreakdownTimeseriesDatapoint>;
|
|
289
|
+
export interface MonitoringBreakdownTimeseriesValues {
|
|
290
|
+
values: MonitoringBreakdownTimeseriesValuesValuesList;
|
|
291
|
+
date: string;
|
|
292
|
+
}
|
|
293
|
+
export type GetMonitoringBreakdownTimeseriesResponseDataList = Array<MonitoringBreakdownTimeseriesValues>;
|
|
294
|
+
export type GetMonitoringBreakdownTimeseriesResponseTimeframeList = Array<number>;
|
|
295
|
+
export interface GetMonitoringBreakdownTimeseriesResponse {
|
|
296
|
+
data: GetMonitoringBreakdownTimeseriesResponseDataList;
|
|
297
|
+
total_row_count: number | null;
|
|
298
|
+
timeframe: GetMonitoringBreakdownTimeseriesResponseTimeframeList;
|
|
299
|
+
}
|
|
300
|
+
export type GetMonitoringHistogramTimeseriesRequestMONITORINGHISTOGRAMMETRICID = "video-startup-time";
|
|
301
|
+
export type GetMonitoringHistogramTimeseriesRequestFiltersList = Array<string>;
|
|
302
|
+
export interface GetMonitoringHistogramTimeseriesRequest {
|
|
303
|
+
/** ID of the Monitoring Histogram Metric */
|
|
304
|
+
MONITORING_HISTOGRAM_METRIC_ID: GetMonitoringHistogramTimeseriesRequestMONITORINGHISTOGRAMMETRICID | (string & {});
|
|
305
|
+
/** Limit the results to rows that match conditions from provided key:value pairs. Must be provided as an array query string parameter. To exclude rows that match a certain condition, prepend a `!` character to the dimension. Possible filter names are the same as returned by the List Monitoring Dimensions endpoint. Example: * `filters[]=operating_system:windows&filters[]=!country:US` */
|
|
306
|
+
filters__?: GetMonitoringHistogramTimeseriesRequestFiltersList | undefined;
|
|
307
|
+
}
|
|
308
|
+
export interface MonitoringHistogramTimeseriesBucket {
|
|
309
|
+
start: number;
|
|
310
|
+
end: number | null;
|
|
311
|
+
}
|
|
312
|
+
export type GetMonitoringHistogramTimeseriesResponseMetaBucketsList = Array<MonitoringHistogramTimeseriesBucket>;
|
|
313
|
+
export interface GetMonitoringHistogramTimeseriesResponseMeta {
|
|
314
|
+
bucket_unit: string;
|
|
315
|
+
buckets: GetMonitoringHistogramTimeseriesResponseMetaBucketsList;
|
|
316
|
+
}
|
|
317
|
+
export interface MonitoringHistogramTimeseriesBucketValues {
|
|
318
|
+
percentage: number;
|
|
319
|
+
count: number;
|
|
320
|
+
}
|
|
321
|
+
export type MonitoringHistogramTimeseriesDatapointBucketValuesList = Array<MonitoringHistogramTimeseriesBucketValues>;
|
|
322
|
+
export interface MonitoringHistogramTimeseriesDatapoint {
|
|
323
|
+
timestamp: string;
|
|
324
|
+
sum: number;
|
|
325
|
+
p95: number | null;
|
|
326
|
+
median: number | null;
|
|
327
|
+
max_percentage: number;
|
|
328
|
+
bucket_values: MonitoringHistogramTimeseriesDatapointBucketValuesList;
|
|
329
|
+
average: number | null;
|
|
330
|
+
}
|
|
331
|
+
export type GetMonitoringHistogramTimeseriesResponseDataList = Array<MonitoringHistogramTimeseriesDatapoint>;
|
|
332
|
+
export type GetMonitoringHistogramTimeseriesResponseTimeframeList = Array<number>;
|
|
333
|
+
export interface GetMonitoringHistogramTimeseriesResponse {
|
|
334
|
+
meta: GetMonitoringHistogramTimeseriesResponseMeta;
|
|
335
|
+
data: GetMonitoringHistogramTimeseriesResponseDataList;
|
|
336
|
+
total_row_count: number | null;
|
|
337
|
+
timeframe: GetMonitoringHistogramTimeseriesResponseTimeframeList;
|
|
338
|
+
}
|
|
339
|
+
export type GetMonitoringTimeseriesRequestMONITORINGMETRICID = "current-concurrent-viewers" | "current-rebuffering-percentage" | "exits-before-video-start" | "playback-failure-percentage" | "current-average-bitrate" | "video-startup-failure-percentage";
|
|
340
|
+
export type GetMonitoringTimeseriesRequestFiltersList = Array<string>;
|
|
341
|
+
export interface GetMonitoringTimeseriesRequest {
|
|
342
|
+
/** ID of the Monitoring Metric */
|
|
343
|
+
MONITORING_METRIC_ID: GetMonitoringTimeseriesRequestMONITORINGMETRICID | (string & {});
|
|
344
|
+
/** Limit the results to rows that match conditions from provided key:value pairs. Must be provided as an array query string parameter. To exclude rows that match a certain condition, prepend a `!` character to the dimension. Possible filter names are the same as returned by the List Monitoring Dimensions endpoint. Example: * `filters[]=operating_system:windows&filters[]=!country:US` */
|
|
345
|
+
filters__?: GetMonitoringTimeseriesRequestFiltersList | undefined;
|
|
346
|
+
/** Timestamp to use as the start of the timeseries data. This value must be provided as a unix timestamp. Defaults to 30 minutes ago. */
|
|
347
|
+
timestamp?: number | undefined;
|
|
348
|
+
}
|
|
349
|
+
export interface MonitoringTimeseriesDatapoint {
|
|
350
|
+
value: number | null;
|
|
351
|
+
date: string;
|
|
352
|
+
concurrent_viewers: number;
|
|
353
|
+
}
|
|
354
|
+
export type GetMonitoringTimeseriesResponseDataList = Array<MonitoringTimeseriesDatapoint>;
|
|
355
|
+
export type GetMonitoringTimeseriesResponseTimeframeList = Array<number>;
|
|
356
|
+
export interface GetMonitoringTimeseriesResponse {
|
|
357
|
+
data: GetMonitoringTimeseriesResponseDataList;
|
|
358
|
+
total_row_count: number | null;
|
|
359
|
+
timeframe: GetMonitoringTimeseriesResponseTimeframeList;
|
|
360
|
+
}
|
|
361
|
+
export type GetOverallValuesRequestMETRICID = "aggregate_startup_time" | "downscale_percentage" | "exits_before_video_start" | "live_stream_latency" | "max_downscale_percentage" | "max_request_latency" | "max_upscale_percentage" | "page_load_time" | "playback_failure_percentage" | "playback_success_score" | "player_startup_time" | "playing_time" | "rebuffer_count" | "rebuffer_duration" | "rebuffer_frequency" | "rebuffer_percentage" | "request_latency" | "request_throughput" | "rebuffer_score" | "requests_for_first_preroll" | "seek_latency" | "startup_time_score" | "unique_viewers" | "upscale_percentage" | "video_quality_score" | "video_startup_preroll_load_time" | "video_startup_preroll_request_time" | "video_startup_time" | "viewer_experience_score" | "views" | "weighted_average_bitrate" | "video_startup_failure_percentage" | "ad_attempt_count" | "ad_break_count" | "ad_break_error_count" | "ad_break_error_percentage" | "ad_error_count" | "ad_error_percentage" | "ad_exit_before_start_count" | "ad_exit_before_start_percentage" | "ad_impression_count" | "ad_startup_error_count" | "ad_startup_error_percentage" | "playback_business_exception_percentage" | "video_startup_business_exception_percentage" | "view_content_startup_time" | "ad_preroll_startup_time" | "view_dropped_percentage" | "rendition_change_count" | "rendition_upshift_count" | "rendition_downshift_count";
|
|
362
|
+
export type GetOverallValuesRequestTimeframeList = Array<string>;
|
|
363
|
+
export type GetOverallValuesRequestFiltersList = Array<string>;
|
|
364
|
+
export type GetOverallValuesRequestMetricFiltersList = Array<string>;
|
|
365
|
+
export type GetOverallValuesRequestMeasurement = "95th" | "median" | "avg" | "count" | "sum";
|
|
366
|
+
export interface GetOverallValuesRequest {
|
|
367
|
+
/** ID of the Metric */
|
|
368
|
+
METRIC_ID: GetOverallValuesRequestMETRICID | (string & {});
|
|
369
|
+
/** Timeframe window to limit results by. Must be provided as an array query string parameter (e.g. timeframe[]=). Accepted formats are... * array of epoch timestamps e.g. `timeframe[]=1498867200&timeframe[]=1498953600` * duration string e.g. `timeframe[]=24:hours or timeframe[]=7:days` */
|
|
370
|
+
timeframe__?: GetOverallValuesRequestTimeframeList | undefined;
|
|
371
|
+
/** Filter results using key:value pairs. Must be provided as an array query string parameter. **Basic filtering:** * `filters[]=dimension:value` - Include rows where dimension equals value * `filters[]=!dimension:value` - Exclude rows where dimension equals value **For trace dimensions (like video_cdn_trace):** * `filters[]=+dimension:value` - Include rows where trace contains value * `filters[]=-dimension:value` - Exclude rows where trace contains value * `filters[]=dimension:[value1,value2]` - Exact trace match **Examples:** * `filters[]=country:US` - US views only * `filters[]=+video_cdn_trace:fastly` - Views using Fastly CDN */
|
|
372
|
+
filters__?: GetOverallValuesRequestFiltersList | undefined;
|
|
373
|
+
/** Limit the results to rows that match inequality conditions from provided metric comparison clauses. Must be provided as an array query string parameter. Possible filterable metrics are the same as the set of metric ids, with the exceptions of `exits_before_video_start`, `unique_viewers`, `video_startup_failure_percentage`, `view_dropped_percentage`, and `views`. Example: * `metric_filters[]=aggregate_startup_time>=1000` */
|
|
374
|
+
metric_filters__?: GetOverallValuesRequestMetricFiltersList | undefined;
|
|
375
|
+
/** Measurement for the provided metric. If omitted, the default for the metric will be used. The default measurement for each metric is: "sum" : `ad_attempt_count`, `ad_break_count`, `ad_break_error_count`, `ad_error_count`, `ad_impression_count`, `playing_time` "median" : `ad_preroll_startup_time`, `aggregate_startup_time`, `content_startup_time`, `max_downscale_percentage`, `max_upscale_percentage`, `page_load_time`, `player_average_live_latency`, `player_startup_time`, `rebuffer_count`, `rebuffer_duration`, `requests_for_first_preroll`, `video_startup_preroll_load_time`, `video_startup_preroll_request_time`, `video_startup_time`, `view_average_request_latency`, `view_average_request_throughput`, `view_max_request_latency`, `weighted_average_bitrate` "avg" : `ad_break_error_percentage`, `ad_error_percentage`, `ad_exit_before_start_count`, `ad_exit_before_start_percentage`, `ad_playback_failure_percentage`, `ad_startup_error_count`, `ad_startup_error_percentage`, `content_playback_failure_percentage`, `downscale_percentage`, `exits_before_video_start`, `playback_business_exception_percentage`, `playback_failure_percentage`, `playback_success_score`, `rebuffer_frequency`, `rebuffer_percentage`, `seek_latency`, `smoothness_score`, `startup_time_score`, `upscale_percentage`, `video_quality_score`, `video_startup_business_exception_percentage`, `video_startup_failure_percentage`, `view_dropped_percentage`, `viewer_experience_score` "count" : `started_views`, `unique_viewers` */
|
|
376
|
+
measurement?: GetOverallValuesRequestMeasurement | (string & {}) | undefined;
|
|
377
|
+
}
|
|
378
|
+
export interface OverallValues {
|
|
379
|
+
value: number;
|
|
380
|
+
total_watch_time: number | null;
|
|
381
|
+
total_views: number;
|
|
382
|
+
total_playing_time: number | null;
|
|
383
|
+
}
|
|
384
|
+
export type GetOverallValuesResponseTimeframeList = Array<number>;
|
|
385
|
+
export type GetOverallValuesResponseMeta = GetMetricTimeseriesDataResponseMeta;
|
|
386
|
+
export interface GetOverallValuesResponse {
|
|
387
|
+
data: OverallValues;
|
|
388
|
+
total_row_count: number | null;
|
|
389
|
+
timeframe: GetOverallValuesResponseTimeframeList;
|
|
390
|
+
meta: GetMetricTimeseriesDataResponseMeta;
|
|
391
|
+
}
|
|
392
|
+
export type GetSubviewBreakdownTimeseriesRequestMETRICID = "playing_time";
|
|
393
|
+
export type GetSubviewBreakdownTimeseriesRequestSUBVIEWTYPE = "rendition" | "playback_mode";
|
|
394
|
+
export type GetSubviewBreakdownTimeseriesRequestTimeframeList = Array<string>;
|
|
395
|
+
export type GetSubviewBreakdownTimeseriesRequestFiltersList = Array<string>;
|
|
396
|
+
export type GetSubviewBreakdownTimeseriesRequestGroupByItem = "video_source_bitrate" | "video_source_width" | "video_source_height" | "video_source_fps" | "video_source_codec" | "video_source_rendition_name";
|
|
397
|
+
export type GetSubviewBreakdownTimeseriesRequestGroupByList = Array<GetSubviewBreakdownTimeseriesRequestGroupByItem | (string & {})>;
|
|
398
|
+
export type GetSubviewBreakdownTimeseriesRequestTimeGranularity = "hour" | "day";
|
|
399
|
+
export interface GetSubviewBreakdownTimeseriesRequest {
|
|
400
|
+
/** ID of the metric to compute over subviews. Additional metrics may be added over time. */
|
|
401
|
+
METRIC_ID: GetSubviewBreakdownTimeseriesRequestMETRICID | (string & {});
|
|
402
|
+
/** The subview type to query. */
|
|
403
|
+
SUBVIEW_TYPE: GetSubviewBreakdownTimeseriesRequestSUBVIEWTYPE | (string & {});
|
|
404
|
+
/** Timeframe window to limit results by. Must be provided as an array query string parameter (e.g. timeframe[]=). Accepted formats are... * array of epoch timestamps e.g. `timeframe[]=1498867200&timeframe[]=1498953600` * duration string e.g. `timeframe[]=24:hours or timeframe[]=7:days` */
|
|
405
|
+
timeframe__?: GetSubviewBreakdownTimeseriesRequestTimeframeList | undefined;
|
|
406
|
+
/** Filter results using key:value pairs. Must be provided as an array query string parameter. The set of filterable dimensions is distinct from the main Data API's dimensions, and depends on the subview type -- see the List Subview Dimensions endpoint for the valid names. * `filters[]=dimension:value` - Include rows where dimension equals value * `filters[]=!dimension:value` - Exclude rows where dimension equals value * `filters[]=dimension:__empty__` - Include rows where the dimension has no value Example: `filters[]=country:US` */
|
|
407
|
+
filters__?: GetSubviewBreakdownTimeseriesRequestFiltersList | undefined;
|
|
408
|
+
/** Subview attributes to group the results by. Must be provided as an array query string parameter. Currently only supported for the `rendition` subview type, as any combination of the 6 enum values below. If omitted, defaults to grouping by every attribute available for the subview type. */
|
|
409
|
+
group_by__?: GetSubviewBreakdownTimeseriesRequestGroupByList | undefined;
|
|
410
|
+
/** Time bucket size for the timeseries. */
|
|
411
|
+
time_granularity?: GetSubviewBreakdownTimeseriesRequestTimeGranularity | (string & {}) | undefined;
|
|
412
|
+
/** Number of breakdown rows to include per selected dimension value. */
|
|
413
|
+
breakdown_value_limit?: number | undefined;
|
|
414
|
+
}
|
|
415
|
+
export type SubviewBreakdownTimeseriesDatapointStatus = "complete" | "partial";
|
|
416
|
+
export interface SubviewBreakdownValue {
|
|
417
|
+
breakdown_value: string;
|
|
418
|
+
metric_value: number;
|
|
419
|
+
}
|
|
420
|
+
export type SubviewBreakdownTimeseriesDatapointValuesList = Array<SubviewBreakdownValue>;
|
|
421
|
+
export interface SubviewBreakdownTimeseriesDatapoint {
|
|
422
|
+
date: string;
|
|
423
|
+
status: SubviewBreakdownTimeseriesDatapointStatus;
|
|
424
|
+
values: SubviewBreakdownTimeseriesDatapointValuesList;
|
|
425
|
+
}
|
|
426
|
+
export type GetSubviewBreakdownTimeseriesResponseDataList = Array<SubviewBreakdownTimeseriesDatapoint>;
|
|
427
|
+
export type GetSubviewBreakdownTimeseriesResponseMetaGroupByList = Array<string>;
|
|
428
|
+
export type GetSubviewBreakdownTimeseriesResponseMetaTimeGranularity = "hour" | "day";
|
|
429
|
+
export interface GetSubviewBreakdownTimeseriesResponseMeta {
|
|
430
|
+
subview_type: string;
|
|
431
|
+
metric: string;
|
|
432
|
+
unit: string;
|
|
433
|
+
group_by: GetSubviewBreakdownTimeseriesResponseMetaGroupByList;
|
|
434
|
+
time_granularity: GetSubviewBreakdownTimeseriesResponseMetaTimeGranularity;
|
|
435
|
+
complete_through: string;
|
|
436
|
+
}
|
|
437
|
+
export type GetSubviewBreakdownTimeseriesResponseTimeframeList = Array<number>;
|
|
438
|
+
export interface GetSubviewBreakdownTimeseriesResponse {
|
|
439
|
+
data: GetSubviewBreakdownTimeseriesResponseDataList;
|
|
440
|
+
meta: GetSubviewBreakdownTimeseriesResponseMeta;
|
|
441
|
+
/** Number of time buckets in `data`. */
|
|
442
|
+
total_row_count: number;
|
|
443
|
+
timeframe: GetSubviewBreakdownTimeseriesResponseTimeframeList;
|
|
444
|
+
}
|
|
445
|
+
export type GetSubviewOverallValuesRequestMETRICID = "playing_time";
|
|
446
|
+
export type GetSubviewOverallValuesRequestSUBVIEWTYPE = "rendition" | "playback_mode";
|
|
447
|
+
export type GetSubviewOverallValuesRequestTimeframeList = Array<string>;
|
|
448
|
+
export type GetSubviewOverallValuesRequestFiltersList = Array<string>;
|
|
449
|
+
export interface GetSubviewOverallValuesRequest {
|
|
450
|
+
/** ID of the metric to compute over subviews. Additional metrics may be added over time. */
|
|
451
|
+
METRIC_ID: GetSubviewOverallValuesRequestMETRICID | (string & {});
|
|
452
|
+
/** The subview type to query. */
|
|
453
|
+
SUBVIEW_TYPE: GetSubviewOverallValuesRequestSUBVIEWTYPE | (string & {});
|
|
454
|
+
/** Timeframe window to limit results by. Must be provided as an array query string parameter (e.g. timeframe[]=). Accepted formats are... * array of epoch timestamps e.g. `timeframe[]=1498867200&timeframe[]=1498953600` * duration string e.g. `timeframe[]=24:hours or timeframe[]=7:days` */
|
|
455
|
+
timeframe__?: GetSubviewOverallValuesRequestTimeframeList | undefined;
|
|
456
|
+
/** Filter results using key:value pairs. Must be provided as an array query string parameter. The set of filterable dimensions is distinct from the main Data API's dimensions, and depends on the subview type -- see the List Subview Dimensions endpoint for the valid names. * `filters[]=dimension:value` - Include rows where dimension equals value * `filters[]=!dimension:value` - Exclude rows where dimension equals value * `filters[]=dimension:__empty__` - Include rows where the dimension has no value Example: `filters[]=country:US` */
|
|
457
|
+
filters__?: GetSubviewOverallValuesRequestFiltersList | undefined;
|
|
458
|
+
}
|
|
459
|
+
export interface GetSubviewOverallValuesResponseData {
|
|
460
|
+
metric_value: number;
|
|
461
|
+
}
|
|
462
|
+
export interface SubviewMetricsMeta {
|
|
463
|
+
subview_type: string;
|
|
464
|
+
metric: string;
|
|
465
|
+
unit: string;
|
|
466
|
+
}
|
|
467
|
+
export type GetSubviewOverallValuesResponseTimeframeList = Array<number>;
|
|
468
|
+
export interface GetSubviewOverallValuesResponse {
|
|
469
|
+
data: GetSubviewOverallValuesResponseData;
|
|
470
|
+
meta: SubviewMetricsMeta;
|
|
471
|
+
/** Always `null` for this endpoint -- a single aggregate value has no row count. */
|
|
472
|
+
total_row_count: number | null;
|
|
473
|
+
timeframe: GetSubviewOverallValuesResponseTimeframeList;
|
|
474
|
+
}
|
|
475
|
+
export interface GetVideoViewRequest {
|
|
476
|
+
/** ID of the Video View */
|
|
477
|
+
VIDEO_VIEW_ID: string;
|
|
478
|
+
}
|
|
479
|
+
export type VideoViewEventDetailsMap = {
|
|
480
|
+
[key: string]: unknown | undefined;
|
|
481
|
+
};
|
|
482
|
+
export interface VideoViewEvent {
|
|
483
|
+
viewer_time: number;
|
|
484
|
+
playback_time: number;
|
|
485
|
+
name: string;
|
|
486
|
+
event_time: number;
|
|
487
|
+
details: VideoViewEventDetailsMap;
|
|
488
|
+
}
|
|
489
|
+
export type VideoViewEventsList = Array<VideoViewEvent>;
|
|
490
|
+
export type VideoViewVideoCdnTraceList = Array<string>;
|
|
491
|
+
export interface VideoView {
|
|
492
|
+
view_total_upscaling: string | null;
|
|
493
|
+
preroll_ad_asset_hostname: string | null;
|
|
494
|
+
player_source_domain: string | null;
|
|
495
|
+
region: string | null;
|
|
496
|
+
viewer_user_agent: string | null;
|
|
497
|
+
preroll_requested: boolean | null;
|
|
498
|
+
page_type: string | null;
|
|
499
|
+
startup_score: string | null;
|
|
500
|
+
view_seek_duration: number | null;
|
|
501
|
+
country_name: string | null;
|
|
502
|
+
player_source_height: number | null;
|
|
503
|
+
longitude: string | null;
|
|
504
|
+
buffering_count: number | null;
|
|
505
|
+
video_duration: number | null;
|
|
506
|
+
player_source_type: string | null;
|
|
507
|
+
city: string | null;
|
|
508
|
+
view_id: string;
|
|
509
|
+
platform_description: string | null;
|
|
510
|
+
video_startup_preroll_request_time: number | null;
|
|
511
|
+
viewer_device_name: string | null;
|
|
512
|
+
video_series: string | null;
|
|
513
|
+
viewer_application_name: string | null;
|
|
514
|
+
updated_at: string;
|
|
515
|
+
view_total_content_playback_time: number | null;
|
|
516
|
+
cdn: string | null;
|
|
517
|
+
player_instance_id: string | null;
|
|
518
|
+
video_language: string | null;
|
|
519
|
+
player_source_width: number | null;
|
|
520
|
+
player_error_message: string | null;
|
|
521
|
+
player_mux_plugin_version: string | null;
|
|
522
|
+
watched: boolean;
|
|
523
|
+
playback_score: string | null;
|
|
524
|
+
page_url: string | null;
|
|
525
|
+
metro: string | null;
|
|
526
|
+
view_max_request_latency: number | null;
|
|
527
|
+
requests_for_first_preroll: number | null;
|
|
528
|
+
view_total_downscaling: string | null;
|
|
529
|
+
latitude: string | null;
|
|
530
|
+
player_source_host_name: string | null;
|
|
531
|
+
inserted_at: string;
|
|
532
|
+
view_end: string;
|
|
533
|
+
mux_embed_version: string | null;
|
|
534
|
+
player_language: string | null;
|
|
535
|
+
page_load_time: number | null;
|
|
536
|
+
viewer_device_category: string | null;
|
|
537
|
+
video_startup_preroll_load_time: number | null;
|
|
538
|
+
player_version: string | null;
|
|
539
|
+
watch_time: number | null;
|
|
540
|
+
player_source_stream_type: string | null;
|
|
541
|
+
preroll_ad_tag_hostname: string | null;
|
|
542
|
+
viewer_device_manufacturer: string | null;
|
|
543
|
+
rebuffering_score: string | null;
|
|
544
|
+
experiment_name: string | null;
|
|
545
|
+
viewer_os_version: string | null;
|
|
546
|
+
player_preload: boolean;
|
|
547
|
+
buffering_duration: number | null;
|
|
548
|
+
player_view_count: number | null;
|
|
549
|
+
player_software: string | null;
|
|
550
|
+
player_load_time: number | null;
|
|
551
|
+
platform_summary: string | null;
|
|
552
|
+
video_encoding_variant: string | null;
|
|
553
|
+
player_width: number | null;
|
|
554
|
+
view_seek_count: number | null;
|
|
555
|
+
viewer_experience_score: string | null;
|
|
556
|
+
view_error_id: number | null;
|
|
557
|
+
video_variant_name: string | null;
|
|
558
|
+
preroll_played: boolean | null;
|
|
559
|
+
viewer_application_engine: string | null;
|
|
560
|
+
viewer_os_architecture: string | null;
|
|
561
|
+
player_error_code: string | null;
|
|
562
|
+
buffering_rate: string | null;
|
|
563
|
+
events: VideoViewEventsList;
|
|
564
|
+
player_name: string | null;
|
|
565
|
+
view_start: string;
|
|
566
|
+
view_average_request_throughput: number | null;
|
|
567
|
+
video_producer: string | null;
|
|
568
|
+
error_type_id: number | null;
|
|
569
|
+
mux_viewer_id: string;
|
|
570
|
+
video_id: string | null;
|
|
571
|
+
continent_code: string | null;
|
|
572
|
+
session_id: string;
|
|
573
|
+
exit_before_video_start: boolean;
|
|
574
|
+
video_content_type: string | null;
|
|
575
|
+
viewer_os_family: string | null;
|
|
576
|
+
player_poster: string | null;
|
|
577
|
+
view_average_request_latency: number | null;
|
|
578
|
+
video_variant_id: string | null;
|
|
579
|
+
player_source_duration: number | null;
|
|
580
|
+
player_source_url: string | null;
|
|
581
|
+
mux_api_version: string;
|
|
582
|
+
video_title: string | null;
|
|
583
|
+
id: string;
|
|
584
|
+
short_time: string;
|
|
585
|
+
rebuffer_percentage: string | null;
|
|
586
|
+
time_to_first_frame: number | null;
|
|
587
|
+
viewer_user_id: string | null;
|
|
588
|
+
video_stream_type: string | null;
|
|
589
|
+
player_startup_time: number | null;
|
|
590
|
+
viewer_application_version: string | null;
|
|
591
|
+
view_max_downscale_percentage: string | null;
|
|
592
|
+
view_max_upscale_percentage: string | null;
|
|
593
|
+
country_code: string | null;
|
|
594
|
+
used_fullscreen: boolean;
|
|
595
|
+
isp: string | null;
|
|
596
|
+
property_id: number;
|
|
597
|
+
player_autoplay: boolean;
|
|
598
|
+
player_height: number | null;
|
|
599
|
+
asn: number | null;
|
|
600
|
+
asn_name: string | null;
|
|
601
|
+
quality_score: string | null;
|
|
602
|
+
player_software_version: string | null;
|
|
603
|
+
player_mux_plugin_name: string | null;
|
|
604
|
+
sub_property_id: string | null;
|
|
605
|
+
player_remote_played: boolean | null;
|
|
606
|
+
view_max_playhead_position: string | null;
|
|
607
|
+
view_playing_time: string | null;
|
|
608
|
+
view_session_id: string | null;
|
|
609
|
+
viewer_connection_type: string | null;
|
|
610
|
+
viewer_device_model: string | null;
|
|
611
|
+
weighted_average_bitrate: number | null;
|
|
612
|
+
custom_1: string | null;
|
|
613
|
+
custom_2: string | null;
|
|
614
|
+
custom_3: string | null;
|
|
615
|
+
custom_4: string | null;
|
|
616
|
+
custom_5: string | null;
|
|
617
|
+
custom_6: string | null;
|
|
618
|
+
custom_7: string | null;
|
|
619
|
+
custom_8: string | null;
|
|
620
|
+
custom_9: string | null;
|
|
621
|
+
custom_10: string | null;
|
|
622
|
+
live_stream_latency: number | null;
|
|
623
|
+
asset_id: string | null;
|
|
624
|
+
environment_id: string;
|
|
625
|
+
live_stream_id: string | null;
|
|
626
|
+
mux_embed: string | null;
|
|
627
|
+
playback_id: string | null;
|
|
628
|
+
player_error_context?: string | null | undefined;
|
|
629
|
+
view_drm_type: string | null;
|
|
630
|
+
view_dropped_frame_count: number | null;
|
|
631
|
+
view_has_ad: boolean;
|
|
632
|
+
video_startup_failure: boolean;
|
|
633
|
+
ad_attempt_count: number | null;
|
|
634
|
+
ad_break_count: number | null;
|
|
635
|
+
ad_break_error_count: number | null;
|
|
636
|
+
ad_break_error_percentage: string | null;
|
|
637
|
+
ad_error_count: number | null;
|
|
638
|
+
ad_error_percentage: string | null;
|
|
639
|
+
ad_impression_count: number | null;
|
|
640
|
+
ad_startup_error_count: number | null;
|
|
641
|
+
ad_startup_error_percentage: string | null;
|
|
642
|
+
ad_exit_before_start_count: number | null;
|
|
643
|
+
ad_exit_before_start_percentage: string | null;
|
|
644
|
+
rendition_change_count: number | null;
|
|
645
|
+
rendition_upshift_count: number | null;
|
|
646
|
+
rendition_downshift_count: number | null;
|
|
647
|
+
long_resume: boolean;
|
|
648
|
+
long_rebuffering: boolean;
|
|
649
|
+
playback_failure_error_type_id: number | null;
|
|
650
|
+
playback_business_exception_error_type_id: number | null;
|
|
651
|
+
video_startup_business_exception_error_type_id: number | null;
|
|
652
|
+
playback_failure: boolean;
|
|
653
|
+
ad_playback_failure_error_type_id: number | null;
|
|
654
|
+
view_content_startup_time: number | null;
|
|
655
|
+
ad_preroll_startup_time: number | null;
|
|
656
|
+
view_dropped: boolean;
|
|
657
|
+
client_application_name: string | null;
|
|
658
|
+
client_application_version: string | null;
|
|
659
|
+
video_affiliate: string | null;
|
|
660
|
+
viewer_plan: string | null;
|
|
661
|
+
viewer_plan_status: string | null;
|
|
662
|
+
viewer_plan_category: string | null;
|
|
663
|
+
view_drm_level: string | null;
|
|
664
|
+
video_brand: string | null;
|
|
665
|
+
used_pip: boolean;
|
|
666
|
+
time_shift_enabled: boolean;
|
|
667
|
+
used_captions: boolean;
|
|
668
|
+
video_codec: string | null;
|
|
669
|
+
audio_codec: string | null;
|
|
670
|
+
video_dynamic_range_type: string | null;
|
|
671
|
+
video_source_height_initial: number | null;
|
|
672
|
+
video_source_width_initial: number | null;
|
|
673
|
+
video_source_bitrate_initial: number | null;
|
|
674
|
+
video_codec_initial: string | null;
|
|
675
|
+
audio_codec_initial: string | null;
|
|
676
|
+
video_source_fps_initial: number | null;
|
|
677
|
+
video_dynamic_range_type_initial: string | null;
|
|
678
|
+
video_source_fps: number | null;
|
|
679
|
+
video_source_bitrate: number | null;
|
|
680
|
+
video_source_height: number | null;
|
|
681
|
+
video_source_width: number | null;
|
|
682
|
+
view_cdn_edge_pop: string | null;
|
|
683
|
+
view_cdn_origin: string | null;
|
|
684
|
+
video_creator_id: string | null;
|
|
685
|
+
video_cdn_trace: VideoViewVideoCdnTraceList;
|
|
686
|
+
}
|
|
687
|
+
export type VideoViewResponseTimeframeList = Array<number>;
|
|
688
|
+
export interface VideoViewResponse {
|
|
689
|
+
data: VideoView;
|
|
690
|
+
timeframe: VideoViewResponseTimeframeList;
|
|
691
|
+
total_row_count: number | null;
|
|
692
|
+
}
|
|
693
|
+
export type ListAllMetricValuesRequestTimeframeList = Array<string>;
|
|
694
|
+
export type ListAllMetricValuesRequestFiltersList = Array<string>;
|
|
695
|
+
export type ListAllMetricValuesRequestMetricFiltersList = Array<string>;
|
|
696
|
+
export type ListAllMetricValuesRequestDimension = "asn" | "asset_id" | "browser" | "browser_version" | "cdn" | "continent_code" | "country" | "custom_1" | "custom_2" | "custom_3" | "custom_4" | "custom_5" | "custom_6" | "custom_7" | "custom_8" | "custom_9" | "custom_10" | "exit_before_video_start" | "experiment_name" | "live_stream_id" | "operating_system" | "operating_system_version" | "page_type" | "page_url" | "playback_failure" | "playback_business_exception" | "playback_id" | "player_autoplay" | "player_error_code" | "player_mux_plugin_name" | "player_mux_plugin_version" | "player_name" | "player_preload" | "player_remote_played" | "player_software" | "player_software_version" | "player_version" | "preroll_ad_asset_hostname" | "preroll_ad_tag_hostname" | "preroll_played" | "preroll_requested" | "region" | "source_hostname" | "source_type" | "stream_type" | "sub_property_id" | "video_content_type" | "video_encoding_variant" | "video_id" | "video_series" | "video_startup_failure" | "video_startup_business_exception" | "video_title" | "view_drm_type" | "view_has_ad" | "view_session_id" | "viewer_connection_type" | "viewer_device_category" | "viewer_device_manufacturer" | "viewer_device_model" | "viewer_device_name" | "viewer_user_id" | "ad_playback_failure" | "content_playback_failure" | "view_dropped" | "client_application_name" | "client_application_version" | "video_affiliate" | "viewer_plan" | "viewer_plan_status" | "viewer_plan_category" | "view_drm_level" | "video_brand" | "used_pip" | "time_shift_enabled" | "used_captions" | "video_codec" | "audio_codec" | "video_dynamic_range_type" | "view_cdn_edge_pop" | "view_cdn_origin" | "video_creator_id" | "video_cdn_trace";
|
|
697
|
+
export interface ListAllMetricValuesRequest {
|
|
698
|
+
/** Timeframe window to limit results by. Must be provided as an array query string parameter (e.g. timeframe[]=). Accepted formats are... * array of epoch timestamps e.g. `timeframe[]=1498867200&timeframe[]=1498953600` * duration string e.g. `timeframe[]=24:hours or timeframe[]=7:days` */
|
|
699
|
+
timeframe__?: ListAllMetricValuesRequestTimeframeList | undefined;
|
|
700
|
+
/** Filter results using key:value pairs. Must be provided as an array query string parameter. **Basic filtering:** * `filters[]=dimension:value` - Include rows where dimension equals value * `filters[]=!dimension:value` - Exclude rows where dimension equals value **For trace dimensions (like video_cdn_trace):** * `filters[]=+dimension:value` - Include rows where trace contains value * `filters[]=-dimension:value` - Exclude rows where trace contains value * `filters[]=dimension:[value1,value2]` - Exact trace match **Examples:** * `filters[]=country:US` - US views only * `filters[]=+video_cdn_trace:fastly` - Views using Fastly CDN */
|
|
701
|
+
filters__?: ListAllMetricValuesRequestFiltersList | undefined;
|
|
702
|
+
/** Limit the results to rows that match inequality conditions from provided metric comparison clauses. Must be provided as an array query string parameter. Possible filterable metrics are the same as the set of metric ids, with the exceptions of `exits_before_video_start`, `unique_viewers`, `video_startup_failure_percentage`, `view_dropped_percentage`, and `views`. Example: * `metric_filters[]=aggregate_startup_time>=1000` */
|
|
703
|
+
metric_filters__?: ListAllMetricValuesRequestMetricFiltersList | undefined;
|
|
704
|
+
/** Dimension the specified value belongs to */
|
|
705
|
+
dimension?: ListAllMetricValuesRequestDimension | (string & {}) | undefined;
|
|
706
|
+
/** Value to show all available metrics for */
|
|
707
|
+
value?: string | undefined;
|
|
708
|
+
}
|
|
709
|
+
export interface Metric {
|
|
710
|
+
value: number | null;
|
|
711
|
+
type: string;
|
|
712
|
+
name: string;
|
|
713
|
+
metric: string;
|
|
714
|
+
measurement?: string | undefined;
|
|
715
|
+
}
|
|
716
|
+
export type ScoreItemsList = Array<Metric>;
|
|
717
|
+
export interface Score {
|
|
718
|
+
watch_time?: number | null | undefined;
|
|
719
|
+
view_count?: number | undefined;
|
|
720
|
+
unique_viewers?: number | undefined;
|
|
721
|
+
started_views?: number | undefined;
|
|
722
|
+
total_playing_time?: number | null | undefined;
|
|
723
|
+
name: string;
|
|
724
|
+
ended_views?: number | undefined;
|
|
725
|
+
value?: number | undefined;
|
|
726
|
+
type?: string | undefined;
|
|
727
|
+
metric?: string | undefined;
|
|
728
|
+
items?: ScoreItemsList | undefined;
|
|
729
|
+
}
|
|
730
|
+
export type ListAllMetricValuesResponseDataList = Array<Score>;
|
|
731
|
+
export type ListAllMetricValuesResponseTimeframeList = Array<number>;
|
|
732
|
+
export interface ListAllMetricValuesResponse {
|
|
733
|
+
data: ListAllMetricValuesResponseDataList;
|
|
734
|
+
total_row_count: number | null;
|
|
735
|
+
timeframe: ListAllMetricValuesResponseTimeframeList;
|
|
736
|
+
}
|
|
737
|
+
export type ListAnnotationsRequestOrderDirection = "asc" | "desc";
|
|
738
|
+
export type ListAnnotationsRequestTimeframeList = Array<string>;
|
|
739
|
+
export interface ListAnnotationsRequest {
|
|
740
|
+
/** Number of items to include in the response */
|
|
741
|
+
limit?: number | undefined;
|
|
742
|
+
/** Offset by this many pages, of the size of `limit` */
|
|
743
|
+
page?: number | undefined;
|
|
744
|
+
/** Sort order. */
|
|
745
|
+
order_direction?: ListAnnotationsRequestOrderDirection | (string & {}) | undefined;
|
|
746
|
+
/** Timeframe window to limit results by. Must be provided as an array query string parameter (e.g. timeframe[]=). Accepted formats are... * array of epoch timestamps e.g. `timeframe[]=1498867200&timeframe[]=1498953600` * duration string e.g. `timeframe[]=24:hours or timeframe[]=7:days` */
|
|
747
|
+
timeframe__?: ListAnnotationsRequestTimeframeList | undefined;
|
|
748
|
+
}
|
|
749
|
+
export type ListAnnotationsResponseDataList = Array<Annotation>;
|
|
750
|
+
/** Start and end unix timestamps for the data range */
|
|
751
|
+
export type ListAnnotationsResponseTimeframeList = Array<number>;
|
|
752
|
+
export interface ListAnnotationsResponse {
|
|
753
|
+
data: ListAnnotationsResponseDataList;
|
|
754
|
+
/** Total number of annotations available */
|
|
755
|
+
total_row_count: number | null;
|
|
756
|
+
/** Start and end unix timestamps for the data range */
|
|
757
|
+
timeframe?: ListAnnotationsResponseTimeframeList | undefined;
|
|
758
|
+
}
|
|
759
|
+
export type ListBreakdownValuesRequestMETRICID = "aggregate_startup_time" | "downscale_percentage" | "exits_before_video_start" | "live_stream_latency" | "max_downscale_percentage" | "max_request_latency" | "max_upscale_percentage" | "page_load_time" | "playback_failure_percentage" | "playback_success_score" | "player_startup_time" | "playing_time" | "rebuffer_count" | "rebuffer_duration" | "rebuffer_frequency" | "rebuffer_percentage" | "request_latency" | "request_throughput" | "rebuffer_score" | "requests_for_first_preroll" | "seek_latency" | "startup_time_score" | "unique_viewers" | "upscale_percentage" | "video_quality_score" | "video_startup_preroll_load_time" | "video_startup_preroll_request_time" | "video_startup_time" | "viewer_experience_score" | "views" | "weighted_average_bitrate" | "video_startup_failure_percentage" | "ad_attempt_count" | "ad_break_count" | "ad_break_error_count" | "ad_break_error_percentage" | "ad_error_count" | "ad_error_percentage" | "ad_exit_before_start_count" | "ad_exit_before_start_percentage" | "ad_impression_count" | "ad_startup_error_count" | "ad_startup_error_percentage" | "playback_business_exception_percentage" | "video_startup_business_exception_percentage" | "view_content_startup_time" | "ad_preroll_startup_time" | "view_dropped_percentage" | "rendition_change_count" | "rendition_upshift_count" | "rendition_downshift_count";
|
|
760
|
+
export type ListBreakdownValuesRequestGroupBy = "asn" | "asset_id" | "browser" | "browser_version" | "cdn" | "continent_code" | "country" | "custom_1" | "custom_2" | "custom_3" | "custom_4" | "custom_5" | "custom_6" | "custom_7" | "custom_8" | "custom_9" | "custom_10" | "exit_before_video_start" | "experiment_name" | "live_stream_id" | "operating_system" | "operating_system_version" | "page_type" | "page_url" | "playback_failure" | "playback_business_exception" | "playback_id" | "player_autoplay" | "player_error_code" | "player_mux_plugin_name" | "player_mux_plugin_version" | "player_name" | "player_preload" | "player_remote_played" | "player_software" | "player_software_version" | "player_version" | "preroll_ad_asset_hostname" | "preroll_ad_tag_hostname" | "preroll_played" | "preroll_requested" | "region" | "source_hostname" | "source_type" | "stream_type" | "sub_property_id" | "video_content_type" | "video_encoding_variant" | "video_id" | "video_series" | "video_startup_business_exception" | "video_startup_failure" | "video_title" | "view_drm_type" | "view_has_ad" | "view_session_id" | "viewer_connection_type" | "viewer_device_category" | "viewer_device_manufacturer" | "viewer_device_model" | "viewer_device_name" | "viewer_user_id" | "ad_playback_failure" | "content_playback_failure" | "view_dropped" | "client_application_name" | "client_application_version" | "video_affiliate" | "viewer_plan" | "viewer_plan_status" | "viewer_plan_category" | "view_drm_level" | "video_brand" | "used_pip" | "time_shift_enabled" | "used_captions" | "video_codec" | "audio_codec" | "video_dynamic_range_type" | "view_cdn_edge_pop" | "view_cdn_origin" | "video_creator_id" | "video_cdn_trace" | "video_source_height_initial" | "video_source_width_initial" | "video_source_bitrate_initial" | "video_codec_initial" | "audio_codec_initial" | "video_source_fps_initial" | "video_dynamic_range_type_initial" | "video_source_fps" | "video_source_bitrate" | "video_source_height" | "video_source_width";
|
|
761
|
+
export type ListBreakdownValuesRequestMeasurement = "95th" | "median" | "avg" | "count" | "sum";
|
|
762
|
+
export type ListBreakdownValuesRequestFiltersList = Array<string>;
|
|
763
|
+
export type ListBreakdownValuesRequestMetricFiltersList = Array<string>;
|
|
764
|
+
export type ListBreakdownValuesRequestOrderBy = "negative_impact" | "value" | "views" | "field";
|
|
765
|
+
export type ListBreakdownValuesRequestOrderDirection = "asc" | "desc";
|
|
766
|
+
export type ListBreakdownValuesRequestTimeframeList = Array<string>;
|
|
767
|
+
export interface ListBreakdownValuesRequest {
|
|
768
|
+
/** ID of the Metric */
|
|
769
|
+
METRIC_ID: ListBreakdownValuesRequestMETRICID | (string & {});
|
|
770
|
+
/** Breakdown value to group the results by */
|
|
771
|
+
group_by?: ListBreakdownValuesRequestGroupBy | (string & {}) | undefined;
|
|
772
|
+
/** Measurement for the provided metric. If omitted, the default for the metric will be used. The default measurement for each metric is: "sum" : `ad_attempt_count`, `ad_break_count`, `ad_break_error_count`, `ad_error_count`, `ad_impression_count`, `playing_time` "median" : `ad_preroll_startup_time`, `aggregate_startup_time`, `content_startup_time`, `max_downscale_percentage`, `max_upscale_percentage`, `page_load_time`, `player_average_live_latency`, `player_startup_time`, `rebuffer_count`, `rebuffer_duration`, `requests_for_first_preroll`, `video_startup_preroll_load_time`, `video_startup_preroll_request_time`, `video_startup_time`, `view_average_request_latency`, `view_average_request_throughput`, `view_max_request_latency`, `weighted_average_bitrate` "avg" : `ad_break_error_percentage`, `ad_error_percentage`, `ad_exit_before_start_count`, `ad_exit_before_start_percentage`, `ad_playback_failure_percentage`, `ad_startup_error_count`, `ad_startup_error_percentage`, `content_playback_failure_percentage`, `downscale_percentage`, `exits_before_video_start`, `playback_business_exception_percentage`, `playback_failure_percentage`, `playback_success_score`, `rebuffer_frequency`, `rebuffer_percentage`, `seek_latency`, `smoothness_score`, `startup_time_score`, `upscale_percentage`, `video_quality_score`, `video_startup_business_exception_percentage`, `video_startup_failure_percentage`, `view_dropped_percentage`, `viewer_experience_score` "count" : `started_views`, `unique_viewers` */
|
|
773
|
+
measurement?: ListBreakdownValuesRequestMeasurement | (string & {}) | undefined;
|
|
774
|
+
/** Filter results using key:value pairs. Must be provided as an array query string parameter. **Basic filtering:** * `filters[]=dimension:value` - Include rows where dimension equals value * `filters[]=!dimension:value` - Exclude rows where dimension equals value **For trace dimensions (like video_cdn_trace):** * `filters[]=+dimension:value` - Include rows where trace contains value * `filters[]=-dimension:value` - Exclude rows where trace contains value * `filters[]=dimension:[value1,value2]` - Exact trace match **Examples:** * `filters[]=country:US` - US views only * `filters[]=+video_cdn_trace:fastly` - Views using Fastly CDN */
|
|
775
|
+
filters__?: ListBreakdownValuesRequestFiltersList | undefined;
|
|
776
|
+
/** Limit the results to rows that match inequality conditions from provided metric comparison clauses. Must be provided as an array query string parameter. Possible filterable metrics are the same as the set of metric ids, with the exceptions of `exits_before_video_start`, `unique_viewers`, `video_startup_failure_percentage`, `view_dropped_percentage`, and `views`. Example: * `metric_filters[]=aggregate_startup_time>=1000` */
|
|
777
|
+
metric_filters__?: ListBreakdownValuesRequestMetricFiltersList | undefined;
|
|
778
|
+
/** Number of items to include in the response */
|
|
779
|
+
limit?: number | undefined;
|
|
780
|
+
/** Offset by this many pages, of the size of `limit` */
|
|
781
|
+
page?: number | undefined;
|
|
782
|
+
/** Value to order the results by */
|
|
783
|
+
order_by?: ListBreakdownValuesRequestOrderBy | (string & {}) | undefined;
|
|
784
|
+
/** Sort order. */
|
|
785
|
+
order_direction?: ListBreakdownValuesRequestOrderDirection | (string & {}) | undefined;
|
|
786
|
+
/** Timeframe window to limit results by. Must be provided as an array query string parameter (e.g. timeframe[]=). Accepted formats are... * array of epoch timestamps e.g. `timeframe[]=1498867200&timeframe[]=1498953600` * duration string e.g. `timeframe[]=24:hours or timeframe[]=7:days` */
|
|
787
|
+
timeframe__?: ListBreakdownValuesRequestTimeframeList | undefined;
|
|
788
|
+
}
|
|
789
|
+
export interface BreakdownValue {
|
|
790
|
+
views: number;
|
|
791
|
+
value: number;
|
|
792
|
+
total_watch_time: number | null;
|
|
793
|
+
total_playing_time: number | null;
|
|
794
|
+
negative_impact: number;
|
|
795
|
+
field: string | null;
|
|
796
|
+
}
|
|
797
|
+
export type ListBreakdownValuesResponseDataList = Array<BreakdownValue>;
|
|
798
|
+
export type ListBreakdownValuesResponseTimeframeList = Array<number>;
|
|
799
|
+
export type ListBreakdownValuesResponseMeta = GetMetricTimeseriesDataResponseMeta;
|
|
800
|
+
export interface ListBreakdownValuesResponse {
|
|
801
|
+
data: ListBreakdownValuesResponseDataList;
|
|
802
|
+
total_row_count: number;
|
|
803
|
+
timeframe: ListBreakdownValuesResponseTimeframeList;
|
|
804
|
+
meta: GetMetricTimeseriesDataResponseMeta;
|
|
805
|
+
}
|
|
806
|
+
export type ListDimensionElementsRequestFiltersList = Array<string>;
|
|
807
|
+
export type ListDimensionElementsRequestMetricFiltersList = Array<string>;
|
|
808
|
+
export type ListDimensionElementsRequestTimeframeList = Array<string>;
|
|
809
|
+
export type ListDimensionElementsRequestOrderBy = "negative_impact" | "value" | "views" | "field";
|
|
810
|
+
export type ListDimensionElementsRequestOrderDirection = "asc" | "desc";
|
|
811
|
+
export interface ListDimensionElementsRequest {
|
|
812
|
+
/** ID of the Dimension */
|
|
813
|
+
DIMENSION_ID: string;
|
|
814
|
+
/** Number of items to include in the response */
|
|
815
|
+
limit?: number | undefined;
|
|
816
|
+
/** Offset by this many pages, of the size of `limit` */
|
|
817
|
+
page?: number | undefined;
|
|
818
|
+
/** Filter results using key:value pairs. Must be provided as an array query string parameter. **Basic filtering:** * `filters[]=dimension:value` - Include rows where dimension equals value * `filters[]=!dimension:value` - Exclude rows where dimension equals value **For trace dimensions (like video_cdn_trace):** * `filters[]=+dimension:value` - Include rows where trace contains value * `filters[]=-dimension:value` - Exclude rows where trace contains value * `filters[]=dimension:[value1,value2]` - Exact trace match **Examples:** * `filters[]=country:US` - US views only * `filters[]=+video_cdn_trace:fastly` - Views using Fastly CDN */
|
|
819
|
+
filters__?: ListDimensionElementsRequestFiltersList | undefined;
|
|
820
|
+
/** Limit the results to rows that match inequality conditions from provided metric comparison clauses. Must be provided as an array query string parameter. Possible filterable metrics are the same as the set of metric ids, with the exceptions of `exits_before_video_start`, `unique_viewers`, `video_startup_failure_percentage`, `view_dropped_percentage`, and `views`. Example: * `metric_filters[]=aggregate_startup_time>=1000` */
|
|
821
|
+
metric_filters__?: ListDimensionElementsRequestMetricFiltersList | undefined;
|
|
822
|
+
/** Timeframe window to limit results by. Must be provided as an array query string parameter (e.g. timeframe[]=). Accepted formats are... * array of epoch timestamps e.g. `timeframe[]=1498867200&timeframe[]=1498953600` * duration string e.g. `timeframe[]=24:hours or timeframe[]=7:days` */
|
|
823
|
+
timeframe__?: ListDimensionElementsRequestTimeframeList | undefined;
|
|
824
|
+
/** Value to order the results by */
|
|
825
|
+
order_by?: ListDimensionElementsRequestOrderBy | (string & {}) | undefined;
|
|
826
|
+
/** Sort order. */
|
|
827
|
+
order_direction?: ListDimensionElementsRequestOrderDirection | (string & {}) | undefined;
|
|
828
|
+
}
|
|
829
|
+
export interface DimensionValue {
|
|
830
|
+
value: string | null;
|
|
831
|
+
total_count: number;
|
|
832
|
+
}
|
|
833
|
+
export type ListDimensionValuesResponseDataList = Array<DimensionValue>;
|
|
834
|
+
export type ListDimensionValuesResponseTimeframeList = Array<number>;
|
|
835
|
+
export interface ListDimensionValuesResponse {
|
|
836
|
+
data: ListDimensionValuesResponseDataList;
|
|
837
|
+
total_row_count: number;
|
|
838
|
+
timeframe: ListDimensionValuesResponseTimeframeList;
|
|
839
|
+
}
|
|
840
|
+
export interface ListDimensionsRequest {
|
|
841
|
+
}
|
|
842
|
+
export type ListDimensionsResponseDataBasicList = Array<string>;
|
|
843
|
+
export type ListDimensionsResponseDataAdvancedList = Array<string>;
|
|
844
|
+
export interface ListDimensionsResponseData {
|
|
845
|
+
basic: ListDimensionsResponseDataBasicList;
|
|
846
|
+
advanced: ListDimensionsResponseDataAdvancedList;
|
|
847
|
+
}
|
|
848
|
+
export type ListDimensionsResponseTimeframeList = Array<number>;
|
|
849
|
+
export interface ListDimensionsResponse {
|
|
850
|
+
data: ListDimensionsResponseData;
|
|
851
|
+
total_row_count: number | null;
|
|
852
|
+
timeframe: ListDimensionsResponseTimeframeList;
|
|
853
|
+
}
|
|
854
|
+
export type ListDimensionValuesRequestFiltersList = Array<string>;
|
|
855
|
+
export type ListDimensionValuesRequestMetricFiltersList = Array<string>;
|
|
856
|
+
export type ListDimensionValuesRequestTimeframeList = Array<string>;
|
|
857
|
+
export interface ListDimensionValuesRequest {
|
|
858
|
+
/** ID of the Dimension */
|
|
859
|
+
DIMENSION_ID: string;
|
|
860
|
+
/** Number of items to include in the response */
|
|
861
|
+
limit?: number | undefined;
|
|
862
|
+
/** Offset by this many pages, of the size of `limit` */
|
|
863
|
+
page?: number | undefined;
|
|
864
|
+
/** Filter results using key:value pairs. Must be provided as an array query string parameter. **Basic filtering:** * `filters[]=dimension:value` - Include rows where dimension equals value * `filters[]=!dimension:value` - Exclude rows where dimension equals value **For trace dimensions (like video_cdn_trace):** * `filters[]=+dimension:value` - Include rows where trace contains value * `filters[]=-dimension:value` - Exclude rows where trace contains value * `filters[]=dimension:[value1,value2]` - Exact trace match **Examples:** * `filters[]=country:US` - US views only * `filters[]=+video_cdn_trace:fastly` - Views using Fastly CDN */
|
|
865
|
+
filters__?: ListDimensionValuesRequestFiltersList | undefined;
|
|
866
|
+
/** Limit the results to rows that match inequality conditions from provided metric comparison clauses. Must be provided as an array query string parameter. Possible filterable metrics are the same as the set of metric ids, with the exceptions of `exits_before_video_start`, `unique_viewers`, `video_startup_failure_percentage`, `view_dropped_percentage`, and `views`. Example: * `metric_filters[]=aggregate_startup_time>=1000` */
|
|
867
|
+
metric_filters__?: ListDimensionValuesRequestMetricFiltersList | undefined;
|
|
868
|
+
/** Timeframe window to limit results by. Must be provided as an array query string parameter (e.g. timeframe[]=). Accepted formats are... * array of epoch timestamps e.g. `timeframe[]=1498867200&timeframe[]=1498953600` * duration string e.g. `timeframe[]=24:hours or timeframe[]=7:days` */
|
|
869
|
+
timeframe__?: ListDimensionValuesRequestTimeframeList | undefined;
|
|
870
|
+
}
|
|
871
|
+
export type ListErrorsRequestFiltersList = Array<string>;
|
|
872
|
+
export type ListErrorsRequestMetricFiltersList = Array<string>;
|
|
873
|
+
export type ListErrorsRequestTimeframeList = Array<string>;
|
|
874
|
+
export interface ListErrorsRequest {
|
|
875
|
+
/** Filter results using key:value pairs. Must be provided as an array query string parameter. **Basic filtering:** * `filters[]=dimension:value` - Include rows where dimension equals value * `filters[]=!dimension:value` - Exclude rows where dimension equals value **For trace dimensions (like video_cdn_trace):** * `filters[]=+dimension:value` - Include rows where trace contains value * `filters[]=-dimension:value` - Exclude rows where trace contains value * `filters[]=dimension:[value1,value2]` - Exact trace match **Examples:** * `filters[]=country:US` - US views only * `filters[]=+video_cdn_trace:fastly` - Views using Fastly CDN */
|
|
876
|
+
filters__?: ListErrorsRequestFiltersList | undefined;
|
|
877
|
+
/** Limit the results to rows that match inequality conditions from provided metric comparison clauses. Must be provided as an array query string parameter. Possible filterable metrics are the same as the set of metric ids, with the exceptions of `exits_before_video_start`, `unique_viewers`, `video_startup_failure_percentage`, `view_dropped_percentage`, and `views`. Example: * `metric_filters[]=aggregate_startup_time>=1000` */
|
|
878
|
+
metric_filters__?: ListErrorsRequestMetricFiltersList | undefined;
|
|
879
|
+
/** Timeframe window to limit results by. Must be provided as an array query string parameter (e.g. timeframe[]=). Accepted formats are... * array of epoch timestamps e.g. `timeframe[]=1498867200&timeframe[]=1498953600` * duration string e.g. `timeframe[]=24:hours or timeframe[]=7:days` */
|
|
880
|
+
timeframe__?: ListErrorsRequestTimeframeList | undefined;
|
|
881
|
+
}
|
|
882
|
+
export interface Error {
|
|
883
|
+
/** A unique identifier for this error. */
|
|
884
|
+
id: number;
|
|
885
|
+
/** The percentage of views that experienced this error. */
|
|
886
|
+
percentage: number;
|
|
887
|
+
/** Notes that are attached to this error. */
|
|
888
|
+
notes: string | null;
|
|
889
|
+
/** The error message. */
|
|
890
|
+
message: string | null;
|
|
891
|
+
/** The last time this error was seen (ISO 8601 timestamp). */
|
|
892
|
+
last_seen: string;
|
|
893
|
+
/** Description of the error. */
|
|
894
|
+
description: string | null;
|
|
895
|
+
/** The total number of views that experienced this error. */
|
|
896
|
+
count: number;
|
|
897
|
+
/** The error code */
|
|
898
|
+
code: number | null;
|
|
899
|
+
/** The string version of the error code */
|
|
900
|
+
player_error_code: string | null;
|
|
901
|
+
}
|
|
902
|
+
export type ListErrorsResponseDataList = Array<Error>;
|
|
903
|
+
export type ListErrorsResponseTimeframeList = Array<number>;
|
|
904
|
+
export interface ListErrorsResponse {
|
|
905
|
+
data: ListErrorsResponseDataList;
|
|
906
|
+
total_row_count: number | null;
|
|
907
|
+
timeframe: ListErrorsResponseTimeframeList;
|
|
908
|
+
}
|
|
909
|
+
export interface ListExportsViewsRequest {
|
|
910
|
+
}
|
|
911
|
+
export interface ExportFile {
|
|
912
|
+
version: number;
|
|
913
|
+
type: string;
|
|
914
|
+
path: string;
|
|
915
|
+
}
|
|
916
|
+
export type ExportDateFilesList = Array<ExportFile>;
|
|
917
|
+
export interface ExportDate {
|
|
918
|
+
export_date: string;
|
|
919
|
+
files: ExportDateFilesList;
|
|
920
|
+
}
|
|
921
|
+
export type ListVideoViewExportsResponseDataList = Array<ExportDate>;
|
|
922
|
+
export type ListVideoViewExportsResponseTimeframeList = Array<number>;
|
|
923
|
+
export interface ListVideoViewExportsResponse {
|
|
924
|
+
data: ListVideoViewExportsResponseDataList;
|
|
925
|
+
total_row_count: number | null;
|
|
926
|
+
timeframe: ListVideoViewExportsResponseTimeframeList;
|
|
927
|
+
}
|
|
928
|
+
export type ListIncidentsRequestOrderBy = "negative_impact" | "value" | "views" | "field";
|
|
929
|
+
export type ListIncidentsRequestOrderDirection = "asc" | "desc";
|
|
930
|
+
export type ListIncidentsRequestStatus = "open" | "closed" | "expired";
|
|
931
|
+
export type ListIncidentsRequestSeverity = "warning" | "alert";
|
|
932
|
+
export interface ListIncidentsRequest {
|
|
933
|
+
/** Number of items to include in the response */
|
|
934
|
+
limit?: number | undefined;
|
|
935
|
+
/** Offset by this many pages, of the size of `limit` */
|
|
936
|
+
page?: number | undefined;
|
|
937
|
+
/** Value to order the results by */
|
|
938
|
+
order_by?: ListIncidentsRequestOrderBy | (string & {}) | undefined;
|
|
939
|
+
/** Sort order. */
|
|
940
|
+
order_direction?: ListIncidentsRequestOrderDirection | (string & {}) | undefined;
|
|
941
|
+
/** Status to filter incidents by */
|
|
942
|
+
status?: ListIncidentsRequestStatus | (string & {}) | undefined;
|
|
943
|
+
/** Severity to filter incidents by */
|
|
944
|
+
severity?: ListIncidentsRequestSeverity | (string & {}) | undefined;
|
|
945
|
+
}
|
|
946
|
+
export type ListIncidentsResponseDataList = Array<Incident>;
|
|
947
|
+
export type ListIncidentsResponseTimeframeList = Array<number>;
|
|
948
|
+
export interface ListIncidentsResponse {
|
|
949
|
+
data: ListIncidentsResponseDataList;
|
|
950
|
+
total_row_count: number | null;
|
|
951
|
+
timeframe: ListIncidentsResponseTimeframeList;
|
|
952
|
+
}
|
|
953
|
+
export type ListInsightsRequestMETRICID = "aggregate_startup_time" | "downscale_percentage" | "exits_before_video_start" | "live_stream_latency" | "max_downscale_percentage" | "max_request_latency" | "max_upscale_percentage" | "page_load_time" | "playback_failure_percentage" | "playback_success_score" | "player_startup_time" | "playing_time" | "rebuffer_count" | "rebuffer_duration" | "rebuffer_frequency" | "rebuffer_percentage" | "request_latency" | "request_throughput" | "rebuffer_score" | "requests_for_first_preroll" | "seek_latency" | "startup_time_score" | "unique_viewers" | "upscale_percentage" | "video_quality_score" | "video_startup_preroll_load_time" | "video_startup_preroll_request_time" | "video_startup_time" | "viewer_experience_score" | "views" | "weighted_average_bitrate" | "video_startup_failure_percentage" | "ad_attempt_count" | "ad_break_count" | "ad_break_error_count" | "ad_break_error_percentage" | "ad_error_count" | "ad_error_percentage" | "ad_exit_before_start_count" | "ad_exit_before_start_percentage" | "ad_impression_count" | "ad_startup_error_count" | "ad_startup_error_percentage" | "playback_business_exception_percentage" | "video_startup_business_exception_percentage" | "view_content_startup_time" | "ad_preroll_startup_time" | "view_dropped_percentage" | "rendition_change_count" | "rendition_upshift_count" | "rendition_downshift_count";
|
|
954
|
+
export type ListInsightsRequestMeasurement = "95th" | "median" | "avg" | "count" | "sum";
|
|
955
|
+
export type ListInsightsRequestOrderDirection = "asc" | "desc";
|
|
956
|
+
export type ListInsightsRequestTimeframeList = Array<string>;
|
|
957
|
+
export type ListInsightsRequestFiltersList = Array<string>;
|
|
958
|
+
export type ListInsightsRequestMetricFiltersList = Array<string>;
|
|
959
|
+
export interface ListInsightsRequest {
|
|
960
|
+
/** ID of the Metric */
|
|
961
|
+
METRIC_ID: ListInsightsRequestMETRICID | (string & {});
|
|
962
|
+
/** Measurement for the provided metric. If omitted, the default for the metric will be used. The default measurement for each metric is: "sum" : `ad_attempt_count`, `ad_break_count`, `ad_break_error_count`, `ad_error_count`, `ad_impression_count`, `playing_time` "median" : `ad_preroll_startup_time`, `aggregate_startup_time`, `content_startup_time`, `max_downscale_percentage`, `max_upscale_percentage`, `page_load_time`, `player_average_live_latency`, `player_startup_time`, `rebuffer_count`, `rebuffer_duration`, `requests_for_first_preroll`, `video_startup_preroll_load_time`, `video_startup_preroll_request_time`, `video_startup_time`, `view_average_request_latency`, `view_average_request_throughput`, `view_max_request_latency`, `weighted_average_bitrate` "avg" : `ad_break_error_percentage`, `ad_error_percentage`, `ad_exit_before_start_count`, `ad_exit_before_start_percentage`, `ad_playback_failure_percentage`, `ad_startup_error_count`, `ad_startup_error_percentage`, `content_playback_failure_percentage`, `downscale_percentage`, `exits_before_video_start`, `playback_business_exception_percentage`, `playback_failure_percentage`, `playback_success_score`, `rebuffer_frequency`, `rebuffer_percentage`, `seek_latency`, `smoothness_score`, `startup_time_score`, `upscale_percentage`, `video_quality_score`, `video_startup_business_exception_percentage`, `video_startup_failure_percentage`, `view_dropped_percentage`, `viewer_experience_score` "count" : `started_views`, `unique_viewers` */
|
|
963
|
+
measurement?: ListInsightsRequestMeasurement | (string & {}) | undefined;
|
|
964
|
+
/** Sort order. */
|
|
965
|
+
order_direction?: ListInsightsRequestOrderDirection | (string & {}) | undefined;
|
|
966
|
+
/** Timeframe window to limit results by. Must be provided as an array query string parameter (e.g. timeframe[]=). Accepted formats are... * array of epoch timestamps e.g. `timeframe[]=1498867200&timeframe[]=1498953600` * duration string e.g. `timeframe[]=24:hours or timeframe[]=7:days` */
|
|
967
|
+
timeframe__?: ListInsightsRequestTimeframeList | undefined;
|
|
968
|
+
/** Filter results using key:value pairs. Must be provided as an array query string parameter. **Basic filtering:** * `filters[]=dimension:value` - Include rows where dimension equals value * `filters[]=!dimension:value` - Exclude rows where dimension equals value **For trace dimensions (like video_cdn_trace):** * `filters[]=+dimension:value` - Include rows where trace contains value * `filters[]=-dimension:value` - Exclude rows where trace contains value * `filters[]=dimension:[value1,value2]` - Exact trace match **Examples:** * `filters[]=country:US` - US views only * `filters[]=+video_cdn_trace:fastly` - Views using Fastly CDN */
|
|
969
|
+
filters__?: ListInsightsRequestFiltersList | undefined;
|
|
970
|
+
/** Limit the results to rows that match inequality conditions from provided metric comparison clauses. Must be provided as an array query string parameter. Possible filterable metrics are the same as the set of metric ids, with the exceptions of `exits_before_video_start`, `unique_viewers`, `video_startup_failure_percentage`, `view_dropped_percentage`, and `views`. Example: * `metric_filters[]=aggregate_startup_time>=1000` */
|
|
971
|
+
metric_filters__?: ListInsightsRequestMetricFiltersList | undefined;
|
|
972
|
+
}
|
|
973
|
+
export interface Insight {
|
|
974
|
+
total_watch_time: number | null;
|
|
975
|
+
total_playing_time: number | null;
|
|
976
|
+
total_views: number;
|
|
977
|
+
negative_impact_score: number;
|
|
978
|
+
metric: number;
|
|
979
|
+
filter_value: string | null;
|
|
980
|
+
filter_column: string;
|
|
981
|
+
}
|
|
982
|
+
export type ListInsightsResponseDataList = Array<Insight>;
|
|
983
|
+
export type ListInsightsResponseTimeframeList = Array<number>;
|
|
984
|
+
export type ListInsightsResponseMeta = GetMetricTimeseriesDataResponseMeta;
|
|
985
|
+
export interface ListInsightsResponse {
|
|
986
|
+
data: ListInsightsResponseDataList;
|
|
987
|
+
total_row_count: number;
|
|
988
|
+
timeframe: ListInsightsResponseTimeframeList;
|
|
989
|
+
meta: GetMetricTimeseriesDataResponseMeta;
|
|
990
|
+
}
|
|
991
|
+
export interface ListMonitoringDimensionsRequest {
|
|
992
|
+
}
|
|
993
|
+
export interface ListMonitoringDimensionsResponseDataItem {
|
|
994
|
+
name: string;
|
|
995
|
+
display_name: string;
|
|
996
|
+
}
|
|
997
|
+
export type ListMonitoringDimensionsResponseDataList = Array<ListMonitoringDimensionsResponseDataItem>;
|
|
998
|
+
export type ListMonitoringDimensionsResponseTimeframeList = Array<number>;
|
|
999
|
+
export interface ListMonitoringDimensionsResponse {
|
|
1000
|
+
data: ListMonitoringDimensionsResponseDataList;
|
|
1001
|
+
total_row_count: number | null;
|
|
1002
|
+
timeframe: ListMonitoringDimensionsResponseTimeframeList;
|
|
1003
|
+
}
|
|
1004
|
+
export interface ListMonitoringMetricsRequest {
|
|
1005
|
+
}
|
|
1006
|
+
export type ListMonitoringMetricsResponseDataItem = ListMonitoringDimensionsResponseDataItem;
|
|
1007
|
+
export type ListMonitoringMetricsResponseDataList = Array<ListMonitoringDimensionsResponseDataItem>;
|
|
1008
|
+
export type ListMonitoringMetricsResponseTimeframeList = Array<number>;
|
|
1009
|
+
export interface ListMonitoringMetricsResponse {
|
|
1010
|
+
data: ListMonitoringMetricsResponseDataList;
|
|
1011
|
+
total_row_count: number | null;
|
|
1012
|
+
timeframe: ListMonitoringMetricsResponseTimeframeList;
|
|
1013
|
+
}
|
|
1014
|
+
export type ListRelatedIncidentsRequestOrderBy = "negative_impact" | "value" | "views" | "field";
|
|
1015
|
+
export type ListRelatedIncidentsRequestOrderDirection = "asc" | "desc";
|
|
1016
|
+
export interface ListRelatedIncidentsRequest {
|
|
1017
|
+
/** ID of the Incident */
|
|
1018
|
+
INCIDENT_ID: string;
|
|
1019
|
+
/** Number of items to include in the response */
|
|
1020
|
+
limit?: number | undefined;
|
|
1021
|
+
/** Offset by this many pages, of the size of `limit` */
|
|
1022
|
+
page?: number | undefined;
|
|
1023
|
+
/** Value to order the results by */
|
|
1024
|
+
order_by?: ListRelatedIncidentsRequestOrderBy | (string & {}) | undefined;
|
|
1025
|
+
/** Sort order. */
|
|
1026
|
+
order_direction?: ListRelatedIncidentsRequestOrderDirection | (string & {}) | undefined;
|
|
1027
|
+
}
|
|
1028
|
+
export type ListRelatedIncidentsResponseDataList = Array<Incident>;
|
|
1029
|
+
export type ListRelatedIncidentsResponseTimeframeList = Array<number>;
|
|
1030
|
+
export interface ListRelatedIncidentsResponse {
|
|
1031
|
+
data: ListRelatedIncidentsResponseDataList;
|
|
1032
|
+
total_row_count: number | null;
|
|
1033
|
+
timeframe: ListRelatedIncidentsResponseTimeframeList;
|
|
1034
|
+
}
|
|
1035
|
+
export type ListSubviewBreakdownValuesRequestMETRICID = "playing_time";
|
|
1036
|
+
export type ListSubviewBreakdownValuesRequestSUBVIEWTYPE = "rendition" | "playback_mode";
|
|
1037
|
+
export type ListSubviewBreakdownValuesRequestTimeframeList = Array<string>;
|
|
1038
|
+
export type ListSubviewBreakdownValuesRequestFiltersList = Array<string>;
|
|
1039
|
+
export type ListSubviewBreakdownValuesRequestGroupByItem = "video_source_bitrate" | "video_source_width" | "video_source_height" | "video_source_fps" | "video_source_codec" | "video_source_rendition_name";
|
|
1040
|
+
export type ListSubviewBreakdownValuesRequestGroupByList = Array<ListSubviewBreakdownValuesRequestGroupByItem | (string & {})>;
|
|
1041
|
+
export interface ListSubviewBreakdownValuesRequest {
|
|
1042
|
+
/** ID of the metric to compute over subviews. Additional metrics may be added over time. */
|
|
1043
|
+
METRIC_ID: ListSubviewBreakdownValuesRequestMETRICID | (string & {});
|
|
1044
|
+
/** The subview type to query. */
|
|
1045
|
+
SUBVIEW_TYPE: ListSubviewBreakdownValuesRequestSUBVIEWTYPE | (string & {});
|
|
1046
|
+
/** Timeframe window to limit results by. Must be provided as an array query string parameter (e.g. timeframe[]=). Accepted formats are... * array of epoch timestamps e.g. `timeframe[]=1498867200&timeframe[]=1498953600` * duration string e.g. `timeframe[]=24:hours or timeframe[]=7:days` */
|
|
1047
|
+
timeframe__?: ListSubviewBreakdownValuesRequestTimeframeList | undefined;
|
|
1048
|
+
/** Filter results using key:value pairs. Must be provided as an array query string parameter. The set of filterable dimensions is distinct from the main Data API's dimensions, and depends on the subview type -- see the List Subview Dimensions endpoint for the valid names. * `filters[]=dimension:value` - Include rows where dimension equals value * `filters[]=!dimension:value` - Exclude rows where dimension equals value * `filters[]=dimension:__empty__` - Include rows where the dimension has no value Example: `filters[]=country:US` */
|
|
1049
|
+
filters__?: ListSubviewBreakdownValuesRequestFiltersList | undefined;
|
|
1050
|
+
/** Subview attributes to group the results by. Must be provided as an array query string parameter. Currently only supported for the `rendition` subview type, as any combination of the 6 enum values below. If omitted, defaults to grouping by every attribute available for the subview type. */
|
|
1051
|
+
group_by__?: ListSubviewBreakdownValuesRequestGroupByList | undefined;
|
|
1052
|
+
/** Number of breakdown rows to include in the response. */
|
|
1053
|
+
limit?: number | undefined;
|
|
1054
|
+
/** Offset by this many pages, of the size of `limit` */
|
|
1055
|
+
page?: number | undefined;
|
|
1056
|
+
}
|
|
1057
|
+
export type ListSubviewBreakdownValuesResponseDataList = Array<SubviewBreakdownValue>;
|
|
1058
|
+
export type ListSubviewBreakdownValuesResponseMetaGroupByList = Array<string>;
|
|
1059
|
+
export interface ListSubviewBreakdownValuesResponseMeta {
|
|
1060
|
+
subview_type: string;
|
|
1061
|
+
metric: string;
|
|
1062
|
+
unit: string;
|
|
1063
|
+
group_by: ListSubviewBreakdownValuesResponseMetaGroupByList;
|
|
1064
|
+
}
|
|
1065
|
+
export type ListSubviewBreakdownValuesResponseTimeframeList = Array<number>;
|
|
1066
|
+
export interface ListSubviewBreakdownValuesResponse {
|
|
1067
|
+
data: ListSubviewBreakdownValuesResponseDataList;
|
|
1068
|
+
meta: ListSubviewBreakdownValuesResponseMeta;
|
|
1069
|
+
total_row_count: number;
|
|
1070
|
+
timeframe: ListSubviewBreakdownValuesResponseTimeframeList;
|
|
1071
|
+
}
|
|
1072
|
+
export type ListSubviewComparisonValuesRequestMETRICID = "playing_time";
|
|
1073
|
+
export type ListSubviewComparisonValuesRequestSUBVIEWTYPE = "rendition" | "playback_mode";
|
|
1074
|
+
export type ListSubviewComparisonValuesRequestTimeframeList = Array<string>;
|
|
1075
|
+
export type ListSubviewComparisonValuesRequestFiltersList = Array<string>;
|
|
1076
|
+
export type ListSubviewComparisonValuesRequestValuesList = Array<string>;
|
|
1077
|
+
export type ListSubviewComparisonValuesRequestGroupByItem = "video_source_bitrate" | "video_source_width" | "video_source_height" | "video_source_fps" | "video_source_codec" | "video_source_rendition_name";
|
|
1078
|
+
export type ListSubviewComparisonValuesRequestGroupByList = Array<ListSubviewComparisonValuesRequestGroupByItem | (string & {})>;
|
|
1079
|
+
export interface ListSubviewComparisonValuesRequest {
|
|
1080
|
+
/** ID of the metric to compute over subviews. Additional metrics may be added over time. */
|
|
1081
|
+
METRIC_ID: ListSubviewComparisonValuesRequestMETRICID | (string & {});
|
|
1082
|
+
/** The subview type to query. */
|
|
1083
|
+
SUBVIEW_TYPE: ListSubviewComparisonValuesRequestSUBVIEWTYPE | (string & {});
|
|
1084
|
+
/** Name of the dimension to compare across. See the List Subview Dimensions endpoint for the valid values for a given subview type. */
|
|
1085
|
+
dimension: string;
|
|
1086
|
+
/** Timeframe window to limit results by. Must be provided as an array query string parameter (e.g. timeframe[]=). Accepted formats are... * array of epoch timestamps e.g. `timeframe[]=1498867200&timeframe[]=1498953600` * duration string e.g. `timeframe[]=24:hours or timeframe[]=7:days` */
|
|
1087
|
+
timeframe__?: ListSubviewComparisonValuesRequestTimeframeList | undefined;
|
|
1088
|
+
/** Filter results using key:value pairs. Must be provided as an array query string parameter. The set of filterable dimensions is distinct from the main Data API's dimensions, and depends on the subview type -- see the List Subview Dimensions endpoint for the valid names. * `filters[]=dimension:value` - Include rows where dimension equals value * `filters[]=!dimension:value` - Exclude rows where dimension equals value * `filters[]=dimension:__empty__` - Include rows where the dimension has no value Example: `filters[]=country:US` */
|
|
1089
|
+
filters__?: ListSubviewComparisonValuesRequestFiltersList | undefined;
|
|
1090
|
+
/** The dimension values to compare, up to 4. Must be provided as an array query string parameter. Use `__empty__` to select subviews where the dimension has no value. Example: `values[]=US&values[]=FR` */
|
|
1091
|
+
values__: ListSubviewComparisonValuesRequestValuesList;
|
|
1092
|
+
/** Subview attributes to group the results by. Must be provided as an array query string parameter. Currently only supported for the `rendition` subview type, as any combination of the 6 enum values below. If omitted, defaults to grouping by every attribute available for the subview type. */
|
|
1093
|
+
group_by__?: ListSubviewComparisonValuesRequestGroupByList | undefined;
|
|
1094
|
+
/** Number of breakdown rows to include per selected dimension value. */
|
|
1095
|
+
breakdown_value_limit?: number | undefined;
|
|
1096
|
+
}
|
|
1097
|
+
export type SubviewComparisonGroupValuesList = Array<SubviewBreakdownValue>;
|
|
1098
|
+
export interface SubviewComparisonGroup {
|
|
1099
|
+
dimension_value: string;
|
|
1100
|
+
values: SubviewComparisonGroupValuesList;
|
|
1101
|
+
}
|
|
1102
|
+
export type ListSubviewComparisonValuesResponseDataList = Array<SubviewComparisonGroup>;
|
|
1103
|
+
export type ListSubviewComparisonValuesResponseMetaGroupByList = Array<string>;
|
|
1104
|
+
export interface ListSubviewComparisonValuesResponseMeta {
|
|
1105
|
+
subview_type: string;
|
|
1106
|
+
metric: string;
|
|
1107
|
+
unit: string;
|
|
1108
|
+
dimension: string;
|
|
1109
|
+
group_by: ListSubviewComparisonValuesResponseMetaGroupByList;
|
|
1110
|
+
}
|
|
1111
|
+
export type ListSubviewComparisonValuesResponseTimeframeList = Array<number>;
|
|
1112
|
+
export interface ListSubviewComparisonValuesResponse {
|
|
1113
|
+
data: ListSubviewComparisonValuesResponseDataList;
|
|
1114
|
+
meta: ListSubviewComparisonValuesResponseMeta;
|
|
1115
|
+
/** Number of dimension-value groups in `data`. */
|
|
1116
|
+
total_row_count: number;
|
|
1117
|
+
timeframe: ListSubviewComparisonValuesResponseTimeframeList;
|
|
1118
|
+
}
|
|
1119
|
+
export type ListSubviewDimensionsRequestSUBVIEWTYPE = "rendition" | "playback_mode";
|
|
1120
|
+
export interface ListSubviewDimensionsRequest {
|
|
1121
|
+
/** The subview type to query. */
|
|
1122
|
+
SUBVIEW_TYPE: ListSubviewDimensionsRequestSUBVIEWTYPE | (string & {});
|
|
1123
|
+
}
|
|
1124
|
+
export type ListSubviewDimensionsResponseDataViewList = Array<string>;
|
|
1125
|
+
export type ListSubviewDimensionsResponseDataSubviewList = Array<string>;
|
|
1126
|
+
export interface ListSubviewDimensionsResponseData {
|
|
1127
|
+
view: ListSubviewDimensionsResponseDataViewList;
|
|
1128
|
+
subview: ListSubviewDimensionsResponseDataSubviewList;
|
|
1129
|
+
}
|
|
1130
|
+
export interface ListSubviewDimensionsResponse {
|
|
1131
|
+
data: ListSubviewDimensionsResponseData;
|
|
1132
|
+
/** Always `null` for this endpoint, matching `GET /data/v1/dimensions`, which also never computes a row count. */
|
|
1133
|
+
total_row_count: number | null;
|
|
1134
|
+
}
|
|
1135
|
+
export type ListSubviewDimensionValuesRequestSUBVIEWTYPE = "rendition" | "playback_mode";
|
|
1136
|
+
export type ListSubviewDimensionValuesRequestTimeframeList = Array<string>;
|
|
1137
|
+
export type ListSubviewDimensionValuesRequestFiltersList = Array<string>;
|
|
1138
|
+
export type ListSubviewDimensionValuesRequestOrderBy = "playing_time" | "value";
|
|
1139
|
+
export type ListSubviewDimensionValuesRequestOrderDirection = "asc" | "desc";
|
|
1140
|
+
export interface ListSubviewDimensionValuesRequest {
|
|
1141
|
+
/** The subview type to query. */
|
|
1142
|
+
SUBVIEW_TYPE: ListSubviewDimensionValuesRequestSUBVIEWTYPE | (string & {});
|
|
1143
|
+
/** Name of the dimension. See the List Subview Dimensions endpoint for the valid values for a given subview type. */
|
|
1144
|
+
DIMENSION_NAME: string;
|
|
1145
|
+
/** Timeframe window to limit results by. Must be provided as an array query string parameter (e.g. timeframe[]=). Accepted formats are... * array of epoch timestamps e.g. `timeframe[]=1498867200&timeframe[]=1498953600` * duration string e.g. `timeframe[]=24:hours or timeframe[]=7:days` */
|
|
1146
|
+
timeframe__?: ListSubviewDimensionValuesRequestTimeframeList | undefined;
|
|
1147
|
+
/** Filter results using key:value pairs. Must be provided as an array query string parameter. The set of filterable dimensions is distinct from the main Data API's dimensions, and depends on the subview type -- see the List Subview Dimensions endpoint for the valid names. * `filters[]=dimension:value` - Include rows where dimension equals value * `filters[]=!dimension:value` - Exclude rows where dimension equals value * `filters[]=dimension:__empty__` - Include rows where the dimension has no value Example: `filters[]=country:US` */
|
|
1148
|
+
filters__?: ListSubviewDimensionValuesRequestFiltersList | undefined;
|
|
1149
|
+
/** Number of items to include in the response. */
|
|
1150
|
+
limit?: number | undefined;
|
|
1151
|
+
/** Offset by this many pages, of the size of `limit` */
|
|
1152
|
+
page?: number | undefined;
|
|
1153
|
+
/** Value to order the results by. */
|
|
1154
|
+
order_by?: ListSubviewDimensionValuesRequestOrderBy | (string & {}) | undefined;
|
|
1155
|
+
/** Sort order. */
|
|
1156
|
+
order_direction?: ListSubviewDimensionValuesRequestOrderDirection | (string & {}) | undefined;
|
|
1157
|
+
/** Only return dimension values containing this substring. */
|
|
1158
|
+
query?: string | undefined;
|
|
1159
|
+
}
|
|
1160
|
+
export interface SubviewDimensionValue {
|
|
1161
|
+
value: string;
|
|
1162
|
+
playing_time: number;
|
|
1163
|
+
}
|
|
1164
|
+
export type ListSubviewDimensionValuesResponseDataList = Array<SubviewDimensionValue>;
|
|
1165
|
+
export interface ListSubviewDimensionValuesResponseMeta {
|
|
1166
|
+
subview_type: string;
|
|
1167
|
+
metric: string;
|
|
1168
|
+
unit: string;
|
|
1169
|
+
dimension_name: string;
|
|
1170
|
+
}
|
|
1171
|
+
export type ListSubviewDimensionValuesResponseTimeframeList = Array<number>;
|
|
1172
|
+
export interface ListSubviewDimensionValuesResponse {
|
|
1173
|
+
data: ListSubviewDimensionValuesResponseDataList;
|
|
1174
|
+
meta: ListSubviewDimensionValuesResponseMeta;
|
|
1175
|
+
total_row_count: number;
|
|
1176
|
+
timeframe: ListSubviewDimensionValuesResponseTimeframeList;
|
|
1177
|
+
}
|
|
1178
|
+
export type ListVideoViewsRequestOrderDirection = "asc" | "desc";
|
|
1179
|
+
export type ListVideoViewsRequestFiltersList = Array<string>;
|
|
1180
|
+
export type ListVideoViewsRequestMetricFiltersList = Array<string>;
|
|
1181
|
+
export type ListVideoViewsRequestTimeframeList = Array<string>;
|
|
1182
|
+
export interface ListVideoViewsRequest {
|
|
1183
|
+
/** Number of items to include in the response */
|
|
1184
|
+
limit?: number | undefined;
|
|
1185
|
+
/** Offset by this many pages, of the size of `limit` */
|
|
1186
|
+
page?: number | undefined;
|
|
1187
|
+
/** Viewer ID to filter results by. This value may be provided by the integration, or may be created by Mux. */
|
|
1188
|
+
viewer_id?: string | undefined;
|
|
1189
|
+
/** Filter video views by the provided error ID (as returned in the error_type_id field in the list video views endpoint). If you provide any as the error ID, this will filter the results to those with any error. */
|
|
1190
|
+
error_id?: number | undefined;
|
|
1191
|
+
/** Sort order. */
|
|
1192
|
+
order_direction?: ListVideoViewsRequestOrderDirection | (string & {}) | undefined;
|
|
1193
|
+
/** Filter results using key:value pairs. Must be provided as an array query string parameter. **Basic filtering:** * `filters[]=dimension:value` - Include rows where dimension equals value * `filters[]=!dimension:value` - Exclude rows where dimension equals value **For trace dimensions (like video_cdn_trace):** * `filters[]=+dimension:value` - Include rows where trace contains value * `filters[]=-dimension:value` - Exclude rows where trace contains value * `filters[]=dimension:[value1,value2]` - Exact trace match **Examples:** * `filters[]=country:US` - US views only * `filters[]=+video_cdn_trace:fastly` - Views using Fastly CDN */
|
|
1194
|
+
filters__?: ListVideoViewsRequestFiltersList | undefined;
|
|
1195
|
+
/** Limit the results to rows that match inequality conditions from provided metric comparison clauses. Must be provided as an array query string parameter. Possible filterable metrics are the same as the set of metric ids, with the exceptions of `exits_before_video_start`, `unique_viewers`, `video_startup_failure_percentage`, `view_dropped_percentage`, and `views`. Example: * `metric_filters[]=aggregate_startup_time>=1000` */
|
|
1196
|
+
metric_filters__?: ListVideoViewsRequestMetricFiltersList | undefined;
|
|
1197
|
+
/** Timeframe window to limit results by. Must be provided as an array query string parameter (e.g. timeframe[]=). Accepted formats are... * array of epoch timestamps e.g. `timeframe[]=1498867200&timeframe[]=1498953600` * duration string e.g. `timeframe[]=24:hours or timeframe[]=7:days` */
|
|
1198
|
+
timeframe__?: ListVideoViewsRequestTimeframeList | undefined;
|
|
1199
|
+
}
|
|
1200
|
+
export interface AbridgedVideoView {
|
|
1201
|
+
id: string;
|
|
1202
|
+
viewer_os_family: string | null;
|
|
1203
|
+
viewer_application_name: string | null;
|
|
1204
|
+
video_title: string | null;
|
|
1205
|
+
total_row_count: number;
|
|
1206
|
+
player_error_message: string | null;
|
|
1207
|
+
player_error_code: string | null;
|
|
1208
|
+
error_type_id: number | null;
|
|
1209
|
+
country_code: string | null;
|
|
1210
|
+
view_start: string;
|
|
1211
|
+
view_end: string;
|
|
1212
|
+
viewer_experience_score: number | null;
|
|
1213
|
+
watch_time: number | null;
|
|
1214
|
+
playback_failure: boolean;
|
|
1215
|
+
}
|
|
1216
|
+
export type ListVideoViewsResponseDataList = Array<AbridgedVideoView>;
|
|
1217
|
+
export type ListVideoViewsResponseTimeframeList = Array<number>;
|
|
1218
|
+
export interface ListVideoViewsResponse {
|
|
1219
|
+
data: ListVideoViewsResponseDataList;
|
|
1220
|
+
total_row_count: number | null;
|
|
1221
|
+
timeframe: ListVideoViewsResponseTimeframeList;
|
|
1222
|
+
}
|
|
1223
|
+
export interface UpdateAnnotationRequest {
|
|
1224
|
+
/** The annotation ID */
|
|
1225
|
+
ANNOTATION_ID: string;
|
|
1226
|
+
/** The annotation note content */
|
|
1227
|
+
note: string;
|
|
1228
|
+
/** Datetime when the annotation applies (Unix timestamp) */
|
|
1229
|
+
date: number;
|
|
1230
|
+
/** Customer-defined sub-property identifier */
|
|
1231
|
+
sub_property_id?: string | undefined;
|
|
1232
|
+
}
|
|
1233
|
+
export type CreateAnnotationError = MuxOpError;
|
|
1234
|
+
/** Create Annotation Creates a new annotation. */
|
|
1235
|
+
export declare const createAnnotation: API.OperationMethod<CreateAnnotationRequest, AnnotationResponse, CreateAnnotationError, MuxOpContext>;
|
|
1236
|
+
export type DeleteAnnotationError = MuxOpError;
|
|
1237
|
+
/** Delete Annotation Deletes an annotation. */
|
|
1238
|
+
export declare const deleteAnnotation: API.OperationMethod<DeleteAnnotationRequest, DeleteAnnotationResponse, DeleteAnnotationError, MuxOpContext>;
|
|
1239
|
+
export type GetAnnotationError = MuxOpError;
|
|
1240
|
+
/** Get Annotation Returns the details of a specific annotation. */
|
|
1241
|
+
export declare const getAnnotation: API.OperationMethod<GetAnnotationRequest, AnnotationResponse, GetAnnotationError, MuxOpContext>;
|
|
1242
|
+
export type GetEngagementHeatmapAssetError = MuxOpError;
|
|
1243
|
+
/** Get Engagement Heatmap for an Asset Returns the engagement heatmap for an asset. The heatmap is an array of per-bucket engagement values across the content timeline, where the number of buckets scales with the content duration. Each value represents how engaged viewers were with that portion of the content. */
|
|
1244
|
+
export declare const getEngagementHeatmapAsset: API.OperationMethod<GetEngagementHeatmapAssetRequest, GetEngagementHeatmapResponse, GetEngagementHeatmapAssetError, MuxOpContext>;
|
|
1245
|
+
export type GetEngagementHeatmapPlaybackIdError = MuxOpError;
|
|
1246
|
+
/** Get Engagement Heatmap for a Playback ID Returns the engagement heatmap for a playback ID. The heatmap is an array of per-bucket engagement values across the content timeline, where the number of buckets scales with the content duration. Each value represents how engaged viewers were with that portion of the content. This only covers views for this specific playback ID; to analyze the entire asset across all of its playback IDs, use the asset ID or video ID endpoint instead. */
|
|
1247
|
+
export declare const getEngagementHeatmapPlaybackId: API.OperationMethod<GetEngagementHeatmapPlaybackIdRequest, GetEngagementHeatmapResponse, GetEngagementHeatmapPlaybackIdError, MuxOpContext>;
|
|
1248
|
+
export type GetEngagementHeatmapVideoError = MuxOpError;
|
|
1249
|
+
/** Get Engagement Heatmap for a Video Returns the engagement heatmap for a video. The heatmap is an array of per-bucket engagement values across the content timeline, where the number of buckets scales with the content duration. Each value represents how engaged viewers were with that portion of the content. */
|
|
1250
|
+
export declare const getEngagementHeatmapVideo: API.OperationMethod<GetEngagementHeatmapVideoRequest, GetEngagementHeatmapResponse, GetEngagementHeatmapVideoError, MuxOpContext>;
|
|
1251
|
+
export type GetEngagementHotspotsAssetError = MuxOpError;
|
|
1252
|
+
/** Get Engagement Hotspots for an Asset Returns the engagement hotspots for an asset. Hotspots are the most or least engaging moments of the content, each described by a start and end time (in milliseconds) and a score between 0 and 1. Set `order_direction` to `asc` to return the least engaging moments (cold spots). */
|
|
1253
|
+
export declare const getEngagementHotspotsAsset: API.OperationMethod<GetEngagementHotspotsAssetRequest, GetEngagementHotspotsResponse, GetEngagementHotspotsAssetError, MuxOpContext>;
|
|
1254
|
+
export type GetEngagementHotspotsPlaybackIdError = MuxOpError;
|
|
1255
|
+
/** Get Engagement Hotspots for a Playback ID Returns the engagement hotspots for a playback ID. Hotspots are the most or least engaging moments of the content, each described by a start and end time (in milliseconds) and a score between 0 and 1. Set `order_direction` to `asc` to return the least engaging moments (cold spots). This only covers views for this specific playback ID; to analyze the entire asset across all of its playback IDs, use the asset ID or video ID endpoint instead. */
|
|
1256
|
+
export declare const getEngagementHotspotsPlaybackId: API.OperationMethod<GetEngagementHotspotsPlaybackIdRequest, GetEngagementHotspotsResponse, GetEngagementHotspotsPlaybackIdError, MuxOpContext>;
|
|
1257
|
+
export type GetEngagementHotspotsVideoError = MuxOpError;
|
|
1258
|
+
/** Get Engagement Hotspots for a Video Returns the engagement hotspots for a video. Hotspots are the most or least engaging moments of the content, each described by a start and end time (in milliseconds) and a score between 0 and 1. Set `order_direction` to `asc` to return the least engaging moments (cold spots). */
|
|
1259
|
+
export declare const getEngagementHotspotsVideo: API.OperationMethod<GetEngagementHotspotsVideoRequest, GetEngagementHotspotsResponse, GetEngagementHotspotsVideoError, MuxOpContext>;
|
|
1260
|
+
export type GetIncidentError = MuxOpError;
|
|
1261
|
+
/** Get an Incident Returns the details of an incident. */
|
|
1262
|
+
export declare const getIncident: API.OperationMethod<GetIncidentRequest, IncidentResponse, GetIncidentError, MuxOpContext>;
|
|
1263
|
+
export type GetMetricTimeseriesDataError = MuxOpError;
|
|
1264
|
+
/** Get metric timeseries data Returns timeseries data for a specific metric. Each interval represented in the data array contains an array with the following values: * the first element is the interval time * the second element is the calculated metric value * the third element is the number of views in the interval that have a valid metric value */
|
|
1265
|
+
export declare const getMetricTimeseriesData: API.OperationMethod<GetMetricTimeseriesDataRequest, GetMetricTimeseriesDataResponse, GetMetricTimeseriesDataError, MuxOpContext>;
|
|
1266
|
+
export type GetMonitoringBreakdownError = MuxOpError;
|
|
1267
|
+
/** Get Monitoring Breakdown Gets breakdown information for a specific dimension and metric along with the number of concurrent viewers and negative impact score. */
|
|
1268
|
+
export declare const getMonitoringBreakdown: API.OperationMethod<GetMonitoringBreakdownRequest, GetMonitoringBreakdownResponse, GetMonitoringBreakdownError, MuxOpContext>;
|
|
1269
|
+
export type GetMonitoringBreakdownTimeseriesError = MuxOpError;
|
|
1270
|
+
/** Get Monitoring Breakdown Timeseries Gets timeseries of breakdown information for a specific dimension and metric. Each datapoint in the response represents 5 seconds worth of data. */
|
|
1271
|
+
export declare const getMonitoringBreakdownTimeseries: API.OperationMethod<GetMonitoringBreakdownTimeseriesRequest, GetMonitoringBreakdownTimeseriesResponse, GetMonitoringBreakdownTimeseriesError, MuxOpContext>;
|
|
1272
|
+
export type GetMonitoringHistogramTimeseriesError = MuxOpError;
|
|
1273
|
+
/** Get Monitoring Histogram Timeseries Gets histogram timeseries information for a specific metric. */
|
|
1274
|
+
export declare const getMonitoringHistogramTimeseries: API.OperationMethod<GetMonitoringHistogramTimeseriesRequest, GetMonitoringHistogramTimeseriesResponse, GetMonitoringHistogramTimeseriesError, MuxOpContext>;
|
|
1275
|
+
export type GetMonitoringTimeseriesError = MuxOpError;
|
|
1276
|
+
/** Get Monitoring Timeseries Gets Time series information for a specific metric along with the number of concurrent viewers. */
|
|
1277
|
+
export declare const getMonitoringTimeseries: API.OperationMethod<GetMonitoringTimeseriesRequest, GetMonitoringTimeseriesResponse, GetMonitoringTimeseriesError, MuxOpContext>;
|
|
1278
|
+
export type GetOverallValuesError = MuxOpError;
|
|
1279
|
+
/** Get Overall values Returns the overall value for a specific metric, as well as the total view count and watch time. */
|
|
1280
|
+
export declare const getOverallValues: API.OperationMethod<GetOverallValuesRequest, GetOverallValuesResponse, GetOverallValuesError, MuxOpContext>;
|
|
1281
|
+
export type GetSubviewBreakdownTimeseriesError = MuxOpError;
|
|
1282
|
+
/** Get Subview Breakdown Timeseries Returns the metric value broken down by subview attributes over time, bucketed by the requested time granularity. Powers stacked bar chart visualizations. Buckets the data pipeline has not yet finalized are omitted from `data` entirely, rather than zero-filled. Check each entry's `status` and the response's `meta.complete_through` to tell a genuinely-empty bucket apart from one that's still incomplete. */
|
|
1283
|
+
export declare const getSubviewBreakdownTimeseries: API.OperationMethod<GetSubviewBreakdownTimeseriesRequest, GetSubviewBreakdownTimeseriesResponse, GetSubviewBreakdownTimeseriesError, MuxOpContext>;
|
|
1284
|
+
export type GetSubviewOverallValuesError = MuxOpError;
|
|
1285
|
+
/** Get Subview Overall Values Returns the total subview metric value across all views matching the given filters and timeframe. */
|
|
1286
|
+
export declare const getSubviewOverallValues: API.OperationMethod<GetSubviewOverallValuesRequest, GetSubviewOverallValuesResponse, GetSubviewOverallValuesError, MuxOpContext>;
|
|
1287
|
+
export type GetVideoViewError = MuxOpError;
|
|
1288
|
+
/** Get a Video View Returns the details of a video view. */
|
|
1289
|
+
export declare const getVideoView: API.OperationMethod<GetVideoViewRequest, VideoViewResponse, GetVideoViewError, MuxOpContext>;
|
|
1290
|
+
export type ListAllMetricValuesError = MuxOpError;
|
|
1291
|
+
/** List all metric values List all of the values across every breakdown for a specific metric. */
|
|
1292
|
+
export declare const listAllMetricValues: API.OperationMethod<ListAllMetricValuesRequest, ListAllMetricValuesResponse, ListAllMetricValuesError, MuxOpContext>;
|
|
1293
|
+
export type ListAnnotationsError = MuxOpError;
|
|
1294
|
+
/** List Annotations Returns a list of annotations. */
|
|
1295
|
+
export declare const listAnnotations: API.PaginatedOperationMethod<ListAnnotationsRequest, ListAnnotationsResponse, ListAnnotationsError, MuxOpContext, Annotation>;
|
|
1296
|
+
export type ListBreakdownValuesError = MuxOpError;
|
|
1297
|
+
/** List breakdown values List the breakdown values for a specific metric. */
|
|
1298
|
+
export declare const listBreakdownValues: API.PaginatedOperationMethod<ListBreakdownValuesRequest, ListBreakdownValuesResponse, ListBreakdownValuesError, MuxOpContext, BreakdownValue>;
|
|
1299
|
+
export type ListDimensionElementsError = MuxOpError;
|
|
1300
|
+
/** Lists elements for a trace dimension Lists the elements (values) for a trace dimension along with their total counts. This endpoint is specifically designed for trace dimensions like video_cdn_trace that contain arrays of values. */
|
|
1301
|
+
export declare const listDimensionElements: API.PaginatedOperationMethod<ListDimensionElementsRequest, ListDimensionValuesResponse, ListDimensionElementsError, MuxOpContext, DimensionValue>;
|
|
1302
|
+
export type ListDimensionsError = MuxOpError;
|
|
1303
|
+
/** List Dimensions List all available dimensions. Note: This API replaces the list-filters API call. */
|
|
1304
|
+
export declare const listDimensions: API.OperationMethod<ListDimensionsRequest, ListDimensionsResponse, ListDimensionsError, MuxOpContext>;
|
|
1305
|
+
export type ListDimensionValuesError = MuxOpError;
|
|
1306
|
+
/** Lists the values for a specific dimension Lists the values for a dimension along with a total count of related views. Note: This API replaces the list-filter-values API call. */
|
|
1307
|
+
export declare const listDimensionValues: API.PaginatedOperationMethod<ListDimensionValuesRequest, ListDimensionValuesResponse, ListDimensionValuesError, MuxOpContext, DimensionValue>;
|
|
1308
|
+
export type ListErrorsError = MuxOpError;
|
|
1309
|
+
/** List Errors Returns a list of errors. */
|
|
1310
|
+
export declare const listErrors: API.OperationMethod<ListErrorsRequest, ListErrorsResponse, ListErrorsError, MuxOpContext>;
|
|
1311
|
+
export type ListExportsViewsError = MuxOpError;
|
|
1312
|
+
/** List available property view exports Lists the available video view exports along with URLs to retrieve them. */
|
|
1313
|
+
export declare const listExportsViews: API.OperationMethod<ListExportsViewsRequest, ListVideoViewExportsResponse, ListExportsViewsError, MuxOpContext>;
|
|
1314
|
+
export type ListIncidentsError = MuxOpError;
|
|
1315
|
+
/** List Incidents Returns a list of incidents. */
|
|
1316
|
+
export declare const listIncidents: API.PaginatedOperationMethod<ListIncidentsRequest, ListIncidentsResponse, ListIncidentsError, MuxOpContext, Incident>;
|
|
1317
|
+
export type ListInsightsError = MuxOpError;
|
|
1318
|
+
/** List Insights Returns a list of insights for a metric. These are the worst performing values across all breakdowns sorted by how much they negatively impact a specific metric. */
|
|
1319
|
+
export declare const listInsights: API.OperationMethod<ListInsightsRequest, ListInsightsResponse, ListInsightsError, MuxOpContext>;
|
|
1320
|
+
export type ListMonitoringDimensionsError = MuxOpError;
|
|
1321
|
+
/** List Monitoring Dimensions Lists available monitoring dimensions. */
|
|
1322
|
+
export declare const listMonitoringDimensions: API.OperationMethod<ListMonitoringDimensionsRequest, ListMonitoringDimensionsResponse, ListMonitoringDimensionsError, MuxOpContext>;
|
|
1323
|
+
export type ListMonitoringMetricsError = MuxOpError;
|
|
1324
|
+
/** List Monitoring Metrics Lists available monitoring metrics. */
|
|
1325
|
+
export declare const listMonitoringMetrics: API.OperationMethod<ListMonitoringMetricsRequest, ListMonitoringMetricsResponse, ListMonitoringMetricsError, MuxOpContext>;
|
|
1326
|
+
export type ListRelatedIncidentsError = MuxOpError;
|
|
1327
|
+
/** List Related Incidents Returns all the incidents that seem related to a specific incident. */
|
|
1328
|
+
export declare const listRelatedIncidents: API.PaginatedOperationMethod<ListRelatedIncidentsRequest, ListRelatedIncidentsResponse, ListRelatedIncidentsError, MuxOpContext, Incident>;
|
|
1329
|
+
export type ListSubviewBreakdownValuesError = MuxOpError;
|
|
1330
|
+
/** List Subview Breakdown Values Returns the metric value broken down by subview attributes, with each row's percentage of the total. By default, groups by all of the subview type's attributes (for example, every rendition attribute for `rendition` subviews) -- use `group_by[]` to select a subset. */
|
|
1331
|
+
export declare const listSubviewBreakdownValues: API.PaginatedOperationMethod<ListSubviewBreakdownValuesRequest, ListSubviewBreakdownValuesResponse, ListSubviewBreakdownValuesError, MuxOpContext, SubviewBreakdownValue>;
|
|
1332
|
+
export type ListSubviewComparisonValuesError = MuxOpError;
|
|
1333
|
+
/** List Subview Comparison Values Returns the metric value broken down by subview attributes, for each of up to 4 selected values of a given dimension. Powers side-by-side comparisons across dimension values (for example, comparing the rendition breakdown for the US vs. India). */
|
|
1334
|
+
export declare const listSubviewComparisonValues: API.OperationMethod<ListSubviewComparisonValuesRequest, ListSubviewComparisonValuesResponse, ListSubviewComparisonValuesError, MuxOpContext>;
|
|
1335
|
+
export type ListSubviewDimensionsError = MuxOpError;
|
|
1336
|
+
/** List Subview Dimensions Lists the dimensions available for filtering and breaking down subview metrics for the given subview type. `view` dimensions describe the parent video view; `subview` dimensions are specific to the subview type itself (for example, rendition attributes for `rendition` subviews). */
|
|
1337
|
+
export declare const listSubviewDimensions: API.OperationMethod<ListSubviewDimensionsRequest, ListSubviewDimensionsResponse, ListSubviewDimensionsError, MuxOpContext>;
|
|
1338
|
+
export type ListSubviewDimensionValuesError = MuxOpError;
|
|
1339
|
+
/** List Subview Dimension Values Returns the distinct values for a dimension, each annotated with the total playing time across all matching values. Sorted by playing time descending by default. */
|
|
1340
|
+
export declare const listSubviewDimensionValues: API.PaginatedOperationMethod<ListSubviewDimensionValuesRequest, ListSubviewDimensionValuesResponse, ListSubviewDimensionValuesError, MuxOpContext, SubviewDimensionValue>;
|
|
1341
|
+
export type ListVideoViewsError = MuxOpError;
|
|
1342
|
+
/** List Video Views Returns a list of video views which match the filters and have a `view_end` within the specified timeframe. */
|
|
1343
|
+
export declare const listVideoViews: API.PaginatedOperationMethod<ListVideoViewsRequest, ListVideoViewsResponse, ListVideoViewsError, MuxOpContext, AbridgedVideoView>;
|
|
1344
|
+
export type UpdateAnnotationError = MuxOpError;
|
|
1345
|
+
/** Update Annotation Updates an existing annotation. */
|
|
1346
|
+
export declare const updateAnnotation: API.OperationMethod<UpdateAnnotationRequest, AnnotationResponse, UpdateAnnotationError, MuxOpContext>;
|
|
1347
|
+
//# sourceMappingURL=data.d.ts.map
|