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.

4,412 changes: 2,680 additions & 1,732 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.

2,734 changes: 1,906 additions & 828 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,638 changes: 1,512 additions & 126 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.

100 changes: 67 additions & 33 deletions openapi/moderation-clientside-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ components:
description: Enriched collection data referenced by this activity
title: Collections
type: object
x-stream-index: "038"
x-stream-index: "039"
comment_count:
description: Number of comments on the activity
format: int32
Expand All @@ -356,7 +356,7 @@ components:
only to one feed, it's always set. If an activity is added to multiple
feeds, it's only set when calling the GetOrCreateFeed endpoint.
title: Current Feed
x-stream-index: "041"
x-stream-index: "042"
custom:
additionalProperties: {}
description: Custom data for the activity
Expand Down Expand Up @@ -400,20 +400,20 @@ components:
format: int32
title: Friend Reaction Count
type: integer
x-stream-index: "040"
x-stream-index: "041"
friend_reactions:
description: Reactions from users the current user follows or has mutual
follows with
items:
$ref: '#/components/schemas/FeedsReactionResponse'
title: Friend Reactions
type: array
x-stream-index: "039"
x-stream-index: "040"
hidden:
description: If this activity is hidden by this user (using activity feedback)
title: Hidden
type: boolean
x-stream-index: "042"
x-stream-index: "043"
id:
description: Unique identifier for the activity
title: ID
Expand All @@ -426,16 +426,28 @@ components:
title: Interest Tags
type: array
x-stream-index: "027"
is_read:
description: Whether this activity has been read. Only set for feed groups
with notification config (track_seen/track_read enabled).
title: Is Read
type: boolean
x-stream-index: "047"
is_seen:
description: Whether this activity has been seen. Only set for feed groups
with notification config (track_seen/track_read enabled).
title: Is Seen
type: boolean
x-stream-index: "046"
is_watched:
type: boolean
x-stream-index: "044"
x-stream-index: "045"
latest_reactions:
description: Recent reactions to the activity
items:
$ref: '#/components/schemas/FeedsReactionResponse'
title: Latest Reactions
type: array
x-stream-index: "034"
x-stream-index: "035"
location:
$ref: '#/components/schemas/ActivityLocation'
description: Geographic location related to the activity
Expand All @@ -448,6 +460,12 @@ components:
title: Mentioned Users
type: array
x-stream-index: "011"
metrics:
additionalProperties:
format: int64
type: integer
type: object
x-stream-index: "034"
moderation:
$ref: '#/components/schemas/ModerationV2Response'
description: Moderation information
Expand All @@ -468,14 +486,14 @@ components:
$ref: '#/components/schemas/BookmarkResponse'
title: Own Bookmarks
type: array
x-stream-index: "037"
x-stream-index: "038"
own_reactions:
description: Current user's reactions to this activity
items:
$ref: '#/components/schemas/FeedsReactionResponse'
title: Own Reactions
type: array
x-stream-index: "036"
x-stream-index: "037"
parent:
$ref: '#/components/schemas/ActivityResponse'
description: Parent activity (if this is a reply/comment)
Expand All @@ -497,7 +515,7 @@ components:
where you want to show a preview
title: Preview
type: boolean
x-stream-index: "043"
x-stream-index: "044"
reaction_count:
description: Number of reactions to the activity
format: int32
Expand All @@ -510,7 +528,7 @@ components:
description: Grouped reactions by type
title: Reaction Groups
type: object
x-stream-index: "035"
x-stream-index: "036"
restrict_replies:
description: 'Controls who can add comments/replies to this activity. One
of: everyone, people_i_follow, nobody'
Expand Down Expand Up @@ -969,6 +987,9 @@ components:
title: Channel Ban Only
type: boolean
x-stream-index: "004"
channel_cid:
type: string
x-stream-index: "005"
delete_messages:
description: 'Message deletion mode: soft, pruning, or hard'
enum:
Expand All @@ -977,12 +998,12 @@ components:
- hard
title: Delete Messages
type: string
x-stream-index: "006"
x-stream-index: "007"
ip_ban:
description: Whether to ban by IP address
title: IP Ban
type: boolean
x-stream-index: "005"
x-stream-index: "006"
reason:
description: Reason for the ban
title: Reason
Expand All @@ -1003,7 +1024,7 @@ components:
format: int32
title: Timeout
type: integer
x-stream-index: "007"
x-stream-index: "008"
title: BanActionRequest
type: object
BanInfoResponse:
Expand Down Expand Up @@ -1148,13 +1169,16 @@ components:
type: boolean
x-stream-index: "001"
enabled:
type: boolean
x-stream-index: "003"
match_substring:
type: boolean
x-stream-index: "002"
rules:
items:
$ref: '#/components/schemas/BlockListRule'
type: array
x-stream-index: "003"
x-stream-index: "004"
required:
- enabled
- rules
Expand Down Expand Up @@ -3342,7 +3366,8 @@ components:
title: Feed Member
type: object
FeedOwnCapability:
description: All possibility of string to use
description: Represents a feed capability value and enumerates all possible
capability strings.
enum:
- add-activity
- add-activity-bookmark
Expand Down Expand Up @@ -4343,14 +4368,14 @@ components:
x-stream-index: "027"
deleted_for_me:
type: boolean
x-stream-index: "049"
x-stream-index: "050"
deleted_reply_count:
format: int32
type: integer
x-stream-index: "020"
draft:
$ref: '#/components/schemas/DraftResponse'
x-stream-index: "046"
x-stream-index: "047"
html:
description: Contains HTML markup of the message. Can only be set when using
server-side API
Expand All @@ -4365,7 +4390,7 @@ components:
title: Internationalization info
type: object
x-stream-docs-page-id: translation
x-stream-index: "035"
x-stream-index: "036"
id:
description: Message ID is unique string identifier of the message
title: ID
Expand Down Expand Up @@ -4397,12 +4422,21 @@ components:
description: Whether the message mentioned the channel tag
title: Mentioned Channel
type: boolean
x-stream-index: "034"
mentioned_group_ids:
description: List of user group IDs mentioned in the message. Group members
who are also channel members will receive push notifications based on
their push preferences. Max 10 groups
items:
type: string
title: Mentioned Groups
type: array
x-stream-index: "033"
mentioned_here:
description: Whether the message mentioned online users with @here tag
title: Mentioned Here
type: boolean
x-stream-index: "034"
x-stream-index: "035"
mentioned_roles:
description: List of roles mentioned in the message (e.g. admin, channel_moderator,
custom roles). Members with matching roles will receive push notifications
Expand All @@ -4422,7 +4456,7 @@ components:
message_text_updated_at:
format: date-time
type: number
x-stream-index: "041"
x-stream-index: "042"
mml:
description: Should be empty if `text` is provided. Can only be set when
using server-side API
Expand All @@ -4432,7 +4466,7 @@ components:
x-stream-index: "003"
moderation:
$ref: '#/components/schemas/ModerationV2Response'
x-stream-index: "044"
x-stream-index: "045"
own_reactions:
description: List of 10 latest reactions of authenticated user to this message
items:
Expand All @@ -4452,34 +4486,34 @@ components:
title: Pin expiration date
type: number
x-stream-docs-page-id: pinned_messages
x-stream-index: "040"
x-stream-index: "041"
pinned:
description: Whether message is pinned or not
title: Pinned
type: boolean
x-stream-docs-page-id: pinned_messages
x-stream-index: "037"
x-stream-index: "038"
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: "038"
x-stream-index: "039"
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: "039"
x-stream-index: "040"
poll:
$ref: '#/components/schemas/PollResponseData'
x-stream-index: "043"
x-stream-index: "044"
poll_id:
description: Identifier of the poll to include in the message
title: Poll ID
type: string
x-stream-index: "042"
x-stream-index: "043"
quoted_message:
$ref: '#/components/schemas/MessageResponse'
description: Contains quoted message
Expand Down Expand Up @@ -4516,7 +4550,7 @@ components:
x-stream-index: "013"
reminder:
$ref: '#/components/schemas/ReminderResponseData'
x-stream-index: "047"
x-stream-index: "048"
reply_count:
description: Number of replies to this message
format: int32
Expand All @@ -4531,7 +4565,7 @@ components:
type: string
title: Restricted visibility
type: array
x-stream-index: "045"
x-stream-index: "046"
shadowed:
description: Whether the message was shadowed or not
title: Shadowed
Expand All @@ -4542,7 +4576,7 @@ components:
$ref: '#/components/schemas/SharedLocationResponseData'
description: Contains shared location data
title: Shared Location
x-stream-index: "048"
x-stream-index: "049"
show_in_channel:
description: Whether thread reply should be shown in the channel as well
title: Show in channel
Expand All @@ -4553,7 +4587,7 @@ components:
description: Whether message is silent or not
title: Silent
type: boolean
x-stream-index: "036"
x-stream-index: "037"
text:
description: Text of the message. Should be empty if `mml` is provided
title: Text
Expand Down Expand Up @@ -7511,7 +7545,7 @@ components:
type: apiKey
info:
title: Stream API
version: v221.12.1
version: v223.14.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
Loading