Skip to content

Commit 4add3eb

Browse files
committed
Update video openapi Spec
1 parent ba392a4 commit 4add3eb

File tree

56 files changed

+3200
-273
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+3200
-273
lines changed

openapi/chat-openapi-clientside.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

openapi/chat-openapi-clientside.yaml

Lines changed: 130 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -796,6 +796,9 @@ components:
796796
- block
797797
type: string
798798
x-stream-index: "009"
799+
chat_preferences:
800+
$ref: '#/components/schemas/ChatPreferences'
801+
x-stream-index: "013"
799802
commands:
800803
description: List of commands that channel supports
801804
items:
@@ -903,6 +906,9 @@ components:
903906
$ref: '#/components/schemas/BlockListOptions'
904907
type: array
905908
x-stream-index: 001.002.027
909+
chat_preferences:
910+
$ref: '#/components/schemas/ChatPreferences'
911+
x-stream-index: 001.002.034
906912
commands:
907913
items:
908914
$ref: '#/components/schemas/Command'
@@ -2309,6 +2315,102 @@ components:
23092315
x-stream-is-event: true
23102316
x-stream-throttle-group: ordered
23112317
x-stream-ws-base-event-name: VideoEvent
2318+
ChatPreferences:
2319+
properties:
2320+
channel_mentions:
2321+
type: string
2322+
x-stream-index: "007"
2323+
default_preference:
2324+
type: string
2325+
x-stream-index: "001"
2326+
direct_mentions:
2327+
type: string
2328+
x-stream-index: "002"
2329+
distinct_channel_messages:
2330+
type: string
2331+
x-stream-index: "008"
2332+
group_mentions:
2333+
type: string
2334+
x-stream-index: "004"
2335+
here_mentions:
2336+
type: string
2337+
x-stream-index: "006"
2338+
role_mentions:
2339+
type: string
2340+
x-stream-index: "003"
2341+
thread_replies:
2342+
type: string
2343+
x-stream-index: "005"
2344+
type: object
2345+
ChatPreferencesInput:
2346+
properties:
2347+
channel_mentions:
2348+
enum:
2349+
- all
2350+
- none
2351+
type: string
2352+
x-stream-index: "007"
2353+
default_preference:
2354+
enum:
2355+
- all
2356+
- none
2357+
type: string
2358+
x-stream-index: "001"
2359+
direct_mentions:
2360+
enum:
2361+
- all
2362+
- none
2363+
type: string
2364+
x-stream-index: "002"
2365+
group_mentions:
2366+
enum:
2367+
- all
2368+
- none
2369+
type: string
2370+
x-stream-index: "004"
2371+
here_mentions:
2372+
enum:
2373+
- all
2374+
- none
2375+
type: string
2376+
x-stream-index: "006"
2377+
role_mentions:
2378+
enum:
2379+
- all
2380+
- none
2381+
type: string
2382+
x-stream-index: "003"
2383+
thread_replies:
2384+
enum:
2385+
- all
2386+
- none
2387+
type: string
2388+
x-stream-index: "005"
2389+
type: object
2390+
ChatPreferencesResponse:
2391+
properties:
2392+
channel_mentions:
2393+
type: string
2394+
x-stream-index: "007"
2395+
default_preference:
2396+
type: string
2397+
x-stream-index: "001"
2398+
direct_mentions:
2399+
type: string
2400+
x-stream-index: "002"
2401+
group_mentions:
2402+
type: string
2403+
x-stream-index: "004"
2404+
here_mentions:
2405+
type: string
2406+
x-stream-index: "006"
2407+
role_mentions:
2408+
type: string
2409+
x-stream-index: "003"
2410+
thread_replies:
2411+
type: string
2412+
x-stream-index: "005"
2413+
type: object
23122414
Command:
23132415
description: Represents custom chat command
23142416
nullable: true
@@ -2370,6 +2472,9 @@ components:
23702472
title: Blocklist behavior
23712473
type: string
23722474
x-stream-index: "009"
2475+
chat_preferences:
2476+
$ref: '#/components/schemas/ChatPreferences'
2477+
x-stream-index: "016"
23732478
commands:
23742479
description: List of available commands
23752480
items:
@@ -2398,6 +2503,15 @@ components:
23982503
title: Max message length
23992504
type: integer
24002505
x-stream-index: "007"
2506+
push_level:
2507+
enum:
2508+
- all
2509+
- all_mentions
2510+
- mentions
2511+
- direct_mentions
2512+
- none
2513+
type: string
2514+
x-stream-index: "015"
24012515
quotes:
24022516
description: Enable/disable quotes
24032517
title: Quotes
@@ -8635,7 +8749,7 @@ components:
86358749
- default
86368750
title: Call Level
86378751
type: string
8638-
x-stream-index: "004"
8752+
x-stream-index: "005"
86398753
channel_cid:
86408754
description: Set the push preferences for a specific channel. If empty it
86418755
sets the default for the user
@@ -8656,12 +8770,15 @@ components:
86568770
title: Chat Level
86578771
type: string
86588772
x-stream-index: "003"
8773+
chat_preferences:
8774+
$ref: '#/components/schemas/ChatPreferencesInput'
8775+
x-stream-index: "004"
86598776
disabled_until:
86608777
description: Disable push notifications till a certain time
86618778
format: date-time
86628779
title: Disabled Until
86638780
type: string
8664-
x-stream-index: "007"
8781+
x-stream-index: "008"
86658782
feeds_level:
86668783
description: 'Set the level of feeds push notifications for the user. One
86678784
of: all, none, default'
@@ -8671,18 +8788,18 @@ components:
86718788
- default
86728789
title: Feeds Level
86738790
type: string
8674-
x-stream-index: "005"
8791+
x-stream-index: "006"
86758792
feeds_preferences:
86768793
$ref: '#/components/schemas/FeedsPreferences'
86778794
description: Set granular feeds preferences for reactions, comments, new
86788795
followers, mentions, and custom activity types
86798796
title: Feeds Preferences
8680-
x-stream-index: "006"
8797+
x-stream-index: "007"
86818798
remove_disable:
86828799
description: Remove the disabled until time. (IE stop snoozing notifications)
86838800
title: Remove Disable
86848801
type: boolean
8685-
x-stream-index: "008"
8802+
x-stream-index: "009"
86868803
user_id:
86878804
description: The user id for which to set the push preferences. Required
86888805
when using server side auths, defaults to current user with client side
@@ -8695,20 +8812,23 @@ components:
86958812
properties:
86968813
call_level:
86978814
type: string
8698-
x-stream-index: "002"
8815+
x-stream-index: "003"
86998816
chat_level:
87008817
type: string
87018818
x-stream-index: "001"
8819+
chat_preferences:
8820+
$ref: '#/components/schemas/ChatPreferencesResponse'
8821+
x-stream-index: "002"
87028822
disabled_until:
87038823
format: date-time
87048824
type: string
8705-
x-stream-index: "005"
8825+
x-stream-index: "006"
87068826
feeds_level:
87078827
type: string
8708-
x-stream-index: "003"
8828+
x-stream-index: "004"
87098829
feeds_preferences:
87108830
$ref: '#/components/schemas/FeedsPreferencesResponse'
8711-
x-stream-index: "004"
8831+
x-stream-index: "005"
87128832
type: object
87138833
QueryBannedUsersPayload:
87148834
properties:
@@ -14330,7 +14450,7 @@ components:
1433014450
type: apiKey
1433114451
info:
1433214452
title: Stream API
14333-
version: v223.14.1
14453+
version: v223.22.0
1433414454
openapi: 3.0.3
1433514455
paths:
1433614456
/app:

openapi/chat-openapi.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)