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

69 changes: 66 additions & 3 deletions openapi/chat-openapi-clientside.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1085,6 +1085,35 @@ components:
- skip_last_msg_update_for_system_msgs
- commands
type: object
ChannelContextResponse:
description: 'Slim channel object: identity plus creator'
properties:
cid:
description: Channel CID (<type>:<id>)
title: CID
type: string
x-stream-index: "001"
created_by:
$ref: '#/components/schemas/UserResponse'
description: User who created the channel
title: Created by
x-stream-index: "004"
id:
description: Channel ID
title: ID
type: string
x-stream-index: "003"
type:
description: Channel type
title: Type
type: string
x-stream-index: "002"
required:
- cid
- type
- id
title: Channel context
type: object
ChannelCreatedEvent:
description: Emitted when a channel is successfully created.
nullable: true
Expand Down Expand Up @@ -12542,6 +12571,19 @@ components:
SendMessageRequest:
nullable: true
properties:
include_channel_context:
description: 'When true, the response includes channel_context: a slim channel
object with cid, type, id and created_by'
title: Include channel context
type: boolean
x-stream-index: "010"
include_mentioned_members:
description: 'When true, the response includes mentioned_members: for each
mentioned user, whether that user is currently a channel member. Requires
the ReadChannelMembers permission'
title: Include mentioned members
type: boolean
x-stream-index: "009"
keep_channel_hidden:
type: boolean
x-stream-index: "008"
Expand All @@ -12560,11 +12602,32 @@ components:
SendMessageResponse:
nullable: true
properties:
channel_context:
$ref: '#/components/schemas/ChannelContextResponse'
description: Slim channel object (cid, type, id, created_by). Only set when
include_channel_context was requested
title: Channel context
x-stream-index: "005"
duration:
description: Duration of the request in milliseconds
title: Duration
type: string
x-stream-index: "003.001"
mentioned_members:
additionalProperties:
type: boolean
description: Map of mentioned user ID to whether that user is currently
an active channel member. Only set when include_mentioned_members was
requested; omitted when the message has no mentions or the membership
lookup failed
title: Mentioned members
type: object
x-stream-index: "004"
x-stream-map:
description: Whether the mentioned user is currently an active channel
member
key: user_id
title: Is active member
message:
$ref: '#/components/schemas/MessageResponse'
description: Message response
Expand Down Expand Up @@ -16300,7 +16363,7 @@ components:
type: apiKey
info:
title: Stream API
version: v234.4.0
version: v235.0.0
openapi: 3.0.3
paths:
/app:
Expand Down Expand Up @@ -17345,7 +17408,7 @@ paths:
title: Channel type
type: string
writeOnly: true
x-stream-index: "009.001"
x-stream-index: "011.001"
- in: path
name: id
required: true
Expand All @@ -17354,7 +17417,7 @@ paths:
title: Channel ID
type: string
writeOnly: true
x-stream-index: "009.002"
x-stream-index: "011.002"
requestBody:
content:
application/json:
Expand Down
2 changes: 1 addition & 1 deletion openapi/chat-openapi.json

Large diffs are not rendered by default.

71 changes: 67 additions & 4 deletions openapi/chat-openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,7 @@ components:
type: string
x-stream-index: "002.001"
type:
default: export.bulk_image_moderation.error
default: export.users.error
type: string
x-stream-index: "003.002"
required:
Expand Down Expand Up @@ -2319,6 +2319,35 @@ components:
- skip_last_msg_update_for_system_msgs
- commands
type: object
ChannelContextResponse:
description: 'Slim channel object: identity plus creator'
properties:
cid:
description: Channel CID (<type>:<id>)
title: CID
type: string
x-stream-index: "001"
created_by:
$ref: '#/components/schemas/UserResponse'
description: User who created the channel
title: Created by
x-stream-index: "004"
id:
description: Channel ID
title: ID
type: string
x-stream-index: "003"
type:
description: Channel type
title: Type
type: string
x-stream-index: "002"
required:
- cid
- type
- id
title: Channel context
type: object
ChannelCreatedEvent:
description: Emitted when a channel is successfully created.
nullable: true
Expand Down Expand Up @@ -17161,6 +17190,19 @@ components:
force_moderation:
type: boolean
x-stream-index: "007"
include_channel_context:
description: 'When true, the response includes channel_context: a slim channel
object with cid, type, id and created_by'
title: Include channel context
type: boolean
x-stream-index: "010"
include_mentioned_members:
description: 'When true, the response includes mentioned_members: for each
mentioned user, whether that user is currently a channel member. Requires
the ReadChannelMembers permission'
title: Include mentioned members
type: boolean
x-stream-index: "009"
keep_channel_hidden:
type: boolean
x-stream-index: "008"
Expand All @@ -17187,11 +17229,32 @@ components:
SendMessageResponse:
nullable: true
properties:
channel_context:
$ref: '#/components/schemas/ChannelContextResponse'
description: Slim channel object (cid, type, id, created_by). Only set when
include_channel_context was requested
title: Channel context
x-stream-index: "005"
duration:
description: Duration of the request in milliseconds
title: Duration
type: string
x-stream-index: "003.001"
mentioned_members:
additionalProperties:
type: boolean
description: Map of mentioned user ID to whether that user is currently
an active channel member. Only set when include_mentioned_members was
requested; omitted when the message has no mentions or the membership
lookup failed
title: Mentioned members
type: object
x-stream-index: "004"
x-stream-map:
description: Whether the mentioned user is currently an active channel
member
key: user_id
title: Is active member
message:
$ref: '#/components/schemas/MessageResponse'
description: Message response
Expand Down Expand Up @@ -22216,7 +22279,7 @@ components:
type: apiKey
info:
title: Stream API
version: v234.4.0
version: v235.0.0
openapi: 3.0.3
paths:
/app:
Expand Down Expand Up @@ -23584,7 +23647,7 @@ paths:
title: Channel type
type: string
writeOnly: true
x-stream-index: "009.001"
x-stream-index: "011.001"
- in: path
name: id
required: true
Expand All @@ -23593,7 +23656,7 @@ paths:
title: Channel ID
type: string
writeOnly: true
x-stream-index: "009.002"
x-stream-index: "011.002"
requestBody:
content:
application/json:
Expand Down
2 changes: 1 addition & 1 deletion openapi/clientside-api.json

