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 #733

Closed
wants to merge 1 commit into from
Closed
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

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.

63 changes: 27 additions & 36 deletions openapi/chat-openapi-clientside.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4369,7 +4369,7 @@ components:
type: array
x-stream-index: "001.002"
type:
default: notification.thread_message_new
default: message.new
type: string
x-stream-index: "004.001"
user:
Expand Down Expand Up @@ -4590,7 +4590,7 @@ components:
type: string
x-stream-index: "036"
quoted_message:
$ref: '#/components/schemas/Message'
$ref: '#/components/schemas/MessageResponse'
x-stream-index: "019"
quoted_message_id:
type: string
Expand Down Expand Up @@ -4891,7 +4891,7 @@ components:
type: string
x-stream-index: "001.036"
quoted_message:
$ref: '#/components/schemas/Message'
$ref: '#/components/schemas/MessageResponse'
x-stream-index: "001.019"
quoted_message_id:
type: string
Expand Down Expand Up @@ -5021,7 +5021,7 @@ components:
x-stream-event-client-type: true
x-stream-is-event: true
x-stream-ws-base-event-name: VideoEvent
ModerationMarkSafeEvent:
ModerationMarkReviewedEvent:
properties:
created_at:
format: date-time
Expand All @@ -5034,7 +5034,7 @@ components:
$ref: '#/components/schemas/Message'
x-stream-index: "002"
type:
default: moderation.mark_safe
default: moderation.mark_reviewed
type: string
x-stream-index: "004.001"
user:
Expand All @@ -5043,7 +5043,7 @@ components:
required:
- type
- created_at
title: ModerationMarkSafeEvent
title: ModerationMarkReviewedEvent
type: object
x-stream-event-client-type: true
x-stream-is-event: true
Expand Down Expand Up @@ -6539,7 +6539,7 @@ components:
type: string
x-stream-index: "002"
type: object
QueryBannedUsersRequest:
QueryBannedUsersPayload:
properties:
exclude_expired_bans:
description: Whether to exclude expired bans or not
Expand Down Expand Up @@ -6673,61 +6673,47 @@ components:
- duration
title: Channels list
type: object
QueryMembersRequest:
QueryMembersPayload:
properties:
filter_conditions:
additionalProperties: {}
description: Filter to apply to members
title: Filter conditions
type: object
x-stream-index: "004"
id:
description: Channel ID to interact with
title: Channel ID
type: string
x-stream-index: "002"
limit:
description: Number of records to return
format: int32
maximum: 300
minimum: 0
title: Limit
type: integer
x-stream-index: "006.003"
members:
description: List of members to search in distinct channels
items:
$ref: '#/components/schemas/ChannelMember'
maximum: 100
title: Members
type: array
x-stream-index: "003"
offset:
description: Number of records to offset
format: int32
maximum: 10000
title: Offset
type: integer
x-stream-index: "006.004"
sort:
description: Array of sort parameters
items:
$ref: '#/components/schemas/SortParamRequest'
maximum: 1
title: Sort
type: array
x-stream-index: "005"
type:
description: Channel type to interact with
maxLength: 64
title: Channel type
type: string
x-stream-index: "001"
required:
- type
- filter_conditions
type: object
QueryMessageFlagsRequest:
QueryMessageFlagsPayload:
properties:
filter_conditions:
additionalProperties: {}
Expand Down Expand Up @@ -7271,6 +7257,7 @@ components:
x-stream-index: "005"
type:
description: Type of reaction
maxLength: 30
title: Type
type: string
x-stream-index: "004"
Expand Down Expand Up @@ -7526,7 +7513,7 @@ components:
- actions
- content_changed
type: object
SearchRequest:
SearchPayload:
properties:
filter_conditions:
additionalProperties: {}
Expand Down Expand Up @@ -8385,7 +8372,7 @@ components:
type: array
x-stream-index: "002"
parent_message:
$ref: '#/components/schemas/Message'
$ref: '#/components/schemas/MessageResponse'
description: Parent Message
title: Message
x-stream-index: "001.004"
Expand Down Expand Up @@ -9012,7 +8999,7 @@ components:
type: string
x-stream-index: "003.001"
message:
$ref: '#/components/schemas/Message'
$ref: '#/components/schemas/MessageResponse'
description: Updated message
title: Message
x-stream-index: "001"
Expand Down Expand Up @@ -9051,7 +9038,7 @@ components:
type: string
x-stream-index: "003.001"
message:
$ref: '#/components/schemas/Message'
$ref: '#/components/schemas/MessageResponse'
x-stream-index: "001"
pending_message_metadata:
additionalProperties:
Expand Down Expand Up @@ -10144,7 +10131,7 @@ components:
message.updated: '#/components/schemas/MessageUpdatedEvent'
moderation.custom_action: '#/components/schemas/ModerationCustomActionEvent'
moderation.flagged: '#/components/schemas/ModerationFlaggedEvent'
moderation.mark_safe: '#/components/schemas/ModerationMarkSafeEvent'
moderation.mark_reviewed: '#/components/schemas/ModerationMarkReviewedEvent'
notification.added_to_channel: '#/components/schemas/NotificationAddedToChannelEvent'
notification.channel_deleted: '#/components/schemas/NotificationChannelDeletedEvent'
notification.channel_mutes_updated: '#/components/schemas/NotificationChannelMutesUpdatedEvent'
Expand Down Expand Up @@ -10197,7 +10184,7 @@ components:
- $ref: '#/components/schemas/MessageUpdatedEvent'
- $ref: '#/components/schemas/ModerationCustomActionEvent'
- $ref: '#/components/schemas/ModerationFlaggedEvent'
- $ref: '#/components/schemas/ModerationMarkSafeEvent'
- $ref: '#/components/schemas/ModerationMarkReviewedEvent'
- $ref: '#/components/schemas/NotificationAddedToChannelEvent'
- $ref: '#/components/schemas/NotificationChannelDeletedEvent'
- $ref: '#/components/schemas/NotificationChannelMutesUpdatedEvent'
Expand Down Expand Up @@ -10256,7 +10243,7 @@ components:
message.updated: '#/components/schemas/MessageUpdatedEvent'
moderation.custom_action: '#/components/schemas/ModerationCustomActionEvent'
moderation.flagged: '#/components/schemas/ModerationFlaggedEvent'
moderation.mark_safe: '#/components/schemas/ModerationMarkSafeEvent'
moderation.mark_reviewed: '#/components/schemas/ModerationMarkReviewedEvent'
notification.thread_message_new: '#/components/schemas/MessageNewEvent'
reaction.deleted: '#/components/schemas/ReactionDeletedEvent'
reaction.new: '#/components/schemas/ReactionNewEvent'
Expand Down Expand Up @@ -10301,7 +10288,7 @@ components:
- $ref: '#/components/schemas/MessageUpdatedEvent'
- $ref: '#/components/schemas/ModerationCustomActionEvent'
- $ref: '#/components/schemas/ModerationFlaggedEvent'
- $ref: '#/components/schemas/ModerationMarkSafeEvent'
- $ref: '#/components/schemas/ModerationMarkReviewedEvent'
- $ref: '#/components/schemas/ReactionDeletedEvent'
- $ref: '#/components/schemas/ReactionNewEvent'
- $ref: '#/components/schemas/ReactionUpdatedEvent'
Expand Down Expand Up @@ -10399,7 +10386,7 @@ components:
type: apiKey
info:
title: Stream API
version: v130.6.4
version: v130.8.0
openapi: 3.0.3
paths:
/app:
Expand Down Expand Up @@ -11888,7 +11875,7 @@ paths:
- content:
application/json:
schema:
$ref: '#/components/schemas/QueryMembersRequest'
$ref: '#/components/schemas/QueryMembersPayload'
x-stream-index: "001"
in: query
name: payload
Expand Down Expand Up @@ -12801,7 +12788,9 @@ paths:
- content:
application/json:
schema:
$ref: '#/components/schemas/QueryMessageFlagsRequest'
$ref: '#/components/schemas/QueryMessageFlagsPayload'
description: JSON object with query message flags payload
title: Payload
x-stream-index: "001"
in: query
name: payload
Expand Down Expand Up @@ -13543,7 +13532,9 @@ paths:
- content:
application/json:
schema:
$ref: '#/components/schemas/QueryBannedUsersRequest'
$ref: '#/components/schemas/QueryBannedUsersPayload'
description: JSON object with query user bans payload
title: Payload
x-stream-index: "001"
in: query
name: payload
Expand Down Expand Up @@ -13581,7 +13572,7 @@ paths:
- content:
application/json:
schema:
$ref: '#/components/schemas/SearchRequest'
$ref: '#/components/schemas/SearchPayload'
description: JSON object with search payload
title: Payload
x-stream-index: "001"
Expand Down
2 changes: 1 addition & 1 deletion openapi/chat-openapi.json

Large diffs are not rendered by default.

Loading
Loading