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.

234 changes: 158 additions & 76 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.

310 changes: 227 additions & 83 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.

1,357 changes: 1,019 additions & 338 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.

124 changes: 91 additions & 33 deletions openapi/moderation-clientside-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -493,8 +493,11 @@ components:
type: object
x-stream-index: "035"
restrict_replies:
description: 'Controls who can reply to this activity. Values: everyone,
people_i_follow, nobody'
description: Controls who can add comments/replies to this activity
enum:
- everyone
- people_i_follow
- nobody
title: Restrict Replies
type: string
x-stream-index: "007"
Expand Down Expand Up @@ -1795,6 +1798,9 @@ components:
polls:
type: boolean
x-stream-index: "001.017"
push_level:
type: string
x-stream-index: "001.033"
push_notifications:
type: boolean
x-stream-index: "001.014"
Expand Down Expand Up @@ -1864,6 +1870,7 @@ components:
- automod
- automod_behavior
- skip_last_msg_update_for_system_msgs
- push_level
- created_at
- updated_at
- commands
Expand Down Expand Up @@ -1959,6 +1966,9 @@ components:
polls:
type: boolean
x-stream-index: 001.002.017
push_level:
type: string
x-stream-index: 001.002.033
push_notifications:
type: boolean
x-stream-index: 001.002.014
Expand Down Expand Up @@ -2030,6 +2040,7 @@ components:
- automod
- automod_behavior
- skip_last_msg_update_for_system_msgs
- push_level
- commands
type: object
ChannelMember:
Expand Down Expand Up @@ -2563,6 +2574,15 @@ components:
maximum: 20000
type: integer
x-stream-index: "007"
push_level:
enum:
- all
- all_mentions
- mentions
- direct_mentions
- none
type: string
x-stream-index: "015"
quotes:
type: boolean
x-stream-index: "004"
Expand Down Expand Up @@ -4243,7 +4263,7 @@ components:
x-stream-index: "013"
before_message_send_failed:
type: boolean
x-stream-index: "047"
x-stream-index: "048"
cid:
type: string
x-stream-index: "029"
Expand All @@ -4264,7 +4284,7 @@ components:
x-stream-index: "034"
deleted_for_me:
type: boolean
x-stream-index: "061"
x-stream-index: "062"
deleted_reply_count:
format: int32
type: integer
Expand All @@ -4276,7 +4296,7 @@ components:
additionalProperties:
type: string
type: object
x-stream-index: "045"
x-stream-index: "046"
id:
type: string
x-stream-index: "002"
Expand All @@ -4294,7 +4314,10 @@ components:
x-stream-index: "014"
member:
$ref: '#/components/schemas/ChannelMember'
x-stream-index: "060"
x-stream-index: "061"
mentioned_channel:
type: boolean
x-stream-index: "045"
mentioned_users:
items:
$ref: '#/components/schemas/User'
Expand All @@ -4303,13 +4326,13 @@ components:
message_text_updated_at:
format: date-time
type: number
x-stream-index: "053"
x-stream-index: "054"
mml:
type: string
x-stream-index: "006"
moderation:
$ref: '#/components/schemas/ModerationV2Response'
x-stream-index: "057"
x-stream-index: "058"
own_reactions:
items:
$ref: '#/components/schemas/Reaction'
Expand All @@ -4321,23 +4344,23 @@ components:
pin_expires:
format: date-time
type: number
x-stream-index: "052"
x-stream-index: "053"
pinned:
type: boolean
x-stream-index: "048"
x-stream-index: "049"
pinned_at:
format: date-time
type: number
x-stream-index: "049"
x-stream-index: "050"
pinned_by:
$ref: '#/components/schemas/User'
x-stream-index: "051"
x-stream-index: "052"
poll:
$ref: '#/components/schemas/Poll'
x-stream-index: "055"
x-stream-index: "056"
poll_id:
type: string
x-stream-index: "054"
x-stream-index: "055"
quoted_message:
$ref: '#/components/schemas/Message'
x-stream-index: "026"
Expand All @@ -4363,7 +4386,7 @@ components:
x-stream-index: "017"
reminder:
$ref: '#/components/schemas/MessageReminder'
x-stream-index: "059"
x-stream-index: "060"
reply_count:
format: int32
type: integer
Expand All @@ -4378,13 +4401,13 @@ components:
x-stream-index: "037"
shared_location:
$ref: '#/components/schemas/SharedLocation'
x-stream-index: "056"
x-stream-index: "057"
show_in_channel:
type: boolean
x-stream-index: "022"
silent:
type: boolean
x-stream-index: "046"
x-stream-index: "047"
text:
type: string
x-stream-index: "004"
Expand Down Expand Up @@ -4423,6 +4446,7 @@ components:
- custom
- shadowed
- mentioned_users
- mentioned_channel
- silent
- pinned
type: object
Expand Down Expand Up @@ -4509,14 +4533,14 @@ components:
x-stream-index: "026"
deleted_for_me:
type: boolean
x-stream-index: "045"
x-stream-index: "046"
deleted_reply_count:
format: int32
type: integer
x-stream-index: "019"
draft:
$ref: '#/components/schemas/DraftResponse'
x-stream-index: "042"
x-stream-index: "043"
html:
description: Contains HTML markup of the message. Can only be set when using
server-side API
Expand All @@ -4531,7 +4555,7 @@ components:
title: Internationalization info
type: object
x-stream-docs-page-id: translation
x-stream-index: "031"
x-stream-index: "032"
id:
description: Message ID is unique string identifier of the message
title: ID
Expand Down Expand Up @@ -4559,6 +4583,11 @@ components:
`channel_role`
title: Member object
x-stream-index: "008"
mentioned_channel:
description: Whether the message mentioned the channel tag
title: Mentioned Channel
type: boolean
x-stream-index: "031"
mentioned_users:
description: List of mentioned users
items:
Expand All @@ -4569,7 +4598,7 @@ components:
message_text_updated_at:
format: date-time
type: number
x-stream-index: "037"
x-stream-index: "038"
mml:
description: Should be empty if `text` is provided. Can only be set when
using server-side API
Expand All @@ -4579,7 +4608,7 @@ components:
x-stream-index: "003"
moderation:
$ref: '#/components/schemas/ModerationV2Response'
x-stream-index: "040"
x-stream-index: "041"
own_reactions:
description: List of 10 latest reactions of authenticated user to this message
items:
Expand All @@ -4599,34 +4628,34 @@ components:
title: Pin expiration date
type: number
x-stream-docs-page-id: pinned_messages
x-stream-index: "036"
x-stream-index: "037"
pinned:
description: Whether message is pinned or not
title: Pinned
type: boolean
x-stream-docs-page-id: pinned_messages
x-stream-index: "033"
x-stream-index: "034"
pinned_at:
description: Date when message got pinned
format: date-time
title: Pinned at
type: number
x-stream-docs-page-id: pinned_messages
x-stream-index: "034"
x-stream-index: "035"
pinned_by:
$ref: '#/components/schemas/UserResponse'
description: Contains user who pinned the message
title: Pinned by
x-stream-docs-page-id: pinned_messages
x-stream-index: "035"
x-stream-index: "036"
poll:
$ref: '#/components/schemas/PollResponseData'
x-stream-index: "039"
x-stream-index: "040"
poll_id:
description: Identifier of the poll to include in the message
title: Poll ID
type: string
x-stream-index: "038"
x-stream-index: "039"
quoted_message:
$ref: '#/components/schemas/MessageResponse'
description: Contains quoted message
Expand Down Expand Up @@ -4663,7 +4692,7 @@ components:
x-stream-index: "013"
reminder:
$ref: '#/components/schemas/ReminderResponseData'
x-stream-index: "043"
x-stream-index: "044"
reply_count:
description: Number of replies to this message
format: int32
Expand All @@ -4678,7 +4707,7 @@ components:
type: string
title: Restricted visibility
type: array
x-stream-index: "041"
x-stream-index: "042"
shadowed:
description: Whether the message was shadowed or not
title: Shadowed
Expand All @@ -4689,7 +4718,7 @@ components:
$ref: '#/components/schemas/SharedLocationResponseData'
description: Contains shared location data
title: Shared Location
x-stream-index: "044"
x-stream-index: "045"
show_in_channel:
description: Whether thread reply should be shown in the channel as well
title: Show in channel
Expand All @@ -4700,7 +4729,7 @@ components:
description: Whether message is silent or not
title: Silent
type: boolean
x-stream-index: "032"
x-stream-index: "033"
text:
description: Text of the message. Should be empty if `mml` is provided
title: Text
Expand Down Expand Up @@ -4757,6 +4786,7 @@ components:
- custom
- shadowed
- mentioned_users
- mentioned_channel
- silent
- pinned
- restricted_visibility
Expand Down Expand Up @@ -5132,6 +5162,28 @@ components:
x-stream-index: "001"
title: NotificationContext
type: object
NotificationParentActivity:
properties:
attachments:
items:
$ref: '#/components/schemas/Attachment'
type: array
x-stream-index: "005"
id:
type: string
x-stream-index: "001"
text:
type: string
x-stream-index: "004"
type:
type: string
x-stream-index: "003"
user_id:
type: string
x-stream-index: "002"
required:
- id
type: object
NotificationTarget:
properties:
attachments:
Expand All @@ -5157,6 +5209,12 @@ components:
title: User Name
type: string
x-stream-index: "006"
parent_activity:
$ref: '#/components/schemas/NotificationParentActivity'
description: The parent of the target activity (e.g. when target is a share/repost
with no text)
title: Parent Activity
x-stream-index: "008"
text:
description: The text content of the target activity (for activity targets)
title: Activity Text
Expand Down Expand Up @@ -7783,7 +7841,7 @@ components:
type: apiKey
info:
title: Stream API
version: v215.4.0
version: v219.10.0
openapi: 3.0.3
paths:
/api/v2/moderation/appeal:
Expand Down
2 changes: 1 addition & 1 deletion openapi/moderation-serverside-api.json

Large diffs are not rendered by default.

Loading