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.

140 changes: 130 additions & 10 deletions openapi/chat-openapi-clientside.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -796,6 +796,9 @@ components:
- block
type: string
x-stream-index: "009"
chat_preferences:
$ref: '#/components/schemas/ChatPreferences'
x-stream-index: "013"
commands:
description: List of commands that channel supports
items:
Expand Down Expand Up @@ -903,6 +906,9 @@ components:
$ref: '#/components/schemas/BlockListOptions'
type: array
x-stream-index: 001.002.027
chat_preferences:
$ref: '#/components/schemas/ChatPreferences'
x-stream-index: 001.002.034
commands:
items:
$ref: '#/components/schemas/Command'
Expand Down Expand Up @@ -2309,6 +2315,102 @@ components:
x-stream-is-event: true
x-stream-throttle-group: ordered
x-stream-ws-base-event-name: VideoEvent
ChatPreferences:
properties:
channel_mentions:
type: string
x-stream-index: "007"
default_preference:
type: string
x-stream-index: "001"
direct_mentions:
type: string
x-stream-index: "002"
distinct_channel_messages:
type: string
x-stream-index: "008"
group_mentions:
type: string
x-stream-index: "004"
here_mentions:
type: string
x-stream-index: "006"
role_mentions:
type: string
x-stream-index: "003"
thread_replies:
type: string
x-stream-index: "005"
type: object
ChatPreferencesInput:
properties:
channel_mentions:
enum:
- all
- none
type: string
x-stream-index: "007"
default_preference:
enum:
- all
- none
type: string
x-stream-index: "001"
direct_mentions:
enum:
- all
- none
type: string
x-stream-index: "002"
group_mentions:
enum:
- all
- none
type: string
x-stream-index: "004"
here_mentions:
enum:
- all
- none
type: string
x-stream-index: "006"
role_mentions:
enum:
- all
- none
type: string
x-stream-index: "003"
thread_replies:
enum:
- all
- none
type: string
x-stream-index: "005"
type: object
ChatPreferencesResponse:
properties:
channel_mentions:
type: string
x-stream-index: "007"
default_preference:
type: string
x-stream-index: "001"
direct_mentions:
type: string
x-stream-index: "002"
group_mentions:
type: string
x-stream-index: "004"
here_mentions:
type: string
x-stream-index: "006"
role_mentions:
type: string
x-stream-index: "003"
thread_replies:
type: string
x-stream-index: "005"
type: object
Command:
description: Represents custom chat command
nullable: true
Expand Down Expand Up @@ -2370,6 +2472,9 @@ components:
title: Blocklist behavior
type: string
x-stream-index: "009"
chat_preferences:
$ref: '#/components/schemas/ChatPreferences'
x-stream-index: "016"
commands:
description: List of available commands
items:
Expand Down Expand Up @@ -2398,6 +2503,15 @@ components:
title: Max message length
type: integer
x-stream-index: "007"
push_level:
enum:
- all
- all_mentions
- mentions
- direct_mentions
- none
type: string
x-stream-index: "015"
quotes:
description: Enable/disable quotes
title: Quotes
Expand Down Expand Up @@ -8635,7 +8749,7 @@ components:
- default
title: Call Level
type: string
x-stream-index: "004"
x-stream-index: "005"
channel_cid:
description: Set the push preferences for a specific channel. If empty it
sets the default for the user
Expand All @@ -8656,12 +8770,15 @@ components:
title: Chat Level
type: string
x-stream-index: "003"
chat_preferences:
$ref: '#/components/schemas/ChatPreferencesInput'
x-stream-index: "004"
disabled_until:
description: Disable push notifications till a certain time
format: date-time
title: Disabled Until
type: string
x-stream-index: "007"
x-stream-index: "008"
feeds_level:
description: 'Set the level of feeds push notifications for the user. One
of: all, none, default'
Expand All @@ -8671,18 +8788,18 @@ components:
- default
title: Feeds Level
type: string
x-stream-index: "005"
x-stream-index: "006"
feeds_preferences:
$ref: '#/components/schemas/FeedsPreferences'
description: Set granular feeds preferences for reactions, comments, new
followers, mentions, and custom activity types
title: Feeds Preferences
x-stream-index: "006"
x-stream-index: "007"
remove_disable:
description: Remove the disabled until time. (IE stop snoozing notifications)
title: Remove Disable
type: boolean
x-stream-index: "008"
x-stream-index: "009"
user_id:
description: The user id for which to set the push preferences. Required
when using server side auths, defaults to current user with client side
Expand All @@ -8695,20 +8812,23 @@ components:
properties:
call_level:
type: string
x-stream-index: "002"
x-stream-index: "003"
chat_level:
type: string
x-stream-index: "001"
chat_preferences:
$ref: '#/components/schemas/ChatPreferencesResponse'
x-stream-index: "002"
disabled_until:
format: date-time
type: string
x-stream-index: "005"
x-stream-index: "006"
feeds_level:
type: string
x-stream-index: "003"
x-stream-index: "004"
feeds_preferences:
$ref: '#/components/schemas/FeedsPreferencesResponse'
x-stream-index: "004"
x-stream-index: "005"
type: object
QueryBannedUsersPayload:
properties:
Expand Down Expand Up @@ -14330,7 +14450,7 @@ components:
type: apiKey
info:
title: Stream API
version: v223.14.1
version: v223.22.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.

Loading
Loading