Skip to content

Commit a91347e

Browse files
committed
Update video openapi Spec
1 parent 7bcd03f commit a91347e

36 files changed

+427
-47
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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4710,7 +4710,7 @@ components:
47104710
type: array
47114711
x-stream-index: "001.002"
47124712
type:
4713-
default: notification.thread_message_new
4713+
default: message.new
47144714
type: string
47154715
x-stream-index: "004.001"
47164716
user:
@@ -12167,7 +12167,7 @@ components:
1216712167
type: apiKey
1216812168
info:
1216912169
title: Stream API
12170-
version: v200.1.0
12170+
version: v200.2.0
1217112171
openapi: 3.0.3
1217212172
paths:
1217312173
/app:

openapi/chat-openapi.json

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

openapi/chat-openapi.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,7 @@ components:
606606
type: string
607607
x-stream-index: "002.001"
608608
type:
609-
default: export.channels.error
609+
default: export.users.error
610610
type: string
611611
x-stream-index: "003.002"
612612
required:
@@ -16802,7 +16802,7 @@ components:
1680216802
type: apiKey
1680316803
info:
1680416804
title: Stream API
16805-
version: v200.1.0
16805+
version: v200.2.0
1680616806
openapi: 3.0.3
1680716807
paths:
1680816808
/app:

openapi/clientside-api.json

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

openapi/clientside-api.yaml

Lines changed: 96 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21445,6 +21445,43 @@ components:
2144521445
- actions
2144621446
- flags_count
2144721447
type: object
21448+
RingCallRequest:
21449+
nullable: true
21450+
properties:
21451+
members_ids:
21452+
description: Members that should receive the ring. If no ids are provided,
21453+
all call members who are not already in the call will receive ring notifications.
21454+
items:
21455+
type: string
21456+
maximum: 25
21457+
title: Members IDs
21458+
type: array
21459+
x-stream-index: "003"
21460+
video:
21461+
description: Indicate if call should be video
21462+
title: Video
21463+
type: boolean
21464+
x-stream-index: "004"
21465+
title: RingCallRequest
21466+
type: object
21467+
RingCallResponse:
21468+
nullable: true
21469+
properties:
21470+
duration:
21471+
type: string
21472+
x-stream-index: "001.001"
21473+
members_ids:
21474+
description: List of members ringing notification was sent to
21475+
items:
21476+
type: string
21477+
title: Members IDs
21478+
type: array
21479+
x-stream-index: "002"
21480+
required:
21481+
- duration
21482+
- members_ids
21483+
title: RingCallResponse
21484+
type: object
2144821485
RingSettingsRequest:
2144921486
properties:
2145021487
auto_cancel_timeout_ms:
@@ -27818,7 +27855,7 @@ components:
2781827855
type: apiKey
2781927856
info:
2782027857
title: Stream API
27821-
version: v200.1.0
27858+
version: v200.2.0
2782227859
openapi: 3.0.3
2782327860
paths:
2782427861
/api/v2/app:
@@ -35812,6 +35849,64 @@ paths:
3581235849
summary: Request permission
3581335850
tags:
3581435851
- product:video
35852+
/api/v2/video/call/{type}/{id}/ring:
35853+
post:
35854+
description: |
35855+
Sends a ring notification to the provided users who are not already in the call. All users should be members of the call
35856+
35857+
Sends events:
35858+
- call.ring
35859+
operationId: RingCall
35860+
parameters:
35861+
- in: path
35862+
name: type
35863+
required: true
35864+
schema:
35865+
description: The type of call
35866+
maxLength: 64
35867+
title: Type
35868+
type: string
35869+
writeOnly: true
35870+
x-stream-index: "001.001"
35871+
- in: path
35872+
name: id
35873+
required: true
35874+
schema:
35875+
description: Call ID
35876+
maxLength: 64
35877+
title: ID
35878+
type: string
35879+
writeOnly: true
35880+
x-stream-index: "001.002"
35881+
requestBody:
35882+
content:
35883+
application/json:
35884+
schema:
35885+
$ref: '#/components/schemas/RingCallRequest'
35886+
description: RingCallRequest
35887+
required: true
35888+
responses:
35889+
"201":
35890+
content:
35891+
application/json:
35892+
schema:
35893+
$ref: '#/components/schemas/RingCallResponse'
35894+
description: RingCallResponse
35895+
"400":
35896+
content:
35897+
application/json:
35898+
schema:
35899+
$ref: '#/components/schemas/APIError'
35900+
description: Bad request
35901+
"429":
35902+
content:
35903+
application/json:
35904+
schema:
35905+
$ref: '#/components/schemas/APIError'
35906+
description: Too many requests
35907+
summary: Ring Call Users
35908+
tags:
35909+
- product:video
3581535910
/api/v2/video/call/{type}/{id}/rtmp_broadcasts:
3581635911
post:
3581735912
description: |

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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7236,7 +7236,7 @@ components:
72367236
type: apiKey
72377237
info:
72387238
title: Stream API
7239-
version: v200.1.0
7239+
version: v200.2.0
72407240
openapi: 3.0.3
72417241
paths:
72427242
/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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8488,7 +8488,7 @@ components:
84888488
type: apiKey
84898489
info:
84908490
title: Stream API
8491-
version: v200.1.0
8491+
version: v200.2.0
84928492
openapi: 3.0.3
84938493
paths:
84948494
/api/v2/moderation/ban:

0 commit comments

Comments
 (0)