Skip to content

Commit 1fd2503

Browse files
committed
Merge branch 'add-client-type-participant' of github.com:GetStream/protocol into add-client-type-participant
2 parents bdbc591 + 77bde6d commit 1fd2503

32 files changed

+12682
-5453
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: 156 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: 463 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: 1157 additions & 699 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: 213 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
@@ -1630,6 +1635,9 @@ components:
16301635
geofencing:
16311636
$ref: '#/components/schemas/GeofenceSettings'
16321637
x-stream-index: "008"
1638+
ingress:
1639+
$ref: '#/components/schemas/IngressSettings'
1640+
x-stream-index: "014"
16331641
limits:
16341642
$ref: '#/components/schemas/LimitsSettings'
16351643
x-stream-index: "012"
@@ -1672,6 +1680,9 @@ components:
16721680
geofencing:
16731681
$ref: '#/components/schemas/GeofenceSettingsResponse'
16741682
x-stream-index: "004"
1683+
ingress:
1684+
$ref: '#/components/schemas/IngressSettingsResponse'
1685+
x-stream-index: "014"
16751686
limits:
16761687
$ref: '#/components/schemas/LimitsSettingsResponse'
16771688
x-stream-index: "012"
@@ -2949,6 +2960,11 @@ components:
29492960
type: object
29502961
EntityCreator:
29512962
properties:
2963+
avg_response_time:
2964+
format: int32
2965+
readOnly: true
2966+
type: integer
2967+
x-stream-index: "001.046"
29522968
ban_count:
29532969
format: int32
29542970
type: integer
@@ -3043,6 +3059,10 @@ components:
30433059
type: object
30443060
EntityCreatorResponse:
30453061
properties:
3062+
avg_response_time:
3063+
format: int32
3064+
type: integer
3065+
x-stream-index: 001.001.018
30463066
ban_count:
30473067
description: Number of minor actions performed on the user
30483068
format: int32
@@ -3653,6 +3673,157 @@ components:
36533673
- fixed_width_still
36543674
- fixed_width_downsampled
36553675
type: object
3676+
IngressAudioEncodingOptions:
3677+
properties:
3678+
bitrate:
3679+
maximum: 128000
3680+
minimum: 16000
3681+
type: integer
3682+
x-stream-index: "003"
3683+
channels:
3684+
enum:
3685+
- "1"
3686+
- "2"
3687+
format: int32
3688+
type: integer
3689+
x-stream-index: "001"
3690+
enable_dtx:
3691+
type: boolean
3692+
x-stream-index: "002"
3693+
required:
3694+
- channels
3695+
- enable_dtx
3696+
- bitrate
3697+
type: object
3698+
IngressAudioEncodingResponse:
3699+
properties:
3700+
bitrate:
3701+
format: int32
3702+
type: integer
3703+
x-stream-index: "003"
3704+
channels:
3705+
format: int32
3706+
type: integer
3707+
x-stream-index: "001"
3708+
enable_dtx:
3709+
type: boolean
3710+
x-stream-index: "002"
3711+
required:
3712+
- channels
3713+
- enable_dtx
3714+
- bitrate
3715+
type: object
3716+
IngressSettings:
3717+
properties:
3718+
audio_encoding_options:
3719+
$ref: '#/components/schemas/IngressAudioEncodingOptions'
3720+
x-stream-index: "002"
3721+
enabled:
3722+
type: boolean
3723+
x-stream-index: "001"
3724+
video_encoding_options:
3725+
additionalProperties:
3726+
$ref: '#/components/schemas/IngressVideoEncodingOptions'
3727+
type: object
3728+
x-stream-index: "003"
3729+
required:
3730+
- enabled
3731+
type: object
3732+
IngressSettingsResponse:
3733+
properties:
3734+
audio_encoding_options:
3735+
$ref: '#/components/schemas/IngressAudioEncodingResponse'
3736+
x-stream-index: "002"
3737+
enabled:
3738+
type: boolean
3739+
x-stream-index: "001"
3740+
video_encoding_options:
3741+
additionalProperties:
3742+
$ref: '#/components/schemas/IngressVideoEncodingResponse'
3743+
type: object
3744+
x-stream-index: "003"
3745+
required:
3746+
- enabled
3747+
type: object
3748+
IngressVideoEncodingOptions:
3749+
properties:
3750+
layers:
3751+
items:
3752+
$ref: '#/components/schemas/IngressVideoLayer'
3753+
minimum: 1
3754+
type: array
3755+
x-stream-index: "001"
3756+
required:
3757+
- layers
3758+
type: object
3759+
IngressVideoEncodingResponse:
3760+
properties:
3761+
layers:
3762+
items:
3763+
$ref: '#/components/schemas/IngressVideoLayerResponse'
3764+
type: array
3765+
x-stream-index: "001"
3766+
required:
3767+
- layers
3768+
type: object
3769+
IngressVideoLayer:
3770+
nullable: true
3771+
properties:
3772+
bitrate:
3773+
minimum: 1000
3774+
type: integer
3775+
x-stream-index: "002"
3776+
codec:
3777+
enum:
3778+
- h264
3779+
- vp8
3780+
type: string
3781+
x-stream-index: "001"
3782+
frame_rate:
3783+
maximum: 60
3784+
minimum: 1
3785+
type: integer
3786+
x-stream-index: "003"
3787+
max_dimension:
3788+
minimum: 240
3789+
type: integer
3790+
x-stream-index: "005"
3791+
min_dimension:
3792+
minimum: 240
3793+
type: integer
3794+
x-stream-index: "004"
3795+
required:
3796+
- codec
3797+
- bitrate
3798+
- frame_rate
3799+
- min_dimension
3800+
- max_dimension
3801+
type: object
3802+
IngressVideoLayerResponse:
3803+
nullable: true
3804+
properties:
3805+
bitrate:
3806+
type: integer
3807+
x-stream-index: "002"
3808+
codec:
3809+
type: string
3810+
x-stream-index: "001"
3811+
frame_rate_limit:
3812+
type: integer
3813+
x-stream-index: "005"
3814+
max_dimension:
3815+
type: integer
3816+
x-stream-index: "004"
3817+
min_dimension:
3818+
type: integer
3819+
x-stream-index: "003"
3820+
required:
3821+
- codec
3822+
- bitrate
3823+
- min_dimension
3824+
- max_dimension
3825+
- frame_rate_limit
3826+
type: object
36563827
LabelThresholds:
36573828
properties:
36583829
block:
@@ -4556,6 +4727,10 @@ components:
45564727
type: object
45574728
OwnUser:
45584729
properties:
4730+
avg_response_time:
4731+
format: int32
4732+
type: integer
4733+
x-stream-index: "046"
45594734
banned:
45604735
type: boolean
45614736
x-stream-index: "016"
@@ -4826,11 +5001,6 @@ components:
48265001
type: object
48275002
PollResponseData:
48285003
properties:
4829-
Custom:
4830-
additionalProperties: {}
4831-
type: object
4832-
writeOnly: true
4833-
x-stream-index: "021"
48345004
allow_answers:
48355005
type: boolean
48365006
x-stream-index: "008"
@@ -4851,6 +5021,10 @@ components:
48515021
created_by_id:
48525022
type: string
48535023
x-stream-index: "017"
5024+
custom:
5025+
additionalProperties: {}
5026+
type: object
5027+
x-stream-index: "021"
48545028
description:
48555029
type: string
48565030
x-stream-index: "003"
@@ -4927,7 +5101,7 @@ components:
49275101
- created_by_id
49285102
- created_at
49295103
- updated_at
4930-
- Custom
5104+
- custom
49315105
type: object
49325106
PollVote:
49335107
nullable: true
@@ -5550,6 +5724,9 @@ components:
55505724
ai_text_severity:
55515725
type: string
55525726
x-stream-index: "021"
5727+
archived_at:
5728+
$ref: '#/components/schemas/NullTime'
5729+
x-stream-index: "043"
55535730
assigned_to:
55545731
$ref: '#/components/schemas/User'
55555732
x-stream-index: "032"
@@ -5593,6 +5770,16 @@ components:
55935770
feeds_v2_reaction:
55945771
$ref: '#/components/schemas/Reaction'
55955772
x-stream-index: "042"
5773+
flag_labels:
5774+
items:
5775+
type: string
5776+
type: array
5777+
x-stream-index: "045"
5778+
flag_types:
5779+
items:
5780+
type: string
5781+
type: array
5782+
x-stream-index: "044"
55965783
flags:
55975784
items:
55985785
$ref: '#/components/schemas/Flag'
@@ -5634,6 +5821,11 @@ components:
56345821
recommended_action:
56355822
type: string
56365823
x-stream-index: "017"
5824+
reporter_ids:
5825+
items:
5826+
type: string
5827+
type: array
5828+
x-stream-index: "046"
56375829
reviewed_at:
56385830
$ref: '#/components/schemas/NullTime'
56395831
x-stream-index: "022"
@@ -5682,6 +5874,10 @@ components:
56825874
- flags
56835875
- actions
56845876
- content_changed
5877+
- archived_at
5878+
- flag_types
5879+
- flag_labels
5880+
- reporter_ids
56855881
type: object
56865882
ReviewQueueItemResponse:
56875883
nullable: true
@@ -6255,6 +6451,7 @@ components:
62556451
- delete_user
62566452
- unblock
62576453
- shadow_block
6454+
- unmask
62586455
- kick_user
62596456
- end_call
62606457
title: Action Type
@@ -6680,6 +6877,11 @@ components:
66806877
type: object
66816878
User:
66826879
properties:
6880+
avg_response_time:
6881+
format: int32
6882+
readOnly: true
6883+
type: integer
6884+
x-stream-index: "046"
66836885
ban_expires:
66846886
format: date-time
66856887
type: number
@@ -6843,6 +7045,10 @@ components:
68437045
UserResponse:
68447046
description: User response object
68457047
properties:
7048+
avg_response_time:
7049+
format: int32
7050+
type: integer
7051+
x-stream-index: "001.018"
68467052
banned:
68477053
description: Whether a user is banned or not
68487054
title: Banned
@@ -7224,7 +7430,7 @@ components:
72247430
type: apiKey
72257431
info:
72267432
title: Stream API
7227-
version: v186.5.0
7433+
version: v187.6.2
72287434
openapi: 3.0.3
72297435
paths:
72307436
/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)