Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update video openapi Spec #556

Merged
merged 1 commit into from
May 10, 2024
Merged
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.

39 changes: 14 additions & 25 deletions openapi/chat-openapi-clientside.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -268,22 +268,22 @@ components:
$ref: '#/components/schemas/UserRequest'
description: User who issued a ban
title: Banned by
x-stream-index: "009"
x-stream-index: "010"
banned_by_id:
description: User ID who issued a ban
title: Banned by ID
type: string
x-stream-index: "008"
id:
description: Channel ID to ban user in
title: ID
x-stream-index: "009"
channel_cid:
description: Channel CID to ban user in eg. messaging:123
title: Channel CID
type: string
x-stream-index: "005"
x-stream-index: "006"
ip_ban:
description: Whether to perform IP ban or not
title: IP ban
type: boolean
x-stream-index: "007"
x-stream-index: "008"
reason:
description: Ban reason
title: Reason
Expand All @@ -293,7 +293,7 @@ components:
description: Whether to perform shadow ban or not
title: Shadow
type: boolean
x-stream-index: "006"
x-stream-index: "007"
target_user_id:
description: ID of user to ban
title: Target user ID
Expand All @@ -305,11 +305,6 @@ components:
title: Timeout
type: integer
x-stream-index: "002"
type:
description: Channel type to ban user in
title: Type
type: string
x-stream-index: "004"
required:
- target_user_id
type: object
Expand Down Expand Up @@ -2328,8 +2323,6 @@ components:
x-stream-index: "001.009"
required:
- id
- name
- image
- custom
- language
- role
Expand Down Expand Up @@ -8289,8 +8282,6 @@ components:
x-stream-index: "001.009"
required:
- id
- name
- image
- custom
- language
- role
Expand Down Expand Up @@ -8656,7 +8647,7 @@ components:
type: apiKey
info:
title: Stream API
version: v112.5.0
version: v112.7.0
openapi: 3.0.3
paths:
/app:
Expand Down Expand Up @@ -10920,22 +10911,20 @@ paths:
required: true
schema:
type: string
writeOnly: true
x-stream-index: "001"
- in: query
name: type
name: channel_cid
schema:
type: string
writeOnly: true
x-stream-index: "002"
- in: query
name: id
schema:
type: string
x-stream-index: "003"
- in: query
name: created_by
schema:
type: string
x-stream-index: "004"
writeOnly: true
x-stream-index: "005"
responses:
"200":
content:
Expand Down
2 changes: 1 addition & 1 deletion openapi/chat-openapi.json

Large diffs are not rendered by default.

43 changes: 16 additions & 27 deletions openapi/chat-openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -534,22 +534,22 @@ components:
$ref: '#/components/schemas/UserRequest'
description: User who issued a ban
title: Banned by
x-stream-index: "009"
x-stream-index: "010"
banned_by_id:
description: User ID who issued a ban
title: Banned by ID
type: string
x-stream-index: "008"
id:
description: Channel ID to ban user in
title: ID
x-stream-index: "009"
channel_cid:
description: Channel CID to ban user in eg. messaging:123
title: Channel CID
type: string
x-stream-index: "005"
x-stream-index: "006"
ip_ban:
description: Whether to perform IP ban or not
title: IP ban
type: boolean
x-stream-index: "007"
x-stream-index: "008"
reason:
description: Ban reason
title: Reason
Expand All @@ -559,7 +559,7 @@ components:
description: Whether to perform shadow ban or not
title: Shadow
type: boolean
x-stream-index: "006"
x-stream-index: "007"
target_user_id:
description: ID of user to ban
title: Target user ID
Expand All @@ -571,17 +571,12 @@ components:
title: Timeout
type: integer
x-stream-index: "002"
type:
description: Channel type to ban user in
title: Type
type: string
x-stream-index: "004"
user:
$ref: '#/components/schemas/UserRequest'
x-stream-index: "010.002"
x-stream-index: "011.002"
user_id:
type: string
x-stream-index: "010.001"
x-stream-index: "011.001"
required:
- target_user_id
type: object
Expand Down Expand Up @@ -3677,8 +3672,6 @@ components:
x-stream-index: "001.009"
required:
- id
- name
- image
- custom
- language
- role
Expand Down Expand Up @@ -10166,8 +10159,6 @@ components:
x-stream-index: "001.009"
required:
- id
- name
- image
- custom
- language
- role
Expand Down Expand Up @@ -10416,7 +10407,7 @@ components:
type: apiKey
info:
title: Stream API
version: v112.5.0
version: v112.7.0
openapi: 3.0.3
paths:
/app:
Expand Down Expand Up @@ -13528,22 +13519,20 @@ paths:
required: true
schema:
type: string
writeOnly: true
x-stream-index: "001"
- in: query
name: type
name: channel_cid
schema:
type: string
writeOnly: true
x-stream-index: "002"
- in: query
name: id
schema:
type: string
x-stream-index: "003"
- in: query
name: created_by
schema:
type: string
x-stream-index: "004"
writeOnly: true
x-stream-index: "005"
responses:
"200":
content:
Expand Down
2 changes: 1 addition & 1 deletion openapi/clientside-api.json

Large diffs are not rendered by default.

Loading
Loading