Skip to content

Commit 89142e8

Browse files
feat: Additional Standard Dimensions (#319) (#544)
1 parent 98944f3 commit 89142e8

File tree

3 files changed

+67
-3
lines changed

3 files changed

+67
-3
lines changed

.stats.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 88
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/mux%2Fmux-72563ba7ef6a58c08fb7e4297f8fdd741538a0380c6c9f813ab655ab1fcbc05d.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/mux%2Fmux-890a2225edeff31f32254de485652fb874bd69859d6e0f8f261930717d9a6ba2.yml

src/resources/data/metrics.ts

+34-2
Original file line numberDiff line numberDiff line change
@@ -918,7 +918,23 @@ export interface MetricListParams {
918918
| 'viewer_user_id'
919919
| 'ad_playback_failure'
920920
| 'content_playback_failure'
921-
| 'view_dropped';
921+
| 'view_dropped'
922+
| 'client_application_name'
923+
| 'client_application_version'
924+
| 'video_affiliate'
925+
| 'viewer_plan'
926+
| 'viewer_plan_status'
927+
| 'viewer_plan_category'
928+
| 'view_drm_level'
929+
| 'video_brand'
930+
| 'used_pip'
931+
| 'time_shift_enabled'
932+
| 'used_captions'
933+
| 'video_codec'
934+
| 'audio_codec'
935+
| 'video_dynamic_range_type'
936+
| 'view_cdn_edge_pop'
937+
| 'view_cdn_origin';
922938

923939
/**
924940
* Limit the results to rows that match conditions from provided key:value pairs.
@@ -1276,7 +1292,23 @@ export interface MetricListBreakdownValuesParams extends BasePageParams {
12761292
| 'viewer_user_id'
12771293
| 'ad_playback_failure'
12781294
| 'content_playback_failure'
1279-
| 'view_dropped';
1295+
| 'view_dropped'
1296+
| 'client_application_name'
1297+
| 'client_application_version'
1298+
| 'video_affiliate'
1299+
| 'viewer_plan'
1300+
| 'viewer_plan_status'
1301+
| 'viewer_plan_category'
1302+
| 'view_drm_level'
1303+
| 'video_brand'
1304+
| 'used_pip'
1305+
| 'time_shift_enabled'
1306+
| 'used_captions'
1307+
| 'video_codec'
1308+
| 'audio_codec'
1309+
| 'video_dynamic_range_type'
1310+
| 'view_cdn_edge_pop'
1311+
| 'view_cdn_origin';
12801312

12811313
/**
12821314
* Measurement for the provided metric. If omitted, the default for the metric will

src/resources/data/video-views.ts

+32
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,8 @@ export namespace VideoViewResponse {
109109

110110
asset_id: string | null;
111111

112+
audio_codec: string | null;
113+
112114
buffering_count: number | null;
113115

114116
buffering_duration: number | null;
@@ -119,6 +121,10 @@ export namespace VideoViewResponse {
119121

120122
city: string | null;
121123

124+
client_application_name: string | null;
125+
126+
client_application_version: string | null;
127+
122128
continent_code: string | null;
123129

124130
country_code: string | null;
@@ -283,16 +289,30 @@ export namespace VideoViewResponse {
283289

284290
sub_property_id: string | null;
285291

292+
time_shift_enabled: boolean;
293+
286294
time_to_first_frame: number | null;
287295

288296
updated_at: string;
289297

298+
used_captions: boolean;
299+
290300
used_fullscreen: boolean;
291301

302+
used_pip: boolean;
303+
304+
video_affiliate: string | null;
305+
306+
video_brand: string | null;
307+
308+
video_codec: string | null;
309+
292310
video_content_type: string | null;
293311

294312
video_duration: number | null;
295313

314+
video_dynamic_range_type: string | null;
315+
296316
video_encoding_variant: string | null;
297317

298318
video_id: string | null;
@@ -323,8 +343,14 @@ export namespace VideoViewResponse {
323343

324344
view_average_request_throughput: number | null;
325345

346+
view_cdn_edge_pop: string | null;
347+
348+
view_cdn_origin: string | null;
349+
326350
view_content_startup_time: number | null;
327351

352+
view_drm_level: string | null;
353+
328354
view_drm_type: string | null;
329355

330356
view_dropped: boolean;
@@ -387,6 +413,12 @@ export namespace VideoViewResponse {
387413

388414
viewer_os_version: string | null;
389415

416+
viewer_plan: string | null;
417+
418+
viewer_plan_category: string | null;
419+
420+
viewer_plan_status: string | null;
421+
390422
viewer_user_agent: string | null;
391423

392424
viewer_user_id: string | null;

0 commit comments

Comments
 (0)