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 24, 2024
1 parent cca2c04 commit fffcc49
Show file tree
Hide file tree
Showing 14 changed files with 1,824 additions and 474 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.

375 changes: 310 additions & 65 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.

763 changes: 597 additions & 166 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.

377 changes: 312 additions & 65 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.

713 changes: 573 additions & 140 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.

39 changes: 15 additions & 24 deletions openapi/video-openapi-clientside.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,9 @@ components:
type: string
x-stream-index: "008"
review_queue_item_id:
type: string
x-stream-index: "011"
target_user_id:
type: string
x-stream-index: "010"
type:
Expand All @@ -119,6 +122,7 @@ components:
- type
- reason
- custom
- target_user_id
- review_queue_item_id
type: object
AggregatedStats:
Expand Down Expand Up @@ -5167,10 +5171,10 @@ components:
PrivacySettingsResponse:
properties:
read_receipts:
$ref: '#/components/schemas/ReadReceiptsResponse'
$ref: '#/components/schemas/ReadReceipts'
x-stream-index: "002"
typing_indicators:
$ref: '#/components/schemas/TypingIndicatorsResponse'
$ref: '#/components/schemas/TypingIndicators'
x-stream-index: "001"
type: object
PublishedTrackInfo:
Expand Down Expand Up @@ -5251,7 +5255,7 @@ components:
x-stream-index: "004.003"
sort:
items:
$ref: '#/components/schemas/SortParam'
$ref: '#/components/schemas/SortParamRequest'
maximum: 1
type: array
x-stream-index: "003"
Expand Down Expand Up @@ -5307,7 +5311,7 @@ components:
x-stream-index: "004.003"
sort:
items:
$ref: '#/components/schemas/SortParam'
$ref: '#/components/schemas/SortParamRequest'
maximum: 2
type: array
x-stream-index: "002"
Expand Down Expand Up @@ -5356,7 +5360,7 @@ components:
x-stream-index: "006.003"
sort:
items:
$ref: '#/components/schemas/SortParam'
$ref: '#/components/schemas/SortParamRequest'
maximum: 2
type: array
x-stream-index: "004"
Expand All @@ -5374,6 +5378,8 @@ components:
type: array
x-stream-index: "001"
duration:
description: Duration of the request in milliseconds
title: Duration
type: string
x-stream-index: "003.001"
next:
Expand Down Expand Up @@ -5503,14 +5509,6 @@ components:
type: boolean
x-stream-index: "001"
type: object
ReadReceiptsResponse:
properties:
enabled:
type: boolean
x-stream-index: "001"
required:
- enabled
type: object
RecordSettingsRequest:
properties:
audio_only:
Expand Down Expand Up @@ -5876,11 +5874,12 @@ components:
- reaction
- duration
type: object
SortParam:
SortParamRequest:
nullable: true
properties:
direction:
description: Direction of sorting, -1 for descending, 1 for ascending
description: Direction of sorting, 1 for Ascending, -1 for Descending, default
is 1
format: int32
title: Direction
type: integer
Expand Down Expand Up @@ -6172,14 +6171,6 @@ components:
type: boolean
x-stream-index: "001"
type: object
TypingIndicatorsResponse:
properties:
enabled:
type: boolean
x-stream-index: "001"
required:
- enabled
type: object
UnblockUserRequest:
nullable: true
properties:
Expand Down Expand Up @@ -7682,7 +7673,7 @@ components:
type: apiKey
info:
title: Stream API
version: v126.1.0
version: v126.7.0
openapi: 3.0.3
paths:
/video/call/{type}/{id}:
Expand Down
2 changes: 1 addition & 1 deletion openapi/video-openapi.json

Large diffs are not rendered by default.

15 changes: 9 additions & 6 deletions openapi/video-openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2129,7 +2129,7 @@ components:
x-stream-index: "004.003"
sort:
items:
$ref: '#/components/schemas/SortParam'
$ref: '#/components/schemas/SortParamRequest'
maximum: 1
type: array
x-stream-index: "003"
Expand Down Expand Up @@ -2185,7 +2185,7 @@ components:
x-stream-index: "004.003"
sort:
items:
$ref: '#/components/schemas/SortParam'
$ref: '#/components/schemas/SortParamRequest'
maximum: 2
type: array
x-stream-index: "002"
Expand Down Expand Up @@ -2234,7 +2234,7 @@ components:
x-stream-index: "006.003"
sort:
items:
$ref: '#/components/schemas/SortParam'
$ref: '#/components/schemas/SortParamRequest'
maximum: 2
type: array
x-stream-index: "004"
Expand All @@ -2249,6 +2249,8 @@ components:
type: array
x-stream-index: "001"
duration:
description: Duration of the request in milliseconds
title: Duration
type: string
x-stream-index: "003.001"
next:
Expand Down Expand Up @@ -2470,11 +2472,12 @@ components:
required:
- duration
type: object
SortParam:
SortParamRequest:
nullable: true
properties:
direction:
description: Direction of sorting, -1 for descending, 1 for ascending
description: Direction of sorting, 1 for Ascending, -1 for Descending, default
is 1
format: int32
title: Direction
type: integer
Expand Down Expand Up @@ -3519,7 +3522,7 @@ components:
type: apiKey
info:
title: Stream API
version: v126.1.0
version: v126.7.0
openapi: 3.0.3
paths:
/video/call/{type}/{id}:
Expand Down

0 comments on commit fffcc49

Please sign in to comment.