Skip to content

Commit

Permalink
Update video openapi Spec
Browse files Browse the repository at this point in the history
  • Loading branch information
stream-ci-zz committed Jul 12, 2024
1 parent 3217d38 commit 5f8d7f8
Show file tree
Hide file tree
Showing 14 changed files with 4,031 additions and 826 deletions.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docusaurus/video/docusaurus/docs/api/video-openapi.json

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

1,118 changes: 893 additions & 225 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.

253 changes: 183 additions & 70 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.

1,250 changes: 972 additions & 278 deletions openapi/clientside-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.

349 changes: 240 additions & 109 deletions openapi/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.

1,787 changes: 1,681 additions & 106 deletions openapi/video-openapi-clientside.yaml

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

84 changes: 54 additions & 30 deletions openapi/video-openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ components:
nullable: true
properties:
duration:
description: Duration of the request in human-readable format
description: Duration of the request in milliseconds
title: Duration
type: string
x-stream-index: "001.001"
Expand Down Expand Up @@ -346,6 +346,9 @@ components:
team:
type: string
x-stream-index: "001"
video:
type: boolean
x-stream-index: "008"
type: object
CallResponse:
description: Represents a call
Expand Down Expand Up @@ -738,7 +741,7 @@ components:
nullable: true
properties:
duration:
description: Duration of the request in human-readable format
description: Duration of the request in milliseconds
title: Duration
type: string
x-stream-index: "001.001"
Expand Down Expand Up @@ -788,7 +791,7 @@ components:
nullable: true
properties:
duration:
description: Duration of the request in human-readable format
description: Duration of the request in milliseconds
title: Duration
type: string
x-stream-index: "001.001"
Expand Down Expand Up @@ -977,7 +980,7 @@ components:
nullable: true
properties:
duration:
description: Duration of the request in human-readable format
description: Duration of the request in milliseconds
title: Duration
type: string
x-stream-index: "001.001"
Expand Down Expand Up @@ -1030,7 +1033,7 @@ components:
$ref: '#/components/schemas/CallResponse'
x-stream-index: "001"
duration:
description: Duration of the request in human-readable format
description: Duration of the request in milliseconds
title: Duration
type: string
x-stream-index: "003.001"
Expand All @@ -1045,7 +1048,7 @@ components:
nullable: true
properties:
duration:
description: Duration of the request in human-readable format
description: Duration of the request in milliseconds
title: Duration
type: string
x-stream-index: "001.001"
Expand Down Expand Up @@ -1357,7 +1360,7 @@ components:
$ref: '#/components/schemas/CallTimeline'
x-stream-index: "014"
duration:
description: Duration of the request in human-readable format
description: Duration of the request in milliseconds
title: Duration
type: string
x-stream-index: "001.001"
Expand Down Expand Up @@ -1460,7 +1463,7 @@ components:
nullable: true
properties:
duration:
description: Duration of the request in human-readable format
description: Duration of the request in milliseconds
title: Duration
type: string
x-stream-index: "002.001"
Expand All @@ -1484,7 +1487,7 @@ components:
format: int32
maximum: 100
type: integer
x-stream-index: "006"
x-stream-index: "007"
notify:
description: if provided it sends a notification event to the members for
this call
Expand All @@ -1496,6 +1499,9 @@ components:
title: Ring
type: boolean
x-stream-index: "004"
video:
type: boolean
x-stream-index: "006"
type: object
GetOrCreateCallResponse:
nullable: true
Expand Down Expand Up @@ -1553,7 +1559,7 @@ components:
$ref: '#/components/schemas/CallResponse'
x-stream-index: "001"
duration:
description: Duration of the request in human-readable format
description: Duration of the request in milliseconds
title: Duration
type: string
x-stream-index: "002.001"
Expand Down Expand Up @@ -1715,7 +1721,7 @@ components:
nullable: true
properties:
duration:
description: Duration of the request in human-readable format
description: Duration of the request in milliseconds
title: Duration
type: string
x-stream-index: "001.001"
Expand Down Expand Up @@ -1922,7 +1928,7 @@ components:
nullable: true
properties:
duration:
description: Duration of the request in human-readable format
description: Duration of the request in milliseconds
title: Duration
type: string
x-stream-index: "001.001"
Expand Down Expand Up @@ -2020,9 +2026,13 @@ components:
nullable: true
properties:
session_id:
description: the session ID of the user who pinned the message
title: SessionID
type: string
x-stream-index: "003"
user_id:
description: the user ID of the user who pinned the message
title: UserID
type: string
x-stream-index: "002"
required:
Expand All @@ -2033,7 +2043,7 @@ components:
nullable: true
properties:
duration:
description: Duration of the request in human-readable format
description: Duration of the request in milliseconds
title: Duration
type: string
x-stream-index: "001.001"
Expand Down Expand Up @@ -2133,7 +2143,7 @@ components:
nullable: true
properties:
duration:
description: Duration of the request in human-readable format
description: Duration of the request in milliseconds
title: Duration
type: string
x-stream-index: "003.001"
Expand Down Expand Up @@ -2182,7 +2192,7 @@ components:
nullable: true
properties:
duration:
description: Duration of the request in human-readable format
description: Duration of the request in milliseconds
title: Duration
type: string
x-stream-index: "002.001"
Expand Down Expand Up @@ -2323,7 +2333,7 @@ components:
nullable: true
properties:
duration:
description: Duration of the request in human-readable format
description: Duration of the request in milliseconds
title: Duration
type: string
x-stream-index: "001"
Expand Down Expand Up @@ -2480,7 +2490,7 @@ components:
nullable: true
properties:
duration:
description: Duration of the request in human-readable format
description: Duration of the request in milliseconds
title: Duration
type: string
x-stream-index: "001.001"
Expand Down Expand Up @@ -2530,7 +2540,7 @@ components:
nullable: true
properties:
duration:
description: Duration of the request in human-readable format
description: Duration of the request in milliseconds
title: Duration
type: string
x-stream-index: "001.001"
Expand All @@ -2547,7 +2557,7 @@ components:
$ref: '#/components/schemas/CallResponse'
x-stream-index: "001"
duration:
description: Duration of the request in human-readable format
description: Duration of the request in milliseconds
title: Duration
type: string
x-stream-index: "002.001"
Expand All @@ -2562,7 +2572,7 @@ components:
nullable: true
properties:
duration:
description: Duration of the request in human-readable format
description: Duration of the request in milliseconds
title: Duration
type: string
x-stream-index: "001.001"
Expand All @@ -2576,7 +2586,7 @@ components:
nullable: true
properties:
duration:
description: Duration of the request in human-readable format
description: Duration of the request in milliseconds
title: Duration
type: string
x-stream-index: "001.001"
Expand Down Expand Up @@ -2738,7 +2748,7 @@ components:
nullable: true
properties:
duration:
description: Duration of the request in human-readable format
description: Duration of the request in milliseconds
title: Duration
type: string
x-stream-index: "001.001"
Expand All @@ -2749,9 +2759,13 @@ components:
nullable: true
properties:
session_id:
description: the session ID of the user who pinned the message
title: SessionID
type: string
x-stream-index: "003"
user_id:
description: the user ID of the user who pinned the message
title: UserID
type: string
x-stream-index: "002"
required:
Expand All @@ -2762,7 +2776,7 @@ components:
nullable: true
properties:
duration:
description: Duration of the request in human-readable format
description: Duration of the request in milliseconds
title: Duration
type: string
x-stream-index: "001.001"
Expand Down Expand Up @@ -2793,7 +2807,7 @@ components:
nullable: true
properties:
duration:
description: Duration of the request in human-readable format
description: Duration of the request in milliseconds
title: Duration
type: string
x-stream-index: "001.001"
Expand Down Expand Up @@ -2953,7 +2967,7 @@ components:
type: string
x-stream-index: "001.003"
duration:
description: Duration of the request in human-readable format
description: Duration of the request in milliseconds
title: Duration
type: string
x-stream-index: "002.001"
Expand Down Expand Up @@ -3000,7 +3014,7 @@ components:
nullable: true
properties:
duration:
description: Duration of the request in human-readable format
description: Duration of the request in milliseconds
title: Duration
type: string
x-stream-index: "001.001"
Expand Down Expand Up @@ -3078,6 +3092,10 @@ components:
type: object
UserResponse:
properties:
ban_expires:
format: date-time
type: string
x-stream-index: "003"
banned:
type: boolean
x-stream-index: "001.011"
Expand Down Expand Up @@ -3110,7 +3128,7 @@ components:
items:
$ref: '#/components/schemas/Device'
type: array
x-stream-index: "004"
x-stream-index: "005"
id:
type: string
x-stream-index: "001.001"
Expand All @@ -3119,7 +3137,7 @@ components:
x-stream-index: "001.003"
invisible:
type: boolean
x-stream-index: "005"
x-stream-index: "006"
language:
type: string
x-stream-index: "001.005"
Expand All @@ -3135,7 +3153,7 @@ components:
x-stream-index: "001.012"
push_notifications:
$ref: '#/components/schemas/PushNotificationSettings'
x-stream-index: "003"
x-stream-index: "004"
revoke_tokens_issued_before:
format: date-time
type: string
Expand Down Expand Up @@ -3501,7 +3519,7 @@ components:
type: apiKey
info:
title: Stream API
version: v122.3.0
version: v125.6.0
openapi: 3.0.3
paths:
/video/call/{type}/{id}:
Expand Down Expand Up @@ -3554,6 +3572,12 @@ paths:
type: boolean
writeOnly: true
x-stream-index: "006"
- in: query
name: video
schema:
type: boolean
writeOnly: true
x-stream-index: "007"
responses:
"200":
content:
Expand Down

0 comments on commit 5f8d7f8

Please sign in to comment.