Large diffs are not rendered by default.

69 changes: 66 additions & 3 deletions openapi/clientside-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7923,6 +7923,35 @@ components:
- skip_last_msg_update_for_system_msgs
- commands
type: object
ChannelContextResponse:
description: 'Slim channel object: identity plus creator'
properties:
cid:
description: Channel CID (<type>:<id>)
title: CID
type: string
x-stream-index: "001"
created_by:
$ref: '#/components/schemas/UserResponse'
description: User who created the channel
title: Created by
x-stream-index: "004"
id:
description: Channel ID
title: ID
type: string
x-stream-index: "003"
type:
description: Channel type
title: Type
type: string
x-stream-index: "002"
required:
- cid
- type
- id
title: Channel context
type: object
ChannelCreatedEvent:
description: Emitted when a channel is successfully created.
nullable: true
Expand Down Expand Up @@ -32199,6 +32228,19 @@ components:
SendMessageRequest:
nullable: true
properties:
include_channel_context:
description: 'When true, the response includes channel_context: a slim channel
object with cid, type, id and created_by'
title: Include channel context
type: boolean
x-stream-index: "010"
include_mentioned_members:
description: 'When true, the response includes mentioned_members: for each
mentioned user, whether that user is currently a channel member. Requires
the ReadChannelMembers permission'
title: Include mentioned members
type: boolean
x-stream-index: "009"
keep_channel_hidden:
type: boolean
x-stream-index: "008"
Expand All @@ -32217,11 +32259,32 @@ components:
SendMessageResponse:
nullable: true
properties:
channel_context:
$ref: '#/components/schemas/ChannelContextResponse'
description: Slim channel object (cid, type, id, created_by). Only set when
include_channel_context was requested
title: Channel context
x-stream-index: "005"
duration:
description: Duration of the request in milliseconds
title: Duration
type: string
x-stream-index: "003.001"
mentioned_members:
additionalProperties:
type: boolean
description: Map of mentioned user ID to whether that user is currently
an active channel member. Only set when include_mentioned_members was
requested; omitted when the message has no mentions or the membership
lookup failed
title: Mentioned members
type: object
x-stream-index: "004"
x-stream-map:
description: Whether the mentioned user is currently an active channel
member
key: user_id
title: Is active member
message:
$ref: '#/components/schemas/MessageResponse'
description: Message response
Expand Down Expand Up @@ -39539,7 +39602,7 @@ components:
type: apiKey
info:
title: Stream API
version: v234.4.0
version: v235.0.0
openapi: 3.0.3
paths:
/api/v2/app:
Expand Down Expand Up @@ -40584,7 +40647,7 @@ paths:
title: Channel type
type: string
writeOnly: true
x-stream-index: "009.001"
x-stream-index: "011.001"
- in: path
name: id
required: true
Expand All @@ -40593,7 +40656,7 @@ paths:
title: Channel ID
type: string
writeOnly: true
x-stream-index: "009.002"
x-stream-index: "011.002"
requestBody:
content:
application/json:
Expand Down
2 changes: 1 addition & 1 deletion openapi/moderation-clientside-api.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion openapi/moderation-clientside-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8020,7 +8020,7 @@ components:
type: apiKey
info:
title: Stream API
version: v234.4.0
version: v235.0.0
openapi: 3.0.3
paths:
/api/v2/moderation/action_config:
Expand Down
2 changes: 1 addition & 1 deletion openapi/moderation-openapi.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions openapi/moderation-openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ components:
type: string
x-stream-index: "002.001"
type:
default: export.review_queue.error
default: export.bulk_image_moderation.error
type: string
x-stream-index: "003.002"
required:
Expand Down Expand Up @@ -6097,7 +6097,7 @@ components:
type: apiKey
info:
title: Stream API
version: v234.4.0
version: v235.0.0
openapi: 3.0.3
paths:
/api/v1/moderation/chat_message_tasks:
Expand Down
2 changes: 1 addition & 1 deletion openapi/moderation-serverside-api.json

Large diffs are not rendered by default.

Loading
Loading