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.

647 changes: 315 additions & 332 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.

660 changes: 376 additions & 284 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.

814 changes: 487 additions & 327 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.

156 changes: 100 additions & 56 deletions openapi/moderation-clientside-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -312,63 +312,63 @@ components:
$ref: '#/components/schemas/Attachment'
title: Attachments
type: array
x-stream-index: "009"
x-stream-index: "010"
bookmark_count:
description: Number of bookmarks on the activity
format: int32
title: Bookmark Count
type: integer
x-stream-index: "029"
x-stream-index: "030"
comment_count:
description: Number of comments on the activity
format: int32
title: Comment Count
type: integer
x-stream-index: "028"
x-stream-index: "029"
comments:
description: Comments on this activity
items:
$ref: '#/components/schemas/CommentResponse'
title: Comments
type: array
x-stream-index: "015"
x-stream-index: "016"
created_at:
description: When the activity was created
format: date-time
title: Created At
type: number
x-stream-index: "007"
x-stream-index: "008"
current_feed:
$ref: '#/components/schemas/FeedResponse'
description: Feed context for this activity view. If an activity is added
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: "036"
x-stream-index: "037"
custom:
additionalProperties: {}
description: Custom data for the activity
title: Custom Data
type: object
x-stream-index: "011"
x-stream-index: "012"
deleted_at:
description: When the activity was deleted
format: date-time
title: Deleted At
type: number
x-stream-index: "021"
x-stream-index: "022"
edited_at:
description: When the activity was last edited
format: date-time
title: Edited At
type: number
x-stream-index: "020"
x-stream-index: "021"
expires_at:
description: When the activity will expire
format: date-time
title: Expires At
type: number
x-stream-index: "022"
x-stream-index: "023"
feeds:
description: List of feed IDs containing this activity
items:
Expand All @@ -382,12 +382,12 @@ components:
type: string
title: Filter Tags
type: array
x-stream-index: "024"
x-stream-index: "025"
hidden:
description: If this activity is hidden by this user (using activity feedback)
title: Hidden
type: boolean
x-stream-index: "037"
x-stream-index: "038"
id:
description: Unique identifier for the activity
title: ID
Expand All @@ -399,115 +399,121 @@ components:
type: string
title: Interest Tags
type: array
x-stream-index: "025"
x-stream-index: "026"
is_watched:
type: boolean
x-stream-index: "039"
x-stream-index: "040"
latest_reactions:
description: Recent reactions to the activity
items:
$ref: '#/components/schemas/FeedsReactionResponse'
title: Latest Reactions
type: array
x-stream-index: "032"
x-stream-index: "033"
location:
$ref: '#/components/schemas/ActivityLocation'
description: Geographic location related to the activity
title: Location
x-stream-index: "017"
x-stream-index: "018"
mentioned_users:
description: Users mentioned in the activity
items:
$ref: '#/components/schemas/UserResponse'
title: Mentioned Users
type: array
x-stream-index: "010"
x-stream-index: "011"
moderation:
$ref: '#/components/schemas/ModerationV2Response'
description: Moderation information
title: Moderation
x-stream-index: "026"
x-stream-index: "027"
moderation_action:
type: string
x-stream-index: "027"
x-stream-index: "028"
notification_context:
$ref: '#/components/schemas/NotificationContext'
description: Notification context data for the activity (if this is a reaction,
comment, follow, etc.)
title: Notification Context
x-stream-index: "012"
x-stream-index: "013"
own_bookmarks:
description: Current user's bookmarks for this activity
items:
$ref: '#/components/schemas/BookmarkResponse'
title: Own Bookmarks
type: array
x-stream-index: "035"
x-stream-index: "036"
own_reactions:
description: Current user's reactions to this activity
items:
$ref: '#/components/schemas/FeedsReactionResponse'
title: Own Reactions
type: array
x-stream-index: "034"
x-stream-index: "035"
parent:
$ref: '#/components/schemas/ActivityResponse'
description: Parent activity (if this is a reply/comment)
title: Parent
x-stream-index: "018"
x-stream-index: "019"
poll:
$ref: '#/components/schemas/PollResponseData'
description: Poll attached to this activity
title: Poll
x-stream-index: "019"
x-stream-index: "020"
popularity:
description: Popularity score of the activity
format: int32
title: Popularity
type: integer
x-stream-index: "013"
x-stream-index: "014"
preview:
description: If this activity is obfuscated for this user. For premium content
where you want to show a preview
title: Preview
type: boolean
x-stream-index: "038"
x-stream-index: "039"
reaction_count:
description: Number of reactions to the activity
format: int32
title: Reaction Count
type: integer
x-stream-index: "031"
x-stream-index: "032"
reaction_groups:
additionalProperties:
$ref: '#/components/schemas/ReactionGroupResponse'
description: Grouped reactions by type
title: Reaction Groups
type: object
x-stream-index: "033"
x-stream-index: "034"
restrict_replies:
description: 'Controls who can reply to this activity. Values: everyone,
people_i_follow, nobody'
title: Restrict Replies
type: string
x-stream-index: "007"
score:
description: Ranking score for this activity
format: float
title: Score
type: number
x-stream-index: "014"
x-stream-index: "015"
search_data:
additionalProperties: {}
description: Data for search indexing
title: Search Data
type: object
x-stream-index: "023"
x-stream-index: "024"
share_count:
description: Number of times the activity was shared
format: int32
title: Share Count
type: integer
x-stream-index: "030"
x-stream-index: "031"
text:
description: Text content of the activity
title: Text
type: string
x-stream-index: "016"
x-stream-index: "017"
type:
description: Type of activity
title: Type
Expand All @@ -518,7 +524,7 @@ components:
format: date-time
title: Updated At
type: number
x-stream-index: "008"
x-stream-index: "009"
user:
$ref: '#/components/schemas/UserResponse'
description: User who created the activity
Expand All @@ -544,6 +550,7 @@ components:
- user
- feeds
- visibility
- restrict_replies
- created_at
- updated_at
- attachments
Expand Down Expand Up @@ -5560,46 +5567,82 @@ components:
title: RTMPSettingsResponse
type: object
Reaction:
nullable: true
properties:
activity_id:
type: string
x-stream-index: "001.003"
children_counts:
additionalProperties: {}
type: object
x-stream-index: "005"
created_at:
format: date-time
readOnly: true
type: number
x-stream-index: "006"
data:
additionalProperties: {}
type: object
x-stream-index: "001.005"
deleted_at:
format: date-time
type: number
x-stream-index: "008"
custom:
id:
type: string
x-stream-index: "001.001"
kind:
type: string
x-stream-index: "001.002"
latest_children:
additionalProperties:
items:
$ref: '#/components/schemas/Reaction'
type: array
type: object
x-stream-index: "003"
moderation:
additionalProperties: {}
type: object
x-stream-index: "010"
message_id:
own_children:
additionalProperties:
items:
$ref: '#/components/schemas/Reaction'
type: array
type: object
x-stream-index: "004"
parent:
type: string
x-stream-index: "003"
x-stream-index: "001.008"
score:
format: int32
type: integer
x-stream-index: "007"
type:
maxLength: 30
type: string
x-stream-index: "006"
format: float
type: number
x-stream-index: "009"
target_feeds:
items:
type: string
type: array
x-stream-index: "001.006"
target_feeds_extra_data:
additionalProperties: {}
type: object
x-stream-index: "001.007"
updated_at:
format: date-time
readOnly: true
type: number
x-stream-index: "009"
x-stream-index: "007"
user:
$ref: '#/components/schemas/User'
x-stream-index: "005"
x-stream-index: "002"
user_id:
type: string
x-stream-index: "004"
x-stream-index: "001.004"
required:
- message_id
- type
- score
- kind
- activity_id
- user_id
- created_at
- updated_at
- custom
type: object
ReactionGroupResponse:
description: ReactionGroupResponse contains all information about a reaction
Expand Down Expand Up @@ -5748,7 +5791,7 @@ components:
type: number
x-stream-index: "008"
message:
$ref: '#/components/schemas/Message'
$ref: '#/components/schemas/MessageResponse'
x-stream-index: "005"
message_id:
type: string
Expand All @@ -5762,7 +5805,7 @@ components:
type: number
x-stream-index: "009"
user:
$ref: '#/components/schemas/User'
$ref: '#/components/schemas/UserResponse'
x-stream-index: "007"
user_id:
type: string
Expand Down Expand Up @@ -6133,6 +6176,7 @@ components:
x-stream-index: "001"
type: object
SharedLocation:
nullable: true
properties:
channel:
$ref: '#/components/schemas/Channel'
Expand Down Expand Up @@ -7236,7 +7280,7 @@ components:
type: apiKey
info:
title: Stream API
version: v200.1.0
version: v202.1.3
openapi: 3.0.3
paths:
/api/v2/moderation/ban:
Expand Down
2 changes: 1 addition & 1 deletion openapi/moderation-serverside-api.json

Large diffs are not rendered by default.

Loading