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.

64 changes: 51 additions & 13 deletions openapi/chat-openapi-clientside.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -726,26 +726,26 @@ components:
items:
$ref: '#/components/schemas/SharedLocation'
type: array
x-stream-index: "034"
x-stream-index: "035"
auto_translation_enabled:
type: boolean
x-stream-index: "029"
x-stream-index: "030"
auto_translation_language:
type: string
x-stream-index: "030"
x-stream-index: "031"
cid:
type: string
x-stream-index: "003"
config:
$ref: '#/components/schemas/ChannelConfig'
x-stream-index: "026"
x-stream-index: "027"
config_overrides:
$ref: '#/components/schemas/ConfigOverrides'
x-stream-index: "027"
x-stream-index: "028"
cooldown:
format: int32
type: integer
x-stream-index: "031"
x-stream-index: "032"
created_at:
format: date-time
type: string
Expand Down Expand Up @@ -774,10 +774,10 @@ components:
items:
$ref: '#/components/schemas/ChannelMember'
type: array
x-stream-index: "022"
x-stream-index: "023"
last_campaigns:
type: string
x-stream-index: "032"
x-stream-index: "033"
last_message_at:
format: date-time
type: string
Expand All @@ -791,17 +791,22 @@ components:
$ref: '#/components/schemas/ChannelMember'
type: array
x-stream-index: "020"
members_lookup:
additionalProperties:
$ref: '#/components/schemas/ChannelMemberLookup'
type: object
x-stream-index: "022"
message_count:
format: int64
type: integer
x-stream-index: "035"
x-stream-index: "036"
message_count_updated_at:
format: date-time
type: string
x-stream-index: "036"
x-stream-index: "037"
team:
type: string
x-stream-index: "028"
x-stream-index: "029"
truncated_by:
$ref: '#/components/schemas/User'
x-stream-index: "015"
Expand Down Expand Up @@ -1523,6 +1528,39 @@ components:
- notifications_muted
title: Channel member
type: object
ChannelMemberLookup:
nullable: true
properties:
archived:
type: boolean
x-stream-index: "003"
archived_at:
format: date-time
type: string
x-stream-index: "006"
ban_expires:
format: date-time
type: string
x-stream-index: "007"
banned:
type: boolean
x-stream-index: "004"
hidden:
type: boolean
x-stream-index: "001"
pinned:
type: boolean
x-stream-index: "002"
pinned_at:
format: date-time
type: string
x-stream-index: "005"
required:
- hidden
- pinned
- archived
- banned
type: object
ChannelMemberResponse:
properties:
channel_role:
Expand Down Expand Up @@ -4487,7 +4525,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 @@ -11740,7 +11778,7 @@ components:
type: apiKey
info:
title: Stream API
version: v193.9.0
version: v194.6.0
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.

128 changes: 114 additions & 14 deletions openapi/chat-openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ components:
type: string
x-stream-index: "002.001"
type:
default: export.channels.error
default: export.moderation_logs.error
type: string
x-stream-index: "003.002"
required:
Expand Down Expand Up @@ -1516,26 +1516,26 @@ components:
items:
$ref: '#/components/schemas/SharedLocation'
type: array
x-stream-index: "034"
x-stream-index: "035"
auto_translation_enabled:
type: boolean
x-stream-index: "029"
x-stream-index: "030"
auto_translation_language:
type: string
x-stream-index: "030"
x-stream-index: "031"
cid:
type: string
x-stream-index: "003"
config:
$ref: '#/components/schemas/ChannelConfig'
x-stream-index: "026"
x-stream-index: "027"
config_overrides:
$ref: '#/components/schemas/ConfigOverrides'
x-stream-index: "027"
x-stream-index: "028"
cooldown:
format: int32
type: integer
x-stream-index: "031"
x-stream-index: "032"
created_at:
format: date-time
type: string
Expand Down Expand Up @@ -1564,10 +1564,10 @@ components:
items:
$ref: '#/components/schemas/ChannelMember'
type: array
x-stream-index: "022"
x-stream-index: "023"
last_campaigns:
type: string
x-stream-index: "032"
x-stream-index: "033"
last_message_at:
format: date-time
type: string
Expand All @@ -1581,17 +1581,22 @@ components:
$ref: '#/components/schemas/ChannelMember'
type: array
x-stream-index: "020"
members_lookup:
additionalProperties:
$ref: '#/components/schemas/ChannelMemberLookup'
type: object
x-stream-index: "022"
message_count:
format: int64
type: integer
x-stream-index: "035"
x-stream-index: "036"
message_count_updated_at:
format: date-time
type: string
x-stream-index: "036"
x-stream-index: "037"
team:
type: string
x-stream-index: "028"
x-stream-index: "029"
truncated_by:
$ref: '#/components/schemas/User'
x-stream-index: "015"
Expand Down Expand Up @@ -2293,6 +2298,39 @@ components:
- notifications_muted
title: Channel member
type: object
ChannelMemberLookup:
nullable: true
properties:
archived:
type: boolean
x-stream-index: "003"
archived_at:
format: date-time
type: string
x-stream-index: "006"
ban_expires:
format: date-time
type: string
x-stream-index: "007"
banned:
type: boolean
x-stream-index: "004"
hidden:
type: boolean
x-stream-index: "001"
pinned:
type: boolean
x-stream-index: "002"
pinned_at:
format: date-time
type: string
x-stream-index: "005"
required:
- hidden
- pinned
- archived
- banned
type: object
ChannelMemberResponse:
properties:
channel_role:
Expand Down Expand Up @@ -7663,7 +7701,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 @@ -13303,6 +13341,9 @@ components:
x-stream-index: "001"
speech_segment_config:
$ref: '#/components/schemas/SpeechSegmentConfig'
x-stream-index: "006"
translation:
$ref: '#/components/schemas/TranslationSettings'
x-stream-index: "005"
required:
- mode
Expand Down Expand Up @@ -13379,6 +13420,20 @@ components:
required:
- language
type: object
TranslationSettings:
properties:
enabled:
type: boolean
x-stream-index: "001"
languages:
items:
type: string
type: array
x-stream-index: "002"
required:
- enabled
- languages
type: object
TruncateChannelRequest:
nullable: true
properties:
Expand Down Expand Up @@ -16363,7 +16418,7 @@ components:
type: apiKey
info:
title: Stream API
version: v193.9.0
version: v194.6.0
openapi: 3.0.3
paths:
/app:
Expand Down Expand Up @@ -19289,6 +19344,51 @@ paths:
summary: Commit message
tags:
- product:chat
/messages/{id}/ephemeral:
patch:
description: |
Updates message fields without storing in database, only sends update event

Sends events:
- message.updated
- message.updated
operationId: EphemeralMessageUpdate
parameters:
- in: path
name: id
required: true
schema:
type: string
writeOnly: true
x-stream-index: "003.001"
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateMessagePartialRequest'
required: true
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateMessagePartialResponse'
description: Successful response
"400":
content:
application/json:
schema:
$ref: '#/components/schemas/APIError'
description: Bad request
"429":
content:
application/json:
schema:
$ref: '#/components/schemas/APIError'
description: Too many requests
summary: Ephemeral message update
tags:
- product:chat
/messages/{id}/reaction:
post:
description: |
Expand Down
2 changes: 1 addition & 1 deletion openapi/clientside-api.json

Large diffs are not rendered by default.

Loading