Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion openapi/chat-openapi-clientside.json

Large diffs are not rendered by default.

196 changes: 173 additions & 23 deletions openapi/chat-openapi-clientside.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion openapi/chat-openapi.json

Large diffs are not rendered by default.

328 changes: 251 additions & 77 deletions openapi/chat-openapi.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion openapi/clientside-api.json

Large diffs are not rendered by default.

42,646 changes: 25,630 additions & 17,016 deletions openapi/clientside-api.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion openapi/moderation-clientside-api.json

Large diffs are not rendered by default.

237 changes: 198 additions & 39 deletions openapi/moderation-clientside-api.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion openapi/moderation-serverside-api.json

Large diffs are not rendered by default.

215 changes: 156 additions & 59 deletions openapi/moderation-serverside-api.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion openapi/serverside-api.json

Large diffs are not rendered by default.

53,120 changes: 31,525 additions & 21,595 deletions openapi/serverside-api.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion openapi/v2/chat-clientside-api.json

Large diffs are not rendered by default.

354 changes: 314 additions & 40 deletions openapi/v2/chat-clientside-api.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion openapi/v2/chat-serverside-api.json

Large diffs are not rendered by default.

462 changes: 349 additions & 113 deletions openapi/v2/chat-serverside-api.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion openapi/v2/clientside-api.json

Large diffs are not rendered by default.

42,646 changes: 25,630 additions & 17,016 deletions openapi/v2/clientside-api.yaml

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions openapi/v2/feeds-clientside-api.json

Large diffs are not rendered by default.

19,793 changes: 19,793 additions & 0 deletions openapi/v2/feeds-clientside-api.yaml

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions openapi/v2/feeds-serverside-api.json

Large diffs are not rendered by default.

25,684 changes: 25,684 additions & 0 deletions openapi/v2/feeds-serverside-api.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion openapi/v2/moderation-clientside-api.json

Large diffs are not rendered by default.

237 changes: 198 additions & 39 deletions openapi/v2/moderation-clientside-api.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion openapi/v2/moderation-serverside-api.json

Large diffs are not rendered by default.

215 changes: 156 additions & 59 deletions openapi/v2/moderation-serverside-api.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion openapi/v2/serverside-api.json

Large diffs are not rendered by default.

53,120 changes: 31,525 additions & 21,595 deletions openapi/v2/serverside-api.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion openapi/v2/video-clientside-api.json

Large diffs are not rendered by default.

214 changes: 191 additions & 23 deletions openapi/v2/video-clientside-api.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion openapi/v2/video-serverside-api.json

Large diffs are not rendered by default.

267 changes: 243 additions & 24 deletions openapi/v2/video-serverside-api.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion openapi/video-openapi-clientside.json

Large diffs are not rendered by default.

133 changes: 132 additions & 1 deletion openapi/video-openapi-clientside.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3948,6 +3948,76 @@ components:
- duration
title: JoinCallResponse
type: object
KickUserRequest:
description: KickUserRequest is the payload for kicking a user from a call.
Optionally block the user as well.
nullable: true
properties:
block:
description: If true, also block the user from rejoining the call
title: Block
type: boolean
x-stream-index: "004"
user_id:
description: The user to kick
title: UserID
type: string
x-stream-index: "003"
required:
- user_id
title: KickUserRequest
type: object
KickUserResponse:
description: KickUserResponse is the payload for kicking a user from a call.
nullable: true
properties:
duration:
description: Duration of the request in milliseconds
title: Duration
type: string
x-stream-index: "001.001"
required:
- duration
title: KickUserResponse
type: object
KickedUserEvent:
description: This event is sent to call participants to notify when a user is
kicked from a call. Clients should make the kicked user leave the call UI.
properties:
call_cid:
type: string
x-stream-index: "002.001"
created_at:
format: date-time
type: string
x-stream-index: "001.002"
kicked_by_user:
$ref: '#/components/schemas/UserResponse'
description: The user that kicked the participant, null if server-side
title: Kicked by
x-stream-index: "004"
type:
default: call.kicked_user
description: 'The type of event: "call.kicked_user" in this case'
title: Event Type
type: string
x-stream-index: "001.001"
user:
$ref: '#/components/schemas/UserResponse'
description: The user that was kicked
title: User
x-stream-index: "003"
required:
- type
- created_at
- call_cid
- user
title: KickedUserEvent
type: object
x-stream-event-call-type: true
x-stream-event-doc-group: call
x-stream-is-event: true
x-stream-ws-base-event-name: VideoEvent
LayoutSettingsRequest:
properties:
detect_orientation:
Expand Down Expand Up @@ -6771,6 +6841,7 @@ components:
call.hls_broadcasting_failed: '#/components/schemas/CallHLSBroadcastingFailedEvent'
call.hls_broadcasting_started: '#/components/schemas/CallHLSBroadcastingStartedEvent'
call.hls_broadcasting_stopped: '#/components/schemas/CallHLSBroadcastingStoppedEvent'
call.kicked_user: '#/components/schemas/KickedUserEvent'
call.live_started: '#/components/schemas/CallLiveStartedEvent'
call.member_added: '#/components/schemas/CallMemberAddedEvent'
call.member_removed: '#/components/schemas/CallMemberRemovedEvent'
Expand Down Expand Up @@ -6870,6 +6941,7 @@ components:
- $ref: '#/components/schemas/ConnectionErrorEvent'
- $ref: '#/components/schemas/CustomVideoEvent'
- $ref: '#/components/schemas/HealthCheckEvent'
- $ref: '#/components/schemas/KickedUserEvent'
- $ref: '#/components/schemas/PermissionRequestEvent'
- $ref: '#/components/schemas/UnblockedUserEvent'
- $ref: '#/components/schemas/UpdatedCallPermissionsEvent'
Expand Down Expand Up @@ -7010,7 +7082,7 @@ components:
type: apiKey
info:
title: Stream API
version: v187.13.0
version: v190.4.0
openapi: 3.0.3
paths:
/video/call/{type}/{id}:
Expand Down Expand Up @@ -7740,6 +7812,65 @@ paths:
summary: Join call
tags:
- product:video
/video/call/{type}/{id}/kick:
post:
description: |
Kicks a user from the call. Optionally block the user from rejoining by setting block=true.

Sends events:
- call.blocked_user
- call.kicked_user
operationId: KickUser
parameters:
- in: path
name: type
required: true
schema:
description: The type of call
maxLength: 64
title: Type
type: string
writeOnly: true
x-stream-index: "002.001"
- in: path
name: id
required: true
schema:
description: Call ID
maxLength: 64
title: ID
type: string
writeOnly: true
x-stream-index: "002.002"
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/KickUserRequest'
description: KickUserRequest
required: true
responses:
"201":
content:
application/json:
schema:
$ref: '#/components/schemas/KickUserResponse'
description: KickUserResponse
"400":
content:
application/json:
schema:
$ref: '#/components/schemas/APIError'
description: Bad request
"429":
content:
application/json:
schema:
$ref: '#/components/schemas/APIError'
description: Too many requests
summary: Kick user from a call
tags:
- product:video
/video/call/{type}/{id}/mark_ended:
post:
description: |2
Expand Down
2 changes: 1 addition & 1 deletion openapi/video-openapi.json

Large diffs are not rendered by default.

Loading
Loading