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.

27 changes: 23 additions & 4 deletions openapi/chat-openapi-clientside.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,13 @@ components:
title: Channel CID
type: string
x-stream-index: "006"
delete_messages:
enum:
- soft
- pruning
- hard
type: string
x-stream-index: "011"
ip_ban:
description: Whether to perform IP ban or not
title: IP ban
Expand Down Expand Up @@ -4207,7 +4214,7 @@ components:
type: array
x-stream-index: "001.002"
type:
default: message.new
default: notification.thread_message_new
type: string
x-stream-index: "004.001"
user:
Expand Down Expand Up @@ -8615,6 +8622,15 @@ components:
title: Hard delete
type: boolean
x-stream-index: "002"
member_ids:
description: List of member IDs to hide message history for. If empty, truncates
the channel for all members
items:
type: string
maximum: 100
title: Member IDs
type: array
x-stream-index: "007"
message:
$ref: '#/components/schemas/MessageRequest'
x-stream-index: "004"
Expand Down Expand Up @@ -9155,6 +9171,9 @@ components:
skip_enrich_url:
description: Skip enrich URL
title: boolean
type: boolean
x-stream-index: "003"
skip_push:
type: boolean
x-stream-index: "002"
required:
Expand Down Expand Up @@ -10506,7 +10525,7 @@ components:
type: apiKey
info:
title: Stream API
version: v173.0.0
version: v174.12.0
openapi: 3.0.3
paths:
/app:
Expand Down Expand Up @@ -11759,7 +11778,7 @@ paths:
/channels/{type}/{id}/truncate:
post:
description: |
Truncates channel
Truncates messages from a channel. Can be applied to the entire channel or scoped to specific members.

Sends events:
- channel.truncated
Expand Down Expand Up @@ -12333,7 +12352,7 @@ paths:
title: ID
type: string
writeOnly: true
x-stream-index: "003.001"
x-stream-index: "004.001"
requestBody:
content:
application/json:
Expand Down
2 changes: 1 addition & 1 deletion openapi/chat-openapi.json

Large diffs are not rendered by default.

Loading