Skip to content

Commit cc764e8

Browse files
committed
Update video openapi Spec
1 parent 499da34 commit cc764e8

36 files changed

+557
-199
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: 33 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -613,6 +613,12 @@ components:
613613
id:
614614
type: string
615615
x-stream-index: "003"
616+
is_leet_check_enabled:
617+
type: boolean
618+
x-stream-index: "008"
619+
is_plural_check_enabled:
620+
type: boolean
621+
x-stream-index: "009"
616622
name:
617623
description: Block list name
618624
title: Name
@@ -643,6 +649,8 @@ components:
643649
- name
644650
- type
645651
- words
652+
- is_leet_check_enabled
653+
- is_plural_check_enabled
646654
title: Block list
647655
type: object
648656
x-stream-docs-page-id: block_lists
@@ -1547,14 +1555,17 @@ components:
15471555
archived_at:
15481556
format: date-time
15491557
type: string
1550-
x-stream-index: "006"
1558+
x-stream-index: "007"
15511559
ban_expires:
15521560
format: date-time
15531561
type: string
1554-
x-stream-index: "007"
1562+
x-stream-index: "008"
15551563
banned:
15561564
type: boolean
15571565
x-stream-index: "004"
1566+
blocked:
1567+
type: boolean
1568+
x-stream-index: "005"
15581569
hidden:
15591570
type: boolean
15601571
x-stream-index: "001"
@@ -1564,12 +1575,13 @@ components:
15641575
pinned_at:
15651576
format: date-time
15661577
type: string
1567-
x-stream-index: "005"
1578+
x-stream-index: "006"
15681579
required:
15691580
- hidden
15701581
- pinned
15711582
- archived
15721583
- banned
1584+
- blocked
15731585
type: object
15741586
ChannelMemberResponse:
15751587
properties:
@@ -2270,15 +2282,21 @@ components:
22702282
description: Block list contains restricted words
22712283
nullable: true
22722284
properties:
2285+
is_leet_check_enabled:
2286+
type: boolean
2287+
x-stream-index: "001"
2288+
is_plural_check_enabled:
2289+
type: boolean
2290+
x-stream-index: "002"
22732291
name:
22742292
description: Block list name
22752293
maxLength: 255
22762294
title: Name
22772295
type: string
2278-
x-stream-index: "001"
2296+
x-stream-index: "003"
22792297
team:
22802298
type: string
2281-
x-stream-index: "004"
2299+
x-stream-index: "006"
22822300
type:
22832301
description: Block list type.
22842302
enum:
@@ -2289,15 +2307,15 @@ components:
22892307
- word
22902308
title: Type
22912309
type: string
2292-
x-stream-index: "003"
2310+
x-stream-index: "005"
22932311
words:
22942312
description: List of words to block
22952313
items:
22962314
type: string
22972315
minimum: 1
22982316
title: Words
22992317
type: array
2300-
x-stream-index: "002"
2318+
x-stream-index: "004"
23012319
required:
23022320
- name
23032321
- words
@@ -4629,7 +4647,7 @@ components:
46294647
type: array
46304648
x-stream-index: "001.002"
46314649
type:
4632-
default: message.new
4650+
default: notification.thread_message_new
46334651
type: string
46344652
x-stream-index: "004.001"
46354653
user:
@@ -10078,6 +10096,12 @@ components:
1007810096
UpdateBlockListRequest:
1007910097
nullable: true
1008010098
properties:
10099+
is_leet_check_enabled:
10100+
type: boolean
10101+
x-stream-index: "005"
10102+
is_plural_check_enabled:
10103+
type: boolean
10104+
x-stream-index: "006"
1008110105
team:
1008210106
type: string
1008310107
x-stream-index: "002"
@@ -11983,7 +12007,7 @@ components:
1198312007
type: apiKey
1198412008
info:
1198512009
title: Stream API
11986-
version: v198.1.0
12010+
version: v198.7.0
1198712011
openapi: 3.0.3
1198812012
paths:
1198912013
/app:

