Skip to content

Commit 8ec695d

Browse files
committed
Update video openapi Spec
1 parent f6562a0 commit 8ec695d

56 files changed

Lines changed: 5916 additions & 7881 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

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: 69 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,11 @@ components:
254254
description: Request body for adding members to a user group
255255
nullable: true
256256
properties:
257+
as_admin:
258+
description: Whether to add the members as group admins. Defaults to false
259+
title: As Admin
260+
type: boolean
261+
x-stream-index: "003"
257262
member_ids:
258263
description: List of user IDs to add as members
259264
items:
@@ -266,7 +271,7 @@ components:
266271
team_id:
267272
maxLength: 255
268273
type: string
269-
x-stream-index: "003"
274+
x-stream-index: "004"
270275
required:
271276
- member_ids
272277
title: AddUserGroupMembersRequest
@@ -545,7 +550,7 @@ components:
545550
by the banner
546551
title: Ban from future channels
547552
type: boolean
548-
x-stream-index: "012"
553+
x-stream-index: "013"
549554
banned_by:
550555
$ref: '#/components/schemas/UserRequest'
551556
description: User who issued a ban
@@ -568,6 +573,12 @@ components:
568573
- hard
569574
type: string
570575
x-stream-index: "011"
576+
delete_reactions:
577+
description: Whether to delete reactions by the banned user on other users'
578+
messages
579+
title: Delete reactions
580+
type: boolean
581+
x-stream-index: "012"
571582
ip_ban:
572583
description: Whether to perform IP ban or not
573584
title: IP ban
@@ -3372,6 +3383,15 @@ components:
33723383
title: Comment
33733384
type: string
33743385
x-stream-index: "002"
3386+
comment_mention:
3387+
description: 'Push notification preference for mentions in comments. One
3388+
of: all, none'
3389+
enum:
3390+
- all
3391+
- none
3392+
title: Comment Mention
3393+
type: string
3394+
x-stream-index: "006"
33753395
comment_reaction:
33763396
description: 'Push notification preference for reactions on comments. One
33773397
of: all, none'
@@ -3397,7 +3417,7 @@ components:
33973417
of activity type to preference (all or none)
33983418
title: Custom Activity Types
33993419
type: object
3400-
x-stream-index: "007"
3420+
x-stream-index: "008"
34013421
follow:
34023422
description: 'Push notification preference for new followers. One of: all,
34033423
none'
@@ -3408,14 +3428,14 @@ components:
34083428
type: string
34093429
x-stream-index: "001"
34103430
mention:
3411-
description: 'Push notification preference for mentions in activities or
3412-
comments. One of: all, none'
3431+
description: 'Push notification preference for mentions in activities. One
3432+
of: all, none'
34133433
enum:
34143434
- all
34153435
- none
34163436
title: Mention
34173437
type: string
3418-
x-stream-index: "006"
3438+
x-stream-index: "007"
34193439
reaction:
34203440
description: 'Push notification preference for reactions on user''s activities
34213441
or comments. One of: all, none'
@@ -3432,20 +3452,26 @@ components:
34323452
comment:
34333453
type: string
34343454
x-stream-index: "002"
3455+
comment_mention:
3456+
type: string
3457+
x-stream-index: "006"
34353458
comment_reaction:
34363459
type: string
34373460
x-stream-index: "004"
3461+
comment_reply:
3462+
type: string
3463+
x-stream-index: "005"
34383464
custom_activity_types:
34393465
additionalProperties:
34403466
type: string
34413467
type: object
3442-
x-stream-index: "006"
3468+
x-stream-index: "008"
34433469
follow:
34443470
type: string
34453471
x-stream-index: "001"
34463472
mention:
34473473
type: string
3448-
x-stream-index: "005"
3474+
x-stream-index: "007"
34493475
reaction:
34503476
type: string
34513477
x-stream-index: "003"
@@ -9639,6 +9665,14 @@ components:
96399665
title: LastReactionAt
96409666
type: string
96419667
x-stream-index: "004"
9668+
latest_reactions_by:
9669+
description: The most recent users who reacted with this type, ordered by
9670+
most recent first.
9671+
items:
9672+
$ref: '#/components/schemas/ReactionGroupUserResponse'
9673+
title: LatestReactionsBy
9674+
type: array
9675+
x-stream-index: "005"
96429676
sum_scores:
96439677
description: 'SumScores is the sum of all scores of reactions of this type.
96449678
Medium allows you to clap articles more than once and shows the sum of
@@ -9653,8 +9687,34 @@ components:
96539687
- sum_scores
96549688
- first_reaction_at
96559689
- last_reaction_at
9690+
- latest_reactions_by
96569691
title: ReactionGroupResponse
96579692
type: object
9693+
ReactionGroupUserResponse:
9694+
description: Contains information about a user who reacted with this reaction
9695+
type.
9696+
properties:
9697+
created_at:
9698+
description: The time when the user reacted.
9699+
format: date-time
9700+
title: CreatedAt
9701+
type: string
9702+
x-stream-index: "003"
9703+
user:
9704+
$ref: '#/components/schemas/UserResponse'
9705+
description: The full user object.
9706+
title: User
9707+
x-stream-index: "002"
9708+
user_id:
9709+
description: The ID of the user who reacted.
9710+
title: UserID
9711+
type: string
9712+
x-stream-index: "001"
9713+
required:
9714+
- user_id
9715+
- created_at
9716+
title: ReactionGroupUserResponse
9717+
type: object
96589718
ReactionNewEvent:
96599719
description: Emitted when a new reaction is added to a message.
96609720
nullable: true
@@ -14454,7 +14514,7 @@ components:
1445414514
type: apiKey
1445514515
info:
1445614516
title: Stream API
14457-
version: v223.38.0
14517+
version: v223.50.0
1445814518
openapi: 3.0.3
1445914519
paths:
1446014520
/app:

openapi/chat-openapi.json

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

0 commit comments

Comments
 (0)