Skip to content

Commit bd122bb

Browse files
authored
Update video openapi Spec (#1047)
2 parents 52fb653 + 09c176a commit bd122bb

32 files changed

+135159
-113
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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10369,7 +10369,7 @@ components:
1036910369
type: apiKey
1037010370
info:
1037110371
title: Stream API
10372-
version: v163.6.0
10372+
version: v165.3.3
1037310373
openapi: 3.0.3
1037410374
paths:
1037510375
/app:

openapi/chat-openapi.json

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

openapi/chat-openapi.yaml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ components:
457457
type: string
458458
x-stream-index: "002.001"
459459
type:
460-
default: export.channels.error
460+
default: export.moderation_logs.error
461461
type: string
462462
x-stream-index: "003.002"
463463
required:
@@ -7021,7 +7021,7 @@ components:
70217021
type: array
70227022
x-stream-index: "001.002"
70237023
type:
7024-
default: message.new
7024+
default: notification.thread_message_new
70257025
type: string
70267026
x-stream-index: "004.001"
70277027
user:
@@ -14536,7 +14536,7 @@ components:
1453614536
type: apiKey
1453714537
info:
1453814538
title: Stream API
14539-
version: v163.6.0
14539+
version: v165.3.3
1454014540
openapi: 3.0.3
1454114541
paths:
1454214542
/app:
@@ -15203,6 +15203,12 @@ paths:
1520315203
type: string
1520415204
writeOnly: true
1520515205
x-stream-index: "001"
15206+
- in: query
15207+
name: user_id
15208+
schema:
15209+
type: string
15210+
writeOnly: true
15211+
x-stream-index: "003.001"
1520615212
responses:
1520715213
"200":
1520815214
content:
@@ -15252,6 +15258,12 @@ paths:
1525215258
type: string
1525315259
writeOnly: true
1525415260
x-stream-index: "001"
15261+
- in: query
15262+
name: user_id
15263+
schema:
15264+
type: string
15265+
writeOnly: true
15266+
x-stream-index: "003.001"
1525515267
responses:
1525615268
"200":
1525715269
content:

openapi/clientside-api.json

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

openapi/clientside-api.yaml

Lines changed: 27 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13327,35 +13327,35 @@ components:
1332713327
items:
1332813328
$ref: '#/components/schemas/ActionLog'
1332913329
type: array
13330-
x-stream-index: "032"
13330+
x-stream-index: "033"
1333113331
activity:
1333213332
$ref: '#/components/schemas/EnrichedActivity'
13333-
x-stream-index: "026"
13333+
x-stream-index: "027"
1333413334
ai_text_severity:
1333513335
type: string
1333613336
x-stream-index: "020"
1333713337
assigned_to:
1333813338
$ref: '#/components/schemas/User'
13339-
x-stream-index: "029"
13339+
x-stream-index: "030"
1334013340
bans:
1334113341
items:
1334213342
$ref: '#/components/schemas/Ban'
1334313343
type: array
13344-
x-stream-index: "030"
13344+
x-stream-index: "031"
1334513345
bounce_count:
1334613346
format: int32
1334713347
type: integer
1334813348
x-stream-index: "024"
1334913349
content_changed:
1335013350
type: boolean
13351-
x-stream-index: "033"
13351+
x-stream-index: "034"
1335213352
created_at:
1335313353
format: date-time
1335413354
type: number
1335513355
x-stream-index: "004"
1335613356
entity_creator:
1335713357
$ref: '#/components/schemas/EntityCreator'
13358-
x-stream-index: "028"
13358+
x-stream-index: "029"
1335913359
entity_id:
1336013360
type: string
1336113361
x-stream-index: "007"
@@ -13364,15 +13364,19 @@ components:
1336413364
x-stream-index: "006"
1336513365
feeds_v2_activity:
1336613366
$ref: '#/components/schemas/EnrichedActivity'
13367-
x-stream-index: "038"
13367+
x-stream-index: "039"
1336813368
feeds_v2_reaction:
1336913369
$ref: '#/components/schemas/Reaction'
13370-
x-stream-index: "039"
13370+
x-stream-index: "040"
1337113371
flags:
1337213372
items:
1337313373
$ref: '#/components/schemas/Flag'
1337413374
type: array
13375-
x-stream-index: "031"
13375+
x-stream-index: "032"
13376+
flags_count:
13377+
format: int32
13378+
type: integer
13379+
x-stream-index: "025"
1337613380
has_image:
1337713381
type: boolean
1337813382
x-stream-index: "011"
@@ -13392,7 +13396,7 @@ components:
1339213396
x-stream-index: "018"
1339313397
message:
1339413398
$ref: '#/components/schemas/Message'
13395-
x-stream-index: "025"
13399+
x-stream-index: "026"
1339613400
moderation_payload:
1339713401
$ref: '#/components/schemas/ModerationPayload'
1339813402
x-stream-index: "009"
@@ -13401,7 +13405,7 @@ components:
1340113405
x-stream-index: "010"
1340213406
reaction:
1340313407
$ref: '#/components/schemas/Reaction'
13404-
x-stream-index: "027"
13408+
x-stream-index: "028"
1340513409
recommended_action:
1340613410
type: string
1340713411
x-stream-index: "016"
@@ -13447,6 +13451,7 @@ components:
1344713451
- reviewed_at
1344813452
- reviewed_by
1344913453
- bounce_count
13454+
- flags_count
1345013455
- bans
1345113456
- flags
1345213457
- actions
@@ -13531,6 +13536,10 @@ components:
1353113536
title: Flags
1353213537
type: array
1353313538
x-stream-index: "022"
13539+
flags_count:
13540+
format: int32
13541+
type: integer
13542+
x-stream-index: "027"
1353413543
id:
1353513544
description: Unique identifier of the review queue item
1353613545
title: ID
@@ -13611,6 +13620,7 @@ components:
1361113620
- bans
1361213621
- flags
1361313622
- actions
13623+
- flags_count
1361413624
type: object
1361513625
RingSettingsRequest:
1361613626
properties:
@@ -17610,6 +17620,10 @@ components:
1761017620
ip_ban:
1761117621
type: boolean
1761217622
x-stream-index: "004"
17623+
probation_period:
17624+
format: int32
17625+
type: integer
17626+
x-stream-index: "014"
1761317627
shadow_ban:
1761417628
type: boolean
1761517629
x-stream-index: "003"
@@ -17641,6 +17655,7 @@ components:
1764117655
- fast_spam_ttl
1764217656
- slow_spam_ttl
1764317657
- url_only
17658+
- probation_period
1764417659
type: object
1764517660
VideoDimension:
1764617661
properties:
@@ -18089,7 +18104,7 @@ components:
1808918104
type: apiKey
1809018105
info:
1809118106
title: Stream API
18092-
version: v163.6.0
18107+
version: v165.3.3
1809318108
openapi: 3.0.3
1809418109
paths:
1809518110
/api/v2/app:

openapi/moderation-clientside-api.json

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

openapi/moderation-clientside-api.yaml

Lines changed: 27 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3698,35 +3698,35 @@ components:
36983698
items:
36993699
$ref: '#/components/schemas/ActionLog'
37003700
type: array
3701-
x-stream-index: "032"
3701+
x-stream-index: "033"
37023702
activity:
37033703
$ref: '#/components/schemas/EnrichedActivity'
3704-
x-stream-index: "026"
3704+
x-stream-index: "027"
37053705
ai_text_severity:
37063706
type: string
37073707
x-stream-index: "020"
37083708
assigned_to:
37093709
$ref: '#/components/schemas/User'
3710-
x-stream-index: "029"
3710+
x-stream-index: "030"
37113711
bans:
37123712
items:
37133713
$ref: '#/components/schemas/Ban'
37143714
type: array
3715-
x-stream-index: "030"
3715+
x-stream-index: "031"
37163716
bounce_count:
37173717
format: int32
37183718
type: integer
37193719
x-stream-index: "024"
37203720
content_changed:
37213721
type: boolean
3722-
x-stream-index: "033"
3722+
x-stream-index: "034"
37233723
created_at:
37243724
format: date-time
37253725
type: number
37263726
x-stream-index: "004"
37273727
entity_creator:
37283728
$ref: '#/components/schemas/EntityCreator'
3729-
x-stream-index: "028"
3729+
x-stream-index: "029"
37303730
entity_id:
37313731
type: string
37323732
x-stream-index: "007"
@@ -3735,15 +3735,19 @@ components:
37353735
x-stream-index: "006"
37363736
feeds_v2_activity:
37373737
$ref: '#/components/schemas/EnrichedActivity'
3738-
x-stream-index: "038"
3738+
x-stream-index: "039"
37393739
feeds_v2_reaction:
37403740
$ref: '#/components/schemas/Reaction'
3741-
x-stream-index: "039"
3741+
x-stream-index: "040"
37423742
flags:
37433743
items:
37443744
$ref: '#/components/schemas/Flag'
37453745
type: array
3746-
x-stream-index: "031"
3746+
x-stream-index: "032"
3747+
flags_count:
3748+
format: int32
3749+
type: integer
3750+
x-stream-index: "025"
37473751
has_image:
37483752
type: boolean
37493753
x-stream-index: "011"
@@ -3763,7 +3767,7 @@ components:
37633767
x-stream-index: "018"
37643768
message:
37653769
$ref: '#/components/schemas/Message'
3766-
x-stream-index: "025"
3770+
x-stream-index: "026"
37673771
moderation_payload:
37683772
$ref: '#/components/schemas/ModerationPayload'
37693773
x-stream-index: "009"
@@ -3772,7 +3776,7 @@ components:
37723776
x-stream-index: "010"
37733777
reaction:
37743778
$ref: '#/components/schemas/Reaction'
3775-
x-stream-index: "027"
3779+
x-stream-index: "028"
37763780
recommended_action:
37773781
type: string
37783782
x-stream-index: "016"
@@ -3818,6 +3822,7 @@ components:
38183822
- reviewed_at
38193823
- reviewed_by
38203824
- bounce_count
3825+
- flags_count
38213826
- bans
38223827
- flags
38233828
- actions
@@ -3902,6 +3907,10 @@ components:
39023907
title: Flags
39033908
type: array
39043909
x-stream-index: "022"
3910+
flags_count:
3911+
format: int32
3912+
type: integer
3913+
x-stream-index: "027"
39053914
id:
39063915
description: Unique identifier of the review queue item
39073916
title: ID
@@ -3982,6 +3991,7 @@ components:
39823991
- bans
39833992
- flags
39843993
- actions
3994+
- flags_count
39853995
type: object
39863996
ShadowBlockActionRequest:
39873997
type: object
@@ -4536,6 +4546,10 @@ components:
45364546
ip_ban:
45374547
type: boolean
45384548
x-stream-index: "004"
4549+
probation_period:
4550+
format: int32
4551+
type: integer
4552+
x-stream-index: "014"
45394553
shadow_ban:
45404554
type: boolean
45414555
x-stream-index: "003"
@@ -4567,6 +4581,7 @@ components:
45674581
- fast_spam_ttl
45684582
- slow_spam_ttl
45694583
- url_only
4584+
- probation_period
45704585
type: object
45714586
WSEvent:
45724587
description: The discriminator object for all websocket events, it maps events'
@@ -4622,7 +4637,7 @@ components:
46224637
type: apiKey
46234638
info:
46244639
title: Stream API
4625-
version: v163.6.0
4640+
version: v165.3.3
46264641
openapi: 3.0.3
46274642
paths:
46284643
/api/v2/moderation/ban:

openapi/moderation-serverside-api.json

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

0 commit comments

Comments
 (0)