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 Dec 5, 2024
1 parent 9592b30 commit 0dbcfea
Show file tree
Hide file tree
Showing 14 changed files with 33 additions and 82 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.

2 changes: 1 addition & 1 deletion openapi/chat-openapi-clientside.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11003,7 +11003,7 @@ components:
type: apiKey
info:
title: Stream API
version: v138.15.0
version: v138.16.1
openapi: 3.0.3
paths:
/app:
Expand Down
2 changes: 1 addition & 1 deletion openapi/chat-openapi.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion openapi/chat-openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12401,7 +12401,7 @@ components:
type: apiKey
info:
title: Stream API
version: v138.15.0
version: v138.16.1
openapi: 3.0.3
paths:
/app:
Expand Down
2 changes: 1 addition & 1 deletion openapi/clientside-api.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion openapi/clientside-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16910,7 +16910,7 @@ components:
type: apiKey
info:
title: Stream API
version: v138.15.0
version: v138.16.1
openapi: 3.0.3
paths:
/api/v2/app:
Expand Down
2 changes: 1 addition & 1 deletion openapi/serverside-api.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion openapi/serverside-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17808,7 +17808,7 @@ components:
type: apiKey
info:
title: Stream API
version: v138.15.0
version: v138.16.1
openapi: 3.0.3
paths:
/api/v2/app:
Expand Down
2 changes: 1 addition & 1 deletion openapi/video-openapi-clientside.json

Large diffs are not rendered by default.

89 changes: 20 additions & 69 deletions openapi/video-openapi-clientside.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -370,17 +370,13 @@ components:
BlockListOptions:
properties:
behavior:
description: Blocklist behavior
enum:
- flag
- block
- shadow_block
title: Behavior
type: string
x-stream-index: "002"
blocklist:
description: Blocklist name
title: Blocklist
type: string
x-stream-index: "001"
required:
Expand Down Expand Up @@ -2778,98 +2774,66 @@ components:
archived_at:
format: date-time
type: string
x-stream-index: "015"
x-stream-index: "020"
ban_expires:
description: Expiration date of the ban
format: date-time
title: Ban expires
type: string
x-stream-index: "013"
x-stream-index: "017"
banned:
description: Whether member is banned this channel or not
title: Banned
type: boolean
x-stream-index: "012"
x-stream-index: "016"
channel_role:
description: Role of the member in the channel
title: Channel Role
type: string
x-stream-index: "018"
x-stream-index: "023"
created_at:
description: Date/time of creation
format: date-time
title: Created at
type: string
x-stream-index: "009"
x-stream-index: "012"
custom:
additionalProperties: {}
type: object
x-stream-index: "004"
x-stream-index: "006"
deleted_at:
format: date-time
type: string
x-stream-index: "011"
x-stream-index: "014"
invite_accepted_at:
description: Date when invite was accepted
format: date-time
title: Invited accepted at
type: string
x-stream-index: "006"
x-stream-index: "009"
invite_rejected_at:
description: Date when invite was rejected
format: date-time
title: Invited rejected at
type: string
x-stream-index: "007"
x-stream-index: "010"
invited:
description: Whether member was invited or not
title: Invited
type: boolean
x-stream-index: "005"
x-stream-index: "008"
is_moderator:
description: Whether member is channel moderator or not
title: Is moderator
type: boolean
x-stream-index: "003"
x-stream-index: "007"
notifications_muted:
type: boolean
x-stream-index: "019"
x-stream-index: "024"
pinned_at:
format: date-time
type: string
x-stream-index: "016"
role:
description: 'Permission level of the member in the channel (DEPRECATED:
use channel_role instead)'
enum:
- member
- moderator
- admin
- owner
title: Role
type: string
x-stream-index: "017"
x-stream-index: "021"
shadow_banned:
description: Whether member is shadow banned in this channel or not
title: Shadow banned
type: boolean
x-stream-index: "014"
x-stream-index: "019"
status:
type: string
x-stream-index: "008"
x-stream-index: "011"
updated_at:
description: Date/time of the last update
format: date-time
title: Updated at
type: string
x-stream-index: "010"
x-stream-index: "013"
user:
$ref: '#/components/schemas/UserResponse'
x-stream-index: "002"
$ref: '#/components/schemas/User'
x-stream-index: "005"
user_id:
title: User ID
type: string
x-stream-index: "001"
x-stream-index: "004"
required:
- custom
- created_at
Expand All @@ -2878,7 +2842,6 @@ components:
- shadow_banned
- channel_role
- notifications_muted
title: Channel member
type: object
ChannelMute:
nullable: true
Expand Down Expand Up @@ -4595,19 +4558,15 @@ components:
LabelThresholds:
properties:
block:
description: Threshold for automatic message block
format: float
maximum: 1
minimum: 0
title: Block
type: number
x-stream-index: "002"
flag:
description: Threshold for automatic message flag
format: float
maximum: 1
minimum: 0
title: Flag
type: number
x-stream-index: "001"
type: object
Expand Down Expand Up @@ -6759,24 +6718,16 @@ components:
- height
type: object
Thresholds:
description: Sets thresholds for AI moderation
properties:
explicit:
$ref: '#/components/schemas/LabelThresholds'
description: Thresholds for explicit messages
title: LabelThresholds
x-stream-index: "001"
spam:
$ref: '#/components/schemas/LabelThresholds'
description: Thresholds for spam
title: LabelThresholds
x-stream-index: "002"
toxic:
$ref: '#/components/schemas/LabelThresholds'
description: Thresholds for toxic messages
title: LabelThresholds
x-stream-index: "003"
title: Auto moderation thresholds
type: object
ThumbnailResponse:
properties:
Expand Down Expand Up @@ -8407,7 +8358,7 @@ components:
type: apiKey
info:
title: Stream API
version: v138.15.0
version: v138.16.1
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.

2 changes: 1 addition & 1 deletion openapi/video-openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4033,7 +4033,7 @@ components:
type: apiKey
info:
title: Stream API
version: v138.15.0
version: v138.16.1
openapi: 3.0.3
paths:
/video/call/{type}/{id}:
Expand Down

0 comments on commit 0dbcfea

Please sign in to comment.