Skip to content

Commit 785bdc1

Browse files
committed
Update video openapi Spec
1 parent ca235af commit 785bdc1

32 files changed

+9279
-5253
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: 154 additions & 38 deletions
Large diffs are not rendered by default.

openapi/chat-openapi.json

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

openapi/chat-openapi.yaml

Lines changed: 374 additions & 34 deletions
Large diffs are not rendered by default.

openapi/clientside-api.json

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

openapi/clientside-api.yaml

Lines changed: 770 additions & 617 deletions
Large diffs are not rendered by default.

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: 56 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1189,6 +1189,11 @@ components:
11891189
type: string
11901190
writeOnly: true
11911191
x-stream-index: "003"
1192+
avg_response_time:
1193+
format: int32
1194+
readOnly: true
1195+
type: integer
1196+
x-stream-index: "001.046"
11921197
ban_expires:
11931198
format: date-time
11941199
type: number
@@ -2949,6 +2954,11 @@ components:
29492954
type: object
29502955
EntityCreator:
29512956
properties:
2957+
avg_response_time:
2958+
format: int32
2959+
readOnly: true
2960+
type: integer
2961+
x-stream-index: "001.046"
29522962
ban_count:
29532963
format: int32
29542964
type: integer
@@ -3043,6 +3053,10 @@ components:
30433053
type: object
30443054
EntityCreatorResponse:
30453055
properties:
3056+
avg_response_time:
3057+
format: int32
3058+
type: integer
3059+
x-stream-index: 001.001.018
30463060
ban_count:
30473061
description: Number of minor actions performed on the user
30483062
format: int32
@@ -4556,6 +4570,10 @@ components:
45564570
type: object
45574571
OwnUser:
45584572
properties:
4573+
avg_response_time:
4574+
format: int32
4575+
type: integer
4576+
x-stream-index: "046"
45594577
banned:
45604578
type: boolean
45614579
x-stream-index: "016"
@@ -4826,11 +4844,6 @@ components:
48264844
type: object
48274845
PollResponseData:
48284846
properties:
4829-
Custom:
4830-
additionalProperties: {}
4831-
type: object
4832-
writeOnly: true
4833-
x-stream-index: "021"
48344847
allow_answers:
48354848
type: boolean
48364849
x-stream-index: "008"
@@ -4851,6 +4864,10 @@ components:
48514864
created_by_id:
48524865
type: string
48534866
x-stream-index: "017"
4867+
custom:
4868+
additionalProperties: {}
4869+
type: object
4870+
x-stream-index: "021"
48544871
description:
48554872
type: string
48564873
x-stream-index: "003"
@@ -4927,7 +4944,7 @@ components:
49274944
- created_by_id
49284945
- created_at
49294946
- updated_at
4930-
- Custom
4947+
- custom
49314948
type: object
49324949
PollVote:
49334950
nullable: true
@@ -5550,6 +5567,9 @@ components:
55505567
ai_text_severity:
55515568
type: string
55525569
x-stream-index: "021"
5570+
archived_at:
5571+
$ref: '#/components/schemas/NullTime'
5572+
x-stream-index: "043"
55535573
assigned_to:
55545574
$ref: '#/components/schemas/User'
55555575
x-stream-index: "032"
@@ -5593,6 +5613,16 @@ components:
55935613
feeds_v2_reaction:
55945614
$ref: '#/components/schemas/Reaction'
55955615
x-stream-index: "042"
5616+
flag_labels:
5617+
items:
5618+
type: string
5619+
type: array
5620+
x-stream-index: "045"
5621+
flag_types:
5622+
items:
5623+
type: string
5624+
type: array
5625+
x-stream-index: "044"
55965626
flags:
55975627
items:
55985628
$ref: '#/components/schemas/Flag'
@@ -5634,6 +5664,11 @@ components:
56345664
recommended_action:
56355665
type: string
56365666
x-stream-index: "017"
5667+
reporter_ids:
5668+
items:
5669+
type: string
5670+
type: array
5671+
x-stream-index: "046"
56375672
reviewed_at:
56385673
$ref: '#/components/schemas/NullTime'
56395674
x-stream-index: "022"
@@ -5682,6 +5717,10 @@ components:
56825717
- flags
56835718
- actions
56845719
- content_changed
5720+
- archived_at
5721+
- flag_types
5722+
- flag_labels
5723+
- reporter_ids
56855724
type: object
56865725
ReviewQueueItemResponse:
56875726
nullable: true
@@ -6255,6 +6294,7 @@ components:
62556294
- delete_user
62566295
- unblock
62576296
- shadow_block
6297+
- unmask
62586298
- kick_user
62596299
- end_call
62606300
title: Action Type
@@ -6680,6 +6720,11 @@ components:
66806720
type: object
66816721
User:
66826722
properties:
6723+
avg_response_time:
6724+
format: int32
6725+
readOnly: true
6726+
type: integer
6727+
x-stream-index: "046"
66836728
ban_expires:
66846729
format: date-time
66856730
type: number
@@ -6843,6 +6888,10 @@ components:
68436888
UserResponse:
68446889
description: User response object
68456890
properties:
6891+
avg_response_time:
6892+
format: int32
6893+
type: integer
6894+
x-stream-index: "001.018"
68466895
banned:
68476896
description: Whether a user is banned or not
68486897
title: Banned
@@ -7224,7 +7273,7 @@ components:
72247273
type: apiKey
72257274
info:
72267275
title: Stream API
7227-
version: v186.5.0
7276+
version: v187.4.2
72287277
openapi: 3.0.3
72297278
paths:
72307279
/api/v2/moderation/ban:

openapi/moderation-serverside-api.json

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

openapi/moderation-serverside-api.yaml

Lines changed: 57 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ components:
427427
type: string
428428
x-stream-index: "002.001"
429429
type:
430-
default: export.moderation_logs.error
430+
default: export.bulk_image_moderation.error
431431
type: string
432432
x-stream-index: "003.002"
433433
required:
@@ -1356,6 +1356,11 @@ components:
13561356
type: string
13571357
writeOnly: true
13581358
x-stream-index: "003"
1359+
avg_response_time:
1360+
format: int32
1361+
readOnly: true
1362+
type: integer
1363+
x-stream-index: "001.046"
13591364
ban_expires:
13601365
format: date-time
13611366
type: number
@@ -3363,6 +3368,11 @@ components:
33633368
type: object
33643369
EntityCreator:
33653370
properties:
3371+
avg_response_time:
3372+
format: int32
3373+
readOnly: true
3374+
type: integer
3375+
x-stream-index: "001.046"
33663376
ban_count:
33673377
format: int32
33683378
type: integer
@@ -3457,6 +3467,10 @@ components:
34573467
type: object
34583468
EntityCreatorResponse:
34593469
properties:
3470+
avg_response_time:
3471+
format: int32
3472+
type: integer
3473+
x-stream-index: 001.001.018
34603474
ban_count:
34613475
description: Number of minor actions performed on the user
34623476
format: int32
@@ -5180,6 +5194,10 @@ components:
51805194
type: object
51815195
OwnUser:
51825196
properties:
5197+
avg_response_time:
5198+
format: int32
5199+
type: integer
5200+
x-stream-index: "046"
51835201
banned:
51845202
type: boolean
51855203
x-stream-index: "016"
@@ -5450,11 +5468,6 @@ components:
54505468
type: object
54515469
PollResponseData:
54525470
properties:
5453-
Custom:
5454-
additionalProperties: {}
5455-
type: object
5456-
writeOnly: true
5457-
x-stream-index: "021"
54585471
allow_answers:
54595472
type: boolean
54605473
x-stream-index: "008"
@@ -5475,6 +5488,10 @@ components:
54755488
created_by_id:
54765489
type: string
54775490
x-stream-index: "017"
5491+
custom:
5492+
additionalProperties: {}
5493+
type: object
5494+
x-stream-index: "021"
54785495
description:
54795496
type: string
54805497
x-stream-index: "003"
@@ -5551,7 +5568,7 @@ components:
55515568
- created_by_id
55525569
- created_at
55535570
- updated_at
5554-
- Custom
5571+
- custom
55555572
type: object
55565573
PollVote:
55575574
nullable: true
@@ -6358,6 +6375,9 @@ components:
63586375
ai_text_severity:
63596376
type: string
63606377
x-stream-index: "021"
6378+
archived_at:
6379+
$ref: '#/components/schemas/NullTime'
6380+
x-stream-index: "043"
63616381
assigned_to:
63626382
$ref: '#/components/schemas/User'
63636383
x-stream-index: "032"
@@ -6401,6 +6421,16 @@ components:
64016421
feeds_v2_reaction:
64026422
$ref: '#/components/schemas/Reaction'
64036423
x-stream-index: "042"
6424+
flag_labels:
6425+
items:
6426+
type: string
6427+
type: array
6428+
x-stream-index: "045"
6429+
flag_types:
6430+
items:
6431+
type: string
6432+
type: array
6433+
x-stream-index: "044"
64046434
flags:
64056435
items:
64066436
$ref: '#/components/schemas/Flag'
@@ -6442,6 +6472,11 @@ components:
64426472
recommended_action:
64436473
type: string
64446474
x-stream-index: "017"
6475+
reporter_ids:
6476+
items:
6477+
type: string
6478+
type: array
6479+
x-stream-index: "046"
64456480
reviewed_at:
64466481
$ref: '#/components/schemas/NullTime'
64476482
x-stream-index: "022"
@@ -6490,6 +6525,10 @@ components:
64906525
- flags
64916526
- actions
64926527
- content_changed
6528+
- archived_at
6529+
- flag_types
6530+
- flag_labels
6531+
- reporter_ids
64936532
type: object
64946533
ReviewQueueItemNewEvent:
64956534
description: This event is sent when a new moderation review queue item is created
@@ -7167,6 +7206,7 @@ components:
71677206
- delete_user
71687207
- unblock
71697208
- shadow_block
7209+
- unmask
71707210
- kick_user
71717211
- end_call
71727212
title: Action Type
@@ -7716,6 +7756,11 @@ components:
77167756
type: object
77177757
User:
77187758
properties:
7759+
avg_response_time:
7760+
format: int32
7761+
readOnly: true
7762+
type: integer
7763+
x-stream-index: "046"
77197764
ban_expires:
77207765
format: date-time
77217766
type: number
@@ -7898,6 +7943,10 @@ components:
78987943
UserResponse:
78997944
description: User response object
79007945
properties:
7946+
avg_response_time:
7947+
format: int32
7948+
type: integer
7949+
x-stream-index: "001.018"
79017950
ban_expires:
79027951
description: Date when ban expires
79037952
format: date-time
@@ -8324,7 +8373,7 @@ components:
83248373
type: apiKey
83258374
info:
83268375
title: Stream API
8327-
version: v186.5.0
8376+
version: v187.4.2
83288377
openapi: 3.0.3
83298378
paths:
83308379
/api/v2/moderation/ban:

0 commit comments

Comments
 (0)