openapi/chat-openapi.json

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

openapi/chat-openapi.yaml

Lines changed: 51 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -860,6 +860,7 @@ components:
860860
- mic_default_on
861861
- speaker_default_on
862862
- default_device
863+
- hifi_audio_enabled
863864
type: object
864865
AutomodDetails:
865866
properties:
@@ -1044,6 +1045,12 @@ components:
10441045
id:
10451046
type: string
10461047
x-stream-index: "003"
1048+
is_leet_check_enabled:
1049+
type: boolean
1050+
x-stream-index: "008"
1051+
is_plural_check_enabled:
1052+
type: boolean
1053+
x-stream-index: "009"
10471054
name:
10481055
description: Block list name
10491056
title: Name
@@ -1074,6 +1081,8 @@ components:
10741081
- name
10751082
- type
10761083
- words
1084+
- is_leet_check_enabled
1085+
- is_plural_check_enabled
10771086
title: Block list
10781087
type: object
10791088
x-stream-docs-page-id: block_lists
@@ -2331,14 +2340,17 @@ components:
23312340
archived_at:
23322341
format: date-time
23332342
type: string
2334-
x-stream-index: "006"
2343+
x-stream-index: "007"
23352344
ban_expires:
23362345
format: date-time
23372346
type: string
2338-
x-stream-index: "007"
2347+
x-stream-index: "008"
23392348
banned:
23402349
type: boolean
23412350
x-stream-index: "004"
2351+
blocked:
2352+
type: boolean
2353+
x-stream-index: "005"
23422354
hidden:
23432355
type: boolean
23442356
x-stream-index: "001"
@@ -2348,12 +2360,13 @@ components:
23482360
pinned_at:
23492361
format: date-time
23502362
type: string
2351-
x-stream-index: "005"
2363+
x-stream-index: "006"
23522364
required:
23532365
- hidden
23542366
- pinned
23552367
- archived
23562368
- banned
2369+
- blocked
23572370
type: object
23582371
ChannelMemberResponse:
23592372
properties:
@@ -3494,15 +3507,21 @@ components:
34943507
description: Block list contains restricted words
34953508
nullable: true
34963509
properties:
3510+
is_leet_check_enabled:
3511+
type: boolean
3512+
x-stream-index: "001"
3513+
is_plural_check_enabled:
3514+
type: boolean
3515+
x-stream-index: "002"
34973516
name:
34983517
description: Block list name
34993518
maxLength: 255
35003519
title: Name
35013520
type: string
3502-
x-stream-index: "001"
3521+
x-stream-index: "003"
35033522
team:
35043523
type: string
3505-
x-stream-index: "004"
3524+
x-stream-index: "006"
35063525
type:
35073526
description: Block list type.
35083527
enum:
@@ -3513,15 +3532,15 @@ components:
35133532
- word
35143533
title: Type
35153534
type: string
3516-
x-stream-index: "003"
3535+
x-stream-index: "005"
35173536
words:
35183537
description: List of words to block
35193538
items:
35203539
type: string
35213540
minimum: 1
35223541
title: Words
35233542
type: array
3524-
x-stream-index: "002"
3543+
x-stream-index: "004"
35253544
required:
35263545
- name
35273546
- words
@@ -3555,20 +3574,20 @@ components:
35553574
- AI
35563575
title: Automod
35573576
type: string
3558-
x-stream-index: "019"
3577+
x-stream-index: "020"
35593578
automod_behavior:
35603579
description: Automod behavior
35613580
enum:
35623581
- flag
35633582
- block
35643583
title: Automod behavior
35653584
type: string
3566-
x-stream-index: "020"
3585+
x-stream-index: "021"
35673586
blocklist:
35683587
description: Blocklist
35693588
title: Blocklist
35703589
type: string
3571-
x-stream-index: "024"
3590+
x-stream-index: "025"
35723591
blocklist_behavior:
35733592
description: Blocklist behavior
35743593
enum:
@@ -3577,26 +3596,31 @@ components:
35773596
- shadow_block
35783597
title: Blocklist behavior
35793598
type: string
3580-
x-stream-index: "025"
3599+
x-stream-index: "026"
35813600
blocklists:
35823601
description: Blocklists
35833602
items:
35843603
$ref: '#/components/schemas/BlockListOptions'
35853604
title: Blocklists
35863605
type: array
3587-
x-stream-index: "026"
3606+
x-stream-index: "027"
35883607
commands:
35893608
description: List of commands that channel supports
35903609
items:
35913610
type: string
35923611
title: Commands
35933612
type: array
3594-
x-stream-index: "021"
3613+
x-stream-index: "022"
35953614
connect_events:
35963615
description: Connect events
35973616
title: Connect events
35983617
type: boolean
35993618
x-stream-index: "004"
3619+
count_messages:
3620+
description: Count messages in channel.
3621+
title: Count messages
3622+
type: boolean
3623+
x-stream-index: "017"
36003624
custom_events:
36013625
description: Custom events
36023626
title: Custom events
@@ -3610,7 +3634,7 @@ components:
36103634
description: List of grants for the channel type
36113635
title: Grants
36123636
type: object
3613-
x-stream-index: "023"
3637+
x-stream-index: "024"
36143638
mark_messages_pending:
36153639
description: Mark messages pending
36163640
title: Mark messages pending
@@ -3621,15 +3645,15 @@ components:
36213645
format: int32
36223646
title: Max message length
36233647
type: integer
3624-
x-stream-index: "018"
3648+
x-stream-index: "019"
36253649
message_retention:
36263650
description: Message retention
36273651
enum:
36283652
- infinite
36293653
- numeric
36303654
title: Message retention
36313655
type: string
3632-
x-stream-index: "017"
3656+
x-stream-index: "018"
36333657
mutes:
36343658
description: Mutes
36353659
title: Mutes
@@ -3646,22 +3670,22 @@ components:
36463670
minimum: 10
36473671
title: Partition size
36483672
type: integer
3649-
x-stream-index: "027"
3673+
x-stream-index: "028"
36503674
partition_ttl:
36513675
description: Partition TTL
36523676
example: 24h
36533677
format: duration
36543678
nullable: true
36553679
title: Partition TTL
36563680
type: string
3657-
x-stream-index: "028"
3681+
x-stream-index: "029"
36583682
permissions:
36593683
description: List of permissions for the channel type
36603684
items:
36613685
$ref: '#/components/schemas/PolicyRequest'
36623686
title: Permissions
36633687
type: array
3664-
x-stream-index: "022"
3688+
x-stream-index: "023"
36653689
polls:
36663690
description: Polls
36673691
title: Polls
@@ -3699,7 +3723,7 @@ components:
36993723
x-stream-index: "016"
37003724
skip_last_msg_update_for_system_msgs:
37013725
type: boolean
3702-
x-stream-index: "029"
3726+
x-stream-index: "030"
37033727
typing_events:
37043728
description: Typing events
37053729
title: Typing events
@@ -13981,6 +14005,12 @@ components:
1398114005
UpdateBlockListRequest:
1398214006
nullable: true
1398314007
properties:
14008+
is_leet_check_enabled:
14009+
type: boolean
14010+
x-stream-index: "005"
14011+
is_plural_check_enabled:
14012+
type: boolean
14013+
x-stream-index: "006"
1398414014
team:
1398514015
type: string
1398614016
x-stream-index: "002"
@@ -16571,7 +16601,7 @@ components:
1657116601
type: apiKey
1657216602
info:
1657316603
title: Stream API
16574-
version: v198.1.0
16604+
version: v198.7.0
1657516605
openapi: 3.0.3
1657616606
paths:
1657716607
/app:

openapi/clientside-api.json

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

0 commit comments

Comments
 (0)