Skip to content

Commit 30a3dbf

Browse files
committed
Update video openapi Spec
1 parent ca235af commit 30a3dbf

32 files changed

+9146
-5092
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: 155 additions & 39 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: 375 additions & 35 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: 769 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: 55 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
@@ -6680,6 +6719,11 @@ components:
66806719
type: object
66816720
User:
66826721
properties:
6722+
avg_response_time:
6723+
format: int32
6724+
readOnly: true
6725+
type: integer
6726+
x-stream-index: "046"
66836727
ban_expires:
66846728
format: date-time
66856729
type: number
@@ -6843,6 +6887,10 @@ components:
68436887
UserResponse:
68446888
description: User response object
68456889
properties:
6890+
avg_response_time:
6891+
format: int32
6892+
type: integer
6893+
x-stream-index: "001.018"
68466894
banned:
68476895
description: Whether a user is banned or not
68486896
title: Banned
@@ -7224,7 +7272,7 @@ components:
72247272
type: apiKey
72257273
info:
72267274
title: Stream API
7227-
version: v186.5.0
7275+
version: v187.2.0
72287276
openapi: 3.0.3
72297277
paths:
72307278
/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: 56 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
@@ -7716,6 +7755,11 @@ components:
77167755
type: object
77177756
User:
77187757
properties:
7758+
avg_response_time:
7759+
format: int32
7760+
readOnly: true
7761+
type: integer
7762+
x-stream-index: "046"
77197763
ban_expires:
77207764
format: date-time
77217765
type: number
@@ -7898,6 +7942,10 @@ components:
78987942
UserResponse:
78997943
description: User response object
79007944
properties:
7945+
avg_response_time:
7946+
format: int32
7947+
type: integer
7948+
x-stream-index: "001.018"
79017949
ban_expires:
79027950
description: Date when ban expires
79037951
format: date-time
@@ -8324,7 +8372,7 @@ components:
83248372
type: apiKey
83258373
info:
83268374
title: Stream API
8327-
version: v186.5.0
8375+
version: v187.2.0
83288376
openapi: 3.0.3
83298377
paths:
83308378
/api/v2/moderation/ban:

0 commit comments

Comments
 (0)