Skip to content

Commit 19fa9d8

Browse files
chore: update OpenAPI specs to v239.47.0 (#2122)
Co-authored-by: GH Action CI Stream <ci@stream.io>
1 parent 8f03b4f commit 19fa9d8

58 files changed

Lines changed: 2321 additions & 222 deletions

File tree

Some content is hidden

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

‎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: 169 additions & 8 deletions
Large diffs are not rendered by default.

‎openapi/chat-openapi.json‎

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

‎openapi/chat-openapi.yaml‎

Lines changed: 164 additions & 19 deletions
Large diffs are not rendered by default.

‎openapi/clientside-api.json‎

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

‎openapi/clientside-api.yaml‎

Lines changed: 169 additions & 8 deletions
Large diffs are not rendered by default.

‎openapi/moderation-clientside-api.json‎

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

‎openapi/moderation-clientside-api.yaml‎

Lines changed: 86 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1773,7 +1773,7 @@ components:
17731773
- updated_at
17741774
type: object
17751775
ChannelOwnCapability:
1776-
description: All possibility of string to use
1776+
description: An action that can be performed in a channel.
17771777
enum:
17781778
- ban-channel-members
17791779
- cast-poll-vote
@@ -1819,6 +1819,50 @@ components:
18191819
- upload-file
18201820
title: ChannelOwnCapability
18211821
type: string
1822+
x-stream-enum-descriptions:
1823+
ban-channel-members: Ability to ban channel members.
1824+
cast-poll-vote: Ability to cast a poll vote.
1825+
connect-events: Ability to receive connect events.
1826+
create-attachment: Ability to attach files to messages.
1827+
create-mention: Ability to mention users in messages.
1828+
delete-any-message: Ability to delete any message from the channel.
1829+
delete-channel: Ability to delete the channel.
1830+
delete-own-message: Ability to delete own messages from the channel.
1831+
delivery-events: Ability to receive delivery events.
1832+
flag-message: Ability to flag a message.
1833+
freeze-channel: Ability to freeze or unfreeze the channel.
1834+
join-channel: Ability to join channel (add own membership).
1835+
leave-channel: Ability to leave the channel (remove own membership).
1836+
mute-channel: Ability to mute the channel.
1837+
notify-channel: Ability to notify all channel members using @channel mention.
1838+
notify-group: Ability to notify channel members using user group mentions.
1839+
notify-here: Ability to notify online channel members using @here mention.
1840+
notify-role: Ability to notify channel members using role mentions.
1841+
pin-message: Ability to pin a message.
1842+
query-poll-votes: Ability to query poll votes.
1843+
quote-message: Ability to quote a message.
1844+
read-events: Ability to receive read events.
1845+
search-messages: Ability to use message search.
1846+
send-custom-events: Ability to send custom events.
1847+
send-links: Ability to attach links to messages.
1848+
send-message: Ability to send a message.
1849+
send-poll: Ability to send a poll.
1850+
send-reaction: Ability to send reactions.
1851+
send-reply: Ability to thread reply to a message.
1852+
send-restricted-visibility-message: Ability to send a message with restricted
1853+
visibility.
1854+
send-typing-events: Ability to send and receive typing events.
1855+
set-channel-cooldown: Ability to enable or disable slow mode.
1856+
share-location: Ability to share location.
1857+
skip-slow-mode: Ability to skip the slow mode when it's active.
1858+
slow-mode: Indicates that channel slow mode is active.
1859+
typing-events: Ability to send and receive typing events.
1860+
update-any-message: Ability to update any message in the channel.
1861+
update-channel: Ability to update channel data.
1862+
update-channel-members: Ability to update channel members.
1863+
update-own-message: Ability to update own messages in the channel.
1864+
update-thread: Ability to update thread data.
1865+
upload-file: Ability to upload message attachments.
18221866
ChannelResponse:
18231867
description: Represents channel in chat
18241868
properties:
@@ -3044,6 +3088,7 @@ components:
30443088
title: DeleteUserRequest
30453089
type: object
30463090
DeliveryReceiptsResponse:
3091+
description: The settings for the delivery receipt events.
30473092
properties:
30483093
enabled:
30493094
type: boolean
@@ -3052,11 +3097,11 @@ components:
30523097
- enabled
30533098
type: object
30543099
DeviceResponse:
3055-
description: Response for Device
3100+
description: An object representing a device which can receive push notifications.
30563101
nullable: true
30573102
properties:
30583103
created_at:
3059-
description: Date/time of creation
3104+
description: The date when the device was created.
30603105
format: date-time
30613106
title: Created at
30623107
type: number
@@ -3078,7 +3123,7 @@ components:
30783123
type: string
30793124
x-stream-index: "008"
30803125
id:
3081-
description: Device ID
3126+
description: The device identifier.
30823127
title: ID
30833128
type: string
30843129
x-stream-index: "003"
@@ -6267,30 +6312,43 @@ components:
62676312
- updated_at
62686313
type: object
62696314
PrivacySettingsResponse:
6315+
description: The privacy settings of the user.
62706316
properties:
62716317
delivery_receipts:
62726318
$ref: '#/components/schemas/DeliveryReceiptsResponse'
6319+
description: The settings for the delivery receipt events.
6320+
title: Delivery receipts
62736321
x-stream-index: "003"
62746322
read_receipts:
62756323
$ref: '#/components/schemas/ReadReceiptsResponse'
6324+
description: The settings for the read receipt events.
6325+
title: Read receipts
62766326
x-stream-index: "002"
62776327
typing_indicators:
62786328
$ref: '#/components/schemas/TypingIndicatorsResponse'
6329+
description: The settings for typing indicator events.
6330+
title: Typing indicators
62796331
x-stream-index: "001"
62806332
type: object
62816333
PushPreferencesResponse:
6334+
description: The push preference details.
62826335
properties:
62836336
call_level:
62846337
type: string
62856338
x-stream-index: "003"
62866339
chat_level:
6340+
description: The scope level of the push notifications.
6341+
title: Chat level
62876342
type: string
62886343
x-stream-index: "001"
62896344
chat_preferences:
62906345
$ref: '#/components/schemas/ChatPreferencesResponse'
62916346
x-stream-index: "002"
62926347
disabled_until:
6348+
description: If provided the notifications will be disabled until the set
6349+
date.
62936350
format: date-time
6351+
title: Disabled until
62946352
type: number
62956353
x-stream-index: "006"
62966354
feeds_level:
@@ -7227,6 +7285,7 @@ components:
72277285
- custom
72287286
type: object
72297287
ReadReceiptsResponse:
7288+
description: The settings for the read receipt events.
72307289
properties:
72317290
enabled:
72327291
type: boolean
@@ -7730,38 +7789,59 @@ components:
77307789
$ref: '#/components/schemas/ChannelResponse'
77317790
x-stream-index: "011"
77327791
channel_cid:
7792+
description: The CID (type:id) of the channel that the location is attached
7793+
to.
7794+
title: Channel CID
77337795
type: string
77347796
x-stream-index: "001"
77357797
created_at:
7798+
description: The date when the location was created.
77367799
format: date-time
7800+
title: Created at
77377801
type: number
77387802
x-stream-index: "008"
77397803
created_by_device_id:
7804+
description: The ID of the device that created the location.
7805+
title: Created by device ID
77407806
type: string
77417807
x-stream-index: "006"
77427808
end_at:
7809+
description: |-
7810+
The date when the location sharing ends.
7811+
If it's empty, it means the location sharing is static instead of live.
77437812
format: date-time
7813+
title: End at
77447814
type: number
77457815
x-stream-index: "007"
77467816
latitude:
7817+
description: The latitude of the location.
77477818
format: double
7819+
title: Latitude
77487820
type: number
77497821
x-stream-index: "004"
77507822
longitude:
7823+
description: The longitude of the location.
77517824
format: double
7825+
title: Longitude
77527826
type: number
77537827
x-stream-index: "005"
77547828
message:
77557829
$ref: '#/components/schemas/MessageResponse'
77567830
x-stream-index: "010"
77577831
message_id:
7832+
description: The ID of the message that the location is attached to.
7833+
title: Message ID
77587834
type: string
77597835
x-stream-index: "002"
77607836
updated_at:
7837+
description: The date when the location was updated.
77617838
format: date-time
7839+
title: Updated at
77627840
type: number
77637841
x-stream-index: "009"
77647842
user_id:
7843+
description: The ID of the user that created the location.
7844+
title: User ID
77657845
type: string
77667846
x-stream-index: "003"
77677847
required:
@@ -8062,6 +8142,7 @@ components:
80628142
Time:
80638143
type: object
80648144
TypingIndicatorsResponse:
8145+
description: The settings for typing indicator events.
80658146
properties:
80668147
enabled:
80678148
type: boolean
@@ -8898,7 +8979,7 @@ components:
88988979
type: apiKey
88998980
info:
89008981
title: Stream API
8901-
version: v239.46.0
8982+
version: v239.47.0
89028983
openapi: 3.0.3
89038984
paths:
89048985
/api/v2/moderation/action_config:

‎openapi/moderation-openapi.json‎

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

0 commit comments

Comments
 (0)