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.

177 changes: 169 additions & 8 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.

183 changes: 164 additions & 19 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.

177 changes: 169 additions & 8 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.

91 changes: 86 additions & 5 deletions openapi/moderation-clientside-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1773,7 +1773,7 @@ components:
- updated_at
type: object
ChannelOwnCapability:
description: All possibility of string to use
description: An action that can be performed in a channel.
enum:
- ban-channel-members
- cast-poll-vote
Expand Down Expand Up @@ -1819,6 +1819,50 @@ components:
- upload-file
title: ChannelOwnCapability
type: string
x-stream-enum-descriptions:
ban-channel-members: Ability to ban channel members.
cast-poll-vote: Ability to cast a poll vote.
connect-events: Ability to receive connect events.
create-attachment: Ability to attach files to messages.
create-mention: Ability to mention users in messages.
delete-any-message: Ability to delete any message from the channel.
delete-channel: Ability to delete the channel.
delete-own-message: Ability to delete own messages from the channel.
delivery-events: Ability to receive delivery events.
flag-message: Ability to flag a message.
freeze-channel: Ability to freeze or unfreeze the channel.
join-channel: Ability to join channel (add own membership).
leave-channel: Ability to leave the channel (remove own membership).
mute-channel: Ability to mute the channel.
notify-channel: Ability to notify all channel members using @channel mention.
notify-group: Ability to notify channel members using user group mentions.
notify-here: Ability to notify online channel members using @here mention.
notify-role: Ability to notify channel members using role mentions.
pin-message: Ability to pin a message.
query-poll-votes: Ability to query poll votes.
quote-message: Ability to quote a message.
read-events: Ability to receive read events.
search-messages: Ability to use message search.
send-custom-events: Ability to send custom events.
send-links: Ability to attach links to messages.
send-message: Ability to send a message.
send-poll: Ability to send a poll.
send-reaction: Ability to send reactions.
send-reply: Ability to thread reply to a message.
send-restricted-visibility-message: Ability to send a message with restricted
visibility.
send-typing-events: Ability to send and receive typing events.
set-channel-cooldown: Ability to enable or disable slow mode.
share-location: Ability to share location.
skip-slow-mode: Ability to skip the slow mode when it's active.
slow-mode: Indicates that channel slow mode is active.
typing-events: Ability to send and receive typing events.
update-any-message: Ability to update any message in the channel.
update-channel: Ability to update channel data.
update-channel-members: Ability to update channel members.
update-own-message: Ability to update own messages in the channel.
update-thread: Ability to update thread data.
upload-file: Ability to upload message attachments.
ChannelResponse:
description: Represents channel in chat
properties:
Expand Down Expand Up @@ -3044,6 +3088,7 @@ components:
title: DeleteUserRequest
type: object
DeliveryReceiptsResponse:
description: The settings for the delivery receipt events.
properties:
enabled:
type: boolean
Expand All @@ -3052,11 +3097,11 @@ components:
- enabled
type: object
DeviceResponse:
description: Response for Device
description: An object representing a device which can receive push notifications.
nullable: true
properties:
created_at:
description: Date/time of creation
description: The date when the device was created.
format: date-time
title: Created at
type: number
Expand All @@ -3078,7 +3123,7 @@ components:
type: string
x-stream-index: "008"
id:
description: Device ID
description: The device identifier.
title: ID
type: string
x-stream-index: "003"
Expand Down Expand Up @@ -6267,30 +6312,43 @@ components:
- updated_at
type: object
PrivacySettingsResponse:
description: The privacy settings of the user.
properties:
delivery_receipts:
$ref: '#/components/schemas/DeliveryReceiptsResponse'
description: The settings for the delivery receipt events.
title: Delivery receipts
x-stream-index: "003"
read_receipts:
$ref: '#/components/schemas/ReadReceiptsResponse'
description: The settings for the read receipt events.
title: Read receipts
x-stream-index: "002"
typing_indicators:
$ref: '#/components/schemas/TypingIndicatorsResponse'
description: The settings for typing indicator events.
title: Typing indicators
x-stream-index: "001"
type: object
PushPreferencesResponse:
description: The push preference details.
properties:
call_level:
type: string
x-stream-index: "003"
chat_level:
description: The scope level of the push notifications.
title: Chat level
type: string
x-stream-index: "001"
chat_preferences:
$ref: '#/components/schemas/ChatPreferencesResponse'
x-stream-index: "002"
disabled_until:
description: If provided the notifications will be disabled until the set
date.
format: date-time
title: Disabled until
type: number
x-stream-index: "006"
feeds_level:
Expand Down Expand Up @@ -7227,6 +7285,7 @@ components:
- custom
type: object
ReadReceiptsResponse:
description: The settings for the read receipt events.
properties:
enabled:
type: boolean
Expand Down Expand Up @@ -7730,38 +7789,59 @@ components:
$ref: '#/components/schemas/ChannelResponse'
x-stream-index: "011"
channel_cid:
description: The CID (type:id) of the channel that the location is attached
to.
title: Channel CID
type: string
x-stream-index: "001"
created_at:
description: The date when the location was created.
format: date-time
title: Created at
type: number
x-stream-index: "008"
created_by_device_id:
description: The ID of the device that created the location.
title: Created by device ID
type: string
x-stream-index: "006"
end_at:
description: |-
The date when the location sharing ends.
If it's empty, it means the location sharing is static instead of live.
format: date-time
title: End at
type: number
x-stream-index: "007"
latitude:
description: The latitude of the location.
format: double
title: Latitude
type: number
x-stream-index: "004"
longitude:
description: The longitude of the location.
format: double
title: Longitude
type: number
x-stream-index: "005"
message:
$ref: '#/components/schemas/MessageResponse'
x-stream-index: "010"
message_id:
description: The ID of the message that the location is attached to.
title: Message ID
type: string
x-stream-index: "002"
updated_at:
description: The date when the location was updated.
format: date-time
title: Updated at
type: number
x-stream-index: "009"
user_id:
description: The ID of the user that created the location.
title: User ID
type: string
x-stream-index: "003"
required:
Expand Down Expand Up @@ -8062,6 +8142,7 @@ components:
Time:
type: object
TypingIndicatorsResponse:
description: The settings for typing indicator events.
properties:
enabled:
type: boolean
Expand Down Expand Up @@ -8898,7 +8979,7 @@ components:
type: apiKey
info:
title: Stream API
version: v239.46.0
version: v239.47.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.

Loading
Loading