Skip to content

Commit 3e83149

Browse files
authored
Update video openapi Spec (#1361)
2 parents 8b57c26 + 55aeb56 commit 3e83149

36 files changed

+2250
-2354
lines changed

openapi/chat-openapi-clientside.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

openapi/chat-openapi-clientside.yaml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -286,22 +286,30 @@ components:
286286
properties:
287287
async_url_enrich_enabled:
288288
type: boolean
289-
x-stream-index: "017"
289+
x-stream-index: "019"
290290
auto_translation_enabled:
291291
type: boolean
292-
x-stream-index: "020"
292+
x-stream-index: "022"
293293
file_upload_config:
294294
$ref: '#/components/schemas/FileUploadConfig'
295-
x-stream-index: "030"
295+
x-stream-index: "032"
296296
image_upload_config:
297297
$ref: '#/components/schemas/FileUploadConfig'
298-
x-stream-index: "031"
298+
x-stream-index: "033"
299299
name:
300300
type: string
301301
x-stream-index: "001"
302+
region:
303+
type: string
304+
x-stream-index: "003"
305+
shard:
306+
type: string
307+
x-stream-index: "004"
302308
required:
303309
- name
304310
- organization
311+
- region
312+
- shard
305313
- push_notifications
306314
- webhook_url
307315
- moderation_webhook_url
@@ -342,6 +350,7 @@ components:
342350
- user_response_time_enabled
343351
- moderation_bulk_submit_action_enabled
344352
- moderation_llm_configurability_enabled
353+
- max_aggregated_activities_length
345354
type: object
346355
AppUpdatedEvent:
347356
description: Emitted when app settings are updated
@@ -11852,7 +11861,7 @@ components:
1185211861
type: apiKey
1185311862
info:
1185411863
title: Stream API
11855-
version: v196.16.0
11864+
version: v196.22.0
1185611865
openapi: 3.0.3
1185711866
paths:
1185811867
/app:

openapi/chat-openapi.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

openapi/chat-openapi.yaml

Lines changed: 83 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -253,103 +253,107 @@ components:
253253
items:
254254
type: string
255255
type: array
256-
x-stream-index: "019"
256+
x-stream-index: "021"
257257
async_url_enrich_enabled:
258258
type: boolean
259-
x-stream-index: "017"
259+
x-stream-index: "019"
260260
auto_translation_enabled:
261261
type: boolean
262-
x-stream-index: "020"
262+
x-stream-index: "022"
263263
before_message_send_hook_url:
264264
type: string
265-
x-stream-index: "021"
265+
x-stream-index: "023"
266266
call_types:
267267
additionalProperties:
268268
$ref: '#/components/schemas/CallType'
269269
type: object
270-
x-stream-index: "007"
270+
x-stream-index: "009"
271271
campaign_enabled:
272272
type: boolean
273-
x-stream-index: "034"
273+
x-stream-index: "036"
274274
cdn_expiration_seconds:
275275
format: int32
276276
type: integer
277-
x-stream-index: "037"
277+
x-stream-index: "039"
278278
channel_configs:
279279
additionalProperties:
280280
$ref: '#/components/schemas/ChannelConfig'
281281
type: object
282-
x-stream-index: "006"
282+
x-stream-index: "008"
283283
custom_action_handler_url:
284284
type: string
285-
x-stream-index: "022"
285+
x-stream-index: "024"
286286
datadog_info:
287287
$ref: '#/components/schemas/DataDogInfo'
288-
x-stream-index: "040"
288+
x-stream-index: "042"
289289
disable_auth_checks:
290290
type: boolean
291-
x-stream-index: "011"
291+
x-stream-index: "013"
292292
disable_permissions_checks:
293293
type: boolean
294-
x-stream-index: "012"
294+
x-stream-index: "014"
295295
enforce_unique_usernames:
296296
type: string
297-
x-stream-index: "023"
297+
x-stream-index: "025"
298298
event_hooks:
299299
items:
300300
$ref: '#/components/schemas/EventHook'
301301
type: array
302-
x-stream-index: "045"
302+
x-stream-index: "047"
303303
file_upload_config:
304304
$ref: '#/components/schemas/FileUploadConfig'
305-
x-stream-index: "030"
305+
x-stream-index: "032"
306306
geofences:
307307
items:
308308
$ref: '#/components/schemas/GeofenceResponse'
309309
type: array
310-
x-stream-index: "039"
310+
x-stream-index: "041"
311311
grants:
312312
additionalProperties:
313313
items:
314314
type: string
315315
type: array
316316
type: object
317-
x-stream-index: "033"
317+
x-stream-index: "035"
318318
guest_user_creation_disabled:
319319
type: boolean
320-
x-stream-index: "043"
320+
x-stream-index: "045"
321321
image_moderation_enabled:
322322
type: boolean
323-
x-stream-index: "016"
323+
x-stream-index: "018"
324324
image_moderation_labels:
325325
items:
326326
type: string
327327
type: array
328-
x-stream-index: "018"
328+
x-stream-index: "020"
329329
image_upload_config:
330330
$ref: '#/components/schemas/FileUploadConfig'
331-
x-stream-index: "031"
331+
x-stream-index: "033"
332+
max_aggregated_activities_length:
333+
format: int32
334+
type: integer
335+
x-stream-index: "052"
332336
moderation_bulk_submit_action_enabled:
333337
type: boolean
334-
x-stream-index: "048"
338+
x-stream-index: "050"
335339
moderation_dashboard_preferences:
336340
$ref: '#/components/schemas/ModerationDashboardPreferences'
337-
x-stream-index: "044"
341+
x-stream-index: "046"
338342
moderation_enabled:
339343
type: boolean
340-
x-stream-index: "041"
344+
x-stream-index: "043"
341345
moderation_llm_configurability_enabled:
342346
type: boolean
343-
x-stream-index: "049"
347+
x-stream-index: "051"
344348
moderation_multitenant_blocklist_enabled:
345349
type: boolean
346-
x-stream-index: "042"
350+
x-stream-index: "044"
347351
moderation_webhook_url:
348352
type: string
349-
x-stream-index: "005"
353+
x-stream-index: "007"
350354
multi_tenant_enabled:
351355
type: boolean
352-
x-stream-index: "015"
356+
x-stream-index: "017"
353357
name:
354358
type: string
355359
x-stream-index: "001"
@@ -358,71 +362,79 @@ components:
358362
x-stream-index: "002"
359363
permission_version:
360364
type: string
361-
x-stream-index: "013"
365+
x-stream-index: "015"
362366
policies:
363367
additionalProperties:
364368
items:
365369
$ref: '#/components/schemas/Policy'
366370
type: array
367371
type: object
368-
x-stream-index: "008"
372+
x-stream-index: "010"
369373
push_notifications:
370374
$ref: '#/components/schemas/PushNotificationFields'
375+
x-stream-index: "005"
376+
region:
377+
type: string
371378
x-stream-index: "003"
372379
reminders_interval:
373380
format: int32
374381
type: integer
375-
x-stream-index: "036"
382+
x-stream-index: "038"
376383
revoke_tokens_issued_before:
377384
format: date-time
378385
type: string
379-
x-stream-index: "032"
386+
x-stream-index: "034"
387+
shard:
388+
type: string
389+
x-stream-index: "004"
380390
sns_key:
381391
type: string
382-
x-stream-index: "028"
392+
x-stream-index: "030"
383393
sns_secret:
384394
type: string
385-
x-stream-index: "029"
395+
x-stream-index: "031"
386396
sns_topic_arn:
387397
type: string
388-
x-stream-index: "027"
398+
x-stream-index: "029"
389399
sqs_key:
390400
type: string
391-
x-stream-index: "025"
401+
x-stream-index: "027"
392402
sqs_secret:
393403
type: string
394-
x-stream-index: "026"
404+
x-stream-index: "028"
395405
sqs_url:
396406
type: string
397-
x-stream-index: "024"
407+
x-stream-index: "026"
398408
suspended:
399409
type: boolean
400-
x-stream-index: "009"
410+
x-stream-index: "011"
401411
suspended_explanation:
402412
type: string
403-
x-stream-index: "010"
413+
x-stream-index: "012"
404414
use_hook_v2:
405415
type: boolean
406-
x-stream-index: "046"
416+
x-stream-index: "048"
407417
user_response_time_enabled:
408418
type: boolean
409-
x-stream-index: "047"
419+
x-stream-index: "049"
410420
user_search_disallowed_roles:
411421
items:
412422
type: string
413423
type: array
414-
x-stream-index: "014"
424+
x-stream-index: "016"
415425
webhook_events:
416426
items:
417427
type: string
418428
type: array
419-
x-stream-index: "035"
429+
x-stream-index: "037"
420430
webhook_url:
421431
type: string
422-
x-stream-index: "004"
432+
x-stream-index: "006"
423433
required:
424434
- name
425435
- organization
436+
- region
437+
- shard
426438
- push_notifications
427439
- webhook_url
428440
- moderation_webhook_url
@@ -463,6 +475,7 @@ components:
463475
- user_response_time_enabled
464476
- moderation_bulk_submit_action_enabled
465477
- moderation_llm_configurability_enabled
478+
- max_aggregated_activities_length
466479
type: object
467480
AsyncBulkImageModerationEvent:
468481
nullable: true
@@ -6625,13 +6638,36 @@ components:
66256638
required:
66266639
- enabled
66276640
type: object
6641+
IngressSource:
6642+
properties:
6643+
fps:
6644+
maximum: 60
6645+
minimum: 1
6646+
type: integer
6647+
x-stream-index: "003"
6648+
height:
6649+
minimum: 2
6650+
type: integer
6651+
x-stream-index: "002"
6652+
width:
6653+
minimum: 2
6654+
type: integer
6655+
x-stream-index: "001"
6656+
required:
6657+
- width
6658+
- height
6659+
- fps
6660+
type: object
66286661
IngressVideoEncodingOptions:
66296662
properties:
66306663
layers:
66316664
items:
66326665
$ref: '#/components/schemas/IngressVideoLayer'
66336666
minimum: 1
66346667
type: array
6668+
x-stream-index: "002"
6669+
source:
6670+
$ref: '#/components/schemas/IngressSource'
66356671
x-stream-index: "001"
66366672
required:
66376673
- layers
@@ -7698,7 +7734,7 @@ components:
76987734
type: array
76997735
x-stream-index: "001.002"
77007736
type:
7701-
default: message.new
7737+
default: notification.thread_message_new
77027738
type: string
77037739
x-stream-index: "004.001"
77047740
user:
@@ -16502,7 +16538,7 @@ components:
1650216538
type: apiKey
1650316539
info:
1650416540
title: Stream API
16505-
version: v196.16.0
16541+
version: v196.22.0
1650616542
openapi: 3.0.3
1650716543
paths:
1650816544
/app:

openapi/clientside-api.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)