Skip to content
Open
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.

348 changes: 137 additions & 211 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.

364 changes: 152 additions & 212 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.

400 changes: 185 additions & 215 deletions openapi/clientside-api.yaml

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

113 changes: 75 additions & 38 deletions openapi/moderation-clientside-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2259,6 +2259,14 @@ components:
- channel_role
- notifications_muted
type: object
ChannelMemberResponse:
properties:
channel_role:
type: string
x-stream-index: "001"
required:
- channel_role
type: object
ChannelMute:
nullable: true
properties:
Expand Down Expand Up @@ -4044,7 +4052,7 @@ components:
x-stream-index: "033"
deleted_for_me:
type: boolean
x-stream-index: "059"
x-stream-index: "060"
deleted_reply_count:
format: int32
type: integer
Expand Down Expand Up @@ -4072,6 +4080,9 @@ components:
$ref: '#/components/schemas/Reaction'
type: array
x-stream-index: "013"
member:
$ref: '#/components/schemas/ChannelMember'
x-stream-index: "059"
mentioned_users:
items:
$ref: '#/components/schemas/User'
Expand Down Expand Up @@ -4256,12 +4267,12 @@ components:
title: Message attachments
type: array
x-stream-docs-page-id: message_format#attachment-format
x-stream-index: "008"
x-stream-index: "009"
cid:
description: Channel unique identifier in <type>:<id> format
title: Channel CID
type: string
x-stream-index: "022"
x-stream-index: "023"
command:
description: Contains provided slash command
title: Command
Expand All @@ -4273,27 +4284,27 @@ components:
format: date-time
title: Created at
type: number
x-stream-index: "023"
x-stream-index: "024"
custom:
additionalProperties: {}
type: object
x-stream-index: "026"
x-stream-index: "027"
deleted_at:
description: Date/time of deletion
format: date-time
title: Deleted at
type: number
x-stream-index: "025"
x-stream-index: "026"
deleted_for_me:
type: boolean
x-stream-index: "044"
x-stream-index: "045"
deleted_reply_count:
format: int32
type: integer
x-stream-index: "018"
x-stream-index: "019"
draft:
$ref: '#/components/schemas/DraftResponse'
x-stream-index: "041"
x-stream-index: "042"
html:
description: Contains HTML markup of the message. Can only be set when using
server-side API
Expand All @@ -4308,7 +4319,7 @@ components:
title: Internationalization info
type: object
x-stream-docs-page-id: translation
x-stream-index: "030"
x-stream-index: "031"
id:
description: Message ID is unique string identifier of the message
title: ID
Expand All @@ -4322,25 +4333,31 @@ components:
description: Contains image moderation information
title: Image moderation labels
type: object
x-stream-index: "028"
x-stream-index: "029"
latest_reactions:
description: List of 10 latest reactions to this message
items:
$ref: '#/components/schemas/ReactionResponse'
title: Latest reactions
type: array
x-stream-index: "009"
x-stream-index: "010"
member:
$ref: '#/components/schemas/ChannelMemberResponse'
description: Channel member data for the message sender including only the
`channel_role`
title: Member object
x-stream-index: "008"
mentioned_users:
description: List of mentioned users
items:
$ref: '#/components/schemas/UserResponse'
title: Mentioned Users
type: array
x-stream-index: "029"
x-stream-index: "030"
message_text_updated_at:
format: date-time
type: number
x-stream-index: "036"
x-stream-index: "037"
mml:
description: Should be empty if `text` is provided. Can only be set when
using server-side API
Expand All @@ -4350,65 +4367,65 @@ components:
x-stream-index: "003"
moderation:
$ref: '#/components/schemas/ModerationV2Response'
x-stream-index: "039"
x-stream-index: "040"
own_reactions:
description: List of 10 latest reactions of authenticated user to this message
items:
$ref: '#/components/schemas/ReactionResponse'
title: Own reactions
type: array
x-stream-index: "010"
x-stream-index: "011"
parent_id:
description: ID of parent message (thread)
title: Parent message ID
type: string
x-stream-docs-page-id: threads
x-stream-index: "015"
x-stream-index: "016"
pin_expires:
description: Date when pinned message expires
format: date-time
title: Pin expiration date
type: number
x-stream-docs-page-id: pinned_messages
x-stream-index: "035"
x-stream-index: "036"
pinned:
description: Whether message is pinned or not
title: Pinned
type: boolean
x-stream-docs-page-id: pinned_messages
x-stream-index: "032"
x-stream-index: "033"
pinned_at:
description: Date when message got pinned
format: date-time
title: Pinned at
type: number
x-stream-docs-page-id: pinned_messages
x-stream-index: "033"
x-stream-index: "034"
pinned_by:
$ref: '#/components/schemas/UserResponse'
description: Contains user who pinned the message
title: Pinned by
x-stream-docs-page-id: pinned_messages
x-stream-index: "034"
x-stream-index: "035"
poll:
$ref: '#/components/schemas/PollResponseData'
x-stream-index: "038"
x-stream-index: "039"
poll_id:
description: Identifier of the poll to include in the message
title: Poll ID
type: string
x-stream-index: "037"
x-stream-index: "038"
quoted_message:
$ref: '#/components/schemas/MessageResponse'
description: Contains quoted message
title: Quoted message
x-stream-docs-page-id: threads#quote-message
x-stream-index: "020"
x-stream-index: "021"
quoted_message_id:
title: ID of quoted message
type: string
x-stream-docs-page-id: threads#quote-message
x-stream-index: "019"
x-stream-index: "020"
reaction_counts:
additionalProperties:
format: int32
Expand All @@ -4417,12 +4434,12 @@ components:
reaction type (string), value: number of reactions (int)'
title: Reaction counts
type: object
x-stream-index: "011"
x-stream-index: "012"
reaction_groups:
additionalProperties:
$ref: '#/components/schemas/ReactionGroupResponse'
type: object
x-stream-index: "014"
x-stream-index: "015"
reaction_scores:
additionalProperties:
format: int32
Expand All @@ -4431,16 +4448,16 @@ components:
reaction type (string), value: total score of reactions (int)'
title: Reaction scores
type: object
x-stream-index: "012"
x-stream-index: "013"
reminder:
$ref: '#/components/schemas/ReminderResponseData'
x-stream-index: "042"
x-stream-index: "043"
reply_count:
description: Number of replies to this message
format: int32
title: Reply count
type: integer
x-stream-index: "017"
x-stream-index: "018"
restricted_visibility:
description: A list of user ids that have restricted visibility to the message,
if the list is not empty, the message is only visible to the users in
Expand All @@ -4449,29 +4466,29 @@ components:
type: string
title: Restricted visibility
type: array
x-stream-index: "040"
x-stream-index: "041"
shadowed:
description: Whether the message was shadowed or not
title: Shadowed
type: boolean
x-stream-docs-page-id: moderation#shadow-ban
x-stream-index: "027"
x-stream-index: "028"
shared_location:
$ref: '#/components/schemas/SharedLocationResponseData'
description: Contains shared location data
title: Shared Location
x-stream-index: "043"
x-stream-index: "044"
show_in_channel:
description: Whether thread reply should be shown in the channel as well
title: Show in channel
type: boolean
x-stream-docs-page-id: threads
x-stream-index: "016"
x-stream-index: "017"
silent:
description: Whether message is silent or not
title: Silent
type: boolean
x-stream-index: "031"
x-stream-index: "032"
text:
description: Text of the message. Should be empty if `mml` is provided
title: Text
Expand All @@ -4484,7 +4501,7 @@ components:
title: Thread participants
type: array
x-stream-docs-page-id: threads#quote-message
x-stream-index: "021"
x-stream-index: "022"
type:
description: Contains type of the message
enum:
Expand All @@ -4503,7 +4520,7 @@ components:
format: date-time
title: Updated at
type: number
x-stream-index: "024"
x-stream-index: "025"
user:
$ref: '#/components/schemas/UserResponse'
description: Sender of the message. Required when using server-side API
Expand Down Expand Up @@ -6388,6 +6405,9 @@ components:
language:
type: string
x-stream-index: "008"
speech_segment_config:
$ref: '#/components/schemas/SpeechSegmentConfig'
x-stream-index: "012"
storage_name:
type: string
x-stream-index: "010"
Expand Down Expand Up @@ -6578,6 +6598,17 @@ components:
type: string
x-stream-index: "001"
type: object
SpeechSegmentConfig:
properties:
max_speech_caption_ms:
format: int32
type: integer
x-stream-index: "001"
silence_duration_ms:
format: int32
type: integer
x-stream-index: "002"
type: object
SubmitActionRequest:
nullable: true
properties:
Expand Down Expand Up @@ -6843,6 +6874,9 @@ components:
title: Mode
type: string
x-stream-index: "001"
speech_segment_config:
$ref: '#/components/schemas/SpeechSegmentConfig'
x-stream-index: "005"
required:
- mode
- closed_caption_mode
Expand Down Expand Up @@ -6906,6 +6940,9 @@ components:
- auto-on
type: string
x-stream-index: "001"
speech_segment_config:
$ref: '#/components/schemas/SpeechSegmentConfig'
x-stream-index: "005"
required:
- mode
- closed_caption_mode
Expand Down Expand Up @@ -7593,7 +7630,7 @@ components:
type: apiKey
info:
title: Stream API
version: v191.1.0
version: v192.0.1
openapi: 3.0.3
paths:
/api/v2/moderation/ban:
Expand Down
2 changes: 1 addition & 1 deletion openapi/moderation-serverside-api.json

Large diffs are not rendered by default.

Loading