-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathfeeds-clientside-api.json
More file actions
1 lines (1 loc) · 454 KB
/
feeds-clientside-api.json
File metadata and controls
1 lines (1 loc) · 454 KB
1
{"components":{"schemas":{"AIImageConfig":{"properties":{"async":{"type":"boolean","x-stream-index":"001"},"enabled":{"type":"boolean","x-stream-index":"002"},"ocr_rules":{"items":{"$ref":"#/components/schemas/OCRRule"},"type":"array","x-stream-index":"004"},"rules":{"items":{"$ref":"#/components/schemas/AWSRekognitionRule"},"type":"array","x-stream-index":"003"}},"required":["enabled","rules","ocr_rules"],"type":"object"},"AITextConfig":{"properties":{"async":{"type":"boolean","x-stream-index":"001"},"enabled":{"type":"boolean","x-stream-index":"002"},"profile":{"type":"string","x-stream-index":"003"},"rules":{"items":{"$ref":"#/components/schemas/BodyguardRule"},"type":"array","x-stream-index":"004"},"severity_rules":{"items":{"$ref":"#/components/schemas/BodyguardSeverityRule"},"type":"array","x-stream-index":"005"}},"required":["enabled","profile","rules","severity_rules"],"type":"object"},"AIVideoConfig":{"properties":{"async":{"type":"boolean","x-stream-index":"001"},"enabled":{"type":"boolean","x-stream-index":"002"},"rules":{"items":{"$ref":"#/components/schemas/AWSRekognitionRule"},"type":"array","x-stream-index":"003"}},"required":["enabled","rules"],"type":"object"},"APIError":{"nullable":true,"properties":{"StatusCode":{"description":"Response HTTP status code","format":"int32","title":"Status code","type":"integer","x-stream-index":"004"},"code":{"description":"API error code","format":"int32","title":"Code","type":"integer","x-stream-index":"001"},"details":{"description":"Additional error-specific information","items":{"type":"integer"},"title":"Details","type":"array","x-stream-index":"007"},"duration":{"description":"Request duration","title":"Duration","type":"string","x-stream-index":"005"},"exception_fields":{"additionalProperties":{"type":"string"},"description":"Additional error info","title":"Exception fields","type":"object","x-stream-index":"003"},"message":{"description":"Message describing an error","title":"Message","type":"string","x-stream-index":"002"},"more_info":{"description":"URL with additional information","title":"More info","type":"string","x-stream-index":"006"},"unrecoverable":{"description":"Flag that indicates if the error is unrecoverable, requests that return unrecoverable errors should not be retried, this error only applies to the request that caused it","title":"Unrecoverable","type":"boolean","x-stream-index":"008"}},"required":["code","message","StatusCode","duration","more_info","details"],"title":"Error response","type":"object"},"AWSRekognitionRule":{"properties":{"action":{"enum":["flag","shadow","remove","bounce","bounce_flag","bounce_remove"],"type":"string","x-stream-index":"002"},"label":{"type":"string","x-stream-index":"001"},"min_confidence":{"format":"float","maximum":100,"minimum":0,"type":"number","x-stream-index":"003"}},"required":["label","action","min_confidence"],"type":"object"},"AcceptFeedMemberInviteRequest":{"nullable":true,"title":"Accept Feed Member Invite Request","type":"object"},"AcceptFeedMemberInviteResponse":{"nullable":true,"properties":{"duration":{"type":"string","x-stream-index":"002.001"},"member":{"$ref":"#/components/schemas/FeedMemberResponse","description":"The feed member after accepting the invite","title":"Feed Member","x-stream-index":"001"}},"required":["member","duration"],"title":"Accept Feed Member Invite Response","type":"object"},"AcceptFollowRequest":{"nullable":true,"properties":{"follower_role":{"description":"Optional role for the follower in the follow relationship","title":"Follower Role","type":"string","x-stream-index":"003"},"source":{"description":"Fully qualified ID of the source feed","maxLength":255,"title":"Source Feed ID","type":"string","x-stream-index":"001"},"target":{"description":"Fully qualified ID of the target feed","maxLength":255,"title":"Target Feed ID","type":"string","x-stream-index":"002"}},"required":["source","target"],"title":"Accept Follow Request","type":"object"},"AcceptFollowResponse":{"nullable":true,"properties":{"duration":{"type":"string","x-stream-index":"002.001"},"follow":{"$ref":"#/components/schemas/FollowResponse","description":"The accepted follow relationship","title":"Follow","x-stream-index":"001"}},"required":["follow","duration"],"title":"Accept Follow Response","type":"object"},"Action":{"nullable":true,"properties":{"name":{"type":"string","x-stream-index":"001"},"style":{"type":"string","x-stream-index":"003"},"text":{"type":"string","x-stream-index":"002"},"type":{"type":"string","x-stream-index":"004"},"value":{"type":"string","x-stream-index":"005"}},"required":["name","text","type"],"type":"object"},"ActionLogResponse":{"nullable":true,"properties":{"ai_providers":{"items":{"type":"string"},"type":"array","x-stream-index":"011"},"created_at":{"description":"Timestamp when the action was taken","format":"date-time","title":"Created At","type":"number","x-stream-index":"002"},"custom":{"additionalProperties":{},"description":"Additional metadata about the action","title":"Custom","type":"object","x-stream-index":"007"},"id":{"description":"Unique identifier of the action log","title":"ID","type":"string","x-stream-index":"001"},"reason":{"description":"Reason for the moderation action","title":"Reason","type":"string","x-stream-index":"006"},"review_queue_item":{"$ref":"#/components/schemas/ReviewQueueItemResponse","description":"Associated review queue item","title":"Review Queue Item","x-stream-index":"008"},"target_user":{"$ref":"#/components/schemas/UserResponse","description":"User who was the target of the action","title":"Target User","x-stream-index":"009"},"target_user_id":{"description":"ID of the user who was the target of the action","title":"Target User ID","type":"string","x-stream-index":"010"},"type":{"description":"Type of moderation action","title":"Type","type":"string","x-stream-index":"003"},"user":{"$ref":"#/components/schemas/UserResponse","description":"User who performed the action","title":"User","x-stream-index":"004"},"user_id":{"description":"ID of the user who performed the action","title":"User ID","type":"string","x-stream-index":"005"}},"required":["id","created_at","type","user_id","reason","custom","target_user_id","ai_providers"],"type":"object"},"ActionSequence":{"properties":{"action":{"type":"string","x-stream-index":"001"},"blur":{"type":"boolean","x-stream-index":"005"},"cooldown_period":{"format":"int32","type":"integer","x-stream-index":"004"},"threshold":{"format":"int32","type":"integer","x-stream-index":"002"},"time_window":{"format":"int32","type":"integer","x-stream-index":"003"},"warning":{"type":"boolean","x-stream-index":"006"},"warning_text":{"type":"string","x-stream-index":"007"}},"required":["action","threshold","time_window","cooldown_period","blur","warning","warning_text"],"type":"object"},"ActivityAddedEvent":{"description":"Emitted when an activity is added to a feed.","nullable":true,"properties":{"activity":{"$ref":"#/components/schemas/ActivityResponse","description":"The activity that was added","title":"Activity","x-stream-index":"001"},"created_at":{"description":"Date/time of creation","format":"date-time","title":"Created at","type":"number","x-stream-index":"002.001.003"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"002.001.007"},"feed_visibility":{"type":"string","x-stream-index":"002.003"},"fid":{"type":"string","x-stream-index":"002.002"},"received_at":{"format":"date-time","type":"number","x-stream-index":"002.001.004"},"type":{"default":"feeds.activity.added","description":"The type of event: \"feeds.activity.added\" in this case","title":"Event Type","type":"string","x-stream-index":"002.001.002"},"user":{"$ref":"#/components/schemas/UserResponseCommonFields","description":"The user who added the activity","title":"User","x-stream-index":"003.001"}},"required":["activity","type","created_at","custom","fid"],"title":"ActivityAddedEvent","type":"object","x-stream-event-client-type":true,"x-stream-event-doc-group":"other","x-stream-is-event":true,"x-stream-throttle-group":"ordered","x-stream-ws-base-event-name":"VideoEvent"},"ActivityDeletedEvent":{"description":"Emitted when an activity is deleted.","nullable":true,"properties":{"activity":{"$ref":"#/components/schemas/ActivityResponse","description":"The activity that was updated","title":"Activity","x-stream-index":"001"},"created_at":{"description":"Date/time of creation","format":"date-time","title":"Created at","type":"number","x-stream-index":"002.001.003"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"002.001.007"},"feed_visibility":{"type":"string","x-stream-index":"002.003"},"fid":{"type":"string","x-stream-index":"002.002"},"received_at":{"format":"date-time","type":"number","x-stream-index":"002.001.004"},"type":{"default":"feeds.activity.deleted","description":"The type of event: \"feeds.activity.deleted\" in this case","title":"Event Type","type":"string","x-stream-index":"002.001.002"},"user":{"$ref":"#/components/schemas/UserResponseCommonFields","x-stream-index":"003.001"}},"required":["activity","type","created_at","custom","fid"],"title":"ActivityDeletedEvent","type":"object","x-stream-event-client-type":true,"x-stream-event-doc-group":"other","x-stream-is-event":true,"x-stream-throttle-group":"ordered","x-stream-ws-base-event-name":"VideoEvent"},"ActivityFeedbackEvent":{"description":"Emitted when activity feedback is provided.","nullable":true,"properties":{"activity_feedback":{"$ref":"#/components/schemas/ActivityFeedbackEventPayload","description":"The feedback provided on the activity","title":"Activity Feedback","x-stream-index":"001"},"created_at":{"description":"Date/time of creation","format":"date-time","title":"Created at","type":"number","x-stream-index":"002.001.003"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"002.001.007"},"received_at":{"format":"date-time","type":"number","x-stream-index":"002.001.004"},"type":{"default":"feeds.activity.feedback","description":"The type of event: \"feeds.activity.feedback\" in this case","title":"Event Type","type":"string","x-stream-index":"002.001.002"},"user":{"$ref":"#/components/schemas/UserResponseCommonFields","description":"The user who provided the feedback","title":"User","x-stream-index":"003.001"}},"required":["activity_feedback","type","created_at","custom"],"title":"ActivityFeedbackEvent","type":"object","x-stream-event-client-type":true,"x-stream-event-doc-group":"other","x-stream-is-event":true,"x-stream-throttle-group":"ordered","x-stream-ws-base-event-name":"VideoEvent"},"ActivityFeedbackEventPayload":{"properties":{"action":{"description":"The type of feedback action. One of: hide, show_more, show_less","enum":["hide","show_more","show_less"],"title":"Action","type":"string","x-stream-index":"003"},"activity_id":{"description":"The activity that received feedback","title":"Activity ID","type":"string","x-stream-index":"002"},"created_at":{"description":"When the feedback was created","format":"date-time","title":"Created At","type":"number","x-stream-index":"005"},"updated_at":{"description":"When the feedback was last updated","format":"date-time","title":"Updated At","type":"number","x-stream-index":"006"},"user":{"$ref":"#/components/schemas/UserResponse","description":"User who provided the feedback","title":"User","x-stream-index":"001"},"value":{"description":"The feedback value (true/false)","title":"Value","type":"string","x-stream-index":"004"}},"required":["user","activity_id","action","value","created_at","updated_at"],"title":"Activity Feedback Event Payload","type":"object"},"ActivityFeedbackRequest":{"description":"Request to provide feedback on an activity","nullable":true,"properties":{"hide":{"description":"Whether to hide this activity","title":"bool","type":"boolean","x-stream-index":"003"},"show_less":{"description":"Whether to show less content like this","title":"bool","type":"boolean","x-stream-index":"002"},"show_more":{"description":"Whether to show more content like this","title":"bool","type":"boolean","x-stream-index":"004"}},"title":"Activity Feedback Request","type":"object"},"ActivityFeedbackResponse":{"description":"Response for activity feedback submission","nullable":true,"properties":{"activity_id":{"description":"The ID of the activity that received feedback","title":"string","type":"string","x-stream-index":"001"},"duration":{"type":"string","x-stream-index":"002.001"}},"required":["activity_id","duration"],"title":"Activity Feedback Response","type":"object"},"ActivityLocation":{"properties":{"lat":{"description":"Latitude coordinate","format":"float","maximum":90,"minimum":18446744073709552000,"title":"Latitude","type":"number","x-stream-index":"001"},"lng":{"description":"Longitude coordinate","format":"float","maximum":180,"minimum":18446744073709552000,"title":"Longitude","type":"number","x-stream-index":"002"}},"required":["lat","lng"],"title":"Activity Location","type":"object"},"ActivityMarkEvent":{"description":"Emitted when activities are marked as read, seen, or watched.","nullable":true,"properties":{"created_at":{"description":"Date/time of creation","format":"date-time","title":"Created at","type":"number","x-stream-index":"006.001.003"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"006.001.007"},"feed_visibility":{"type":"string","x-stream-index":"006.003"},"fid":{"type":"string","x-stream-index":"006.002"},"mark_all_read":{"description":"Whether all activities were marked as read","title":"Mark All Read","type":"boolean","x-stream-index":"004"},"mark_all_seen":{"description":"Whether all activities were marked as seen","title":"Mark All Seen","type":"boolean","x-stream-index":"005"},"mark_read":{"description":"The IDs of activities marked as read","items":{"type":"string"},"title":"Mark Read","type":"array","x-stream-index":"001"},"mark_seen":{"description":"The IDs of activities marked as seen","items":{"type":"string"},"title":"Mark Seen","type":"array","x-stream-index":"002"},"mark_watched":{"description":"The IDs of activities marked as watched","items":{"type":"string"},"title":"Mark Watched","type":"array","x-stream-index":"003"},"received_at":{"format":"date-time","type":"number","x-stream-index":"006.001.004"},"type":{"default":"feeds.activity.marked","description":"The type of event: \"feeds.activity.marked\" in this case","title":"Event Type","type":"string","x-stream-index":"006.001.002"},"user":{"$ref":"#/components/schemas/UserResponseCommonFields","description":"The user who marked the activities","title":"User","x-stream-index":"007.001"}},"required":["type","created_at","custom","fid"],"title":"ActivityMarkEvent","type":"object","x-stream-event-client-type":true,"x-stream-event-doc-group":"other","x-stream-is-event":true,"x-stream-throttle-group":"ordered","x-stream-ws-base-event-name":"VideoEvent"},"ActivityPinResponse":{"properties":{"activity":{"$ref":"#/components/schemas/ActivityResponse","description":"The pinned activity","title":"Activity","x-stream-index":"002"},"created_at":{"description":"When the pin was created","format":"date-time","title":"Created At","type":"number","x-stream-index":"004"},"feed":{"description":"ID of the feed where activity is pinned","title":"Feed ID","type":"string","x-stream-index":"003"},"updated_at":{"description":"When the pin was last updated","format":"date-time","title":"Updated At","type":"number","x-stream-index":"005"},"user":{"$ref":"#/components/schemas/UserResponse","description":"User who pinned the activity","title":"User","x-stream-index":"001"}},"required":["user","activity","feed","created_at","updated_at"],"title":"Activity Pin","type":"object"},"ActivityPinnedEvent":{"description":"Emitted when an activity is pinned.","nullable":true,"properties":{"created_at":{"description":"Date/time of creation","format":"date-time","title":"Created at","type":"number","x-stream-index":"002.001.003"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"002.001.007"},"feed_visibility":{"type":"string","x-stream-index":"002.003"},"fid":{"description":"The ID of the feed","title":"Feed ID","type":"string","x-stream-index":"002.002"},"pinned_activity":{"$ref":"#/components/schemas/PinActivityResponse","x-stream-index":"001"},"received_at":{"format":"date-time","type":"number","x-stream-index":"002.001.004"},"type":{"default":"feeds.activity.pinned","description":"The type of event: \"feeds.activity.pinned\" in this case","title":"Event Type","type":"string","x-stream-index":"002.001.002"},"user":{"$ref":"#/components/schemas/UserResponseCommonFields","description":"The user who pinned the activity","title":"User","x-stream-index":"003.001"}},"required":["pinned_activity","type","created_at","custom","fid"],"title":"ActivityPinnedEvent","type":"object","x-stream-event-client-type":true,"x-stream-event-doc-group":"other","x-stream-is-event":true,"x-stream-throttle-group":"ordered","x-stream-ws-base-event-name":"VideoEvent"},"ActivityProcessorConfig":{"nullable":true,"properties":{"config":{"additionalProperties":{},"type":"object","x-stream-index":"002"},"openai_key":{"type":"string","x-stream-index":"003"},"type":{"type":"string","x-stream-index":"001"}},"required":["type"],"type":"object"},"ActivityReactionAddedEvent":{"description":"Emitted when a reaction is added to an activity.","nullable":true,"properties":{"activity":{"$ref":"#/components/schemas/ActivityResponse","x-stream-index":"001"},"created_at":{"description":"Date/time of creation","format":"date-time","title":"Created at","type":"number","x-stream-index":"003.001.003"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"003.001.007"},"feed_visibility":{"type":"string","x-stream-index":"003.003"},"fid":{"type":"string","x-stream-index":"003.002"},"reaction":{"$ref":"#/components/schemas/FeedsReactionResponse","description":"The reaction that was added","title":"Reaction","x-stream-index":"002"},"received_at":{"format":"date-time","type":"number","x-stream-index":"003.001.004"},"type":{"default":"feeds.activity.reaction.added","description":"The type of event: \"feeds.activity.reaction.added\" in this case","title":"Event Type","type":"string","x-stream-index":"003.001.002"},"user":{"$ref":"#/components/schemas/UserResponseCommonFields","description":"The user who added the reaction","title":"User","x-stream-index":"004.001"}},"required":["activity","reaction","type","created_at","custom","fid"],"title":"ActivityReactionAddedEvent","type":"object","x-stream-event-client-type":true,"x-stream-event-doc-group":"other","x-stream-is-event":true,"x-stream-throttle-group":"ordered","x-stream-ws-base-event-name":"VideoEvent"},"ActivityReactionDeletedEvent":{"description":"Emitted when a reaction is deleted from an activity.","nullable":true,"properties":{"activity":{"$ref":"#/components/schemas/ActivityResponse","x-stream-index":"001"},"created_at":{"description":"Date/time of creation","format":"date-time","title":"Created at","type":"number","x-stream-index":"003.001.003"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"003.001.007"},"feed_visibility":{"type":"string","x-stream-index":"003.003"},"fid":{"type":"string","x-stream-index":"003.002"},"reaction":{"$ref":"#/components/schemas/FeedsReactionResponse","x-stream-index":"002"},"received_at":{"format":"date-time","type":"number","x-stream-index":"003.001.004"},"type":{"default":"feeds.activity.reaction.deleted","description":"The type of the reaction that was removed","title":"Type","type":"string","x-stream-index":"003.001.002"},"user":{"$ref":"#/components/schemas/UserResponseCommonFields","description":"The user who removed the reaction","title":"User","x-stream-index":"004.001"}},"required":["activity","reaction","type","created_at","custom","fid"],"title":"ActivityReactionDeletedEvent","type":"object","x-stream-event-client-type":true,"x-stream-event-doc-group":"other","x-stream-is-event":true,"x-stream-throttle-group":"ordered","x-stream-ws-base-event-name":"VideoEvent"},"ActivityReactionUpdatedEvent":{"description":"Emitted when a reaction is updated on an activity.","nullable":true,"properties":{"activity":{"$ref":"#/components/schemas/ActivityResponse","x-stream-index":"001"},"created_at":{"description":"Date/time of creation","format":"date-time","title":"Created at","type":"number","x-stream-index":"003.001.003"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"003.001.007"},"feed_visibility":{"type":"string","x-stream-index":"003.003"},"fid":{"type":"string","x-stream-index":"003.002"},"reaction":{"$ref":"#/components/schemas/FeedsReactionResponse","description":"The reaction that was updated","title":"Reaction","x-stream-index":"002"},"received_at":{"format":"date-time","type":"number","x-stream-index":"003.001.004"},"type":{"default":"feeds.activity.reaction.updated","description":"The type of event: \"feeds.activity.reaction.updated\" in this case","title":"Event Type","type":"string","x-stream-index":"003.001.002"},"user":{"$ref":"#/components/schemas/UserResponseCommonFields","description":"The user who updated the reaction","title":"User","x-stream-index":"004.001"}},"required":["activity","reaction","type","created_at","custom","fid"],"title":"ActivityReactionUpdatedEvent","type":"object","x-stream-event-client-type":true,"x-stream-event-doc-group":"other","x-stream-is-event":true,"x-stream-throttle-group":"ordered","x-stream-ws-base-event-name":"VideoEvent"},"ActivityRemovedFromFeedEvent":{"description":"Emitted when an activity is removed from a feed.","nullable":true,"properties":{"activity":{"$ref":"#/components/schemas/ActivityResponse","x-stream-index":"001"},"created_at":{"description":"Date/time of creation","format":"date-time","title":"Created at","type":"number","x-stream-index":"002.001.003"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"002.001.007"},"feed_visibility":{"type":"string","x-stream-index":"002.003"},"fid":{"type":"string","x-stream-index":"002.002"},"received_at":{"format":"date-time","type":"number","x-stream-index":"002.001.004"},"type":{"default":"feeds.activity.removed_from_feed","description":"The type of event: \"feeds.activity.removed_from_feed\" in this case","title":"Event Type","type":"string","x-stream-index":"002.001.002"},"user":{"$ref":"#/components/schemas/UserResponseCommonFields","description":"The user who removed the activity","title":"User","x-stream-index":"003.001"}},"required":["activity","type","created_at","custom","fid"],"title":"ActivityRemovedFromFeedEvent","type":"object","x-stream-event-client-type":true,"x-stream-event-doc-group":"other","x-stream-is-event":true,"x-stream-throttle-group":"ordered","x-stream-ws-base-event-name":"VideoEvent"},"ActivityRequest":{"properties":{"attachments":{"description":"List of attachments for the activity","items":{"$ref":"#/components/schemas/Attachment"},"title":"Attachments","type":"array","x-stream-index":"006"},"collection_refs":{"description":"Collections that this activity references","items":{"type":"string"},"title":"Collection References","type":"array","x-stream-index":"016"},"copy_custom_to_notification":{"description":"Whether to copy custom data to the notification activity (only applies when create_notification_activity is true)","title":"Copy Custom To Notification","type":"boolean","x-stream-index":"022"},"create_notification_activity":{"description":"Whether to create notification activities for mentioned users","title":"Create Notification Activity","type":"boolean","x-stream-index":"021"},"custom":{"additionalProperties":{},"description":"Custom data for the activity","title":"Custom Data","type":"object","x-stream-index":"019"},"expires_at":{"description":"Expiration time for the activity","title":"Expires At","type":"string","x-stream-index":"011"},"feeds":{"description":"List of feeds to add the activity to with a default max limit of 25 feeds","items":{"type":"string"},"minItems":1,"title":"Feed IDs","type":"array","x-stream-index":"004"},"filter_tags":{"description":"Tags for filtering activities","items":{"type":"string"},"maxItems":50,"title":"Filter Tags","type":"array","x-stream-index":"014"},"id":{"description":"Optional ID for the activity","maxLength":255,"title":"Activity ID","type":"string","x-stream-index":"001"},"interest_tags":{"description":"Tags for indicating user interests","items":{"type":"string"},"title":"Interest Tags","type":"array","x-stream-index":"015"},"location":{"$ref":"#/components/schemas/ActivityLocation","description":"Geographic location related to the activity","title":"Location","x-stream-index":"010"},"mentioned_user_ids":{"description":"List of users mentioned in the activity","items":{"type":"string"},"title":"Mentioned User IDs","type":"array","x-stream-index":"012"},"parent_id":{"description":"ID of parent activity for replies/comments","maxLength":255,"title":"Parent ID","type":"string","x-stream-index":"017"},"poll_id":{"description":"ID of a poll to attach to activity","title":"Poll ID","type":"string","x-stream-index":"018"},"restrict_replies":{"description":"Controls who can add comments/replies to this activity. One of: everyone, people_i_follow, nobody","enum":["everyone","people_i_follow","nobody"],"title":"Restrict Replies","type":"string","x-stream-index":"009"},"search_data":{"additionalProperties":{},"description":"Additional data for search indexing","title":"Search Data","type":"object","x-stream-index":"013"},"skip_enrich_url":{"description":"Whether to skip URL enrichment for the activity","title":"Skip URL Enrichment","type":"boolean","x-stream-index":"020"},"skip_push":{"description":"Whether to skip push notifications","title":"Skip Push","type":"boolean","x-stream-index":"023"},"text":{"description":"Text content of the activity","title":"Text","type":"string","x-stream-index":"005"},"type":{"description":"Type of activity","maxLength":255,"title":"Activity Type","type":"string","x-stream-index":"002"},"visibility":{"description":"Visibility setting for the activity. One of: public, private, tag","enum":["public","private","tag"],"title":"Visibility","type":"string","x-stream-index":"007"},"visibility_tag":{"description":"If visibility is 'tag', this is the tag name and is required","maxLength":32,"title":"Visibility Tag","type":"string","x-stream-index":"008"}},"required":["type","feeds"],"title":"Activity Request","type":"object"},"ActivityResponse":{"properties":{"attachments":{"description":"Media attachments for the activity","items":{"$ref":"#/components/schemas/Attachment"},"title":"Attachments","type":"array","x-stream-index":"010"},"bookmark_count":{"description":"Number of bookmarks on the activity","format":"int32","title":"Bookmark Count","type":"integer","x-stream-index":"031"},"collections":{"additionalProperties":{"$ref":"#/components/schemas/EnrichedCollectionResponse"},"description":"Enriched collection data referenced by this activity","title":"Collections","type":"object","x-stream-index":"038"},"comment_count":{"description":"Number of comments on the activity","format":"int32","title":"Comment Count","type":"integer","x-stream-index":"030"},"comments":{"description":"Latest 5 comments of this activity (comment replies excluded)","items":{"$ref":"#/components/schemas/CommentResponse"},"title":"Comments","type":"array","x-stream-index":"017"},"created_at":{"description":"When the activity was created","format":"date-time","title":"Created At","type":"number","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":"041"},"custom":{"additionalProperties":{},"description":"Custom data for the activity","title":"Custom Data","type":"object","x-stream-index":"012"},"deleted_at":{"description":"When the activity was deleted","format":"date-time","title":"Deleted At","type":"number","x-stream-index":"023"},"edited_at":{"description":"When the activity was last edited","format":"date-time","title":"Edited At","type":"number","x-stream-index":"022"},"expires_at":{"description":"When the activity will expire","format":"date-time","title":"Expires At","type":"number","x-stream-index":"024"},"feeds":{"description":"List of feed IDs containing this activity","items":{"type":"string"},"title":"Feeds","type":"array","x-stream-index":"004"},"filter_tags":{"description":"Tags for filtering","items":{"type":"string"},"title":"Filter Tags","type":"array","x-stream-index":"026"},"friend_reaction_count":{"description":"Total count of reactions from friends on this activity","format":"int32","title":"Friend Reaction Count","type":"integer","x-stream-index":"040"},"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"},"hidden":{"description":"If this activity is hidden by this user (using activity feedback)","title":"Hidden","type":"boolean","x-stream-index":"042"},"id":{"description":"Unique identifier for the activity","title":"ID","type":"string","x-stream-index":"001"},"interest_tags":{"description":"Tags for user interests","items":{"type":"string"},"title":"Interest Tags","type":"array","x-stream-index":"027"},"is_watched":{"type":"boolean","x-stream-index":"044"},"latest_reactions":{"description":"Recent reactions to the activity","items":{"$ref":"#/components/schemas/FeedsReactionResponse"},"title":"Latest Reactions","type":"array","x-stream-index":"034"},"location":{"$ref":"#/components/schemas/ActivityLocation","description":"Geographic location related to the activity","title":"Location","x-stream-index":"019"},"mentioned_users":{"description":"Users mentioned in the activity","items":{"$ref":"#/components/schemas/UserResponse"},"title":"Mentioned Users","type":"array","x-stream-index":"011"},"moderation":{"$ref":"#/components/schemas/ModerationV2Response","description":"Moderation information","title":"Moderation","x-stream-index":"028"},"moderation_action":{"type":"string","x-stream-index":"029"},"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":"013"},"own_bookmarks":{"description":"Current user's bookmarks for this activity","items":{"$ref":"#/components/schemas/BookmarkResponse"},"title":"Own Bookmarks","type":"array","x-stream-index":"037"},"own_reactions":{"description":"Current user's reactions to this activity","items":{"$ref":"#/components/schemas/FeedsReactionResponse"},"title":"Own Reactions","type":"array","x-stream-index":"036"},"parent":{"$ref":"#/components/schemas/ActivityResponse","description":"Parent activity (if this is a reply/comment)","title":"Parent","x-stream-index":"020"},"poll":{"$ref":"#/components/schemas/PollResponseData","description":"Poll attached to this activity","title":"Poll","x-stream-index":"021"},"popularity":{"description":"Popularity score of the activity","format":"int32","title":"Popularity","type":"integer","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":"043"},"reaction_count":{"description":"Number of reactions to the activity","format":"int32","title":"Reaction Count","type":"integer","x-stream-index":"033"},"reaction_groups":{"additionalProperties":{"$ref":"#/components/schemas/FeedsReactionGroupResponse"},"description":"Grouped reactions by type","title":"Reaction Groups","type":"object","x-stream-index":"035"},"restrict_replies":{"description":"Controls who can add comments/replies to this activity. One of: 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":"015"},"search_data":{"additionalProperties":{},"description":"Data for search indexing","title":"Search Data","type":"object","x-stream-index":"025"},"selector_source":{"description":"Which activity selector provided this activity (e.g., 'following', 'popular', 'interest'). Only set when using multiple activity selectors with ranking.","title":"Selector Source","type":"string","x-stream-index":"016"},"share_count":{"description":"Number of times the activity was shared","format":"int32","title":"Share Count","type":"integer","x-stream-index":"032"},"text":{"description":"Text content of the activity","title":"Text","type":"string","x-stream-index":"018"},"type":{"description":"Type of activity","title":"Type","type":"string","x-stream-index":"002"},"updated_at":{"description":"When the activity was last updated","format":"date-time","title":"Updated At","type":"number","x-stream-index":"009"},"user":{"$ref":"#/components/schemas/UserResponse","description":"User who created the activity","title":"User","x-stream-index":"003"},"visibility":{"description":"Visibility setting for the activity. One of: public, private, tag","enum":["public","private","tag"],"title":"Visibility","type":"string","x-stream-index":"005"},"visibility_tag":{"description":"If visibility is 'tag', this is the tag name","title":"Visibility Tag","type":"string","x-stream-index":"006"}},"required":["id","type","user","feeds","visibility","restrict_replies","created_at","updated_at","attachments","mentioned_users","custom","popularity","score","comments","search_data","filter_tags","interest_tags","comment_count","bookmark_count","share_count","reaction_count","latest_reactions","reaction_groups","own_reactions","own_bookmarks","collections","hidden","preview"],"title":"Base Activity","type":"object"},"ActivityRestoredEvent":{"description":"Emitted when an activity is restored.","nullable":true,"properties":{"activity":{"$ref":"#/components/schemas/ActivityResponse","description":"The activity that was restored","title":"Activity","x-stream-index":"001"},"created_at":{"description":"Date/time of creation","format":"date-time","title":"Created at","type":"number","x-stream-index":"002.001.003"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"002.001.007"},"feed_visibility":{"type":"string","x-stream-index":"002.003"},"fid":{"type":"string","x-stream-index":"002.002"},"received_at":{"format":"date-time","type":"number","x-stream-index":"002.001.004"},"type":{"default":"feeds.activity.restored","description":"The type of the event","title":"Event Type","type":"string","x-stream-index":"002.001.002"},"user":{"$ref":"#/components/schemas/UserResponseCommonFields","description":"The user who restored the activity","title":"User","x-stream-index":"003.001"}},"required":["activity","type","created_at","custom","fid"],"title":"ActivityRestoredEvent","type":"object","x-stream-event-client-type":true,"x-stream-event-doc-group":"other","x-stream-is-event":true,"x-stream-throttle-group":"ordered","x-stream-ws-base-event-name":"VideoEvent"},"ActivitySelectorConfig":{"nullable":true,"properties":{"cutoff_time":{"format":"date-time","type":"number","x-stream-index":"004"},"cutoff_window":{"type":"string","x-stream-index":"006"},"filter":{"additionalProperties":{},"type":"object","x-stream-index":"002"},"min_popularity":{"format":"int32","type":"integer","x-stream-index":"007"},"params":{"additionalProperties":{},"type":"object","x-stream-index":"008"},"sort":{"items":{"$ref":"#/components/schemas/SortParam"},"type":"array","x-stream-index":"003"},"type":{"type":"string","x-stream-index":"001"}},"required":["cutoff_time"],"type":"object"},"ActivityUnpinnedEvent":{"description":"Emitted when an activity is unpinned.","nullable":true,"properties":{"created_at":{"description":"Date/time of creation","format":"date-time","title":"Created at","type":"number","x-stream-index":"002.001.003"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"002.001.007"},"feed_visibility":{"type":"string","x-stream-index":"002.003"},"fid":{"description":"The ID of the feed","title":"Feed ID","type":"string","x-stream-index":"002.002"},"pinned_activity":{"$ref":"#/components/schemas/PinActivityResponse","x-stream-index":"001"},"received_at":{"format":"date-time","type":"number","x-stream-index":"002.001.004"},"type":{"default":"feeds.activity.unpinned","description":"The type of event: \"feeds.activity.unpinned\" in this case","title":"Event Type","type":"string","x-stream-index":"002.001.002"},"user":{"$ref":"#/components/schemas/UserResponseCommonFields","description":"The user who unpinned the activity","title":"User","x-stream-index":"003.001"}},"required":["pinned_activity","type","created_at","custom","fid"],"title":"ActivityUnpinnedEvent","type":"object","x-stream-event-client-type":true,"x-stream-event-doc-group":"other","x-stream-is-event":true,"x-stream-throttle-group":"ordered","x-stream-ws-base-event-name":"VideoEvent"},"ActivityUpdatedEvent":{"description":"Emitted when an activity is updated.","nullable":true,"properties":{"activity":{"$ref":"#/components/schemas/ActivityResponse","description":"The activity that was updated","title":"Activity","x-stream-index":"001"},"created_at":{"description":"Date/time of creation","format":"date-time","title":"Created at","type":"number","x-stream-index":"002.001.003"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"002.001.007"},"feed_visibility":{"type":"string","x-stream-index":"002.003"},"fid":{"type":"string","x-stream-index":"002.002"},"received_at":{"format":"date-time","type":"number","x-stream-index":"002.001.004"},"type":{"default":"feeds.activity.updated","description":"The type of the event","title":"Event Type","type":"string","x-stream-index":"002.001.002"},"user":{"$ref":"#/components/schemas/UserResponseCommonFields","description":"The user who updated the activity","title":"User","x-stream-index":"003.001"}},"required":["activity","type","created_at","custom","fid"],"title":"ActivityUpdatedEvent","type":"object","x-stream-event-client-type":true,"x-stream-event-doc-group":"other","x-stream-is-event":true,"x-stream-throttle-group":"ordered","x-stream-ws-base-event-name":"VideoEvent"},"AddActivityRequest":{"nullable":true,"properties":{"attachments":{"description":"List of attachments for the activity","items":{"$ref":"#/components/schemas/Attachment"},"title":"Attachments","type":"array","x-stream-index":"001.006"},"collection_refs":{"description":"Collections that this activity references","items":{"type":"string"},"title":"Collection References","type":"array","x-stream-index":"001.016"},"copy_custom_to_notification":{"description":"Whether to copy custom data to the notification activity (only applies when create_notification_activity is true)","title":"Copy Custom To Notification","type":"boolean","x-stream-index":"001.022"},"create_notification_activity":{"description":"Whether to create notification activities for mentioned users","title":"Create Notification Activity","type":"boolean","x-stream-index":"001.021"},"custom":{"additionalProperties":{},"description":"Custom data for the activity","title":"Custom Data","type":"object","x-stream-index":"001.019"},"expires_at":{"description":"Expiration time for the activity","title":"Expires At","type":"string","x-stream-index":"001.011"},"feeds":{"description":"List of feeds to add the activity to with a default max limit of 25 feeds","items":{"type":"string"},"minItems":1,"title":"Feed IDs","type":"array","x-stream-index":"001.004"},"filter_tags":{"description":"Tags for filtering activities","items":{"type":"string"},"maxItems":50,"title":"Filter Tags","type":"array","x-stream-index":"001.014"},"id":{"description":"Optional ID for the activity","maxLength":255,"title":"Activity ID","type":"string","x-stream-index":"001.001"},"interest_tags":{"description":"Tags for indicating user interests","items":{"type":"string"},"title":"Interest Tags","type":"array","x-stream-index":"001.015"},"location":{"$ref":"#/components/schemas/ActivityLocation","description":"Geographic location related to the activity","title":"Location","x-stream-index":"001.010"},"mentioned_user_ids":{"description":"List of users mentioned in the activity","items":{"type":"string"},"title":"Mentioned User IDs","type":"array","x-stream-index":"001.012"},"parent_id":{"description":"ID of parent activity for replies/comments","maxLength":255,"title":"Parent ID","type":"string","x-stream-index":"001.017"},"poll_id":{"description":"ID of a poll to attach to activity","title":"Poll ID","type":"string","x-stream-index":"001.018"},"restrict_replies":{"description":"Controls who can add comments/replies to this activity. One of: everyone, people_i_follow, nobody","enum":["everyone","people_i_follow","nobody"],"title":"Restrict Replies","type":"string","x-stream-index":"001.009"},"search_data":{"additionalProperties":{},"description":"Additional data for search indexing","title":"Search Data","type":"object","x-stream-index":"001.013"},"skip_enrich_url":{"description":"Whether to skip URL enrichment for the activity","title":"Skip URL Enrichment","type":"boolean","x-stream-index":"001.020"},"skip_push":{"description":"Whether to skip push notifications","title":"Skip Push","type":"boolean","x-stream-index":"001.023"},"text":{"description":"Text content of the activity","title":"Text","type":"string","x-stream-index":"001.005"},"type":{"description":"Type of activity","maxLength":255,"title":"Activity Type","type":"string","x-stream-index":"001.002"},"visibility":{"description":"Visibility setting for the activity. One of: public, private, tag","enum":["public","private","tag"],"title":"Visibility","type":"string","x-stream-index":"001.007"},"visibility_tag":{"description":"If visibility is 'tag', this is the tag name and is required","maxLength":32,"title":"Visibility Tag","type":"string","x-stream-index":"001.008"}},"required":["type","feeds"],"title":"Activity Request","type":"object"},"AddActivityResponse":{"nullable":true,"properties":{"activity":{"$ref":"#/components/schemas/ActivityResponse","description":"The created activity","title":"Activity","x-stream-index":"001"},"duration":{"type":"string","x-stream-index":"003.001"},"mention_notifications_created":{"description":"Number of mention notification activities created for mentioned users","format":"int32","title":"Mention Notifications Created","type":"integer","x-stream-index":"002"}},"required":["activity","duration"],"title":"Add Activity Response","type":"object"},"AddBookmarkRequest":{"nullable":true,"properties":{"custom":{"additionalProperties":{},"description":"Custom data for the bookmark","title":"Custom Data","type":"object","x-stream-index":"004"},"folder_id":{"description":"ID of the folder to add the bookmark to","maxLength":255,"title":"Folder ID","type":"string","x-stream-index":"002"},"new_folder":{"$ref":"#/components/schemas/AddFolderRequest","description":"Create a new folder for this bookmark","title":"New Folder","x-stream-index":"003"}},"title":"Add Bookmark Request","type":"object"},"AddBookmarkResponse":{"nullable":true,"properties":{"bookmark":{"$ref":"#/components/schemas/BookmarkResponse","description":"The created bookmark","title":"Bookmark","x-stream-index":"001"},"duration":{"type":"string","x-stream-index":"002.001"}},"required":["bookmark","duration"],"title":"Add Bookmark Response","type":"object"},"AddCommentReactionRequest":{"nullable":true,"properties":{"copy_custom_to_notification":{"description":"Whether to copy custom data to the notification activity (only applies when create_notification_activity is true)","title":"boolean","type":"boolean","x-stream-index":"005"},"create_notification_activity":{"description":"Whether to create a notification activity for this reaction","title":"boolean","type":"boolean","x-stream-index":"004"},"custom":{"additionalProperties":{},"description":"Optional custom data to add to the reaction","title":"object","type":"object","x-stream-index":"003"},"enforce_unique":{"description":"Whether to enforce unique reactions per user (remove other reaction types from the user when adding this one)","title":"boolean","type":"boolean","x-stream-index":"007"},"skip_push":{"type":"boolean","x-stream-index":"006"},"type":{"description":"The type of reaction, eg upvote, like, ...","maxLength":255,"title":"string","type":"string","x-stream-index":"002"}},"required":["type"],"type":"object"},"AddCommentReactionResponse":{"nullable":true,"properties":{"comment":{"$ref":"#/components/schemas/CommentResponse","description":"The comment the reaction was added to","title":"object","x-stream-index":"001"},"duration":{"description":"Duration of the request","title":"string","type":"string","x-stream-index":"004.001"},"notification_created":{"description":"Whether a notification activity was successfully created","title":"boolean","type":"boolean","x-stream-index":"003"},"reaction":{"$ref":"#/components/schemas/FeedsReactionResponse","description":"The created or updated reaction","title":"object","x-stream-index":"002"}},"required":["comment","reaction","duration"],"type":"object"},"AddCommentRequest":{"nullable":true,"properties":{"attachments":{"description":"Media attachments for the reply","items":{"$ref":"#/components/schemas/Attachment"},"title":"Attachments","type":"array","x-stream-index":"005"},"comment":{"description":"Text content of the comment","title":"Comment","type":"string","x-stream-index":"004"},"copy_custom_to_notification":{"description":"Whether to copy custom data to the notification activity (only applies when create_notification_activity is true)","title":"Copy Custom To Notification","type":"boolean","x-stream-index":"010"},"create_notification_activity":{"description":"Whether to create a notification activity for this comment","title":"Create Notification Activity","type":"boolean","x-stream-index":"009"},"custom":{"additionalProperties":{},"description":"Custom data for the comment","title":"Custom Data","type":"object","x-stream-index":"008"},"id":{"description":"Optional custom ID for the comment (max 255 characters). If not provided, a UUID will be generated.","maxLength":255,"title":"Comment ID","type":"string","x-stream-index":"001"},"mentioned_user_ids":{"description":"List of users mentioned in the reply","items":{"type":"string"},"title":"Mentioned User IDs","type":"array","x-stream-index":"006"},"object_id":{"description":"ID of the object to comment on. Required for root comments","title":"Object ID","type":"string","x-stream-index":"002"},"object_type":{"description":"Type of the object to comment on. Required for root comments","title":"Object Type","type":"string","x-stream-index":"003"},"parent_id":{"description":"ID of parent comment for replies. When provided, object_id and object_type are automatically inherited from the parent comment.","title":"Parent ID","type":"string","x-stream-index":"007"},"skip_enrich_url":{"description":"Whether to skip URL enrichment for this comment","title":"Skip URL Enrichment","type":"boolean","x-stream-index":"012"},"skip_push":{"type":"boolean","x-stream-index":"011"}},"title":"Add Comment Request","type":"object"},"AddCommentResponse":{"nullable":true,"properties":{"comment":{"$ref":"#/components/schemas/CommentResponse","description":"The created comment","title":"Comment","x-stream-index":"001"},"duration":{"type":"string","x-stream-index":"004.001"},"mention_notifications_created":{"description":"Number of mention notification activities created for mentioned users","format":"int32","title":"Mention Notifications Created","type":"integer","x-stream-index":"003"},"notification_created":{"description":"Whether a notification activity was successfully created","title":"Notification Created","type":"boolean","x-stream-index":"002"}},"required":["comment","duration"],"title":"Add Comment Response","type":"object"},"AddCommentsBatchRequest":{"nullable":true,"properties":{"comments":{"description":"List of comments to add","items":{"$ref":"#/components/schemas/AddCommentRequest"},"title":"Comments","type":"array","x-stream-index":"001"}},"required":["comments"],"title":"Add Comments Batch Request","type":"object"},"AddCommentsBatchResponse":{"nullable":true,"properties":{"comments":{"description":"List of comments added","items":{"$ref":"#/components/schemas/CommentResponse"},"title":"Comments","type":"array","x-stream-index":"001"},"duration":{"type":"string","x-stream-index":"002.001"}},"required":["comments","duration"],"title":"Add Comments Batch Response","type":"object"},"AddFolderRequest":{"properties":{"custom":{"additionalProperties":{},"description":"Custom data for the folder","title":"Custom Data","type":"object","x-stream-index":"002"},"name":{"description":"Name of the folder","maxLength":255,"title":"Name","type":"string","x-stream-index":"001"}},"required":["name"],"title":"Add Folder Request","type":"object"},"AddReactionRequest":{"nullable":true,"properties":{"copy_custom_to_notification":{"description":"Whether to copy custom data to the notification activity (only applies when create_notification_activity is true)","title":"Copy Custom To Notification","type":"boolean","x-stream-index":"005"},"create_notification_activity":{"description":"Whether to create a notification activity for this reaction","title":"Create Notification Activity","type":"boolean","x-stream-index":"004"},"custom":{"additionalProperties":{},"description":"Custom data for the reaction","title":"Custom Data","type":"object","x-stream-index":"003"},"enforce_unique":{"description":"Whether to enforce unique reactions per user (remove other reaction types from the user when adding this one)","title":"Enforce Unique","type":"boolean","x-stream-index":"007"},"skip_push":{"type":"boolean","x-stream-index":"006"},"type":{"description":"Type of reaction","maxLength":255,"title":"Reaction Type","type":"string","x-stream-index":"002"}},"required":["type"],"title":"Add Reaction Request","type":"object"},"AddReactionResponse":{"nullable":true,"properties":{"activity":{"$ref":"#/components/schemas/ActivityResponse","x-stream-index":"001"},"duration":{"type":"string","x-stream-index":"004.001"},"notification_created":{"description":"Whether a notification activity was successfully created","title":"Notification Created","type":"boolean","x-stream-index":"003"},"reaction":{"$ref":"#/components/schemas/FeedsReactionResponse","description":"The created reaction","title":"Reaction","x-stream-index":"002"}},"required":["activity","reaction","duration"],"title":"Add Reaction Response","type":"object"},"AggregatedActivityResponse":{"properties":{"activities":{"description":"List of activities in this aggregation","items":{"$ref":"#/components/schemas/ActivityResponse"},"title":"Activities","type":"array","x-stream-index":"001"},"activity_count":{"description":"Number of activities in this aggregation","format":"int32","title":"Activity Count","type":"integer","x-stream-index":"002"},"created_at":{"description":"When the aggregation was created","format":"date-time","title":"Created At","type":"number","x-stream-index":"007"},"group":{"description":"Grouping identifier","title":"Group","type":"string","x-stream-index":"005"},"is_watched":{"type":"boolean","x-stream-index":"009"},"score":{"description":"Ranking score for this aggregation","format":"float","title":"Score","type":"number","x-stream-index":"006"},"updated_at":{"description":"When the aggregation was last updated","format":"date-time","title":"Updated At","type":"number","x-stream-index":"008"},"user_count":{"description":"Number of unique users in this aggregation","format":"int32","title":"User Count","type":"integer","x-stream-index":"003"},"user_count_truncated":{"description":"Whether this activity group has been truncated due to exceeding the group size limit","title":"User Count Truncated","type":"boolean","x-stream-index":"004"}},"required":["activities","activity_count","user_count","user_count_truncated","group","score","created_at","updated_at"],"title":"Aggregated Activity","type":"object"},"AggregationConfig":{"properties":{"format":{"type":"string","x-stream-index":"001"},"group_size":{"format":"int32","type":"integer","x-stream-index":"002"}},"type":"object"},"AppEventResponse":{"properties":{"async_url_enrich_enabled":{"description":"boolean","title":"Async URL Enrichment Enabled","type":"boolean","x-stream-index":"002"},"auto_translation_enabled":{"description":"boolean","title":"Auto Translation Enabled","type":"boolean","x-stream-index":"003"},"file_upload_config":{"$ref":"#/components/schemas/FileUploadConfig","description":"file upload config","title":"File Upload Config","x-stream-index":"004"},"image_upload_config":{"$ref":"#/components/schemas/FileUploadConfig","description":"file upload config","title":"Image Upload Config","x-stream-index":"005"},"name":{"description":"string","title":"App name","type":"string","x-stream-index":"001"}},"required":["name","auto_translation_enabled"],"type":"object"},"AppResponseFields":{"properties":{"async_url_enrich_enabled":{"type":"boolean","x-stream-index":"020"},"auto_translation_enabled":{"type":"boolean","x-stream-index":"023"},"file_upload_config":{"$ref":"#/components/schemas/FileUploadConfig","x-stream-index":"033"},"id":{"format":"int32","type":"integer","x-stream-index":"001"},"image_upload_config":{"$ref":"#/components/schemas/FileUploadConfig","x-stream-index":"034"},"name":{"type":"string","x-stream-index":"002"},"placement":{"type":"string","x-stream-index":"004"}},"required":["id","name","organization","placement","push_notifications","webhook_url","moderation_webhook_url","channel_configs","call_types","policies","suspended","suspended_explanation","disable_auth_checks","disable_permissions_checks","permission_version","user_search_disallowed_roles","multi_tenant_enabled","allow_multi_user_devices","image_moderation_enabled","async_url_enrich_enabled","auto_translation_enabled","custom_action_handler_url","enforce_unique_usernames","sqs_url","sqs_key","sqs_secret","sns_topic_arn","sns_key","sns_secret","file_upload_config","image_upload_config","grants","campaign_enabled","webhook_events","reminders_interval","cdn_expiration_seconds","video_provider","moderation_enabled","moderation_multitenant_blocklist_enabled","guest_user_creation_disabled","event_hooks","use_hook_v2","user_response_time_enabled","moderation_llm_configurability_enabled","max_aggregated_activities_length"],"type":"object"},"AppUpdatedEvent":{"description":"Emitted when app settings are updated","nullable":true,"properties":{"app":{"$ref":"#/components/schemas/AppEventResponse","description":"application configuration","title":"App settings","x-stream-index":"002"},"created_at":{"description":"Date/time of creation","format":"date-time","title":"Created at","type":"number","x-stream-index":"001.003"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"001.007"},"received_at":{"format":"date-time","type":"number","x-stream-index":"001.004"},"type":{"default":"app.updated","description":"The type of event: \"app.updated\" in this case","title":"Event Type","type":"string","x-stream-index":"001.002"}},"required":["type","created_at","custom","app"],"title":"AppUpdatedEvent","type":"object","x-stream-event-client-type":true,"x-stream-event-doc-group":"other","x-stream-is-event":true,"x-stream-throttle-group":"critical","x-stream-ws-base-event-name":"VideoEvent"},"AppealItemResponse":{"properties":{"appeal_reason":{"description":"Reason Text of the Appeal Item","title":"Appeal Reason","type":"string","x-stream-index":"006"},"attachments":{"description":"Attachments(e.g. Images) of the Appeal Item","items":{"type":"string"},"title":"Attachments","type":"array","x-stream-index":"009"},"created_at":{"description":"When the flag was created","format":"date-time","title":"Created At","type":"number","x-stream-index":"010"},"decision_reason":{"description":"Decision Reason of the Appeal Item","title":"Decision Reason","type":"string","x-stream-index":"008"},"entity_content":{"$ref":"#/components/schemas/ModerationPayload","x-stream-index":"005"},"entity_id":{"description":"ID of the entity","title":"Entity ID","type":"string","x-stream-index":"004"},"entity_type":{"description":"Type of entity","title":"Entity Type","type":"string","x-stream-index":"003"},"id":{"type":"string","x-stream-index":"001"},"status":{"description":"Status of the Appeal Item","title":"Status","type":"string","x-stream-index":"007"},"updated_at":{"description":"When the flag was last updated","format":"date-time","title":"Updated At","type":"number","x-stream-index":"011"},"user":{"$ref":"#/components/schemas/UserResponse","description":"Details of the user who created the appeal","title":"User","x-stream-index":"002"}},"required":["id","entity_type","entity_id","appeal_reason","status","created_at","updated_at"],"type":"object"},"AppealRequest":{"nullable":true,"properties":{"appeal_reason":{"description":"Explanation for why the content is being appealed","maxLength":500,"title":"Appeal Reason","type":"string","x-stream-index":"003"},"attachments":{"description":"Array of Attachment URLs(e.g., images)","items":{"type":"string"},"maxItems":10,"title":"Attachments","type":"array","x-stream-index":"004"},"entity_id":{"description":"Unique identifier of the entity being appealed","title":"Entity ID","type":"string","x-stream-index":"001"},"entity_type":{"description":"Type of entity being appealed (e.g., message, user)","title":"Entity Type","type":"string","x-stream-index":"002"}},"required":["entity_id","entity_type","appeal_reason"],"type":"object"},"AppealResponse":{"nullable":true,"properties":{"appeal_id":{"description":"Unique identifier of the created Appeal item","title":"Appeal Item ID","type":"string","x-stream-index":"001"},"duration":{"type":"string","x-stream-index":"002.001"}},"required":["appeal_id","duration"],"type":"object"},"Attachment":{"description":"An attachment is a message object that represents a file uploaded by a user.","nullable":true,"properties":{"actions":{"items":{"$ref":"#/components/schemas/Action"},"type":"array","x-stream-index":"015"},"asset_url":{"type":"string","x-stream-index":"017"},"author_icon":{"type":"string","x-stream-index":"007"},"author_link":{"type":"string","x-stream-index":"006"},"author_name":{"type":"string","x-stream-index":"005"},"color":{"type":"string","x-stream-index":"003"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"018"},"fallback":{"type":"string","x-stream-index":"002"},"fields":{"items":{"$ref":"#/components/schemas/Field"},"type":"array","x-stream-index":"016"},"footer":{"type":"string","x-stream-index":"013"},"footer_icon":{"type":"string","x-stream-index":"014"},"giphy":{"$ref":"#/components/schemas/Images","x-stream-index":"019"},"image_url":{"type":"string","x-stream-index":"011"},"og_scrape_url":{"type":"string","x-stream-index":"020"},"original_height":{"format":"int32","type":"integer","x-stream-index":"022"},"original_width":{"format":"int32","type":"integer","x-stream-index":"021"},"pretext":{"type":"string","x-stream-index":"004"},"text":{"type":"string","x-stream-index":"010"},"thumb_url":{"type":"string","x-stream-index":"012"},"title":{"type":"string","x-stream-index":"008"},"title_link":{"type":"string","x-stream-index":"009"},"type":{"description":"Attachment type (e.g. image, video, url)","title":"Type","type":"string","x-stream-index":"001"}},"required":["custom"],"title":"Attachment","type":"object","x-stream-docs-page-id":"file_uploads"},"AudioSettingsResponse":{"properties":{"access_request_enabled":{"type":"boolean","x-stream-index":"001"},"default_device":{"enum":["speaker","earpiece"],"type":"string","x-stream-index":"006"},"hifi_audio_enabled":{"type":"boolean","x-stream-index":"008"},"mic_default_on":{"type":"boolean","x-stream-index":"004"},"noise_cancellation":{"$ref":"#/components/schemas/NoiseCancellationSettings","x-stream-index":"007"},"opus_dtx_enabled":{"type":"boolean","x-stream-index":"002"},"redundant_coding_enabled":{"type":"boolean","x-stream-index":"003"},"speaker_default_on":{"type":"boolean","x-stream-index":"005"}},"required":["access_request_enabled","opus_dtx_enabled","redundant_coding_enabled","mic_default_on","speaker_default_on","default_device","hifi_audio_enabled"],"type":"object"},"AutomodPlatformCircumventionConfig":{"properties":{"async":{"type":"boolean","x-stream-index":"001"},"enabled":{"type":"boolean","x-stream-index":"002"},"rules":{"items":{"$ref":"#/components/schemas/AutomodRule"},"type":"array","x-stream-index":"003"}},"required":["enabled","rules"],"type":"object"},"AutomodRule":{"properties":{"action":{"enum":["flag","shadow","remove","bounce","bounce_flag","bounce_remove"],"type":"string","x-stream-index":"003"},"label":{"type":"string","x-stream-index":"001"},"threshold":{"format":"float","maximum":1,"minimum":0,"type":"number","x-stream-index":"002"}},"required":["label","threshold","action"],"type":"object"},"AutomodSemanticFiltersConfig":{"properties":{"async":{"type":"boolean","x-stream-index":"001"},"enabled":{"type":"boolean","x-stream-index":"002"},"rules":{"items":{"$ref":"#/components/schemas/AutomodSemanticFiltersRule"},"type":"array","x-stream-index":"003"}},"required":["enabled","rules"],"type":"object"},"AutomodSemanticFiltersRule":{"properties":{"action":{"enum":["flag","shadow","remove"],"type":"string","x-stream-index":"003"},"name":{"type":"string","x-stream-index":"001"},"threshold":{"format":"float","maximum":1,"minimum":0,"type":"number","x-stream-index":"002"}},"required":["name","threshold","action"],"type":"object"},"AutomodToxicityConfig":{"properties":{"async":{"type":"boolean","x-stream-index":"001"},"enabled":{"type":"boolean","x-stream-index":"002"},"rules":{"items":{"$ref":"#/components/schemas/AutomodRule"},"type":"array","x-stream-index":"003"}},"required":["enabled","rules"],"type":"object"},"BackstageSettingsResponse":{"properties":{"enabled":{"type":"boolean","x-stream-index":"001"},"join_ahead_time_seconds":{"format":"int32","type":"integer","x-stream-index":"002"}},"required":["enabled"],"type":"object"},"BanActionRequestPayload":{"description":"Configuration for ban moderation action","properties":{"channel_ban_only":{"description":"Ban only from specific channel","title":"Channel Ban Only","type":"boolean","x-stream-index":"004"},"delete_messages":{"description":"Message deletion mode: soft, pruning, or hard","enum":["soft","pruning","hard"],"title":"Delete Messages","type":"string","x-stream-index":"006"},"ip_ban":{"description":"Whether to ban by IP address","title":"IP Ban","type":"boolean","x-stream-index":"005"},"reason":{"description":"Reason for the ban","title":"Reason","type":"string","x-stream-index":"003"},"shadow":{"description":"Whether this is a shadow ban","title":"Shadow","type":"boolean","x-stream-index":"002"},"target_user_id":{"description":"Optional: ban user directly without review item","title":"Target User ID","type":"string","x-stream-index":"001"},"timeout":{"description":"Duration of ban in minutes","format":"int32","title":"Timeout","type":"integer","x-stream-index":"007"}},"title":"BanActionRequest","type":"object"},"BanInfoResponse":{"description":"Ban information","nullable":true,"properties":{"created_at":{"description":"When the ban was created","format":"date-time","title":"Created At","type":"number","x-stream-index":"006"},"created_by":{"$ref":"#/components/schemas/UserResponse","description":"User who created the ban","title":"Created By","x-stream-index":"005"},"expires":{"description":"When the ban expires","format":"date-time","title":"Expires","type":"number","x-stream-index":"002"},"reason":{"description":"Reason for the ban","title":"Reason","type":"string","x-stream-index":"003"},"shadow":{"description":"Whether this is a shadow ban","title":"Shadow","type":"boolean","x-stream-index":"004"},"user":{"$ref":"#/components/schemas/UserResponse","description":"The banned user","title":"User","x-stream-index":"001"}},"required":["created_at"],"title":"BanInfo","type":"object"},"BanOptions":{"properties":{"delete_messages":{"enum":["soft","pruning","hard"],"type":"string","x-stream-index":"005"},"duration":{"format":"int32","type":"integer","x-stream-index":"001"},"ip_ban":{"type":"boolean","x-stream-index":"004"},"reason":{"type":"string","x-stream-index":"002"},"shadow_ban":{"type":"boolean","x-stream-index":"003"}},"type":"object"},"BanRequest":{"nullable":true,"properties":{"banned_by":{"$ref":"#/components/schemas/UserRequest","description":"Details about the user performing the ban","title":"Banned By","x-stream-index":"008"},"banned_by_id":{"description":"ID of the user performing the ban","title":"Banned By ID","type":"string","x-stream-index":"007"},"channel_cid":{"description":"Channel where the ban applies","title":"Channel CID","type":"string","x-stream-index":"004"},"delete_messages":{"enum":["soft","pruning","hard"],"type":"string","x-stream-index":"009"},"ip_ban":{"description":"Whether to ban the user's IP address","title":"IP Ban","type":"boolean","x-stream-index":"006"},"reason":{"description":"Optional explanation for the ban","title":"Reason","type":"string","x-stream-index":"003"},"shadow":{"description":"Whether this is a shadow ban","title":"Shadow","type":"boolean","x-stream-index":"005"},"target_user_id":{"description":"ID of the user to ban","title":"Target User ID","type":"string","x-stream-index":"001"},"timeout":{"description":"Duration of the ban in minutes","minimum":0,"title":"Timeout","type":"integer","x-stream-index":"002"}},"required":["target_user_id"],"type":"object"},"BanResponse":{"nullable":true,"properties":{"duration":{"type":"string","x-stream-index":"001.001"}},"required":["duration"],"type":"object"},"BlockActionRequestPayload":{"description":"Configuration for block action","properties":{"reason":{"description":"Reason for blocking","title":"Reason","type":"string","x-stream-index":"001"}},"title":"BlockActionRequest","type":"object"},"BlockListConfig":{"properties":{"async":{"type":"boolean","x-stream-index":"001"},"enabled":{"type":"boolean","x-stream-index":"002"},"rules":{"items":{"$ref":"#/components/schemas/BlockListRule"},"type":"array","x-stream-index":"003"}},"required":["enabled","rules"],"type":"object"},"BlockListOptions":{"properties":{"behavior":{"description":"Blocklist behavior. One of: flag, block, shadow_block","enum":["flag","block","shadow_block"],"title":"Behavior","type":"string","x-stream-index":"002"},"blocklist":{"description":"Blocklist name","title":"Blocklist","type":"string","x-stream-index":"001"}},"required":["blocklist","behavior"],"type":"object"},"BlockListResponse":{"description":"Block list contains restricted words","properties":{"created_at":{"description":"Date/time of creation","format":"date-time","title":"Created at","type":"number","x-stream-index":"001"},"id":{"type":"string","x-stream-index":"003"},"is_leet_check_enabled":{"type":"boolean","x-stream-index":"008"},"is_plural_check_enabled":{"type":"boolean","x-stream-index":"009"},"name":{"description":"Block list name","title":"Name","type":"string","x-stream-index":"004"},"team":{"type":"string","x-stream-index":"007"},"type":{"description":"Block list type. One of: regex, domain, domain_allowlist, email, email_allowlist, word","title":"Type","type":"string","x-stream-index":"005"},"updated_at":{"description":"Date/time of the last update","format":"date-time","title":"Updated at","type":"number","x-stream-index":"002"},"words":{"description":"List of words to block","items":{"type":"string"},"title":"Words","type":"array","x-stream-index":"006"}},"required":["name","type","words","is_leet_check_enabled","is_plural_check_enabled"],"title":"Block list","type":"object","x-stream-docs-page-id":"block_lists"},"BlockListRule":{"properties":{"action":{"enum":["flag","mask_flag","shadow","remove","bounce","bounce_flag","bounce_remove"],"type":"string","x-stream-index":"003"},"name":{"type":"string","x-stream-index":"001"},"team":{"type":"string","x-stream-index":"002"}},"required":["name","team","action"],"type":"object"},"BlockUsersRequest":{"nullable":true,"properties":{"blocked_user_id":{"description":"User id to block","title":"BlockedUserID","type":"string","x-stream-index":"001"}},"required":["blocked_user_id"],"type":"object"},"BlockUsersResponse":{"nullable":true,"properties":{"blocked_by_user_id":{"description":"User id who blocked another user","title":"BlockedByUserID","type":"string","x-stream-index":"002"},"blocked_user_id":{"description":"User id who got blocked","title":"BlockedUserID","type":"string","x-stream-index":"003"},"created_at":{"description":"Timestamp when the user was blocked","format":"date-time","title":"CreatedAt","type":"number","x-stream-index":"004"},"duration":{"description":"Duration of the request in milliseconds","title":"Duration","type":"string","x-stream-index":"001.001"}},"required":["duration","blocked_by_user_id","blocked_user_id","created_at"],"type":"object"},"BlockedUserResponse":{"nullable":true,"properties":{"blocked_user":{"$ref":"#/components/schemas/UserResponse","description":"User who got blocked","title":"User","x-stream-index":"003"},"blocked_user_id":{"description":"ID of the user who got blocked","title":"UserID","type":"string","x-stream-index":"004"},"created_at":{"format":"date-time","type":"number","x-stream-index":"005"},"user":{"$ref":"#/components/schemas/UserResponse","description":"User who blocked another user","title":"User","x-stream-index":"001"},"user_id":{"description":"ID of the user who blocked another user","title":"UserID","type":"string","x-stream-index":"002"}},"required":["user","user_id","blocked_user","blocked_user_id","created_at"],"type":"object"},"BodyguardRule":{"properties":{"action":{"enum":["flag","shadow","remove","bounce","bounce_flag","bounce_remove"],"type":"string","x-stream-index":"002"},"label":{"type":"string","x-stream-index":"001"},"severity_rules":{"items":{"$ref":"#/components/schemas/BodyguardSeverityRule"},"type":"array","x-stream-index":"003"}},"required":["label","action","severity_rules"],"type":"object"},"BodyguardSeverityRule":{"properties":{"action":{"enum":["flag","shadow","remove","bounce","bounce_flag","bounce_remove"],"type":"string","x-stream-index":"002"},"severity":{"enum":["low","medium","high","critical"],"type":"string","x-stream-index":"001"}},"required":["severity","action"],"type":"object"},"BookmarkAddedEvent":{"description":"Emitted when a user bookmarks an activity.","nullable":true,"properties":{"bookmark":{"$ref":"#/components/schemas/BookmarkResponse","x-stream-index":"001"},"created_at":{"description":"Date/time of creation","format":"date-time","title":"Created at","type":"number","x-stream-index":"002.001.003"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"002.001.007"},"received_at":{"format":"date-time","type":"number","x-stream-index":"002.001.004"},"type":{"default":"feeds.bookmark.added","description":"The type of event: \"feeds.bookmark.added\" in this case","title":"Event Type","type":"string","x-stream-index":"002.001.002"},"user":{"$ref":"#/components/schemas/UserResponseCommonFields","description":"The user who added the bookmark","title":"User","x-stream-index":"003.001"}},"required":["bookmark","type","created_at","custom"],"title":"BookmarkAddedEvent","type":"object","x-stream-event-client-type":true,"x-stream-event-doc-group":"other","x-stream-is-event":true,"x-stream-throttle-group":"ordered","x-stream-ws-base-event-name":"VideoEvent"},"BookmarkDeletedEvent":{"description":"Emitted when a user deletes a bookmark from an activity.","nullable":true,"properties":{"bookmark":{"$ref":"#/components/schemas/BookmarkResponse","x-stream-index":"001"},"created_at":{"description":"Date/time of creation","format":"date-time","title":"Created at","type":"number","x-stream-index":"002.001.003"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"002.001.007"},"received_at":{"format":"date-time","type":"number","x-stream-index":"002.001.004"},"type":{"default":"feeds.bookmark.deleted","description":"The type of event: \"feeds.bookmark.deleted\" in this case","title":"Event Type","type":"string","x-stream-index":"002.001.002"},"user":{"$ref":"#/components/schemas/UserResponseCommonFields","description":"The user who removed the bookmark","title":"User","x-stream-index":"003.001"}},"required":["bookmark","type","created_at","custom"],"title":"BookmarkDeletedEvent","type":"object","x-stream-event-client-type":true,"x-stream-event-doc-group":"other","x-stream-is-event":true,"x-stream-throttle-group":"ordered","x-stream-ws-base-event-name":"VideoEvent"},"BookmarkFolderDeletedEvent":{"description":"Emitted when a bookmark folder is deleted.","nullable":true,"properties":{"bookmark_folder":{"$ref":"#/components/schemas/BookmarkFolderResponse","description":"The bookmark folder that was deleted","title":"Bookmark Folder","x-stream-index":"001"},"created_at":{"description":"Date/time of creation","format":"date-time","title":"Created at","type":"number","x-stream-index":"002.001.003"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"002.001.007"},"received_at":{"format":"date-time","type":"number","x-stream-index":"002.001.004"},"type":{"default":"feeds.bookmark_folder.deleted","description":"The type of event: \"feeds.bookmark_folder.deleted\" in this case","title":"Event Type","type":"string","x-stream-index":"002.001.002"},"user":{"$ref":"#/components/schemas/UserResponseCommonFields","description":"The user who deleted the bookmark folder","title":"User","x-stream-index":"003.001"}},"required":["bookmark_folder","type","created_at","custom"],"title":"BookmarkFolderDeletedEvent","type":"object","x-stream-event-client-type":true,"x-stream-event-doc-group":"other","x-stream-is-event":true,"x-stream-throttle-group":"ordered","x-stream-ws-base-event-name":"VideoEvent"},"BookmarkFolderResponse":{"properties":{"created_at":{"description":"When the folder was created","format":"date-time","title":"Created At","type":"number","x-stream-index":"005"},"custom":{"additionalProperties":{},"description":"Custom data for the folder","title":"Custom Data","type":"object","x-stream-index":"004"},"id":{"description":"Unique identifier for the folder","title":"ID","type":"string","x-stream-index":"001"},"name":{"description":"Name of the folder","title":"Name","type":"string","x-stream-index":"003"},"updated_at":{"description":"When the folder was last updated","format":"date-time","title":"Updated At","type":"number","x-stream-index":"006"},"user":{"$ref":"#/components/schemas/UserResponse","description":"User who created the folder","title":"User","x-stream-index":"002"}},"required":["id","user","name","created_at","updated_at"],"title":"Bookmark Folder","type":"object"},"BookmarkFolderUpdatedEvent":{"description":"Emitted when a bookmark folder is updated.","nullable":true,"properties":{"bookmark_folder":{"$ref":"#/components/schemas/BookmarkFolderResponse","description":"The bookmark folder that was updated","title":"Bookmark Folder","x-stream-index":"001"},"created_at":{"description":"Date/time of creation","format":"date-time","title":"Created at","type":"number","x-stream-index":"002.001.003"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"002.001.007"},"received_at":{"format":"date-time","type":"number","x-stream-index":"002.001.004"},"type":{"default":"feeds.bookmark_folder.updated","description":"The type of event: \"feeds.bookmark_folder.updated\" in this case","title":"Event Type","type":"string","x-stream-index":"002.001.002"},"user":{"$ref":"#/components/schemas/UserResponseCommonFields","description":"The user who updated the bookmark folder","title":"User","x-stream-index":"003.001"}},"required":["bookmark_folder","type","created_at","custom"],"title":"BookmarkFolderUpdatedEvent","type":"object","x-stream-event-client-type":true,"x-stream-event-doc-group":"other","x-stream-is-event":true,"x-stream-throttle-group":"ordered","x-stream-ws-base-event-name":"VideoEvent"},"BookmarkResponse":{"properties":{"activity":{"$ref":"#/components/schemas/ActivityResponse","description":"The bookmarked activity","title":"Activity","x-stream-index":"002"},"created_at":{"description":"When the bookmark was created","format":"date-time","title":"Created At","type":"number","x-stream-index":"005"},"custom":{"additionalProperties":{},"description":"Custom data for the bookmark","title":"Custom Data","type":"object","x-stream-index":"004"},"folder":{"$ref":"#/components/schemas/BookmarkFolderResponse","description":"Folder containing this bookmark","title":"Folder","x-stream-index":"003"},"updated_at":{"description":"When the bookmark was last updated","format":"date-time","title":"Updated At","type":"number","x-stream-index":"006"},"user":{"$ref":"#/components/schemas/UserResponse","description":"User who created the bookmark","title":"User","x-stream-index":"001"}},"required":["user","activity","created_at","updated_at"],"title":"Bookmark","type":"object"},"BookmarkUpdatedEvent":{"description":"Emitted when a user updates a bookmark.","nullable":true,"properties":{"bookmark":{"$ref":"#/components/schemas/BookmarkResponse","description":"The updated bookmark","title":"Bookmark","x-stream-index":"001"},"created_at":{"description":"Date/time of creation","format":"date-time","title":"Created at","type":"number","x-stream-index":"002.001.003"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"002.001.007"},"received_at":{"format":"date-time","type":"number","x-stream-index":"002.001.004"},"type":{"default":"feeds.bookmark.updated","description":"The type of event: \"feeds.bookmark.updated\" in this case","title":"Event Type","type":"string","x-stream-index":"002.001.002"},"user":{"$ref":"#/components/schemas/UserResponseCommonFields","description":"The user who updated the bookmark","title":"User","x-stream-index":"003.001"}},"required":["bookmark","type","created_at","custom"],"title":"BookmarkUpdatedEvent","type":"object","x-stream-event-client-type":true,"x-stream-event-doc-group":"other","x-stream-is-event":true,"x-stream-throttle-group":"ordered","x-stream-ws-base-event-name":"VideoEvent"},"BroadcastSettingsResponse":{"description":"BroadcastSettingsResponse is the payload for broadcasting settings","properties":{"enabled":{"title":"Enabled","type":"boolean","x-stream-index":"001"},"hls":{"$ref":"#/components/schemas/HLSSettingsResponse","title":"HLS","x-stream-index":"002"},"rtmp":{"$ref":"#/components/schemas/RTMPSettingsResponse","title":"RTMP","x-stream-index":"003"}},"required":["enabled","hls","rtmp"],"title":"BroadcastSettingsResponse","type":"object"},"CallActionOptions":{"properties":{"duration":{"format":"int32","type":"integer","x-stream-index":"003"},"flag_reason":{"type":"string","x-stream-index":"006"},"kick_reason":{"type":"string","x-stream-index":"005"},"mute_audio":{"type":"boolean","x-stream-index":"001"},"mute_video":{"type":"boolean","x-stream-index":"002"},"reason":{"type":"string","x-stream-index":"004"},"warning_text":{"type":"string","x-stream-index":"007"}},"type":"object"},"CallCustomPropertyParameters":{"properties":{"operator":{"type":"string","x-stream-index":"002"},"property_key":{"type":"string","x-stream-index":"001"}},"type":"object"},"CallIngressResponse":{"description":"CallIngressResponse is the payload for ingress settings","properties":{"rtmp":{"$ref":"#/components/schemas/RTMPIngress","title":"RTMP","x-stream-index":"001"},"srt":{"$ref":"#/components/schemas/SRTIngress","x-stream-index":"003"},"whip":{"$ref":"#/components/schemas/WHIPIngress","title":"WHIP","x-stream-index":"002"}},"required":["rtmp","whip","srt"],"title":"CallIngressResponse","type":"object"},"CallParticipantResponse":{"properties":{"joined_at":{"format":"date-time","type":"number","x-stream-index":"004"},"role":{"type":"string","x-stream-index":"003"},"user":{"$ref":"#/components/schemas/UserResponse","x-stream-index":"001"},"user_session_id":{"type":"string","x-stream-index":"002"}},"required":["user","user_session_id","role","joined_at"],"type":"object"},"CallResponse":{"description":"Represents a call","properties":{"backstage":{"type":"boolean","x-stream-index":"017"},"blocked_user_ids":{"items":{"type":"string"},"type":"array","x-stream-index":"019"},"captioning":{"type":"boolean","x-stream-index":"013"},"channel_cid":{"type":"string","x-stream-index":"025"},"cid":{"description":"The unique identifier for a call (\u003ctype\u003e:\u003cid\u003e)","title":"CID","type":"string","x-stream-index":"004"},"created_at":{"description":"Date/time of creation","format":"date-time","title":"Created at","type":"number","x-stream-index":"009"},"created_by":{"$ref":"#/components/schemas/UserResponse","description":"The user that created the call","title":"Created By","x-stream-index":"007"},"current_session_id":{"type":"string","x-stream-index":"005"},"custom":{"additionalProperties":{},"description":"Custom data for this object","title":"Custom data","type":"object","x-stream-index":"008"},"egress":{"$ref":"#/components/schemas/EgressResponse","x-stream-index":"022"},"ended_at":{"description":"Date/time when the call ended","format":"date-time","title":"Ended At","type":"number","x-stream-index":"015"},"id":{"description":"Call ID","title":"ID","type":"string","x-stream-index":"003"},"ingress":{"$ref":"#/components/schemas/CallIngressResponse","x-stream-index":"020"},"join_ahead_time_seconds":{"format":"int32","type":"integer","x-stream-index":"024"},"recording":{"type":"boolean","x-stream-index":"011"},"routing_number":{"description":"10-digit routing number for SIP routing","title":"Routing Number","type":"string","x-stream-index":"026"},"session":{"$ref":"#/components/schemas/CallSessionResponse","x-stream-index":"021"},"settings":{"$ref":"#/components/schemas/CallSettingsResponse","x-stream-index":"018"},"starts_at":{"description":"Date/time when the call will start","format":"date-time","title":"Starts At","type":"number","x-stream-index":"016"},"team":{"type":"string","x-stream-index":"006"},"thumbnails":{"$ref":"#/components/schemas/ThumbnailResponse","x-stream-index":"023"},"transcribing":{"type":"boolean","x-stream-index":"012"},"translating":{"type":"boolean","x-stream-index":"014"},"type":{"description":"The type of call","title":"Type","type":"string","x-stream-index":"002"},"updated_at":{"description":"Date/time of the last update","format":"date-time","title":"Updated at","type":"number","x-stream-index":"010"}},"required":["type","id","cid","current_session_id","created_by","custom","created_at","updated_at","recording","transcribing","captioning","translating","backstage","settings","blocked_user_ids","ingress","egress"],"title":"CallResponse","type":"object"},"CallRuleActionSequence":{"properties":{"actions":{"items":{"type":"string"},"type":"array","x-stream-index":"002"},"call_options":{"$ref":"#/components/schemas/CallActionOptions","x-stream-index":"003"},"violation_number":{"format":"int32","type":"integer","x-stream-index":"001"}},"type":"object"},"CallSessionResponse":{"properties":{"accepted_by":{"additionalProperties":{"format":"date-time","type":"number"},"type":"object","x-stream-index":"008"},"anonymous_participant_count":{"format":"int32","type":"integer","x-stream-index":"006"},"ended_at":{"format":"date-time","type":"number","x-stream-index":"003"},"id":{"type":"string","x-stream-index":"001"},"live_ended_at":{"format":"date-time","type":"number","x-stream-index":"011"},"live_started_at":{"format":"date-time","type":"number","x-stream-index":"010"},"missed_by":{"additionalProperties":{"format":"date-time","type":"number"},"type":"object","x-stream-index":"009"},"participants":{"items":{"$ref":"#/components/schemas/CallParticipantResponse"},"type":"array","x-stream-index":"004"},"participants_count_by_role":{"additionalProperties":{"format":"int32","type":"integer"},"type":"object","x-stream-index":"005"},"rejected_by":{"additionalProperties":{"format":"date-time","type":"number"},"type":"object","x-stream-index":"007"},"started_at":{"format":"date-time","type":"number","x-stream-index":"002"},"timer_ends_at":{"format":"date-time","type":"number","x-stream-index":"012"}},"required":["id","participants","participants_count_by_role","anonymous_participant_count","rejected_by","accepted_by","missed_by"],"type":"object"},"CallSettingsResponse":{"properties":{"audio":{"$ref":"#/components/schemas/AudioSettingsResponse","x-stream-index":"001"},"backstage":{"$ref":"#/components/schemas/BackstageSettingsResponse","x-stream-index":"002"},"broadcasting":{"$ref":"#/components/schemas/BroadcastSettingsResponse","x-stream-index":"003"},"frame_recording":{"$ref":"#/components/schemas/FrameRecordingSettingsResponse","x-stream-index":"008"},"geofencing":{"$ref":"#/components/schemas/GeofenceSettingsResponse","x-stream-index":"004"},"individual_recording":{"$ref":"#/components/schemas/IndividualRecordingSettingsResponse","x-stream-index":"006"},"ingress":{"$ref":"#/components/schemas/IngressSettingsResponse","x-stream-index":"016"},"limits":{"$ref":"#/components/schemas/LimitsSettingsResponse","x-stream-index":"014"},"raw_recording":{"$ref":"#/components/schemas/RawRecordingSettingsResponse","x-stream-index":"007"},"recording":{"$ref":"#/components/schemas/RecordSettingsResponse","x-stream-index":"005"},"ring":{"$ref":"#/components/schemas/RingSettingsResponse","x-stream-index":"009"},"screensharing":{"$ref":"#/components/schemas/ScreensharingSettingsResponse","x-stream-index":"010"},"session":{"$ref":"#/components/schemas/SessionSettingsResponse","x-stream-index":"015"},"thumbnails":{"$ref":"#/components/schemas/ThumbnailsSettingsResponse","x-stream-index":"013"},"transcription":{"$ref":"#/components/schemas/TranscriptionSettingsResponse","x-stream-index":"011"},"video":{"$ref":"#/components/schemas/VideoSettingsResponse","x-stream-index":"012"}},"required":["audio","backstage","broadcasting","geofencing","recording","individual_recording","raw_recording","frame_recording","ring","screensharing","transcription","video","thumbnails","limits","session"],"type":"object"},"CallTypeRuleParameters":{"properties":{"call_type":{"type":"string","x-stream-index":"001"}},"type":"object"},"CallViolationCountParameters":{"properties":{"threshold":{"format":"int32","type":"integer","x-stream-index":"001"},"time_window":{"type":"string","x-stream-index":"002"}},"type":"object"},"CastPollVoteRequest":{"nullable":true,"properties":{"vote":{"$ref":"#/components/schemas/VoteData","description":"Vote data","title":"VoteData","x-stream-index":"004"}},"type":"object"},"ChannelConfigWithInfo":{"properties":{"allowed_flag_reasons":{"items":{"type":"string"},"type":"array","x-stream-index":"001.002.028"},"automod":{"enum":["disabled","simple","AI"],"type":"string","x-stream-index":"001.002.023"},"automod_behavior":{"enum":["flag","block","shadow_block"],"type":"string","x-stream-index":"001.002.024"},"automod_thresholds":{"$ref":"#/components/schemas/Thresholds","x-stream-index":"001.002.029"},"blocklist":{"type":"string","x-stream-index":"001.002.025"},"blocklist_behavior":{"enum":["flag","block","shadow_block"],"type":"string","x-stream-index":"001.002.026"},"blocklists":{"items":{"$ref":"#/components/schemas/BlockListOptions"},"type":"array","x-stream-index":"001.002.027"},"commands":{"items":{"$ref":"#/components/schemas/Command"},"type":"array","x-stream-index":"001.003"},"connect_events":{"type":"boolean","x-stream-index":"001.002.004"},"count_messages":{"type":"boolean","x-stream-index":"001.002.020"},"created_at":{"format":"date-time","type":"number","x-stream-index":"001.001.003"},"custom_events":{"type":"boolean","x-stream-index":"001.002.013"},"delivery_events":{"type":"boolean","x-stream-index":"001.002.005"},"grants":{"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object","x-stream-index":"002"},"mark_messages_pending":{"type":"boolean","x-stream-index":"001.002.016"},"max_message_length":{"format":"int32","maximum":20000,"type":"integer","x-stream-index":"001.002.022"},"mutes":{"type":"boolean","x-stream-index":"001.002.010"},"name":{"type":"string","x-stream-index":"001.002.001"},"partition_size":{"format":"int32","type":"integer","x-stream-index":"001.002.030"},"partition_ttl":{"example":"24h","format":"duration","nullable":true,"type":"string","x-stream-index":"001.002.031"},"polls":{"type":"boolean","x-stream-index":"001.002.017"},"push_level":{"enum":["all","all_mentions","mentions","direct_mentions","none"],"type":"string","x-stream-index":"001.002.033"},"push_notifications":{"type":"boolean","x-stream-index":"001.002.014"},"quotes":{"type":"boolean","x-stream-index":"001.002.009"},"reactions":{"type":"boolean","x-stream-index":"001.002.007"},"read_events":{"type":"boolean","x-stream-index":"001.002.003"},"reminders":{"type":"boolean","x-stream-index":"001.002.015"},"replies":{"type":"boolean","x-stream-index":"001.002.008"},"search":{"type":"boolean","x-stream-index":"001.002.006"},"shared_locations":{"type":"boolean","x-stream-index":"001.002.019"},"skip_last_msg_update_for_system_msgs":{"type":"boolean","x-stream-index":"001.002.032"},"typing_events":{"type":"boolean","x-stream-index":"001.002.002"},"updated_at":{"format":"date-time","type":"number","x-stream-index":"001.001.004"},"uploads":{"type":"boolean","x-stream-index":"001.002.011"},"url_enrichment":{"type":"boolean","x-stream-index":"001.002.012"},"user_message_reminders":{"type":"boolean","x-stream-index":"001.002.018"}},"required":["created_at","updated_at","name","typing_events","read_events","connect_events","delivery_events","search","reactions","replies","quotes","mutes","uploads","url_enrichment","custom_events","push_notifications","reminders","mark_messages_pending","polls","user_message_reminders","shared_locations","count_messages","message_retention","max_message_length","automod","automod_behavior","skip_last_msg_update_for_system_msgs","commands"],"type":"object"},"ChannelMemberResponse":{"nullable":true,"properties":{"archived_at":{"format":"date-time","type":"number","x-stream-index":"016"},"ban_expires":{"description":"Expiration date of the ban","format":"date-time","title":"Ban expires","type":"number","x-stream-index":"013"},"banned":{"description":"Whether member is banned this channel or not","title":"Banned","type":"boolean","x-stream-index":"012"},"channel_role":{"description":"Role of the member in the channel","title":"Channel Role","type":"string","x-stream-index":"018"},"created_at":{"description":"Date/time of creation","format":"date-time","title":"Created at","type":"number","x-stream-index":"009"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"004"},"deleted_at":{"format":"date-time","type":"number","x-stream-index":"011"},"deleted_messages":{"items":{"type":"string"},"type":"array","x-stream-index":"020"},"invite_accepted_at":{"description":"Date when invite was accepted","format":"date-time","title":"Invited accepted at","type":"number","x-stream-index":"006"},"invite_rejected_at":{"description":"Date when invite was rejected","format":"date-time","title":"Invited rejected at","type":"number","x-stream-index":"007"},"invited":{"description":"Whether member was invited or not","title":"Invited","type":"boolean","x-stream-index":"005"},"is_moderator":{"description":"Whether member is channel moderator or not","title":"Is moderator","type":"boolean","x-stream-index":"003"},"notifications_muted":{"type":"boolean","x-stream-index":"019"},"pinned_at":{"format":"date-time","type":"number","x-stream-index":"015"},"role":{"description":"Permission level of the member in the channel (DEPRECATED: use channel_role instead). One of: member, moderator, admin, owner","title":"Role","type":"string","x-stream-index":"017"},"shadow_banned":{"description":"Whether member is shadow banned in this channel or not","title":"Shadow banned","type":"boolean","x-stream-index":"014"},"status":{"type":"string","x-stream-index":"008"},"updated_at":{"description":"Date/time of the last update","format":"date-time","title":"Updated at","type":"number","x-stream-index":"010"},"user":{"$ref":"#/components/schemas/UserResponse","x-stream-index":"002"},"user_id":{"title":"User ID","type":"string","x-stream-index":"001"}},"required":["custom","created_at","updated_at","banned","shadow_banned","channel_role","notifications_muted"],"title":"Channel member","type":"object"},"ChannelMute":{"nullable":true,"properties":{"channel":{"$ref":"#/components/schemas/ChannelResponse","description":"Channel that is muted","title":"Channel","x-stream-index":"002"},"created_at":{"description":"Date/time of creation","format":"date-time","title":"Created at","type":"number","x-stream-index":"004"},"expires":{"description":"Date/time of mute expiration","format":"date-time","title":"Expires","type":"number","x-stream-index":"003"},"updated_at":{"description":"Date/time of the last update","format":"date-time","title":"Updated at","type":"number","x-stream-index":"005"},"user":{"$ref":"#/components/schemas/UserResponse","description":"Owner of channel mute","title":"User","x-stream-index":"001"}},"required":["created_at","updated_at"],"type":"object"},"ChannelOwnCapability":{"description":"All possibility of string to use","enum":["ban-channel-members","cast-poll-vote","connect-events","create-attachment","delete-any-message","delete-channel","delete-own-message","delivery-events","flag-message","freeze-channel","join-channel","leave-channel","mute-channel","pin-message","query-poll-votes","quote-message","read-events","search-messages","send-custom-events","send-links","send-message","send-poll","send-reaction","send-reply","send-restricted-visibility-message","send-typing-events","set-channel-cooldown","share-location","skip-slow-mode","slow-mode","typing-events","update-any-message","update-channel","update-channel-members","update-own-message","update-thread","upload-file"],"title":"ChannelOwnCapability","type":"string"},"ChannelPushPreferencesResponse":{"nullable":true,"properties":{"chat_level":{"type":"string","x-stream-index":"001"},"disabled_until":{"format":"date-time","type":"number","x-stream-index":"002"}},"type":"object"},"ChannelResponse":{"description":"Represents channel in chat","properties":{"auto_translation_enabled":{"description":"Whether auto translation is enabled or not","title":"Auto translation","type":"boolean","x-stream-index":"017"},"auto_translation_language":{"description":"Language to translate to when auto translation is active","title":"Auto translation language","type":"string","x-stream-index":"018"},"blocked":{"description":"Whether this channel is blocked by current user or not","title":"Blocked","type":"boolean","x-stream-index":"023"},"cid":{"description":"Channel CID (\u003ctype\u003e:\u003cid\u003e)","title":"CID","type":"string","x-stream-index":"003"},"config":{"$ref":"#/components/schemas/ChannelConfigWithInfo","description":"Channel configuration","title":"ChannelConfigWithInfo","x-stream-index":"013"},"cooldown":{"description":"Cooldown period after sending each message","format":"int32","title":"Cooldown","type":"integer","x-stream-index":"020"},"created_at":{"description":"Date/time of creation","format":"date-time","title":"Created at","type":"number","x-stream-index":"005"},"created_by":{"$ref":"#/components/schemas/UserResponse","description":"Creator of the channel","title":"UserResponse","x-stream-index":"008"},"custom":{"additionalProperties":{},"description":"Custom data for this object","title":"Custom data","type":"object","x-stream-index":"026"},"deleted_at":{"description":"Date/time of deletion","format":"date-time","title":"Deleted at","type":"number","x-stream-index":"007"},"disabled":{"type":"boolean","x-stream-index":"010"},"filter_tags":{"description":"List of filter tags associated with the channel","items":{"type":"string"},"title":"Filter tags","type":"array","x-stream-index":"028"},"frozen":{"description":"Whether channel is frozen or not","title":"Frozen","type":"boolean","x-stream-index":"009"},"hidden":{"description":"Whether this channel is hidden by current user or not","title":"Hidden","type":"boolean","x-stream-index":"022"},"hide_messages_before":{"description":"Date since when the message history is accessible","format":"date-time","title":"Hide messages before","type":"number","x-stream-index":"019"},"id":{"description":"Channel unique ID","title":"ID","type":"string","x-stream-index":"001"},"last_message_at":{"description":"Date of the last message sent","format":"date-time","title":"Last message at","type":"number","x-stream-index":"004"},"member_count":{"description":"Number of members in the channel","format":"int32","title":"Member count","type":"integer","x-stream-index":"012"},"members":{"description":"List of channel members (max 100)","items":{"$ref":"#/components/schemas/ChannelMemberResponse"},"title":"Channel members","type":"array","x-stream-index":"011"},"message_count":{"description":"Number of messages in the channel","format":"int64","title":"Message count","type":"integer","x-stream-index":"027"},"mute_expires_at":{"description":"Date of mute expiration","format":"date-time","title":"Mute expires at","type":"number","x-stream-index":"015"},"muted":{"description":"Whether this channel is muted or not","title":"Muted","type":"boolean","x-stream-index":"014"},"own_capabilities":{"description":"List of channel capabilities of authenticated user","items":{"$ref":"#/components/schemas/ChannelOwnCapability"},"title":"ChannelOwnCapability","type":"array","x-stream-index":"021"},"team":{"description":"Team the channel belongs to (multi-tenant only)","title":"Team","type":"string","x-stream-index":"016"},"truncated_at":{"description":"Date of the latest truncation of the channel","format":"date-time","title":"UserResponse","type":"number","x-stream-index":"024"},"truncated_by":{"$ref":"#/components/schemas/UserResponse","x-stream-index":"025"},"type":{"description":"Type of the channel","title":"Type","type":"string","x-stream-docs-page-id":"channel_features","x-stream-index":"002"},"updated_at":{"description":"Date/time of the last update","format":"date-time","title":"Updated at","type":"number","x-stream-index":"006"}},"required":["id","type","cid","created_at","updated_at","frozen","disabled","custom"],"title":"Channel","type":"object"},"ClosedCaptionRuleParameters":{"properties":{"harm_labels":{"items":{"type":"string"},"type":"array","x-stream-index":"001"},"llm_harm_labels":{"additionalProperties":{"type":"string"},"type":"object","x-stream-index":"002"},"threshold":{"format":"int32","type":"integer","x-stream-index":"003"}},"type":"object"},"CollectionRequest":{"properties":{"custom":{"additionalProperties":{},"description":"Custom data for the collection (required, must contain at least one key)","minimum":1,"title":"Custom Data","type":"object","x-stream-index":"003"},"id":{"description":"Unique identifier for the collection within its name (optional, will be auto-generated if not provided)","maxLength":128,"title":"ID","type":"string","x-stream-index":"002"},"name":{"description":"Name/type of the collection","maxLength":128,"title":"Name","type":"string","x-stream-index":"001"}},"required":["name","custom"],"title":"Collection Request","type":"object"},"CollectionResponse":{"properties":{"created_at":{"description":"When the collection was created","format":"date-time","title":"Created At","type":"number","x-stream-index":"005"},"custom":{"additionalProperties":{},"description":"Custom data for the collection","title":"Custom Data","type":"object","x-stream-index":"003"},"id":{"description":"Unique identifier for the collection within its name","title":"ID","type":"string","x-stream-index":"002"},"name":{"description":"Name/type of the collection","title":"Name","type":"string","x-stream-index":"001"},"updated_at":{"description":"When the collection was last updated","format":"date-time","title":"Updated At","type":"number","x-stream-index":"006"},"user_id":{"description":"ID of the user who owns this collection","title":"User ID","type":"string","x-stream-index":"004"}},"required":["name","id"],"title":"Collection Response","type":"object"},"Command":{"description":"Represents custom chat command","nullable":true,"properties":{"args":{"description":"Arguments help text, shown in commands auto-completion","title":"Arguments","type":"string","x-stream-index":"006"},"created_at":{"description":"Date/time of creation","format":"date-time","readOnly":true,"title":"Created at","type":"number","x-stream-index":"001"},"description":{"description":"Description, shown in commands auto-completion","title":"Description","type":"string","x-stream-index":"005"},"name":{"description":"Unique command name","title":"Name","type":"string","x-stream-index":"004"},"set":{"description":"Set name used for grouping commands","title":"Set","type":"string","x-stream-index":"007"},"updated_at":{"description":"Date/time of the last update","format":"date-time","readOnly":true,"title":"Updated at","type":"number","x-stream-index":"002"}},"required":["name","description","args","set"],"title":"Command","type":"object"},"CommentAddedEvent":{"description":"Emitted when a comment is added to an activity.","nullable":true,"properties":{"activity":{"$ref":"#/components/schemas/ActivityResponse","x-stream-index":"002"},"comment":{"$ref":"#/components/schemas/CommentResponse","description":"The comment that was added","title":"Text","x-stream-index":"001"},"created_at":{"description":"Date/time of creation","format":"date-time","title":"Created at","type":"number","x-stream-index":"003.001.003"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"003.001.007"},"feed_visibility":{"type":"string","x-stream-index":"003.003"},"fid":{"type":"string","x-stream-index":"003.002"},"received_at":{"format":"date-time","type":"number","x-stream-index":"003.001.004"},"type":{"default":"feeds.comment.added","description":"The type of event: \"feeds.comment.added\" in this case","title":"Event Type","type":"string","x-stream-index":"003.001.002"},"user":{"$ref":"#/components/schemas/UserResponseCommonFields","description":"The user who added the comment","title":"User","x-stream-index":"004.001"}},"required":["comment","activity","type","created_at","custom","fid"],"title":"CommentAddedEvent","type":"object","x-stream-event-client-type":true,"x-stream-event-doc-group":"other","x-stream-is-event":true,"x-stream-throttle-group":"ordered","x-stream-ws-base-event-name":"VideoEvent"},"CommentDeletedEvent":{"description":"Emitted when a comment is deleted.","nullable":true,"properties":{"comment":{"$ref":"#/components/schemas/CommentResponse","x-stream-index":"001"},"created_at":{"description":"Date/time of creation","format":"date-time","title":"Created at","type":"number","x-stream-index":"002.001.003"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"002.001.007"},"feed_visibility":{"type":"string","x-stream-index":"002.003"},"fid":{"type":"string","x-stream-index":"002.002"},"received_at":{"format":"date-time","type":"number","x-stream-index":"002.001.004"},"type":{"default":"feeds.comment.deleted","description":"The type of event: \"feeds.comment.deleted\" in this case","title":"Event Type","type":"string","x-stream-index":"002.001.002"},"user":{"$ref":"#/components/schemas/UserResponseCommonFields","description":"The user who deleted the comment","title":"User","x-stream-index":"003.001"}},"required":["comment","type","created_at","custom","fid"],"title":"CommentDeletedEvent","type":"object","x-stream-event-client-type":true,"x-stream-event-doc-group":"other","x-stream-is-event":true,"x-stream-throttle-group":"ordered","x-stream-ws-base-event-name":"VideoEvent"},"CommentReactionAddedEvent":{"description":"Emitted when a reaction is added to a comment.","nullable":true,"properties":{"activity":{"$ref":"#/components/schemas/ActivityResponse","x-stream-index":"003"},"comment":{"$ref":"#/components/schemas/CommentResponse","x-stream-index":"001"},"created_at":{"description":"Date/time of creation","format":"date-time","title":"Created at","type":"number","x-stream-index":"004.001.003"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"004.001.007"},"feed_visibility":{"type":"string","x-stream-index":"004.003"},"fid":{"type":"string","x-stream-index":"004.002"},"reaction":{"$ref":"#/components/schemas/FeedsReactionResponse","description":"The reaction that was added","title":"Reaction","x-stream-index":"002"},"received_at":{"format":"date-time","type":"number","x-stream-index":"004.001.004"},"type":{"default":"feeds.comment.reaction.added","description":"The type of event: \"feeds.comment.reaction.added\" in this case","title":"Event Type","type":"string","x-stream-index":"004.001.002"},"user":{"$ref":"#/components/schemas/UserResponseCommonFields","description":"The user who added the reaction","title":"User","x-stream-index":"005.001"}},"required":["comment","reaction","activity","type","created_at","custom","fid"],"title":"CommentReactionAddedEvent","type":"object","x-stream-event-client-type":true,"x-stream-event-doc-group":"other","x-stream-is-event":true,"x-stream-throttle-group":"ordered","x-stream-ws-base-event-name":"VideoEvent"},"CommentReactionDeletedEvent":{"description":"Emitted when a reaction is deleted from a comment.","nullable":true,"properties":{"comment":{"$ref":"#/components/schemas/CommentResponse","x-stream-index":"001"},"created_at":{"description":"Date/time of creation","format":"date-time","title":"Created at","type":"number","x-stream-index":"003.001.003"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"003.001.007"},"feed_visibility":{"type":"string","x-stream-index":"003.003"},"fid":{"type":"string","x-stream-index":"003.002"},"reaction":{"$ref":"#/components/schemas/FeedsReactionResponse","x-stream-index":"002"},"received_at":{"format":"date-time","type":"number","x-stream-index":"003.001.004"},"type":{"default":"feeds.comment.reaction.deleted","description":"The type of reaction that was removed","title":"Type","type":"string","x-stream-index":"003.001.002"}},"required":["comment","reaction","type","created_at","custom","fid"],"title":"CommentReactionDeletedEvent","type":"object","x-stream-event-client-type":true,"x-stream-event-doc-group":"other","x-stream-is-event":true,"x-stream-throttle-group":"ordered","x-stream-ws-base-event-name":"VideoEvent"},"CommentReactionUpdatedEvent":{"description":"Emitted when a reaction is updated on a comment.","nullable":true,"properties":{"activity":{"$ref":"#/components/schemas/ActivityResponse","x-stream-index":"003"},"comment":{"$ref":"#/components/schemas/CommentResponse","x-stream-index":"001"},"created_at":{"description":"Date/time of creation","format":"date-time","title":"Created at","type":"number","x-stream-index":"004.001.003"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"004.001.007"},"feed_visibility":{"type":"string","x-stream-index":"004.003"},"fid":{"type":"string","x-stream-index":"004.002"},"reaction":{"$ref":"#/components/schemas/FeedsReactionResponse","description":"The reaction that was updated","title":"Reaction","x-stream-index":"002"},"received_at":{"format":"date-time","type":"number","x-stream-index":"004.001.004"},"type":{"default":"feeds.comment.reaction.updated","description":"The type of event: \"feeds.comment.reaction.updated\" in this case","title":"Event Type","type":"string","x-stream-index":"004.001.002"},"user":{"$ref":"#/components/schemas/UserResponseCommonFields","description":"The user who updated the reaction","title":"User","x-stream-index":"005.001"}},"required":["comment","reaction","activity","type","created_at","custom","fid"],"title":"CommentReactionUpdatedEvent","type":"object","x-stream-event-client-type":true,"x-stream-event-doc-group":"other","x-stream-is-event":true,"x-stream-throttle-group":"ordered","x-stream-ws-base-event-name":"VideoEvent"},"CommentResponse":{"properties":{"attachments":{"description":"Attachments associated with the comment","items":{"$ref":"#/components/schemas/Attachment"},"title":"Attachments","type":"array","x-stream-index":"011"},"confidence_score":{"description":"Confidence score of the comment","format":"float","title":"Confidence Score","type":"number","x-stream-index":"023"},"controversy_score":{"description":"Controversy score of the comment","format":"float","title":"Controversy Score","type":"number","x-stream-index":"024"},"created_at":{"description":"When the comment was created","format":"date-time","title":"Created At","type":"number","x-stream-index":"014"},"custom":{"additionalProperties":{},"description":"Custom data for the comment","title":"Custom Data","type":"object","x-stream-index":"006"},"deleted_at":{"description":"When the comment was deleted","format":"date-time","title":"Deleted At","type":"number","x-stream-index":"017"},"downvote_count":{"description":"Number of downvotes for this comment","format":"int32","title":"Downvote Count","type":"integer","x-stream-index":"021"},"edited_at":{"description":"When the comment was last edited","format":"date-time","title":"Edited At","type":"number","x-stream-index":"016"},"id":{"description":"Unique identifier for the comment","title":"ID","type":"string","x-stream-index":"001"},"latest_reactions":{"description":"Recent reactions to the comment","items":{"$ref":"#/components/schemas/FeedsReactionResponse"},"title":"Latest Reactions","type":"array","x-stream-index":"009"},"mentioned_users":{"description":"Users mentioned in the comment","items":{"$ref":"#/components/schemas/UserResponse"},"title":"Mentioned Users","type":"array","x-stream-index":"012"},"moderation":{"$ref":"#/components/schemas/ModerationV2Response","description":"Moderation details for the comment","title":"Moderation","x-stream-index":"018"},"object_id":{"description":"ID of the object this comment is associated with","title":"Object ID","type":"string","x-stream-index":"002"},"object_type":{"description":"Type of the object this comment is associated with","title":"Object Type","type":"string","x-stream-index":"003"},"own_reactions":{"description":"Current user's reactions to this activity","items":{"$ref":"#/components/schemas/FeedsReactionResponse"},"title":"Own Reactions","type":"array","x-stream-index":"025"},"parent_id":{"description":"ID of parent comment for nested replies","title":"Parent ID","type":"string","x-stream-index":"007"},"reaction_count":{"description":"Number of reactions to this comment","format":"int32","title":"Reaction Count","type":"integer","x-stream-index":"008"},"reaction_groups":{"additionalProperties":{"$ref":"#/components/schemas/FeedsReactionGroupResponse"},"description":"Grouped reactions by type","title":"Reaction Groups","type":"object","x-stream-index":"010"},"reply_count":{"description":"Number of replies to this comment","format":"int32","title":"Reply Count","type":"integer","x-stream-index":"019"},"score":{"description":"Score of the comment based on reactions","format":"int32","title":"Score","type":"integer","x-stream-index":"022"},"status":{"description":"Status of the comment. One of: active, deleted, removed, hidden","title":"Status","type":"string","x-stream-index":"013"},"text":{"description":"Text content of the comment","title":"Text","type":"string","x-stream-index":"005"},"updated_at":{"description":"When the comment was last updated","format":"date-time","title":"Updated At","type":"number","x-stream-index":"015"},"upvote_count":{"description":"Number of upvotes for this comment","format":"int32","title":"Upvote Count","type":"integer","x-stream-index":"020"},"user":{"$ref":"#/components/schemas/UserResponse","description":"User who created the comment","title":"User","x-stream-index":"004"}},"required":["id","object_id","object_type","user","reaction_count","mentioned_users","status","created_at","updated_at","reply_count","upvote_count","downvote_count","score","confidence_score","own_reactions"],"title":"Comment","type":"object"},"CommentUpdatedEvent":{"description":"Emitted when a comment is updated.","nullable":true,"properties":{"comment":{"$ref":"#/components/schemas/CommentResponse","description":"The comment that was updated","title":"Text","x-stream-index":"001"},"created_at":{"description":"Date/time of creation","format":"date-time","title":"Created at","type":"number","x-stream-index":"002.001.003"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"002.001.007"},"feed_visibility":{"type":"string","x-stream-index":"002.003"},"fid":{"type":"string","x-stream-index":"002.002"},"received_at":{"format":"date-time","type":"number","x-stream-index":"002.001.004"},"type":{"default":"feeds.comment.updated","description":"The type of event: \"feeds.comment.updated\" in this case","title":"Event Type","type":"string","x-stream-index":"002.001.002"},"user":{"$ref":"#/components/schemas/UserResponseCommonFields","description":"The user who updated the comment","title":"User","x-stream-index":"003.001"}},"required":["comment","type","created_at","custom","fid"],"title":"CommentUpdatedEvent","type":"object","x-stream-event-client-type":true,"x-stream-event-doc-group":"other","x-stream-is-event":true,"x-stream-throttle-group":"ordered","x-stream-ws-base-event-name":"VideoEvent"},"CompositeRecordingResponse":{"properties":{"status":{"type":"string","x-stream-index":"001"}},"required":["status"],"type":"object"},"ConfigResponse":{"properties":{"ai_image_config":{"$ref":"#/components/schemas/AIImageConfig","description":"Configuration for AI image analysis","title":"AI Image Config","x-stream-index":"010"},"ai_text_config":{"$ref":"#/components/schemas/AITextConfig","description":"Configuration for AI text analysis","title":"AI Text Config","x-stream-index":"008"},"ai_video_config":{"$ref":"#/components/schemas/AIVideoConfig","description":"Configuration for AI video analysis","title":"AI Video Config","x-stream-index":"011"},"async":{"description":"Whether moderation should be performed asynchronously","title":"Async","type":"boolean","x-stream-index":"003"},"automod_platform_circumvention_config":{"$ref":"#/components/schemas/AutomodPlatformCircumventionConfig","description":"Configuration for platform circumvention detection","title":"Automod Platform Circumvention Config","x-stream-index":"005"},"automod_semantic_filters_config":{"$ref":"#/components/schemas/AutomodSemanticFiltersConfig","description":"Configuration for semantic filtering","title":"Automod Semantic Filters Config","x-stream-index":"006"},"automod_toxicity_config":{"$ref":"#/components/schemas/AutomodToxicityConfig","description":"Configuration for toxicity detection","title":"Automod Toxicity Config","x-stream-index":"004"},"block_list_config":{"$ref":"#/components/schemas/BlockListConfig","description":"Configuration for block list filtering","title":"Block List Config","x-stream-index":"007"},"created_at":{"description":"When the configuration was created","format":"date-time","title":"Created At","type":"number","x-stream-index":"013"},"key":{"description":"Unique identifier for the moderation configuration","title":"Key","type":"string","x-stream-index":"001"},"llm_config":{"$ref":"#/components/schemas/LLMConfig","description":"Configuration for customer-configured LLM moderation","title":"LLM Config","x-stream-index":"009"},"supported_video_call_harm_types":{"items":{"type":"string"},"type":"array","x-stream-index":"016"},"team":{"description":"Team associated with the configuration","title":"Team","type":"string","x-stream-index":"002"},"updated_at":{"description":"When the configuration was last updated","format":"date-time","title":"Updated At","type":"number","x-stream-index":"014"},"velocity_filter_config":{"$ref":"#/components/schemas/VelocityFilterConfig","description":"Configuration for velocity-based filtering","title":"Velocity Filter Config","x-stream-index":"012"},"video_call_rule_config":{"$ref":"#/components/schemas/VideoCallRuleConfig","x-stream-index":"015"}},"required":["key","team","async","created_at","updated_at","supported_video_call_harm_types"],"type":"object"},"ConnectUserDetailsRequest":{"properties":{"custom":{"additionalProperties":{},"type":"object","x-stream-index":"004"},"id":{"type":"string","x-stream-index":"001"},"image":{"type":"string","x-stream-index":"003"},"invisible":{"type":"boolean","x-stream-index":"006"},"language":{"type":"string","x-stream-index":"005"},"name":{"type":"string","x-stream-index":"002"},"privacy_settings":{"$ref":"#/components/schemas/PrivacySettingsResponse","x-stream-index":"007"}},"required":["id"],"type":"object"},"ContentCountRuleParameters":{"properties":{"threshold":{"format":"int32","type":"integer","x-stream-index":"001"},"time_window":{"type":"string","x-stream-index":"002"}},"type":"object"},"CreateBlockListRequest":{"description":"Block list contains restricted words","nullable":true,"properties":{"is_leet_check_enabled":{"type":"boolean","x-stream-index":"001"},"is_plural_check_enabled":{"type":"boolean","x-stream-index":"002"},"name":{"description":"Block list name","maxLength":255,"title":"Name","type":"string","x-stream-index":"003"},"team":{"type":"string","x-stream-index":"006"},"type":{"description":"Block list type. One of: regex, domain, domain_allowlist, email, email_allowlist, word","enum":["regex","domain","domain_allowlist","email","email_allowlist","word"],"title":"Type","type":"string","x-stream-index":"005"},"words":{"description":"List of words to block","items":{"type":"string"},"title":"Words","type":"array","x-stream-index":"004"}},"required":["name","words"],"title":"Block list","type":"object","x-stream-docs-page-id":"block_lists"},"CreateBlockListResponse":{"description":"Basic response information","nullable":true,"properties":{"blocklist":{"$ref":"#/components/schemas/BlockListResponse","x-stream-index":"001"},"duration":{"description":"Duration of the request in milliseconds","title":"Duration","type":"string","x-stream-index":"002.001"}},"required":["duration"],"title":"Response","type":"object"},"CreateCollectionsRequest":{"nullable":true,"properties":{"collections":{"description":"List of collections to create","items":{"$ref":"#/components/schemas/CollectionRequest"},"maxItems":100,"minItems":1,"title":"Collections","type":"array","x-stream-index":"001"}},"required":["collections"],"title":"Create Collections Request","type":"object"},"CreateCollectionsResponse":{"nullable":true,"properties":{"collections":{"description":"List of created collections","items":{"$ref":"#/components/schemas/CollectionResponse"},"title":"Collections","type":"array","x-stream-index":"001"},"duration":{"type":"string","x-stream-index":"002.001"}},"required":["collections","duration"],"title":"Create Collections Response","type":"object"},"CreateDeviceRequest":{"description":"Create device request","nullable":true,"properties":{"id":{"description":"Device ID","maxLength":255,"minLength":1,"title":"ID","type":"string","x-stream-index":"001"},"push_provider":{"description":"Push provider","enum":["firebase","apn","huawei","xiaomi"],"title":"PushProvider","type":"string","x-stream-index":"002"},"push_provider_name":{"description":"Push provider name","title":"PushProviderName","type":"string","x-stream-index":"003"},"voip_token":{"description":"When true the token is for Apple VoIP push notifications","title":"VoipToken","type":"boolean","x-stream-index":"004"}},"required":["id","push_provider"],"title":"CreateDeviceRequest","type":"object"},"CreateFeedsBatchRequest":{"nullable":true,"properties":{"feeds":{"description":"List of feeds to create","items":{"$ref":"#/components/schemas/FeedRequest"},"maxItems":1000,"minItems":1,"title":"Feeds","type":"array","x-stream-index":"001"}},"required":["feeds"],"title":"Create Feeds Batch Request","type":"object"},"CreateFeedsBatchResponse":{"nullable":true,"properties":{"duration":{"type":"string","x-stream-index":"002.001"},"feeds":{"description":"List of created feeds","items":{"$ref":"#/components/schemas/FeedResponse"},"title":"Feeds","type":"array","x-stream-index":"001"}},"required":["feeds","duration"],"title":"Create Feeds Batch Response","type":"object"},"CreateGuestRequest":{"nullable":true,"properties":{"user":{"$ref":"#/components/schemas/UserRequest","description":"User object which server acts upon","title":"User","x-stream-index":"001"}},"required":["user"],"type":"object"},"CreateGuestResponse":{"nullable":true,"properties":{"access_token":{"description":"the access token to authenticate the user","title":"Access token","type":"string","x-stream-index":"002"},"duration":{"description":"Duration of the request in milliseconds","title":"Duration","type":"string","x-stream-index":"003.001"},"user":{"$ref":"#/components/schemas/UserResponse","description":"User object which server acts upon","title":"User","x-stream-index":"001"}},"required":["user","access_token","duration"],"type":"object"},"CreatePollOptionRequest":{"nullable":true,"properties":{"Custom":{"additionalProperties":{},"type":"object","writeOnly":true,"x-stream-index":"003"},"text":{"description":"Option text","title":"string","type":"string","x-stream-index":"002"}},"required":["text"],"type":"object"},"CreatePollRequest":{"description":"Contains all information needed to create a new poll","nullable":true,"properties":{"Custom":{"additionalProperties":{},"type":"object","writeOnly":true,"x-stream-index":"011"},"allow_answers":{"description":"Indicates whether users can suggest user defined answers","title":"Allow answers","type":"boolean","x-stream-index":"009"},"allow_user_suggested_options":{"type":"boolean","x-stream-index":"008"},"description":{"description":"A description of the poll","title":"Description","type":"string","x-stream-index":"003"},"enforce_unique_vote":{"description":"Indicates whether users can cast multiple votes","title":"Multiple choice","type":"boolean","x-stream-index":"006"},"id":{"maxLength":255,"type":"string","x-stream-index":"001"},"is_closed":{"description":"Indicates whether the poll is open for voting","title":"Is closed","type":"boolean","x-stream-index":"010"},"max_votes_allowed":{"description":"Indicates the maximum amount of votes a user can cast","format":"int32","maximum":10,"title":"Maximum votes allowed","type":"integer","x-stream-index":"007"},"name":{"description":"The name of the poll","title":"Name","type":"string","x-stream-index":"002"},"options":{"items":{"$ref":"#/components/schemas/PollOptionInput"},"maxItems":100,"type":"array","x-stream-index":"004"},"voting_visibility":{"enum":["anonymous","public"],"type":"string","x-stream-index":"005"}},"required":["name"],"title":"Create Poll Request","type":"object"},"CustomActionRequestPayload":{"description":"Configuration for custom moderation action","properties":{"id":{"description":"Custom action identifier","title":"ID","type":"string","x-stream-index":"001"},"options":{"additionalProperties":{},"description":"Custom action options","title":"Options","type":"object","x-stream-index":"002"}},"title":"CustomActionRequest","type":"object"},"Data":{"properties":{"id":{"type":"string","x-stream-index":"001"}},"required":["id"],"type":"object"},"DecayFunctionConfig":{"properties":{"base":{"type":"string","x-stream-index":"001"},"decay":{"type":"string","x-stream-index":"005"},"direction":{"type":"string","x-stream-index":"006"},"offset":{"type":"string","x-stream-index":"004"},"origin":{"type":"string","x-stream-index":"002"},"scale":{"type":"string","x-stream-index":"003"}},"type":"object"},"DeleteActivitiesRequest":{"nullable":true,"properties":{"delete_notification_activity":{"description":"Whether to also delete any notification activities created from mentions in these activities","title":"boolean","type":"boolean","x-stream-index":"003"},"hard_delete":{"description":"Whether to permanently delete the activities","title":"Hard Delete","type":"boolean","x-stream-index":"002"},"ids":{"description":"List of activity IDs to delete","items":{"type":"string"},"maxItems":100,"minItems":1,"title":"Activity IDs","type":"array","x-stream-index":"001"}},"required":["ids"],"title":"Delete Activities Request","type":"object"},"DeleteActivitiesResponse":{"nullable":true,"properties":{"deleted_ids":{"description":"List of activity IDs that were successfully deleted","items":{"type":"string"},"title":"Deleted Activity IDs","type":"array","x-stream-index":"001"},"duration":{"type":"string","x-stream-index":"002.001"}},"required":["deleted_ids","duration"],"title":"Delete Activities Response","type":"object"},"DeleteActivityReactionResponse":{"nullable":true,"properties":{"activity":{"$ref":"#/components/schemas/ActivityResponse","x-stream-index":"001"},"duration":{"type":"string","x-stream-index":"003.001"},"reaction":{"$ref":"#/components/schemas/FeedsReactionResponse","x-stream-index":"002"}},"required":["activity","reaction","duration"],"title":"Delete Activity Reaction Response","type":"object"},"DeleteActivityRequestPayload":{"description":"Configuration for activity deletion action","properties":{"hard_delete":{"description":"Whether to permanently delete the activity","title":"Hard Delete","type":"boolean","x-stream-index":"001"},"reason":{"description":"Reason for deletion","title":"Reason","type":"string","x-stream-index":"002"}},"title":"DeleteActivityRequest","type":"object"},"DeleteActivityResponse":{"nullable":true,"properties":{"duration":{"type":"string","x-stream-index":"001.001"}},"required":["duration"],"title":"Delete Activity Response","type":"object"},"DeleteBookmarkFolderResponse":{"nullable":true,"properties":{"duration":{"type":"string","x-stream-index":"001.001"}},"required":["duration"],"title":"Delete Bookmark Folder Response","type":"object"},"DeleteBookmarkResponse":{"nullable":true,"properties":{"bookmark":{"$ref":"#/components/schemas/BookmarkResponse","description":"The deleted bookmark","title":"Bookmark","x-stream-index":"001"},"duration":{"type":"string","x-stream-index":"002.001"}},"required":["bookmark","duration"],"title":"Delete Bookmark Response","type":"object"},"DeleteCollectionsResponse":{"nullable":true,"properties":{"duration":{"type":"string","x-stream-index":"001.001"}},"required":["duration"],"title":"Delete Collections Response","type":"object"},"DeleteCommentReactionResponse":{"nullable":true,"properties":{"comment":{"$ref":"#/components/schemas/CommentResponse","description":"The comment after reaction removal","title":"Comment","x-stream-index":"001"},"duration":{"type":"string","x-stream-index":"003.001"},"reaction":{"$ref":"#/components/schemas/FeedsReactionResponse","description":"The removed reaction","title":"Reaction","x-stream-index":"002"}},"required":["comment","reaction","duration"],"title":"Delete Comment Reaction Response","type":"object"},"DeleteCommentRequestPayload":{"description":"Configuration for comment deletion action","properties":{"hard_delete":{"description":"Whether to permanently delete the comment","title":"Hard Delete","type":"boolean","x-stream-index":"001"},"reason":{"description":"Reason for deletion","title":"Reason","type":"string","x-stream-index":"002"}},"title":"DeleteCommentRequest","type":"object"},"DeleteCommentResponse":{"nullable":true,"properties":{"activity":{"$ref":"#/components/schemas/ActivityResponse","description":"The parent activity","title":"Activity","x-stream-index":"002"},"comment":{"$ref":"#/components/schemas/CommentResponse","description":"The deleted comment","title":"Comment","x-stream-index":"001"},"duration":{"type":"string","x-stream-index":"003.001"}},"required":["comment","activity","duration"],"title":"Delete Comment Response","type":"object"},"DeleteFeedResponse":{"nullable":true,"properties":{"duration":{"type":"string","x-stream-index":"002.001"},"task_id":{"description":"The ID of the async task that will handle feed cleanup and hard deletion","title":"string","type":"string","x-stream-index":"001"}},"required":["task_id","duration"],"title":"Delete Feed Response","type":"object"},"DeleteMessageRequestPayload":{"description":"Configuration for message deletion action","properties":{"hard_delete":{"description":"Whether to permanently delete the message","title":"Hard Delete","type":"boolean","x-stream-index":"001"},"reason":{"description":"Reason for deletion","title":"Reason","type":"string","x-stream-index":"002"}},"title":"DeleteMessageRequest","type":"object"},"DeleteModerationConfigResponse":{"nullable":true,"properties":{"duration":{"type":"string","x-stream-index":"001.001"}},"required":["duration"],"type":"object"},"DeleteReactionRequestPayload":{"description":"Configuration for reaction deletion action","properties":{"hard_delete":{"description":"Whether to permanently delete the reaction","title":"Hard Delete","type":"boolean","x-stream-index":"001"},"reason":{"description":"Reason for deletion","title":"Reason","type":"string","x-stream-index":"002"}},"title":"DeleteReactionRequest","type":"object"},"DeleteUserRequestPayload":{"description":"Configuration for user deletion action","properties":{"delete_conversation_channels":{"description":"Also delete all user conversations","title":"Delete Conversations","type":"boolean","x-stream-index":"004"},"delete_feeds_content":{"description":"Delete flagged feeds content","title":"Delete Feeds Content","type":"boolean","x-stream-index":"005"},"hard_delete":{"description":"Whether to permanently delete the user","title":"Hard Delete","type":"boolean","x-stream-index":"001"},"mark_messages_deleted":{"description":"Also delete all user messages","title":"Mark Messages Deleted","type":"boolean","x-stream-index":"003"},"reason":{"description":"Reason for deletion","title":"Reason","type":"string","x-stream-index":"002"}},"title":"DeleteUserRequest","type":"object"},"DeliveryReceiptsResponse":{"properties":{"enabled":{"type":"boolean","x-stream-index":"001"}},"required":["enabled"],"type":"object"},"DeviceResponse":{"description":"Response for Device","nullable":true,"properties":{"created_at":{"description":"Date/time of creation","format":"date-time","title":"Created at","type":"number","x-stream-index":"004"},"disabled":{"description":"Whether device is disabled or not","title":"Disabled","type":"boolean","x-stream-index":"005"},"disabled_reason":{"description":"Reason explaining why device had been disabled","title":"Reason","type":"string","x-stream-index":"006"},"id":{"description":"Device ID","title":"ID","type":"string","x-stream-index":"003"},"push_provider":{"description":"Push provider","title":"PushProvider","type":"string","x-stream-index":"001"},"push_provider_name":{"description":"Push provider name","title":"PushProviderName","type":"string","x-stream-index":"002"},"user_id":{"description":"User ID","title":"UserID","type":"string","x-stream-index":"008"},"voip":{"description":"When true the token is for Apple VoIP push notifications","title":"Voip","type":"boolean","x-stream-index":"007"}},"required":["push_provider","id","created_at","user_id"],"title":"DeviceResponse","type":"object"},"DraftPayloadResponse":{"description":"Contains the draft message content","properties":{"attachments":{"description":"Array of message attachments","items":{"$ref":"#/components/schemas/Attachment"},"title":"Message attachments","type":"array","x-stream-docs-page-id":"message_format#attachment-format","x-stream-index":"004"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"007"},"html":{"description":"Contains HTML markup of the message","title":"HTML content","type":"string","x-stream-index":"010"},"id":{"description":"Message ID is unique string identifier of the message","title":"ID","type":"string","x-stream-index":"001"},"mentioned_users":{"description":"List of mentioned users","items":{"$ref":"#/components/schemas/UserResponse"},"title":"Mentioned Users","type":"array","x-stream-index":"008"},"mml":{"description":"MML content of the message","title":"Messaging Markup Language","type":"string","x-stream-docs-page-id":"mml_overview","x-stream-index":"003"},"parent_id":{"description":"ID of parent message (thread)","title":"Parent message ID","type":"string","x-stream-docs-page-id":"threads","x-stream-index":"005"},"poll_id":{"description":"Identifier of the poll to include in the message","title":"Poll ID","type":"string","x-stream-index":"013"},"quoted_message_id":{"title":"ID of quoted message","type":"string","x-stream-docs-page-id":"threads#quote-message","x-stream-index":"009"},"show_in_channel":{"description":"Whether thread reply should be shown in the channel as well","title":"Show in channel","type":"boolean","x-stream-docs-page-id":"threads","x-stream-index":"006"},"silent":{"description":"Whether message is silent or not","title":"Silent","type":"boolean","x-stream-index":"012"},"text":{"description":"Text of the message","title":"Text","type":"string","x-stream-index":"002"},"type":{"description":"Contains type of the message. One of: regular, system","title":"Message Type","type":"string","x-stream-docs-page-id":"message_format#message-types","x-stream-index":"011"}},"required":["id","text","custom"],"title":"Draft Message Payload","type":"object"},"DraftResponse":{"properties":{"channel":{"$ref":"#/components/schemas/ChannelResponse","x-stream-index":"003"},"channel_cid":{"type":"string","x-stream-index":"002"},"created_at":{"format":"date-time","type":"number","x-stream-index":"007"},"message":{"$ref":"#/components/schemas/DraftPayloadResponse","x-stream-index":"001"},"parent_id":{"type":"string","x-stream-index":"004"},"parent_message":{"$ref":"#/components/schemas/MessageResponse","x-stream-index":"005"},"quoted_message":{"$ref":"#/components/schemas/MessageResponse","x-stream-index":"006"}},"required":["message","channel_cid","created_at"],"type":"object"},"EgressHLSResponse":{"properties":{"playlist_url":{"type":"string","x-stream-index":"001"},"status":{"type":"string","x-stream-index":"002"}},"required":["playlist_url","status"],"type":"object"},"EgressRTMPResponse":{"properties":{"name":{"type":"string","x-stream-index":"001"},"started_at":{"format":"date-time","type":"number","x-stream-index":"004"},"stream_key":{"type":"string","x-stream-index":"003"},"stream_url":{"type":"string","x-stream-index":"002"}},"required":["name","started_at"],"type":"object"},"EgressResponse":{"properties":{"broadcasting":{"type":"boolean","x-stream-index":"001"},"composite_recording":{"$ref":"#/components/schemas/CompositeRecordingResponse","x-stream-index":"005"},"frame_recording":{"$ref":"#/components/schemas/FrameRecordingResponse","x-stream-index":"004"},"hls":{"$ref":"#/components/schemas/EgressHLSResponse","x-stream-index":"002"},"individual_recording":{"$ref":"#/components/schemas/IndividualRecordingResponse","x-stream-index":"006"},"raw_recording":{"$ref":"#/components/schemas/RawRecordingResponse","x-stream-index":"007"},"rtmps":{"items":{"$ref":"#/components/schemas/EgressRTMPResponse"},"type":"array","x-stream-index":"003"}},"required":["broadcasting","rtmps"],"type":"object"},"EnrichedActivity":{"properties":{"actor":{"$ref":"#/components/schemas/Data","x-stream-index":"002"},"foreign_id":{"type":"string","x-stream-index":"005"},"id":{"type":"string","x-stream-index":"001"},"latest_reactions":{"additionalProperties":{"items":{"$ref":"#/components/schemas/EnrichedReaction"},"type":"array"},"type":"object","x-stream-index":"013"},"object":{"$ref":"#/components/schemas/Data","x-stream-index":"004"},"origin":{"$ref":"#/components/schemas/Data","x-stream-index":"008"},"own_reactions":{"additionalProperties":{"items":{"$ref":"#/components/schemas/EnrichedReaction"},"type":"array"},"type":"object","x-stream-index":"012"},"reaction_counts":{"additionalProperties":{"format":"int32","type":"integer"},"type":"object","x-stream-index":"011"},"score":{"format":"float","type":"number","x-stream-index":"010"},"target":{"$ref":"#/components/schemas/Data","x-stream-index":"006"},"to":{"items":{"type":"string"},"type":"array","x-stream-index":"009"},"verb":{"type":"string","x-stream-index":"003"}},"type":"object"},"EnrichedCollectionResponse":{"properties":{"created_at":{"description":"When the collection was created","format":"date-time","title":"Created At","type":"number","x-stream-index":"001.005"},"custom":{"additionalProperties":{},"description":"Custom data for the collection","title":"Custom Data","type":"object","x-stream-index":"001.003"},"id":{"description":"Unique identifier for the collection within its name","title":"ID","type":"string","x-stream-index":"001.002"},"name":{"description":"Name/type of the collection","title":"Name","type":"string","x-stream-index":"001.001"},"status":{"description":"Enrichment status of the collection. One of: ok, notfound","enum":["ok","notfound"],"title":"Status","type":"string","x-stream-index":"002"},"updated_at":{"description":"When the collection was last updated","format":"date-time","title":"Updated At","type":"number","x-stream-index":"001.006"},"user_id":{"description":"ID of the user who owns this collection","title":"User ID","type":"string","x-stream-index":"001.004"}},"required":["name","id","status"],"title":"Enriched Collection Response","type":"object"},"EnrichedReaction":{"nullable":true,"properties":{"activity_id":{"type":"string","x-stream-index":"003"},"children_counts":{"additionalProperties":{"format":"int32","type":"integer"},"type":"object","x-stream-index":"010"},"created_at":{"$ref":"#/components/schemas/Time","x-stream-index":"012"},"data":{"additionalProperties":{},"type":"object","x-stream-index":"005"},"id":{"type":"string","x-stream-index":"001"},"kind":{"type":"string","x-stream-index":"002"},"latest_children":{"additionalProperties":{"items":{"$ref":"#/components/schemas/EnrichedReaction"},"type":"array"},"type":"object","x-stream-index":"008"},"own_children":{"additionalProperties":{"items":{"$ref":"#/components/schemas/EnrichedReaction"},"type":"array"},"type":"object","x-stream-index":"009"},"parent":{"type":"string","x-stream-index":"007"},"target_feeds":{"items":{"type":"string"},"type":"array","x-stream-index":"006"},"updated_at":{"$ref":"#/components/schemas/Time","x-stream-index":"013"},"user":{"$ref":"#/components/schemas/Data","x-stream-index":"011"},"user_id":{"type":"string","x-stream-index":"004"}},"required":["kind","activity_id","user_id"],"type":"object"},"EnrichmentOptions":{"description":"Options to skip specific enrichments to improve performance. Default is false (enrichments are included). Setting a field to true skips that enrichment.","properties":{"enrich_own_followings":{"description":"Default: false. When true, includes fetching and enriching own_followings (follows where activity author's feeds follow current user's feeds).","title":"Enrich Own Followings","type":"boolean","x-stream-index":"016"},"skip_activity":{"description":"Default: false. When true, skips all activity enrichments.","title":"Skip Activity","type":"boolean","x-stream-index":"001"},"skip_activity_collections":{"description":"Default: false. When true, skips enriching collections on activities.","title":"Skip Activity Collections","type":"boolean","x-stream-index":"008"},"skip_activity_comments":{"description":"Default: false. When true, skips enriching comments on activities.","title":"Skip Activity Comments","type":"boolean","x-stream-index":"005"},"skip_activity_current_feed":{"description":"Default: false. When true, skips enriching current_feed on activities. Note: CurrentFeed is still computed for permission checks, but enrichment is skipped.","title":"Skip Activity Current Feed","type":"boolean","x-stream-index":"010"},"skip_activity_mentioned_users":{"description":"Default: false. When true, skips enriching mentioned users on activities.","title":"Skip Activity Mentioned Users","type":"boolean","x-stream-index":"006"},"skip_activity_own_bookmarks":{"description":"Default: false. When true, skips enriching own bookmarks on activities.","title":"Skip Activity Own Bookmarks","type":"boolean","x-stream-index":"004"},"skip_activity_parents":{"description":"Default: false. When true, skips enriching parent activities.","title":"Skip Activity Parents","type":"boolean","x-stream-index":"002"},"skip_activity_poll":{"description":"Default: false. When true, skips enriching poll data on activities.","title":"Skip Activity Poll","type":"boolean","x-stream-index":"007"},"skip_activity_reactions":{"description":"Default: false. When true, skips fetching and enriching latest and own reactions on activities. Note: If reactions are already denormalized in the database, they will still be included.","title":"Skip Activity Reactions","type":"boolean","x-stream-index":"003"},"skip_activity_refresh_image_urls":{"description":"Default: false. When true, skips refreshing image URLs on activities.","title":"Skip Activity Refresh Image URLs","type":"boolean","x-stream-index":"009"},"skip_all":{"description":"Default: false. When true, skips all enrichments.","title":"Skip All","type":"boolean","x-stream-index":"018"},"skip_feed_member_user":{"description":"Default: false. When true, skips enriching user data on feed members.","title":"Skip Feed Member User","type":"boolean","x-stream-index":"012"},"skip_followers":{"description":"Default: false. When true, skips fetching and enriching followers. Note: If followers_pagination is explicitly provided, followers will be fetched regardless of this setting.","title":"Skip Followers","type":"boolean","x-stream-index":"013"},"skip_following":{"description":"Default: false. When true, skips fetching and enriching following. Note: If following_pagination is explicitly provided, following will be fetched regardless of this setting.","title":"Skip Following","type":"boolean","x-stream-index":"014"},"skip_own_capabilities":{"description":"Default: false. When true, skips computing and including capabilities for feeds.","title":"Skip Own Capabilities","type":"boolean","x-stream-index":"017"},"skip_own_follows":{"description":"Default: false. When true, skips fetching and enriching own_follows (follows where user's feeds follow target feeds).","title":"Skip Own Follows","type":"boolean","x-stream-index":"015"},"skip_pins":{"description":"Default: false. When true, skips enriching pinned activities.","title":"Skip Pins","type":"boolean","x-stream-index":"011"}},"title":"Enrichment Options","type":"object"},"EntityCreatorResponse":{"properties":{"avg_response_time":{"format":"int32","type":"integer","x-stream-index":"001.001.018"},"ban_count":{"description":"Number of minor actions performed on the user","format":"int32","title":"Ban Count","type":"integer","x-stream-index":"002"},"banned":{"type":"boolean","x-stream-index":"001.001.012"},"blocked_user_ids":{"items":{"type":"string"},"type":"array","x-stream-index":"001.001.017"},"created_at":{"format":"date-time","type":"number","x-stream-index":"001.001.009"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"001.001.004"},"deactivated_at":{"format":"date-time","type":"number","x-stream-index":"001.001.016"},"deleted_at":{"format":"date-time","type":"number","x-stream-index":"001.001.011"},"deleted_content_count":{"description":"Number of major actions performed on the user","format":"int32","title":"Deleted Content Count","type":"integer","x-stream-index":"003"},"flagged_count":{"description":"Number of flag actions performed on the user","format":"int32","title":"Flagged Count","type":"integer","x-stream-index":"004"},"id":{"type":"string","x-stream-index":"001.001.001"},"image":{"type":"string","x-stream-index":"001.001.003"},"language":{"type":"string","x-stream-index":"001.001.005"},"last_active":{"format":"date-time","type":"number","x-stream-index":"001.001.014"},"name":{"type":"string","x-stream-index":"001.001.002"},"online":{"type":"boolean","x-stream-index":"001.001.013"},"revoke_tokens_issued_before":{"format":"date-time","type":"number","x-stream-index":"001.001.015"},"role":{"type":"string","x-stream-index":"001.001.006"},"teams":{"items":{"type":"string"},"type":"array","x-stream-index":"001.001.007"},"teams_role":{"additionalProperties":{"type":"string"},"type":"object","x-stream-index":"001.001.008"},"updated_at":{"format":"date-time","type":"number","x-stream-index":"001.001.010"}},"required":["id","custom","language","role","teams","created_at","updated_at","banned","online","blocked_user_ids","shadow_banned","invisible","ban_count","deleted_content_count","flagged_count"],"type":"object"},"FeedCreatedEvent":{"description":"Emitted when a feed is created.","nullable":true,"properties":{"created_at":{"description":"Date/time of creation","format":"date-time","title":"Created at","type":"number","x-stream-index":"003.001.003"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"003.001.007"},"feed":{"$ref":"#/components/schemas/FeedResponse","description":"The feed that was created","title":"Feed","x-stream-index":"001"},"feed_visibility":{"type":"string","x-stream-index":"003.003"},"fid":{"type":"string","x-stream-index":"003.002"},"members":{"items":{"$ref":"#/components/schemas/FeedMemberResponse"},"type":"array","x-stream-index":"002"},"received_at":{"format":"date-time","type":"number","x-stream-index":"003.001.004"},"type":{"default":"feeds.feed.created","description":"The type of event: \"feeds.feed.created\" in this case","title":"Event Type","type":"string","x-stream-index":"003.001.002"},"user":{"$ref":"#/components/schemas/UserResponseCommonFields","description":"The user who created the feed","title":"User","x-stream-index":"004.001"}},"required":["feed","members","type","created_at","custom","fid","user"],"title":"FeedCreatedEvent","type":"object","x-stream-event-client-type":true,"x-stream-event-doc-group":"other","x-stream-is-event":true,"x-stream-throttle-group":"ordered","x-stream-ws-base-event-name":"VideoEvent"},"FeedDeletedEvent":{"description":"Emitted when a feed is deleted.","nullable":true,"properties":{"created_at":{"description":"Date/time of creation","format":"date-time","title":"Created at","type":"number","x-stream-index":"001.001.003"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"001.001.007"},"feed_visibility":{"type":"string","x-stream-index":"001.003"},"fid":{"type":"string","x-stream-index":"001.002"},"received_at":{"format":"date-time","type":"number","x-stream-index":"001.001.004"},"type":{"default":"feeds.feed.deleted","description":"The type of event: \"feeds.feed.deleted\" in this case","title":"Event Type","type":"string","x-stream-index":"001.001.002"},"user":{"$ref":"#/components/schemas/UserResponseCommonFields","description":"The user who deleted the feed","title":"User","x-stream-index":"002.001"}},"required":["type","created_at","custom","fid"],"title":"FeedDeletedEvent","type":"object","x-stream-event-client-type":true,"x-stream-event-doc-group":"other","x-stream-is-event":true,"x-stream-throttle-group":"ordered","x-stream-ws-base-event-name":"VideoEvent"},"FeedGroup":{"properties":{"activity_processors":{"items":{"$ref":"#/components/schemas/ActivityProcessorConfig"},"type":"array","x-stream-index":"012"},"activity_selectors":{"items":{"$ref":"#/components/schemas/ActivitySelectorConfig"},"type":"array","x-stream-index":"013"},"aggregation":{"$ref":"#/components/schemas/AggregationConfig","x-stream-index":"015"},"aggregation_version":{"format":"int32","type":"integer","x-stream-index":"016"},"app_pk":{"format":"int32","type":"integer","x-stream-index":"002"},"created_at":{"format":"date-time","type":"number","x-stream-index":"008"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"007"},"default_visibility":{"type":"string","x-stream-index":"006"},"deleted_at":{"format":"date-time","type":"number","x-stream-index":"010"},"group_id":{"type":"string","x-stream-index":"003"},"last_feed_get_at":{"format":"date-time","type":"number","x-stream-index":"017"},"notification":{"$ref":"#/components/schemas/NotificationConfig","x-stream-index":"004"},"push_notification":{"$ref":"#/components/schemas/PushNotificationConfig","x-stream-index":"005"},"ranking":{"$ref":"#/components/schemas/RankingConfig","x-stream-index":"014"},"stories":{"$ref":"#/components/schemas/StoriesConfig","x-stream-index":"011"},"updated_at":{"format":"date-time","type":"number","x-stream-index":"009"}},"required":["app_pk","group_id","default_visibility","custom","created_at","updated_at","activity_processors","activity_selectors","aggregation_version"],"type":"object"},"FeedGroupChangedEvent":{"description":"Emitted when a feed group is changed.","nullable":true,"properties":{"created_at":{"description":"Date/time of creation","format":"date-time","title":"Created at","type":"number","x-stream-index":"001.001.003"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"001.001.007"},"feed_group":{"$ref":"#/components/schemas/FeedGroup","description":"The feed group that was changed","title":"Feed Type","x-stream-index":"003"},"feed_visibility":{"type":"string","x-stream-index":"001.003"},"fid":{"type":"string","x-stream-index":"001.002"},"received_at":{"format":"date-time","type":"number","x-stream-index":"001.001.004"},"type":{"default":"feeds.feed_group.changed","description":"The type of event: \"feeds.feed_group.changed\" in this case","title":"Event Type","type":"string","x-stream-index":"001.001.002"},"user":{"$ref":"#/components/schemas/UserResponseCommonFields","description":"The user who changed the feed group","title":"User","x-stream-index":"002.001"}},"required":["type","created_at","custom","fid"],"title":"FeedGroupChangedEvent","type":"object","x-stream-event-client-type":true,"x-stream-event-doc-group":"other","x-stream-is-event":true,"x-stream-throttle-group":"ordered","x-stream-ws-base-event-name":"VideoEvent"},"FeedGroupDeletedEvent":{"description":"Emitted when a feed group is deleted.","nullable":true,"properties":{"created_at":{"description":"Date/time of creation","format":"date-time","title":"Created at","type":"number","x-stream-index":"002.001.003"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"002.001.007"},"feed_visibility":{"type":"string","x-stream-index":"002.003"},"fid":{"type":"string","x-stream-index":"002.002"},"group_id":{"description":"The ID of the feed group that was deleted","title":"Group ID","type":"string","x-stream-index":"001"},"received_at":{"format":"date-time","type":"number","x-stream-index":"002.001.004"},"type":{"default":"feeds.feed_group.deleted","description":"The type of event: \"feeds.feed_group.deleted\" in this case","title":"Event Type","type":"string","x-stream-index":"002.001.002"}},"required":["group_id","type","created_at","custom","fid"],"title":"FeedGroupDeletedEvent","type":"object","x-stream-event-client-type":true,"x-stream-event-doc-group":"other","x-stream-is-event":true,"x-stream-throttle-group":"ordered","x-stream-ws-base-event-name":"VideoEvent"},"FeedInput":{"properties":{"custom":{"additionalProperties":{},"type":"object","x-stream-index":"004"},"description":{"maxLength":1000,"type":"string","x-stream-index":"002"},"filter_tags":{"items":{"type":"string"},"type":"array","x-stream-index":"005"},"members":{"items":{"$ref":"#/components/schemas/FeedMemberRequest"},"type":"array","x-stream-index":"006"},"name":{"maxLength":255,"type":"string","x-stream-index":"001"},"visibility":{"enum":["public","visible","followers","members","private"],"type":"string","x-stream-index":"003"}},"type":"object"},"FeedMemberAddedEvent":{"description":"Emitted when a feed member is added.","nullable":true,"properties":{"created_at":{"description":"Date/time of creation","format":"date-time","title":"Created at","type":"number","x-stream-index":"003.001.003"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"003.001.007"},"feed_visibility":{"type":"string","x-stream-index":"003.003"},"fid":{"type":"string","x-stream-index":"003.002"},"member":{"$ref":"#/components/schemas/FeedMemberResponse","description":"The member that was added","title":"Member","x-stream-index":"001"},"received_at":{"format":"date-time","type":"number","x-stream-index":"003.001.004"},"type":{"default":"feeds.feed_member.added","description":"The type of event: \"feeds.feed_member.added\" in this case","title":"Event Type","type":"string","x-stream-index":"003.001.002"},"user":{"$ref":"#/components/schemas/UserResponseCommonFields","description":"The user who added the member","title":"User","x-stream-index":"002.001"}},"required":["member","type","created_at","custom","fid"],"title":"FeedMemberAddedEvent","type":"object","x-stream-event-client-type":true,"x-stream-event-doc-group":"other","x-stream-is-event":true,"x-stream-throttle-group":"ordered","x-stream-ws-base-event-name":"VideoEvent"},"FeedMemberRemovedEvent":{"description":"Emitted when a feed member is removed.","nullable":true,"properties":{"created_at":{"description":"Date/time of creation","format":"date-time","title":"Created at","type":"number","x-stream-index":"003.001.003"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"003.001.007"},"feed_visibility":{"type":"string","x-stream-index":"003.003"},"fid":{"type":"string","x-stream-index":"003.002"},"member_id":{"type":"string","x-stream-index":"001"},"received_at":{"format":"date-time","type":"number","x-stream-index":"003.001.004"},"type":{"default":"feeds.feed_member.removed","description":"The type of event: \"feeds.feed_member.removed\" in this case","title":"Event Type","type":"string","x-stream-index":"003.001.002"},"user":{"$ref":"#/components/schemas/UserResponseCommonFields","description":"The user who removed the member","title":"User","x-stream-index":"002.001"}},"required":["member_id","type","created_at","custom","fid"],"title":"FeedMemberRemovedEvent","type":"object","x-stream-event-client-type":true,"x-stream-event-doc-group":"other","x-stream-is-event":true,"x-stream-throttle-group":"ordered","x-stream-ws-base-event-name":"VideoEvent"},"FeedMemberRequest":{"properties":{"custom":{"additionalProperties":{},"description":"Custom data for the member","title":"Custom Data","type":"object","x-stream-index":"004"},"invite":{"description":"Whether this is an invite to become a member","title":"Invite","type":"boolean","x-stream-index":"005"},"membership_level":{"description":"ID of the membership level to assign to the member","maxLength":255,"title":"Membership Level","type":"string","x-stream-index":"003"},"role":{"description":"Role of the member in the feed","maxLength":255,"title":"Role","type":"string","x-stream-index":"002"},"user_id":{"description":"ID of the user to add as a member","maxLength":255,"title":"User ID","type":"string","x-stream-index":"001"}},"required":["user_id"],"title":"Feed Member Payload","type":"object"},"FeedMemberResponse":{"properties":{"created_at":{"description":"When the membership was created","format":"date-time","title":"Created At","type":"number","x-stream-index":"008"},"custom":{"additionalProperties":{},"description":"Custom data for the membership","title":"Custom Data","type":"object","x-stream-index":"007"},"invite_accepted_at":{"description":"When the invite was accepted","format":"date-time","title":"Invite Accepted At","type":"number","x-stream-index":"005"},"invite_rejected_at":{"description":"When the invite was rejected","format":"date-time","title":"Invite Rejected At","type":"number","x-stream-index":"006"},"membership_level":{"$ref":"#/components/schemas/MembershipLevelResponse","description":"Membership level assigned to the member","title":"Membership Level","x-stream-index":"004"},"role":{"description":"Role of the member in the feed","title":"Role","type":"string","x-stream-index":"002"},"status":{"description":"Status of the membership. One of: member, pending, rejected","enum":["member","pending","rejected"],"title":"Status","type":"string","x-stream-index":"003"},"updated_at":{"description":"When the membership was last updated","format":"date-time","title":"Updated At","type":"number","x-stream-index":"009"},"user":{"$ref":"#/components/schemas/UserResponse","description":"User who is a member","title":"User","x-stream-index":"001"}},"required":["user","role","status","created_at","updated_at"],"title":"Feed Member","type":"object"},"FeedMemberUpdatedEvent":{"description":"Emitted when a feed member is updated.","nullable":true,"properties":{"created_at":{"description":"Date/time of creation","format":"date-time","title":"Created at","type":"number","x-stream-index":"003.001.003"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"003.001.007"},"feed_visibility":{"type":"string","x-stream-index":"003.003"},"fid":{"type":"string","x-stream-index":"003.002"},"member":{"$ref":"#/components/schemas/FeedMemberResponse","description":"The member that was updated","title":"Member","x-stream-index":"001"},"received_at":{"format":"date-time","type":"number","x-stream-index":"003.001.004"},"type":{"default":"feeds.feed_member.updated","description":"The type of event: \"feeds.feed_member.updated\" in this case","title":"Event Type","type":"string","x-stream-index":"003.001.002"},"user":{"$ref":"#/components/schemas/UserResponseCommonFields","description":"The user who updated the member","title":"User","x-stream-index":"002.001"}},"required":["member","type","created_at","custom","fid"],"title":"FeedMemberUpdatedEvent","type":"object","x-stream-event-client-type":true,"x-stream-event-doc-group":"other","x-stream-is-event":true,"x-stream-throttle-group":"ordered","x-stream-ws-base-event-name":"VideoEvent"},"FeedOwnCapability":{"description":"All possibility of string to use","enum":["add-activity","add-activity-bookmark","add-activity-reaction","add-comment","add-comment-reaction","create-feed","delete-any-activity","delete-any-comment","delete-feed","delete-own-activity","delete-own-activity-bookmark","delete-own-activity-reaction","delete-own-comment","delete-own-comment-reaction","follow","pin-activity","query-feed-members","query-follows","read-activities","read-feed","unfollow","update-any-activity","update-any-comment","update-feed","update-feed-followers","update-feed-members","update-own-activity","update-own-activity-bookmark","update-own-comment"],"title":"FeedOwnCapability","type":"string"},"FeedOwnData":{"properties":{"own_capabilities":{"description":"Capabilities the current user has for this feed","items":{"$ref":"#/components/schemas/FeedOwnCapability"},"title":"Own Capabilities","type":"array","x-stream-index":"003"},"own_followings":{"description":"Follow relationships where the feed owner's feeds are following the current user's feeds (up to 5 total)","items":{"$ref":"#/components/schemas/FollowResponse"},"title":"Own Followings","type":"array","x-stream-index":"002"},"own_follows":{"description":"Follow relationships where the current user's feeds are following this feed","items":{"$ref":"#/components/schemas/FollowResponse"},"title":"Own Follows","type":"array","x-stream-index":"001"},"own_membership":{"$ref":"#/components/schemas/FeedMemberResponse","description":"Membership information for the current user in this feed","title":"Own Membership","x-stream-index":"004"}},"title":"Feed Own Data","type":"object"},"FeedRequest":{"properties":{"created_by_id":{"description":"ID of the feed creator","title":"Created By ID","type":"string","x-stream-index":"003"},"custom":{"additionalProperties":{},"description":"Custom data for the feed","title":"Custom Data","type":"object","x-stream-index":"004.004"},"description":{"description":"Description of the feed","maxLength":1000,"title":"Description","type":"string","x-stream-index":"004.002"},"feed_group_id":{"description":"ID of the feed group","maxLength":255,"title":"Feed Group ID","type":"string","x-stream-index":"001"},"feed_id":{"description":"ID of the feed","maxLength":255,"title":"Feed ID","type":"string","x-stream-index":"002"},"filter_tags":{"description":"Tags used for filtering feeds","items":{"type":"string"},"title":"Filter Tags","type":"array","x-stream-index":"004.005"},"members":{"description":"Initial members for the feed","items":{"$ref":"#/components/schemas/FeedMemberRequest"},"title":"Members","type":"array","x-stream-index":"004.006"},"name":{"description":"Name of the feed","maxLength":255,"title":"Name","type":"string","x-stream-index":"004.001"},"visibility":{"description":"Visibility setting for the feed. One of: public, visible, followers, members, private","enum":["public","visible","followers","members","private"],"title":"Visibility","type":"string","x-stream-index":"004.003"}},"required":["feed_group_id","feed_id"],"title":"Feed Payload","type":"object"},"FeedResponse":{"properties":{"activity_count":{"format":"int32","type":"integer","x-stream-index":"013"},"created_at":{"description":"When the feed was created","format":"date-time","title":"Created At","type":"number","x-stream-index":"019"},"created_by":{"$ref":"#/components/schemas/UserResponse","description":"User who created the feed","title":"Created By","x-stream-index":"009"},"custom":{"additionalProperties":{},"description":"Custom data for the feed","title":"Custom Data","type":"object","x-stream-index":"006"},"deleted_at":{"description":"When the feed was deleted","format":"date-time","title":"Deleted At","type":"number","x-stream-index":"021"},"description":{"description":"Description of the feed","title":"Description","type":"string","x-stream-index":"005"},"feed":{"description":"Fully qualified feed ID (group_id:id)","title":"FID","type":"string","x-stream-index":"003"},"filter_tags":{"description":"Tags used for filtering feeds","items":{"type":"string"},"title":"Filter Tags","type":"array","x-stream-index":"007"},"follower_count":{"description":"Number of followers of this feed","format":"int32","title":"Follower Count","type":"integer","x-stream-index":"011"},"following_count":{"description":"Number of feeds this feed follows","format":"int32","title":"Following Count","type":"integer","x-stream-index":"012"},"group_id":{"description":"Group this feed belongs to","title":"Group ID","type":"string","x-stream-index":"001"},"id":{"description":"Unique identifier for the feed","title":"ID","type":"string","x-stream-index":"002"},"member_count":{"description":"Number of members in this feed","format":"int32","title":"Member Count","type":"integer","x-stream-index":"010"},"name":{"description":"Name of the feed","title":"Name","type":"string","x-stream-index":"004"},"own_capabilities":{"description":"Capabilities the current user has for this feed","items":{"$ref":"#/components/schemas/FeedOwnCapability"},"title":"Own Capabilities","type":"array","x-stream-index":"017"},"own_followings":{"description":"Follow relationships where the feed owner’s feeds are following the current user's feeds","items":{"$ref":"#/components/schemas/FollowResponse"},"title":"Own Followings","type":"array","x-stream-index":"016"},"own_follows":{"description":"Follow relationships where the current user's feeds are following this feed","items":{"$ref":"#/components/schemas/FollowResponse"},"title":"Own Follows","type":"array","x-stream-index":"015"},"own_membership":{"$ref":"#/components/schemas/FeedMemberResponse","description":"Membership information for the current user in this feed","title":"Own Membership","x-stream-index":"018"},"pin_count":{"description":"Number of pinned activities in this feed","format":"int32","title":"Pin Count","type":"integer","x-stream-index":"014"},"updated_at":{"description":"When the feed was last updated","format":"date-time","title":"Updated At","type":"number","x-stream-index":"020"},"visibility":{"description":"Visibility setting for the feed","title":"Visibility","type":"string","x-stream-index":"008"}},"required":["group_id","id","feed","name","description","created_by","member_count","follower_count","following_count","activity_count","pin_count","created_at","updated_at"],"title":"Feed","type":"object"},"FeedSuggestionResponse":{"properties":{"activity_count":{"format":"int32","type":"integer","x-stream-index":"001.013"},"algorithm_scores":{"additionalProperties":{"format":"float","type":"number"},"type":"object","x-stream-index":"004"},"created_at":{"description":"When the feed was created","format":"date-time","title":"Created At","type":"number","x-stream-index":"001.019"},"created_by":{"$ref":"#/components/schemas/UserResponse","description":"User who created the feed","title":"Created By","x-stream-index":"001.009"},"custom":{"additionalProperties":{},"description":"Custom data for the feed","title":"Custom Data","type":"object","x-stream-index":"001.006"},"deleted_at":{"description":"When the feed was deleted","format":"date-time","title":"Deleted At","type":"number","x-stream-index":"001.021"},"description":{"description":"Description of the feed","title":"Description","type":"string","x-stream-index":"001.005"},"feed":{"description":"Fully qualified feed ID (group_id:id)","title":"FID","type":"string","x-stream-index":"001.003"},"filter_tags":{"description":"Tags used for filtering feeds","items":{"type":"string"},"title":"Filter Tags","type":"array","x-stream-index":"001.007"},"follower_count":{"description":"Number of followers of this feed","format":"int32","title":"Follower Count","type":"integer","x-stream-index":"001.011"},"following_count":{"description":"Number of feeds this feed follows","format":"int32","title":"Following Count","type":"integer","x-stream-index":"001.012"},"group_id":{"description":"Group this feed belongs to","title":"Group ID","type":"string","x-stream-index":"001.001"},"id":{"description":"Unique identifier for the feed","title":"ID","type":"string","x-stream-index":"001.002"},"member_count":{"description":"Number of members in this feed","format":"int32","title":"Member Count","type":"integer","x-stream-index":"001.010"},"name":{"description":"Name of the feed","title":"Name","type":"string","x-stream-index":"001.004"},"own_capabilities":{"description":"Capabilities the current user has for this feed","items":{"$ref":"#/components/schemas/FeedOwnCapability"},"title":"Own Capabilities","type":"array","x-stream-index":"001.017"},"own_followings":{"description":"Follow relationships where the feed owner’s feeds are following the current user's feeds","items":{"$ref":"#/components/schemas/FollowResponse"},"title":"Own Followings","type":"array","x-stream-index":"001.016"},"own_follows":{"description":"Follow relationships where the current user's feeds are following this feed","items":{"$ref":"#/components/schemas/FollowResponse"},"title":"Own Follows","type":"array","x-stream-index":"001.015"},"own_membership":{"$ref":"#/components/schemas/FeedMemberResponse","description":"Membership information for the current user in this feed","title":"Own Membership","x-stream-index":"001.018"},"pin_count":{"description":"Number of pinned activities in this feed","format":"int32","title":"Pin Count","type":"integer","x-stream-index":"001.014"},"reason":{"type":"string","x-stream-index":"003"},"recommendation_score":{"format":"float","type":"number","x-stream-index":"002"},"updated_at":{"description":"When the feed was last updated","format":"date-time","title":"Updated At","type":"number","x-stream-index":"001.020"},"visibility":{"description":"Visibility setting for the feed","title":"Visibility","type":"string","x-stream-index":"001.008"}},"required":["group_id","id","feed","name","description","created_by","member_count","follower_count","following_count","activity_count","pin_count","created_at","updated_at"],"title":"Feed","type":"object"},"FeedUpdatedEvent":{"description":"Emitted when a feed is created.","nullable":true,"properties":{"created_at":{"format":"date-time","type":"number","x-stream-index":"002.001.003"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"002.001.007"},"feed":{"$ref":"#/components/schemas/FeedResponse","description":"The feed that was created","title":"Feed","x-stream-index":"001"},"feed_visibility":{"type":"string","x-stream-index":"002.003"},"fid":{"type":"string","x-stream-index":"002.002"},"received_at":{"format":"date-time","type":"number","x-stream-index":"002.001.004"},"type":{"default":"feeds.feed.updated","description":"The type of event: \"feeds.feed.updated\" in this case","title":"Event Type","type":"string","x-stream-index":"002.001.002"},"user":{"$ref":"#/components/schemas/UserResponseCommonFields","description":"The user who created the feed","title":"User","x-stream-index":"003.001"}},"required":["feed","type","created_at","custom","fid"],"title":"FeedUpdatedEvent","type":"object","x-stream-event-client-type":true,"x-stream-event-doc-group":"other","x-stream-is-event":true,"x-stream-throttle-group":"ordered","x-stream-ws-base-event-name":"VideoEvent"},"FeedsPreferences":{"properties":{"comment":{"description":"Push notification preference for comments on user's activities. One of: all, none","enum":["all","none"],"title":"Comment","type":"string","x-stream-index":"002"},"comment_reaction":{"description":"Push notification preference for reactions on comments. One of: all, none","enum":["all","none"],"title":"Comment Reaction","type":"string","x-stream-index":"004"},"comment_reply":{"description":"Push notification preference for replies to comments. One of: all, none","enum":["all","none"],"title":"Comment Reply","type":"string","x-stream-index":"005"},"custom_activity_types":{"additionalProperties":{"type":"string"},"description":"Push notification preferences for custom activity types. Map of activity type to preference (all or none)","title":"Custom Activity Types","type":"object","x-stream-index":"007"},"follow":{"description":"Push notification preference for new followers. One of: all, none","enum":["all","none"],"title":"Follow","type":"string","x-stream-index":"001"},"mention":{"description":"Push notification preference for mentions in activities or comments. One of: all, none","enum":["all","none"],"title":"Mention","type":"string","x-stream-index":"006"},"reaction":{"description":"Push notification preference for reactions on user's activities or comments. One of: all, none","enum":["all","none"],"title":"Reaction","type":"string","x-stream-index":"003"}},"title":"Feeds Preferences","type":"object"},"FeedsPreferencesResponse":{"properties":{"comment":{"type":"string","x-stream-index":"002"},"comment_reaction":{"type":"string","x-stream-index":"004"},"comment_reply":{"type":"string","x-stream-index":"005"},"custom_activity_types":{"additionalProperties":{"type":"string"},"type":"object","x-stream-index":"007"},"follow":{"type":"string","x-stream-index":"001"},"mention":{"type":"string","x-stream-index":"006"},"reaction":{"type":"string","x-stream-index":"003"}},"type":"object"},"FeedsReactionGroupResponse":{"properties":{"count":{"description":"Number of reactions in this group","format":"int32","title":"Count","type":"integer","x-stream-index":"001"},"first_reaction_at":{"description":"Time of the first reaction","format":"date-time","title":"First Reaction At","type":"number","x-stream-index":"002"},"last_reaction_at":{"description":"Time of the most recent reaction","format":"date-time","title":"Last Reaction At","type":"number","x-stream-index":"003"}},"required":["count","first_reaction_at","last_reaction_at"],"title":"FeedsReactionGroupResponse","type":"object"},"FeedsReactionResponse":{"properties":{"activity_id":{"description":"ID of the activity that was reacted to","title":"Activity ID","type":"string","x-stream-index":"002"},"comment_id":{"description":"ID of the comment that was reacted to","title":"Comment ID","type":"string","x-stream-index":"003"},"created_at":{"description":"When the reaction was created","format":"date-time","title":"Created At","type":"number","x-stream-index":"006"},"custom":{"additionalProperties":{},"description":"Custom data for the reaction","title":"Custom Data","type":"object","x-stream-index":"005"},"type":{"description":"Type of reaction","title":"Type","type":"string","x-stream-index":"004"},"updated_at":{"description":"When the reaction was last updated","format":"date-time","title":"Updated At","type":"number","x-stream-index":"007"},"user":{"$ref":"#/components/schemas/UserResponse","description":"User who created the reaction","title":"User","x-stream-index":"001"}},"required":["user","activity_id","type","created_at","updated_at"],"title":"Activity Reaction","type":"object"},"Field":{"nullable":true,"properties":{"short":{"type":"boolean","x-stream-index":"003"},"title":{"type":"string","x-stream-index":"001"},"value":{"type":"string","x-stream-index":"002"}},"required":["title","value","short"],"type":"object"},"FileUploadConfig":{"properties":{"allowed_file_extensions":{"items":{"type":"string"},"type":"array","x-stream-index":"001"},"allowed_mime_types":{"items":{"type":"string"},"type":"array","x-stream-index":"003"},"blocked_file_extensions":{"items":{"type":"string"},"type":"array","x-stream-index":"002"},"blocked_mime_types":{"items":{"type":"string"},"type":"array","x-stream-index":"004"},"size_limit":{"format":"int32","maximum":104857600,"minimum":0,"type":"integer","x-stream-index":"005"}},"required":["allowed_file_extensions","blocked_file_extensions","allowed_mime_types","blocked_mime_types","size_limit"],"type":"object"},"FileUploadRequest":{"nullable":true,"properties":{"file":{"description":"file field","title":"File","type":"string","x-stream-index":"001"},"user":{"$ref":"#/components/schemas/OnlyUserID","description":"user for the request **server side only**","title":"User","x-stream-index":"002"}},"type":"object"},"FileUploadResponse":{"nullable":true,"properties":{"duration":{"description":"Duration of the request in milliseconds","title":"Duration","type":"string","x-stream-index":"003.001"},"file":{"description":"URL to the uploaded asset. Should be used to put to `asset_url` attachment field","title":"File","type":"string","x-stream-index":"001"},"thumb_url":{"description":"URL of the file thumbnail for supported file formats. Should be put to `thumb_url` attachment field","title":"Thumbnail URL","type":"string","x-stream-index":"002"}},"required":["duration"],"type":"object"},"FilterConfigResponse":{"properties":{"ai_text_labels":{"items":{"type":"string"},"type":"array","x-stream-index":"002"},"llm_labels":{"items":{"type":"string"},"type":"array","x-stream-index":"001"}},"required":["llm_labels"],"type":"object"},"FlagCountRuleParameters":{"properties":{"threshold":{"format":"int32","type":"integer","x-stream-index":"001"}},"type":"object"},"FlagRequest":{"nullable":true,"properties":{"custom":{"additionalProperties":{},"description":"Additional metadata about the flag","title":"Custom","type":"object","x-stream-index":"006"},"entity_creator_id":{"description":"ID of the user who created the flagged entity","title":"Entity Creator ID","type":"string","x-stream-index":"003"},"entity_id":{"description":"Unique identifier of the entity being flagged","title":"Entity ID","type":"string","x-stream-index":"002"},"entity_type":{"description":"Type of entity being flagged (e.g., message, user)","title":"Entity Type","type":"string","x-stream-index":"001"},"moderation_payload":{"$ref":"#/components/schemas/ModerationPayload","description":"Content being flagged","title":"Moderation Payload","x-stream-index":"005"},"reason":{"description":"Optional explanation for why the content is being flagged","maxLength":255,"title":"Reason","type":"string","x-stream-index":"004"}},"required":["entity_type","entity_id"],"type":"object"},"FlagResponse":{"nullable":true,"properties":{"duration":{"type":"string","x-stream-index":"002.001"},"item_id":{"description":"Unique identifier of the created moderation item","title":"Item ID","type":"string","x-stream-index":"001"}},"required":["item_id","duration"],"type":"object"},"FlagUserOptions":{"properties":{"reason":{"type":"string","x-stream-index":"001"}},"type":"object"},"FollowBatchRequest":{"nullable":true,"properties":{"follows":{"description":"List of follow relationships to create","items":{"$ref":"#/components/schemas/FollowRequest"},"maxItems":1000,"minItems":1,"title":"Follows","type":"array","x-stream-index":"001"}},"required":["follows"],"title":"Follow Batch Request","type":"object"},"FollowBatchResponse":{"nullable":true,"properties":{"created":{"description":"List of newly created follow relationships","items":{"$ref":"#/components/schemas/FollowResponse"},"title":"Created","type":"array","x-stream-index":"002"},"duration":{"type":"string","x-stream-index":"003.001"},"follows":{"description":"List of current follow relationships","items":{"$ref":"#/components/schemas/FollowResponse"},"title":"Follows","type":"array","x-stream-index":"001"}},"required":["follows","created","duration"],"title":"Follow Batch Response","type":"object"},"FollowCreatedEvent":{"description":"Emitted when a feed follows another feed.","nullable":true,"properties":{"created_at":{"description":"Date/time of creation","format":"date-time","title":"Created at","type":"number","x-stream-index":"002.001.003"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"002.001.007"},"feed_visibility":{"type":"string","x-stream-index":"002.003"},"fid":{"type":"string","x-stream-index":"002.002"},"follow":{"$ref":"#/components/schemas/FollowResponse","x-stream-index":"001"},"received_at":{"format":"date-time","type":"number","x-stream-index":"002.001.004"},"type":{"default":"feeds.follow.created","description":"The type of event: \"feeds.follow.created\" in this case","title":"Event Type","type":"string","x-stream-index":"002.001.002"}},"required":["follow","type","created_at","custom","fid"],"title":"FollowCreatedEvent","type":"object","x-stream-event-client-type":true,"x-stream-event-doc-group":"other","x-stream-is-event":true,"x-stream-throttle-group":"ordered","x-stream-ws-base-event-name":"VideoEvent"},"FollowDeletedEvent":{"description":"Emitted when a feed unfollows another feed.","nullable":true,"properties":{"created_at":{"description":"Date/time of creation","format":"date-time","title":"Created at","type":"number","x-stream-index":"002.001.003"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"002.001.007"},"feed_visibility":{"type":"string","x-stream-index":"002.003"},"fid":{"type":"string","x-stream-index":"002.002"},"follow":{"$ref":"#/components/schemas/FollowResponse","x-stream-index":"001"},"received_at":{"format":"date-time","type":"number","x-stream-index":"002.001.004"},"type":{"default":"feeds.follow.deleted","description":"The type of event: \"feeds.follow.deleted\" in this case","title":"Event Type","type":"string","x-stream-index":"002.001.002"}},"required":["follow","type","created_at","custom","fid"],"title":"FollowDeletedEvent","type":"object","x-stream-event-client-type":true,"x-stream-event-doc-group":"other","x-stream-is-event":true,"x-stream-throttle-group":"ordered","x-stream-ws-base-event-name":"VideoEvent"},"FollowPair":{"properties":{"source":{"description":"Fully qualified ID of the source feed","maxLength":255,"title":"Source Feed","type":"string","x-stream-index":"001"},"target":{"description":"Fully qualified ID of the target feed","maxLength":255,"title":"Target Feed","type":"string","x-stream-index":"002"}},"required":["source","target"],"title":"FollowPair","type":"object"},"FollowRequest":{"nullable":true,"properties":{"copy_custom_to_notification":{"description":"Whether to copy custom data to the notification activity (only applies when create_notification_activity is true)","title":"Copy Custom To Notification","type":"boolean","x-stream-index":"005"},"create_notification_activity":{"description":"Whether to create a notification activity for this follow","title":"Create Notification Activity","type":"boolean","x-stream-index":"004"},"custom":{"additionalProperties":{},"description":"Custom data for the follow relationship","title":"Custom Data","type":"object","x-stream-index":"002"},"push_preference":{"description":"Push preference for the follow relationship","enum":["all","none"],"title":"Push Preference","type":"string","x-stream-index":"003"},"skip_push":{"description":"Whether to skip push for this follow","title":"Skip Push","type":"boolean","x-stream-index":"006"},"source":{"description":"Fully qualified ID of the source feed","maxLength":255,"title":"Source Feed","type":"string","x-stream-index":"001.001"},"target":{"description":"Fully qualified ID of the target feed","maxLength":255,"title":"Target Feed","type":"string","x-stream-index":"001.002"}},"required":["source","target"],"title":"Follow Request","type":"object"},"FollowResponse":{"properties":{"created_at":{"description":"When the follow relationship was created","format":"date-time","title":"Created At","type":"number","x-stream-index":"009"},"custom":{"additionalProperties":{},"description":"Custom data for the follow relationship","title":"Custom Data","type":"object","x-stream-index":"004"},"follower_role":{"description":"Role of the follower (source user) in the follow relationship","title":"Follower Role","type":"string","x-stream-index":"008"},"push_preference":{"description":"Push preference for notifications. One of: all, none","enum":["all","none"],"title":"Push Preference","type":"string","x-stream-index":"003"},"request_accepted_at":{"description":"When the follow request was accepted","format":"date-time","title":"Request Accepted At","type":"number","x-stream-index":"005"},"request_rejected_at":{"description":"When the follow request was rejected","format":"date-time","title":"Request Rejected At","type":"number","x-stream-index":"006"},"source_feed":{"$ref":"#/components/schemas/FeedResponse","description":"Source feed object","title":"Source Feed","x-stream-index":"001"},"status":{"description":"Status of the follow relationship. One of: accepted, pending, rejected","enum":["accepted","pending","rejected"],"title":"Status","type":"string","x-stream-index":"007"},"target_feed":{"$ref":"#/components/schemas/FeedResponse","description":"Target feed object","title":"Target Feed","x-stream-index":"002"},"updated_at":{"description":"When the follow relationship was last updated","format":"date-time","title":"Updated At","type":"number","x-stream-index":"010"}},"required":["source_feed","target_feed","push_preference","status","follower_role","created_at","updated_at"],"title":"Follow","type":"object"},"FollowUpdatedEvent":{"description":"Emitted when a follow relationship is updated.","nullable":true,"properties":{"created_at":{"description":"Date/time of creation","format":"date-time","title":"Created at","type":"number","x-stream-index":"002.001.003"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"002.001.007"},"feed_visibility":{"type":"string","x-stream-index":"002.003"},"fid":{"type":"string","x-stream-index":"002.002"},"follow":{"$ref":"#/components/schemas/FollowResponse","x-stream-index":"001"},"received_at":{"format":"date-time","type":"number","x-stream-index":"002.001.004"},"type":{"default":"feeds.follow.updated","description":"The type of event: \"feeds.follow.updated\" in this case","title":"Event Type","type":"string","x-stream-index":"002.001.002"}},"required":["follow","type","created_at","custom","fid"],"title":"FollowUpdatedEvent","type":"object","x-stream-event-client-type":true,"x-stream-event-doc-group":"other","x-stream-is-event":true,"x-stream-throttle-group":"ordered","x-stream-ws-base-event-name":"VideoEvent"},"FrameRecordingResponse":{"properties":{"status":{"type":"string","x-stream-index":"001"}},"required":["status"],"type":"object"},"FrameRecordingSettingsResponse":{"properties":{"capture_interval_in_seconds":{"format":"int32","maximum":60,"minimum":2,"type":"integer","x-stream-index":"003"},"mode":{"enum":["available","disabled","auto-on"],"type":"string","x-stream-index":"001"},"quality":{"type":"string","x-stream-index":"002"}},"required":["mode","capture_interval_in_seconds"],"type":"object"},"FriendReactionsOptions":{"description":"Options to control fetching reactions from friends (users you follow or have mutual follows with).","properties":{"enabled":{"description":"Default: false. When true, fetches friend reactions for activities.","title":"Enabled","type":"boolean","x-stream-index":"001"},"limit":{"description":"Default: 3, Max: 10. The maximum number of friend reactions to return per activity.","format":"int32","maximum":10,"minimum":1,"title":"Limit","type":"integer","x-stream-index":"003"},"type":{"description":"Default: 'following'. The type of friend relationship to use. 'following' = users you follow, 'mutual' = users with mutual follows. One of: following, mutual","enum":["following","mutual"],"title":"Friend Type","type":"string","x-stream-index":"002"}},"title":"Friend Reactions Options","type":"object"},"FullUserResponse":{"properties":{"avg_response_time":{"format":"int32","type":"integer","x-stream-index":"001.018"},"ban_expires":{"format":"date-time","type":"number","x-stream-index":"015"},"banned":{"type":"boolean","x-stream-index":"001.012"},"blocked_user_ids":{"items":{"type":"string"},"type":"array","x-stream-index":"014"},"channel_mutes":{"items":{"$ref":"#/components/schemas/ChannelMute"},"type":"array","x-stream-index":"007"},"created_at":{"format":"date-time","type":"number","x-stream-index":"001.009"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"001.004"},"deactivated_at":{"format":"date-time","type":"number","x-stream-index":"001.016"},"deleted_at":{"format":"date-time","type":"number","x-stream-index":"001.011"},"devices":{"items":{"$ref":"#/components/schemas/DeviceResponse"},"type":"array","x-stream-index":"004"},"id":{"type":"string","x-stream-index":"001.001"},"image":{"type":"string","x-stream-index":"001.003"},"invisible":{"type":"boolean","x-stream-index":"005"},"language":{"type":"string","x-stream-index":"001.005"},"last_active":{"format":"date-time","type":"number","x-stream-index":"001.014"},"latest_hidden_channels":{"items":{"type":"string"},"type":"array","x-stream-index":"012"},"mutes":{"items":{"$ref":"#/components/schemas/UserMuteResponse"},"type":"array","x-stream-index":"006"},"name":{"type":"string","x-stream-index":"001.002"},"online":{"type":"boolean","x-stream-index":"001.013"},"privacy_settings":{"$ref":"#/components/schemas/PrivacySettingsResponse","x-stream-index":"003"},"revoke_tokens_issued_before":{"format":"date-time","type":"number","x-stream-index":"001.015"},"role":{"type":"string","x-stream-index":"001.006"},"shadow_banned":{"type":"boolean","x-stream-index":"013"},"teams":{"items":{"type":"string"},"type":"array","x-stream-index":"001.007"},"teams_role":{"additionalProperties":{"type":"string"},"type":"object","x-stream-index":"001.008"},"total_unread_count":{"format":"int32","type":"integer","x-stream-index":"009"},"unread_channels":{"format":"int32","type":"integer","x-stream-index":"010"},"unread_count":{"format":"int32","type":"integer","x-stream-index":"008"},"unread_threads":{"format":"int32","type":"integer","x-stream-index":"011"},"updated_at":{"format":"date-time","type":"number","x-stream-index":"001.010"}},"required":["id","custom","language","role","teams","created_at","updated_at","banned","online","devices","invisible","mutes","channel_mutes","unread_count","total_unread_count","unread_channels","unread_threads","shadow_banned","blocked_user_ids"],"type":"object"},"GeofenceSettingsResponse":{"properties":{"names":{"items":{"type":"string"},"type":"array","x-stream-index":"001"}},"required":["names"],"type":"object"},"GetActivityResponse":{"nullable":true,"properties":{"activity":{"$ref":"#/components/schemas/ActivityResponse","description":"The requested activity","title":"Activity","x-stream-index":"001"},"duration":{"type":"string","x-stream-index":"002.001"}},"required":["activity","duration"],"title":"Get Activity Response","type":"object"},"GetAppealResponse":{"nullable":true,"properties":{"duration":{"type":"string","x-stream-index":"002.001"},"item":{"$ref":"#/components/schemas/AppealItemResponse","description":"Current state of the appeal","title":"Item","x-stream-index":"001"}},"required":["duration"],"type":"object"},"GetApplicationResponse":{"description":"Basic response information","nullable":true,"properties":{"app":{"$ref":"#/components/schemas/AppResponseFields","x-stream-index":"001"},"duration":{"description":"Duration of the request in milliseconds","title":"Duration","type":"string","x-stream-index":"002.001"}},"required":["app","duration"],"title":"Response","type":"object"},"GetBlockedUsersResponse":{"nullable":true,"properties":{"blocks":{"description":"Array of blocked user object","items":{"$ref":"#/components/schemas/BlockedUserResponse"},"title":"Blocks","type":"array","x-stream-index":"001"},"duration":{"description":"Duration of the request in milliseconds","title":"Duration","type":"string","x-stream-index":"002.001"}},"required":["blocks","duration"],"type":"object"},"GetCommentRepliesResponse":{"nullable":true,"properties":{"comments":{"description":"Threaded listing of replies to the comment","items":{"$ref":"#/components/schemas/ThreadedCommentResponse"},"title":"Comments","type":"array","x-stream-index":"001"},"duration":{"type":"string","x-stream-index":"004.001"},"next":{"type":"string","x-stream-index":"003.001"},"prev":{"type":"string","x-stream-index":"003.002"},"sort":{"description":"Sort order used for the replies (first, last, top, best, controversial)","title":"Sort Order","type":"string","x-stream-index":"002"}},"required":["comments","sort","duration"],"title":"Get Comment Replies Response","type":"object"},"GetCommentResponse":{"nullable":true,"properties":{"comment":{"$ref":"#/components/schemas/CommentResponse","description":"Comment","title":"Comment","x-stream-index":"001"},"duration":{"type":"string","x-stream-index":"002.001"}},"required":["comment","duration"],"title":"Get Comment Response","type":"object"},"GetCommentsResponse":{"nullable":true,"properties":{"comments":{"description":"Threaded listing for the activity","items":{"$ref":"#/components/schemas/ThreadedCommentResponse"},"title":"Comments","type":"array","x-stream-index":"001"},"duration":{"type":"string","x-stream-index":"004.001"},"next":{"type":"string","x-stream-index":"003.001"},"prev":{"type":"string","x-stream-index":"003.002"},"sort":{"description":"Sort order used for the comments (first, last, top, best, controversial)","title":"Sort Order","type":"string","x-stream-index":"002"}},"required":["comments","sort","duration"],"title":"Get Comments Response","type":"object"},"GetConfigResponse":{"nullable":true,"properties":{"config":{"$ref":"#/components/schemas/ConfigResponse","description":"The retrieved moderation configuration","title":"Config","x-stream-index":"001"},"duration":{"type":"string","x-stream-index":"002.001"}},"required":["duration"],"type":"object"},"GetFollowSuggestionsResponse":{"nullable":true,"properties":{"algorithm_used":{"type":"string","x-stream-index":"002"},"duration":{"type":"string","x-stream-index":"003.001"},"suggestions":{"description":"List of suggested feeds to follow","items":{"$ref":"#/components/schemas/FeedSuggestionResponse"},"title":"Suggestions","type":"array","x-stream-index":"001"}},"required":["suggestions","duration"],"title":"Follow Suggestions Response","type":"object"},"GetOGResponse":{"nullable":true,"properties":{"actions":{"items":{"$ref":"#/components/schemas/Action"},"type":"array","x-stream-index":"001.015"},"asset_url":{"description":"URL of detected video or audio","title":"Image URL","type":"string","x-stream-index":"001.017"},"author_icon":{"type":"string","x-stream-index":"001.007"},"author_link":{"description":"og:site","title":"Author Link","type":"string","x-stream-index":"001.006"},"author_name":{"description":"og:site_name","title":"Author Name","type":"string","x-stream-index":"001.005"},"color":{"type":"string","x-stream-index":"001.003"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"001.018"},"duration":{"type":"string","x-stream-index":"002.001"},"fallback":{"type":"string","x-stream-index":"001.002"},"fields":{"items":{"$ref":"#/components/schemas/Field"},"type":"array","x-stream-index":"001.016"},"footer":{"type":"string","x-stream-index":"001.013"},"footer_icon":{"type":"string","x-stream-index":"001.014"},"giphy":{"$ref":"#/components/schemas/Images","x-stream-index":"001.019"},"image_url":{"description":"URL of detected image","title":"Image URL","type":"string","x-stream-index":"001.011"},"og_scrape_url":{"description":"extracted url from the text","title":"OG Scrape URL","type":"string","x-stream-index":"001.020"},"original_height":{"format":"int32","type":"integer","x-stream-index":"001.022"},"original_width":{"format":"int32","type":"integer","x-stream-index":"001.021"},"pretext":{"type":"string","x-stream-index":"001.004"},"text":{"description":"og:description","title":"Text","type":"string","x-stream-index":"001.010"},"thumb_url":{"description":"URL of detected thumb image","title":"Image URL","type":"string","x-stream-index":"001.012"},"title":{"description":"og:title","title":"Title","type":"string","x-stream-index":"001.008"},"title_link":{"description":"og:url","title":"Title Link","type":"string","x-stream-index":"001.009"},"type":{"description":"Attachment type, could be empty, image, audio or video","title":"Type","type":"string","x-stream-index":"001.001"}},"required":["custom","duration"],"title":"Get OG Attachment","type":"object","x-stream-docs-page-id":"og"},"GetOrCreateFeedRequest":{"description":"Client request","nullable":true,"properties":{"data":{"$ref":"#/components/schemas/FeedInput","x-stream-index":"003"},"enrichment_options":{"$ref":"#/components/schemas/EnrichmentOptions","x-stream-index":"012"},"external_ranking":{"additionalProperties":{},"type":"object","x-stream-index":"006"},"filter":{"additionalProperties":{},"type":"object","x-stream-index":"008"},"followers_pagination":{"$ref":"#/components/schemas/PagerRequest","x-stream-index":"010"},"following_pagination":{"$ref":"#/components/schemas/PagerRequest","x-stream-index":"011"},"friend_reactions_options":{"$ref":"#/components/schemas/FriendReactionsOptions","x-stream-index":"013"},"id_around":{"type":"string","x-stream-index":"014.004"},"interest_weights":{"additionalProperties":{"format":"float","type":"number"},"type":"object","x-stream-index":"007"},"limit":{"format":"int32","maximum":100,"minimum":0,"type":"integer","x-stream-index":"014.001"},"member_pagination":{"$ref":"#/components/schemas/PagerRequest","x-stream-index":"009"},"next":{"type":"string","x-stream-index":"014.002"},"prev":{"type":"string","x-stream-index":"014.003"},"view":{"type":"string","x-stream-index":"005"},"watch":{"type":"boolean","x-stream-index":"004"}},"title":"ClientRequest","type":"object"},"GetOrCreateFeedResponse":{"description":"Basic response information","nullable":true,"properties":{"activities":{"items":{"$ref":"#/components/schemas/ActivityResponse"},"type":"array","x-stream-index":"002"},"aggregated_activities":{"items":{"$ref":"#/components/schemas/AggregatedActivityResponse"},"type":"array","x-stream-index":"003"},"created":{"type":"boolean","x-stream-index":"012"},"duration":{"description":"Duration of the request in milliseconds","title":"Duration","type":"string","x-stream-index":"014.001"},"feed":{"$ref":"#/components/schemas/FeedResponse","x-stream-index":"001"},"followers":{"items":{"$ref":"#/components/schemas/FollowResponse"},"type":"array","x-stream-index":"005"},"followers_pagination":{"$ref":"#/components/schemas/PagerResponse","x-stream-index":"009"},"following":{"items":{"$ref":"#/components/schemas/FollowResponse"},"type":"array","x-stream-index":"006"},"following_pagination":{"$ref":"#/components/schemas/PagerResponse","x-stream-index":"010"},"member_pagination":{"$ref":"#/components/schemas/PagerResponse","x-stream-index":"008"},"members":{"items":{"$ref":"#/components/schemas/FeedMemberResponse"},"type":"array","x-stream-index":"004"},"next":{"type":"string","x-stream-index":"013.001"},"notification_status":{"$ref":"#/components/schemas/NotificationStatusResponse","x-stream-index":"011"},"pinned_activities":{"items":{"$ref":"#/components/schemas/ActivityPinResponse"},"type":"array","x-stream-index":"007"},"prev":{"type":"string","x-stream-index":"013.002"}},"required":["feed","activities","aggregated_activities","members","followers","following","pinned_activities","created","duration"],"title":"Response","type":"object"},"GoogleVisionConfig":{"properties":{"enabled":{"type":"boolean","x-stream-index":"001"}},"type":"object"},"HLSSettingsResponse":{"description":"HLSSettings is the payload for HLS settings","properties":{"auto_on":{"title":"Auto On","type":"boolean","x-stream-index":"001"},"enabled":{"title":"Enabled","type":"boolean","x-stream-index":"002"},"quality_tracks":{"items":{"type":"string"},"title":"Quality Tracks","type":"array","x-stream-index":"003"}},"required":["auto_on","enabled","quality_tracks","layout"],"title":"HLSSettingsResponse","type":"object"},"HarmConfig":{"properties":{"action_sequences":{"items":{"$ref":"#/components/schemas/ActionSequence"},"type":"array","x-stream-index":"001"},"cooldown_period":{"format":"int32","type":"integer","x-stream-index":"005"},"harm_types":{"items":{"type":"string"},"type":"array","x-stream-index":"003"},"severity":{"type":"integer","x-stream-index":"002"},"threshold":{"format":"int32","type":"integer","x-stream-index":"004"}},"required":["action_sequences","severity","harm_types","threshold","cooldown_period"],"type":"object"},"HealthCheckEvent":{"nullable":true,"properties":{"cid":{"type":"string","x-stream-index":"003"},"connection_id":{"type":"string","x-stream-index":"001"},"created_at":{"format":"date-time","type":"number","x-stream-index":"004.003"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"004.007"},"me":{"$ref":"#/components/schemas/OwnUserResponse","x-stream-index":"002"},"received_at":{"format":"date-time","type":"number","x-stream-index":"004.004"},"type":{"default":"health.check","type":"string","x-stream-index":"004.002"}},"required":["connection_id","type","created_at","custom"],"title":"HealthCheckEvent","type":"object","x-stream-event-client-type":true,"x-stream-event-doc-group":"other","x-stream-is-event":true,"x-stream-throttle-group":"critical","x-stream-ws-base-event-name":"VideoEvent"},"ImageContentParameters":{"properties":{"harm_labels":{"items":{"type":"string"},"type":"array","x-stream-index":"001"}},"type":"object"},"ImageData":{"properties":{"frames":{"type":"string","x-stream-index":"005"},"height":{"type":"string","x-stream-index":"003"},"size":{"type":"string","x-stream-index":"004"},"url":{"type":"string","x-stream-index":"001"},"width":{"type":"string","x-stream-index":"002"}},"required":["url","width","height","size","frames"],"type":"object"},"ImageRuleParameters":{"properties":{"harm_labels":{"items":{"type":"string"},"type":"array","x-stream-index":"003"},"threshold":{"format":"int32","type":"integer","x-stream-index":"001"},"time_window":{"type":"string","x-stream-index":"002"}},"type":"object"},"ImageSize":{"properties":{"crop":{"description":"Crop mode. One of: top, bottom, left, right, center","title":"Crop","type":"string","x-stream-index":"001"},"height":{"description":"Target image height","format":"int32","title":"Height","type":"integer","x-stream-index":"003"},"resize":{"description":"Resize method. One of: clip, crop, scale, fill","title":"Resize","type":"string","x-stream-index":"002"},"width":{"description":"Target image width","format":"int32","title":"Width","type":"integer","x-stream-index":"004"}},"title":"Image size configuration","type":"object"},"ImageUploadRequest":{"nullable":true,"properties":{"file":{"type":"string","x-stream-index":"001.001"},"upload_sizes":{"description":"field with JSON-encoded array of image size configurations","items":{"$ref":"#/components/schemas/ImageSize"},"title":"Upload sizes","type":"array","x-stream-index":"002"},"user":{"$ref":"#/components/schemas/OnlyUserID","x-stream-index":"001.002"}},"type":"object"},"ImageUploadResponse":{"nullable":true,"properties":{"duration":{"description":"Duration of the request in milliseconds","title":"Duration","type":"string","x-stream-index":"001.003.001"},"file":{"type":"string","x-stream-index":"001.001"},"thumb_url":{"type":"string","x-stream-index":"001.002"},"upload_sizes":{"description":"Array of image size configurations","items":{"$ref":"#/components/schemas/ImageSize"},"title":"Upload sizes","type":"array","x-stream-index":"002"}},"required":["duration"],"type":"object"},"Images":{"properties":{"fixed_height":{"$ref":"#/components/schemas/ImageData","x-stream-index":"002"},"fixed_height_downsampled":{"$ref":"#/components/schemas/ImageData","x-stream-index":"004"},"fixed_height_still":{"$ref":"#/components/schemas/ImageData","x-stream-index":"003"},"fixed_width":{"$ref":"#/components/schemas/ImageData","x-stream-index":"005"},"fixed_width_downsampled":{"$ref":"#/components/schemas/ImageData","x-stream-index":"007"},"fixed_width_still":{"$ref":"#/components/schemas/ImageData","x-stream-index":"006"},"original":{"$ref":"#/components/schemas/ImageData","x-stream-index":"001"}},"required":["original","fixed_height","fixed_height_still","fixed_height_downsampled","fixed_width","fixed_width_still","fixed_width_downsampled"],"type":"object"},"IndividualRecordingResponse":{"properties":{"status":{"type":"string","x-stream-index":"001"}},"required":["status"],"type":"object"},"IndividualRecordingSettingsResponse":{"properties":{"mode":{"enum":["available","disabled","auto-on"],"type":"string","x-stream-index":"001"}},"required":["mode"],"type":"object"},"IngressAudioEncodingResponse":{"properties":{"bitrate":{"format":"int32","type":"integer","x-stream-index":"003"},"channels":{"format":"int32","type":"integer","x-stream-index":"001"},"enable_dtx":{"type":"boolean","x-stream-index":"002"}},"required":["channels","enable_dtx","bitrate"],"type":"object"},"IngressSettingsResponse":{"properties":{"audio_encoding_options":{"$ref":"#/components/schemas/IngressAudioEncodingResponse","x-stream-index":"002"},"enabled":{"type":"boolean","x-stream-index":"001"},"video_encoding_options":{"additionalProperties":{"$ref":"#/components/schemas/IngressVideoEncodingResponse"},"type":"object","x-stream-index":"003"}},"required":["enabled"],"type":"object"},"IngressSourceResponse":{"properties":{"fps":{"type":"integer","x-stream-index":"003"},"height":{"type":"integer","x-stream-index":"002"},"width":{"type":"integer","x-stream-index":"001"}},"required":["width","height","fps"],"type":"object"},"IngressVideoEncodingResponse":{"properties":{"layers":{"items":{"$ref":"#/components/schemas/IngressVideoLayerResponse"},"type":"array","x-stream-index":"002"},"source":{"$ref":"#/components/schemas/IngressSourceResponse","x-stream-index":"001"}},"required":["source","layers"],"type":"object"},"IngressVideoLayerResponse":{"nullable":true,"properties":{"bitrate":{"type":"integer","x-stream-index":"002"},"codec":{"type":"string","x-stream-index":"001"},"frame_rate_limit":{"type":"integer","x-stream-index":"005"},"max_dimension":{"type":"integer","x-stream-index":"004"},"min_dimension":{"type":"integer","x-stream-index":"003"}},"required":["codec","bitrate","min_dimension","max_dimension","frame_rate_limit"],"type":"object"},"KeyframeRuleParameters":{"properties":{"harm_labels":{"items":{"type":"string"},"type":"array","x-stream-index":"001"},"min_confidence":{"format":"float","type":"number","x-stream-index":"003"},"threshold":{"format":"int32","type":"integer","x-stream-index":"002"}},"type":"object"},"LLMConfig":{"properties":{"app_context":{"type":"string","x-stream-index":"005"},"async":{"type":"boolean","x-stream-index":"001"},"enabled":{"type":"boolean","x-stream-index":"002"},"rules":{"items":{"$ref":"#/components/schemas/LLMRule"},"type":"array","x-stream-index":"003"},"severity_descriptions":{"additionalProperties":{"type":"string"},"type":"object","x-stream-index":"004"}},"required":["enabled","rules"],"type":"object"},"LLMRule":{"properties":{"action":{"enum":["flag","shadow","remove","bounce","bounce_flag","bounce_remove","keep"],"type":"string","x-stream-index":"003"},"description":{"type":"string","x-stream-index":"002"},"label":{"type":"string","x-stream-index":"001"},"severity_rules":{"items":{"$ref":"#/components/schemas/BodyguardSeverityRule"},"type":"array","x-stream-index":"004"}},"required":["label","description","action","severity_rules"],"type":"object"},"LabelThresholds":{"properties":{"block":{"description":"Threshold for automatic message block","format":"float","maximum":1,"minimum":0,"title":"Block","type":"number","x-stream-index":"002"},"flag":{"description":"Threshold for automatic message flag","format":"float","maximum":1,"minimum":0,"title":"Flag","type":"number","x-stream-index":"001"}},"type":"object"},"LimitsSettingsResponse":{"properties":{"max_duration_seconds":{"format":"int32","type":"integer","x-stream-index":"004"},"max_participants":{"format":"int32","type":"integer","x-stream-index":"001"},"max_participants_exclude_owner":{"type":"boolean","x-stream-index":"003"},"max_participants_exclude_roles":{"items":{"type":"string"},"type":"array","x-stream-index":"002"}},"required":["max_participants_exclude_roles"],"type":"object"},"ListBlockListResponse":{"description":"Basic response information","nullable":true,"properties":{"blocklists":{"items":{"$ref":"#/components/schemas/BlockListResponse"},"type":"array","x-stream-index":"001"},"duration":{"description":"Duration of the request in milliseconds","title":"Duration","type":"string","x-stream-index":"002.001"}},"required":["blocklists","duration"],"title":"Response","type":"object"},"ListDevicesResponse":{"description":"List devices response","nullable":true,"properties":{"devices":{"description":"List of devices","items":{"$ref":"#/components/schemas/DeviceResponse"},"title":"Devices","type":"array","x-stream-index":"001"},"duration":{"type":"string","x-stream-index":"002.001"}},"required":["devices","duration"],"title":"ListDevicesResponse","type":"object"},"MarkActivityRequest":{"nullable":true,"properties":{"mark_all_read":{"description":"Whether to mark all activities as read","title":"Mark All Read","type":"boolean","x-stream-index":"005"},"mark_all_seen":{"description":"Whether to mark all activities as seen","title":"Mark All Seen","type":"boolean","x-stream-index":"003"},"mark_read":{"description":"List of activity IDs to mark as read","items":{"type":"string"},"title":"Mark Read","type":"array","x-stream-index":"004"},"mark_seen":{"description":"List of activity IDs to mark as seen","items":{"type":"string"},"title":"Mark Seen","type":"array","x-stream-index":"006"},"mark_watched":{"description":"List of activity IDs to mark as watched (for stories)","items":{"type":"string"},"title":"Mark Watched","type":"array","x-stream-index":"007"}},"title":"Mark Activity Request","type":"object"},"MarkReviewedRequestPayload":{"description":"Configuration for mark reviewed action","properties":{"content_to_mark_as_reviewed_limit":{"description":"Maximum content items to mark as reviewed","format":"int32","maximum":2500,"title":"Content Limit","type":"integer","x-stream-index":"002"},"decision_reason":{"description":"Reason for the appeal decision","title":"Decision Reason","type":"string","x-stream-index":"003"},"disable_marking_content_as_reviewed":{"description":"Skip marking content as reviewed","title":"Disable Marking Content","type":"boolean","x-stream-index":"001"}},"title":"MarkReviewedRequest","type":"object"},"MembershipLevelResponse":{"properties":{"created_at":{"description":"When the membership level was created","format":"date-time","title":"Created At","type":"number","x-stream-index":"007"},"custom":{"additionalProperties":{},"description":"Custom data for the membership level","title":"Custom Data","type":"object","x-stream-index":"006"},"description":{"description":"Description of the membership level","title":"Description","type":"string","x-stream-index":"003"},"id":{"description":"Unique identifier for the membership level","title":"ID","type":"string","x-stream-index":"001"},"name":{"description":"Display name for the membership level","title":"Name","type":"string","x-stream-index":"002"},"priority":{"description":"Priority level","format":"int32","title":"Priority","type":"integer","x-stream-index":"004"},"tags":{"description":"Activity tags this membership level gives access to","items":{"type":"string"},"title":"Tags","type":"array","x-stream-index":"005"},"updated_at":{"description":"When the membership level was last updated","format":"date-time","title":"Updated At","type":"number","x-stream-index":"008"}},"required":["id","name","priority","tags","created_at","updated_at"],"title":"Membership Level Response","type":"object"},"MessageResponse":{"description":"Represents any chat message","properties":{"attachments":{"description":"Array of message attachments","items":{"$ref":"#/components/schemas/Attachment"},"title":"Message attachments","type":"array","x-stream-docs-page-id":"message_format#attachment-format","x-stream-index":"009"},"cid":{"description":"Channel unique identifier in \u003ctype\u003e:\u003cid\u003e format","title":"Channel CID","type":"string","x-stream-index":"024"},"command":{"description":"Contains provided slash command","title":"Command","type":"string","x-stream-docs-page-id":"custom_commands_webhook","x-stream-index":"004"},"created_at":{"description":"Date/time of creation","format":"date-time","title":"Created at","type":"number","x-stream-index":"025"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"028"},"deleted_at":{"description":"Date/time of deletion","format":"date-time","title":"Deleted at","type":"number","x-stream-index":"027"},"deleted_for_me":{"type":"boolean","x-stream-index":"048"},"deleted_reply_count":{"format":"int32","type":"integer","x-stream-index":"020"},"draft":{"$ref":"#/components/schemas/DraftResponse","x-stream-index":"045"},"html":{"description":"Contains HTML markup of the message. Can only be set when using server-side API","title":"HTML content","type":"string","x-stream-index":"005"},"i18n":{"additionalProperties":{"type":"string"},"description":"Object with translations. Key `language` contains the original language key. Other keys contain translations","title":"Internationalization info","type":"object","x-stream-docs-page-id":"translation","x-stream-index":"034"},"id":{"description":"Message ID is unique string identifier of the message","title":"ID","type":"string","x-stream-index":"001"},"image_labels":{"additionalProperties":{"items":{"type":"string"},"type":"array"},"description":"Contains image moderation information","title":"Image moderation labels","type":"object","x-stream-index":"030"},"latest_reactions":{"description":"List of 10 latest reactions to this message","items":{"$ref":"#/components/schemas/ReactionResponse"},"title":"Latest reactions","type":"array","x-stream-index":"010"},"member":{"$ref":"#/components/schemas/ChannelMemberResponse","description":"Channel member data for the message sender including only the `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":"032"},"mentioned_here":{"description":"Whether the message mentioned online users with @here tag","title":"Mentioned Here","type":"boolean","x-stream-index":"033"},"mentioned_users":{"description":"List of mentioned users","items":{"$ref":"#/components/schemas/UserResponse"},"title":"Mentioned Users","type":"array","x-stream-index":"031"},"message_text_updated_at":{"format":"date-time","type":"number","x-stream-index":"040"},"mml":{"description":"Should be empty if `text` is provided. Can only be set when using server-side API","title":"Messaging Markup Language","type":"string","x-stream-docs-page-id":"mml_overview","x-stream-index":"003"},"moderation":{"$ref":"#/components/schemas/ModerationV2Response","x-stream-index":"043"},"own_reactions":{"description":"List of 10 latest reactions of authenticated user to this message","items":{"$ref":"#/components/schemas/ReactionResponse"},"title":"Own reactions","type":"array","x-stream-index":"011"},"parent_id":{"description":"ID of parent message (thread)","title":"Parent message ID","type":"string","x-stream-docs-page-id":"threads","x-stream-index":"017"},"pin_expires":{"description":"Date when pinned message expires","format":"date-time","title":"Pin expiration date","type":"number","x-stream-docs-page-id":"pinned_messages","x-stream-index":"039"},"pinned":{"description":"Whether message is pinned or not","title":"Pinned","type":"boolean","x-stream-docs-page-id":"pinned_messages","x-stream-index":"036"},"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":"037"},"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":"038"},"poll":{"$ref":"#/components/schemas/PollResponseData","x-stream-index":"042"},"poll_id":{"description":"Identifier of the poll to include in the message","title":"Poll ID","type":"string","x-stream-index":"041"},"quoted_message":{"$ref":"#/components/schemas/MessageResponse","description":"Contains quoted message","title":"Quoted message","x-stream-docs-page-id":"threads#quote-message","x-stream-index":"022"},"quoted_message_id":{"title":"ID of quoted message","type":"string","x-stream-docs-page-id":"threads#quote-message","x-stream-index":"021"},"reaction_counts":{"additionalProperties":{"format":"int32","type":"integer"},"description":"An object containing number of reactions of each type. Key: reaction type (string), value: number of reactions (int)","title":"Reaction counts","type":"object","x-stream-index":"012"},"reaction_groups":{"additionalProperties":{"$ref":"#/components/schemas/ReactionGroupResponse"},"type":"object","x-stream-index":"016"},"reaction_scores":{"additionalProperties":{"format":"int32","type":"integer"},"description":"An object containing scores of reactions of each type. Key: reaction type (string), value: total score of reactions (int)","title":"Reaction scores","type":"object","x-stream-index":"013"},"reminder":{"$ref":"#/components/schemas/ReminderResponseData","x-stream-index":"046"},"reply_count":{"description":"Number of replies to this message","format":"int32","title":"Reply count","type":"integer","x-stream-index":"019"},"restricted_visibility":{"description":"A list of user ids that have restricted visibility to the message, if the list is not empty, the message is only visible to the users in the list","items":{"type":"string"},"title":"Restricted visibility","type":"array","x-stream-index":"044"},"shadowed":{"description":"Whether the message was shadowed or not","title":"Shadowed","type":"boolean","x-stream-docs-page-id":"moderation#shadow-ban","x-stream-index":"029"},"shared_location":{"$ref":"#/components/schemas/SharedLocationResponseData","description":"Contains shared location data","title":"Shared Location","x-stream-index":"047"},"show_in_channel":{"description":"Whether thread reply should be shown in the channel as well","title":"Show in channel","type":"boolean","x-stream-docs-page-id":"threads","x-stream-index":"018"},"silent":{"description":"Whether message is silent or not","title":"Silent","type":"boolean","x-stream-index":"035"},"text":{"description":"Text of the message. Should be empty if `mml` is provided","title":"Text","type":"string","x-stream-index":"002"},"thread_participants":{"description":"List of users who participate in thread","items":{"$ref":"#/components/schemas/UserResponse"},"title":"Thread participants","type":"array","x-stream-docs-page-id":"threads#quote-message","x-stream-index":"023"},"type":{"description":"Contains type of the message. One of: regular, ephemeral, error, reply, system, deleted","title":"Message Type","type":"string","x-stream-docs-page-id":"message_format#message-types","x-stream-index":"006"},"updated_at":{"description":"Date/time of the last update","format":"date-time","title":"Updated at","type":"number","x-stream-index":"026"},"user":{"$ref":"#/components/schemas/UserResponse","description":"Sender of the message. Required when using server-side API","title":"User object","x-stream-index":"007"}},"required":["id","text","html","type","user","attachments","latest_reactions","own_reactions","reaction_counts","reaction_scores","reply_count","deleted_reply_count","cid","created_at","updated_at","custom","shadowed","mentioned_users","mentioned_channel","mentioned_here","silent","pinned","restricted_visibility"],"title":"Message","type":"object","x-stream-docs-page-id":"send_message"},"ModerationActionConfigResponse":{"description":"Configuration for a moderation action","nullable":true,"properties":{"action":{"description":"The action to take","title":"Action","type":"string","x-stream-index":"003"},"custom":{"additionalProperties":{},"description":"Custom data for the action","title":"Custom","type":"object","x-stream-index":"006"},"description":{"description":"Description of what this action does","title":"Description","type":"string","x-stream-index":"005"},"entity_type":{"description":"Type of entity this action applies to","title":"Entity Type","type":"string","x-stream-index":"001"},"icon":{"description":"Icon for the dashboard","title":"Icon","type":"string","x-stream-index":"004"},"order":{"description":"Display order (lower numbers shown first)","format":"int32","title":"Order","type":"integer","x-stream-index":"002"}},"required":["entity_type","order","action","icon","description"],"title":"ModerationActionConfig","type":"object"},"ModerationCustomActionEvent":{"description":"This event is sent when a custom moderation action is executed","nullable":true,"properties":{"action_id":{"description":"The ID of the custom action that was executed","title":"ActionID","type":"string","x-stream-index":"002"},"action_options":{"additionalProperties":{},"description":"Additional options passed to the custom action","title":"ActionOptions","type":"object","x-stream-index":"003"},"created_at":{"format":"date-time","type":"number","x-stream-index":"001.003"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"001.007"},"message":{"$ref":"#/components/schemas/MessageResponse","description":"The message if the moderated content was a message","title":"Message","x-stream-index":"005"},"received_at":{"format":"date-time","type":"number","x-stream-index":"001.004"},"review_queue_item":{"$ref":"#/components/schemas/ReviewQueueItemResponse","description":"The review queue item the action was executed on","title":"ReviewQueueItem","x-stream-index":"004"},"type":{"default":"moderation.custom_action","type":"string","x-stream-index":"001.002"}},"required":["type","created_at","custom","action_id","review_queue_item"],"title":"ModerationCustomActionEvent","type":"object","x-stream-event-client-type":true,"x-stream-event-doc-group":"other","x-stream-is-event":true,"x-stream-throttle-group":"critical","x-stream-ws-base-event-name":"VideoEvent"},"ModerationFlagResponse":{"nullable":true,"properties":{"created_at":{"format":"date-time","type":"number","x-stream-index":"015"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"010"},"entity_creator_id":{"type":"string","x-stream-index":"007"},"entity_id":{"type":"string","x-stream-index":"006"},"entity_type":{"type":"string","x-stream-index":"005"},"labels":{"items":{"type":"string"},"type":"array","x-stream-index":"011"},"moderation_payload":{"$ref":"#/components/schemas/ModerationPayloadResponse","x-stream-index":"008"},"reason":{"type":"string","x-stream-index":"009"},"result":{"items":{"additionalProperties":{},"type":"object"},"type":"array","x-stream-index":"012"},"review_queue_item":{"$ref":"#/components/schemas/ReviewQueueItemResponse","x-stream-index":"014"},"review_queue_item_id":{"type":"string","x-stream-index":"013"},"type":{"type":"string","x-stream-index":"002"},"updated_at":{"format":"date-time","type":"number","x-stream-index":"016"},"user":{"$ref":"#/components/schemas/UserResponse","x-stream-index":"004"},"user_id":{"type":"string","x-stream-index":"003"}},"required":["type","user_id","entity_type","entity_id","result","created_at","updated_at"],"type":"object"},"ModerationFlaggedEvent":{"description":"This event is sent when content is flagged for moderation","nullable":true,"properties":{"content_type":{"description":"The type of content that was flagged","title":"ContentType","type":"string","x-stream-index":"002"},"created_at":{"format":"date-time","type":"number","x-stream-index":"001.003"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"001.007"},"object_id":{"description":"The ID of the flagged content","title":"ObjectID","type":"string","x-stream-index":"003"},"received_at":{"format":"date-time","type":"number","x-stream-index":"001.004"},"type":{"default":"moderation.flagged","type":"string","x-stream-index":"001.002"}},"required":["type","created_at","custom","content_type","object_id"],"title":"ModerationFlaggedEvent","type":"object","x-stream-event-client-type":true,"x-stream-event-doc-group":"other","x-stream-is-event":true,"x-stream-throttle-group":"critical","x-stream-ws-base-event-name":"VideoEvent"},"ModerationMarkReviewedEvent":{"description":"This event is sent when a moderation item is marked as reviewed","nullable":true,"properties":{"created_at":{"format":"date-time","type":"number","x-stream-index":"003.003"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"003.007"},"item":{"$ref":"#/components/schemas/ReviewQueueItemResponse","description":"The review queue item that was marked as reviewed","title":"ReviewQueueItem","x-stream-index":"001"},"message":{"$ref":"#/components/schemas/MessageResponse","description":"The message if the reviewed content was a message","title":"Message","x-stream-index":"002"},"received_at":{"format":"date-time","type":"number","x-stream-index":"003.004"},"type":{"default":"moderation.mark_reviewed","type":"string","x-stream-index":"003.002"}},"required":["item","type","created_at","custom"],"title":"ModerationMarkReviewedEvent","type":"object","x-stream-event-client-type":true,"x-stream-event-doc-group":"other","x-stream-is-event":true,"x-stream-throttle-group":"critical","x-stream-ws-base-event-name":"VideoEvent"},"ModerationPayload":{"properties":{"custom":{"additionalProperties":{},"type":"object","x-stream-index":"004"},"images":{"items":{"type":"string"},"maxItems":30,"type":"array","x-stream-index":"002"},"texts":{"items":{"type":"string"},"type":"array","x-stream-index":"001"},"videos":{"items":{"type":"string"},"type":"array","x-stream-index":"003"}},"type":"object"},"ModerationPayloadResponse":{"description":"Content payload for moderation","properties":{"custom":{"additionalProperties":{},"description":"Custom data for moderation","title":"Custom","type":"object","x-stream-index":"004"},"images":{"description":"Image URLs to moderate","items":{"type":"string"},"title":"Images","type":"array","x-stream-index":"002"},"texts":{"description":"Text content to moderate","items":{"type":"string"},"title":"Texts","type":"array","x-stream-index":"001"},"videos":{"description":"Video URLs to moderate","items":{"type":"string"},"title":"Videos","type":"array","x-stream-index":"003"}},"title":"ModerationPayload","type":"object"},"ModerationV2Response":{"properties":{"action":{"type":"string","x-stream-index":"001"},"blocklist_matched":{"type":"string","x-stream-index":"005"},"blocklists_matched":{"items":{"type":"string"},"type":"array","x-stream-index":"006"},"image_harms":{"items":{"type":"string"},"type":"array","x-stream-index":"004"},"original_text":{"type":"string","x-stream-index":"002"},"platform_circumvented":{"type":"boolean","x-stream-index":"008"},"semantic_filter_matched":{"type":"string","x-stream-index":"007"},"text_harms":{"items":{"type":"string"},"type":"array","x-stream-index":"003"}},"required":["action","original_text"],"type":"object"},"MuteRequest":{"nullable":true,"properties":{"target_ids":{"description":"User IDs to mute (if multiple users)","items":{"type":"string"},"title":"Target IDs","type":"array","x-stream-index":"001"},"timeout":{"description":"Duration of mute in minutes","minimum":0,"title":"Timeout","type":"integer","x-stream-index":"002"}},"required":["target_ids"],"title":"MuteRequest","type":"object"},"MuteResponse":{"nullable":true,"properties":{"duration":{"type":"string","x-stream-index":"004.001"},"mutes":{"description":"Object with mutes (if multiple users were muted)","items":{"$ref":"#/components/schemas/UserMuteResponse"},"title":"Mutes","type":"array","x-stream-index":"001"},"non_existing_users":{"description":"A list of users that can't be found. Common cause for this is deleted users","items":{"type":"string"},"title":"Non Existing Users","type":"array","x-stream-index":"003"},"own_user":{"$ref":"#/components/schemas/OwnUserResponse","description":"Authorized user object with fresh mutes information","title":"Own User","x-stream-index":"002"}},"required":["duration"],"title":"MuteResponse","type":"object"},"NoiseCancellationSettings":{"properties":{"mode":{"enum":["available","disabled","auto-on"],"type":"string","x-stream-index":"001"}},"required":["mode"],"type":"object"},"NotificationComment":{"properties":{"attachments":{"items":{"$ref":"#/components/schemas/Attachment"},"type":"array","x-stream-index":"004"},"comment":{"type":"string","x-stream-index":"003"},"id":{"type":"string","x-stream-index":"001"},"user_id":{"type":"string","x-stream-index":"002"}},"required":["id","user_id","comment"],"type":"object"},"NotificationConfig":{"properties":{"deduplication_window":{"type":"string","x-stream-index":"004"},"track_read":{"type":"boolean","x-stream-index":"002"},"track_seen":{"type":"boolean","x-stream-index":"001"}},"type":"object"},"NotificationContext":{"properties":{"target":{"$ref":"#/components/schemas/NotificationTarget","description":"Information about the target of the notification","title":"Notification Target","x-stream-index":"002"},"trigger":{"$ref":"#/components/schemas/NotificationTrigger","description":"Information about what triggered the notification","title":"Notification Trigger","x-stream-index":"001"}},"title":"NotificationContext","type":"object"},"NotificationFeedUpdatedEvent":{"description":"Emitted when notification feed is updated.","nullable":true,"properties":{"aggregated_activities":{"description":"Aggregated activities for notification feeds","items":{"$ref":"#/components/schemas/AggregatedActivityResponse"},"title":"Aggregated Activities","type":"array","x-stream-index":"001"},"created_at":{"description":"Date/time of creation","format":"date-time","title":"Created at","type":"number","x-stream-index":"003.001.003"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"003.001.007"},"feed_visibility":{"type":"string","x-stream-index":"003.003"},"fid":{"description":"The ID of the feed","title":"Feed ID","type":"string","x-stream-index":"003.002"},"notification_status":{"$ref":"#/components/schemas/NotificationStatusResponse","description":"Notification status including unread/unseen counts","title":"Notification Status","x-stream-index":"002"},"received_at":{"format":"date-time","type":"number","x-stream-index":"003.001.004"},"type":{"default":"feeds.notification_feed.updated","description":"The type of event: \"feeds.notification_feed.updated\" in this case","title":"Event Type","type":"string","x-stream-index":"003.001.002"},"user":{"$ref":"#/components/schemas/UserResponseCommonFields","description":"The user who triggered the notification","title":"User","x-stream-index":"004.001"}},"required":["type","created_at","custom","fid"],"title":"NotificationFeedUpdatedEvent","type":"object","x-stream-event-client-type":true,"x-stream-event-doc-group":"other","x-stream-is-event":true,"x-stream-throttle-group":"mergeable","x-stream-ws-base-event-name":"VideoEvent"},"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"},"NotificationStatusResponse":{"properties":{"last_read_at":{"format":"date-time","type":"number","x-stream-index":"006"},"last_seen_at":{"description":"When notifications were last seen","format":"date-time","title":"Last Seen At","type":"number","x-stream-index":"005"},"read_activities":{"description":"IDs of activities that have been read","items":{"type":"string"},"title":"Read Activities","type":"array","x-stream-index":"003"},"seen_activities":{"items":{"type":"string"},"type":"array","x-stream-index":"004"},"unread":{"description":"Number of unread notifications","format":"int32","title":"Unread","type":"integer","x-stream-index":"001"},"unseen":{"description":"Number of unseen notifications","format":"int32","title":"Unseen","type":"integer","x-stream-index":"002"}},"required":["unread","unseen"],"title":"Notification Status","type":"object"},"NotificationTarget":{"properties":{"attachments":{"description":"Attachments on the target activity (for activity targets)","items":{"$ref":"#/components/schemas/Attachment"},"title":"Attachments","type":"array","x-stream-index":"005"},"comment":{"$ref":"#/components/schemas/NotificationComment","description":"Information about the comment related to the notification (for reactions to comments and comments on comments)","title":"Comment","x-stream-index":"007"},"id":{"description":"The ID of the target (activity ID or user ID)","title":"Target ID","type":"string","x-stream-index":"001"},"name":{"description":"The name of the target user (for user targets like follows)","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","type":"string","x-stream-index":"004"},"type":{"description":"The type of the target activity (for activity targets)","title":"Activity Type","type":"string","x-stream-index":"003"},"user_id":{"description":"The ID of the user who created the target activity (for activity targets)","title":"User ID","type":"string","x-stream-index":"002"}},"required":["id"],"title":"NotificationTarget","type":"object"},"NotificationTrigger":{"properties":{"comment":{"$ref":"#/components/schemas/NotificationComment","description":"Information about the comment that triggered the notification (for comment and comment_reply types)","title":"Comment","x-stream-index":"003"},"text":{"description":"Human-readable text describing the notification","title":"Notification Text","type":"string","x-stream-index":"002"},"type":{"description":"The type of notification (mention, reaction, comment, follow, etc.)","title":"Notification Type","type":"string","x-stream-index":"001"}},"required":["type","text"],"title":"NotificationTrigger","type":"object"},"OCRRule":{"properties":{"action":{"enum":["flag","shadow","remove","bounce","bounce_flag","bounce_remove"],"type":"string","x-stream-index":"002"},"label":{"type":"string","x-stream-index":"001"}},"required":["label","action"],"type":"object"},"OnlyUserID":{"properties":{"id":{"type":"string","x-stream-index":"001"}},"required":["id"],"type":"object"},"OwnBatchRequest":{"description":"Request to get own_follows, own_followings, own_capabilities, and/or own_membership for multiple feeds. If fields is not specified, all fields are returned.","nullable":true,"properties":{"feeds":{"description":"List of feed IDs to get own fields for","items":{"type":"string"},"maxItems":100,"minItems":1,"title":"Feed IDs","type":"array","x-stream-index":"001"},"fields":{"description":"Optional list of specific fields to return. If not specified, all fields (own_follows, own_followings, own_capabilities, own_membership) are returned","items":{"type":"string"},"title":"Fields","type":"array","x-stream-index":"002"}},"required":["feeds"],"title":"Own Batch Request","type":"object"},"OwnBatchResponse":{"nullable":true,"properties":{"data":{"additionalProperties":{"$ref":"#/components/schemas/FeedOwnData"},"description":"Map of feed ID to own fields data","title":"Data","type":"object","x-stream-index":"001"},"duration":{"type":"string","x-stream-index":"002.001"}},"required":["data","duration"],"title":"Own Batch Response","type":"object"},"OwnUserResponse":{"properties":{"avg_response_time":{"format":"int32","type":"integer","x-stream-index":"001.018"},"banned":{"type":"boolean","x-stream-index":"001.012"},"blocked_user_ids":{"items":{"type":"string"},"type":"array","x-stream-index":"015"},"channel_mutes":{"items":{"$ref":"#/components/schemas/ChannelMute"},"type":"array","x-stream-index":"007"},"created_at":{"format":"date-time","type":"number","x-stream-index":"001.009"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"001.004"},"deactivated_at":{"format":"date-time","type":"number","x-stream-index":"001.016"},"deleted_at":{"format":"date-time","type":"number","x-stream-index":"001.011"},"devices":{"items":{"$ref":"#/components/schemas/DeviceResponse"},"title":"Devices","type":"array","x-stream-index":"004"},"id":{"type":"string","x-stream-index":"001.001"},"image":{"type":"string","x-stream-index":"001.003"},"invisible":{"type":"boolean","x-stream-index":"005"},"language":{"type":"string","x-stream-index":"001.005"},"last_active":{"format":"date-time","type":"number","x-stream-index":"001.014"},"latest_hidden_channels":{"items":{"type":"string"},"type":"array","x-stream-index":"013"},"mutes":{"items":{"$ref":"#/components/schemas/UserMuteResponse"},"type":"array","x-stream-index":"006"},"name":{"type":"string","x-stream-index":"001.002"},"online":{"type":"boolean","x-stream-index":"001.013"},"privacy_settings":{"$ref":"#/components/schemas/PrivacySettingsResponse","x-stream-index":"003"},"push_preferences":{"$ref":"#/components/schemas/PushPreferencesResponse","x-stream-index":"002"},"revoke_tokens_issued_before":{"format":"date-time","type":"number","x-stream-index":"001.015"},"role":{"type":"string","x-stream-index":"001.006"},"teams":{"items":{"type":"string"},"type":"array","x-stream-index":"001.007"},"teams_role":{"additionalProperties":{"type":"string"},"type":"object","x-stream-index":"001.008"},"total_unread_count":{"format":"int32","type":"integer","x-stream-index":"009"},"total_unread_count_by_team":{"additionalProperties":{"format":"int32","type":"integer"},"type":"object","x-stream-index":"010"},"unread_channels":{"format":"int32","type":"integer","x-stream-index":"011"},"unread_count":{"format":"int32","type":"integer","x-stream-index":"008"},"unread_threads":{"format":"int32","type":"integer","x-stream-index":"012"},"updated_at":{"format":"date-time","type":"number","x-stream-index":"001.010"}},"required":["id","custom","language","role","teams","created_at","updated_at","banned","online","devices","invisible","mutes","channel_mutes","unread_count","total_unread_count","unread_channels","unread_threads"],"type":"object"},"PagerRequest":{"properties":{"limit":{"format":"int32","maximum":100,"minimum":0,"type":"integer","x-stream-index":"001"},"next":{"type":"string","x-stream-index":"002"},"prev":{"type":"string","x-stream-index":"003"}},"type":"object"},"PagerResponse":{"properties":{"next":{"type":"string","x-stream-index":"001"},"prev":{"type":"string","x-stream-index":"002"}},"type":"object"},"PinActivityRequest":{"nullable":true,"title":"Pin Activity Request","type":"object"},"PinActivityResponse":{"nullable":true,"properties":{"activity":{"$ref":"#/components/schemas/ActivityResponse","description":"The pinned activity","title":"Activity","x-stream-index":"001"},"created_at":{"description":"When the activity was pinned","format":"date-time","title":"Created At","type":"number","x-stream-index":"004"},"duration":{"type":"string","x-stream-index":"005.001"},"feed":{"description":"Fully qualified ID of the feed the activity was pinned to","title":"Feed ID","type":"string","x-stream-index":"002"},"user_id":{"description":"ID of the user who pinned the activity","title":"User ID","type":"string","x-stream-index":"003"}},"required":["activity","feed","user_id","created_at","duration"],"title":"Pin Activity Response","type":"object"},"PollClosedFeedEvent":{"nullable":true,"properties":{"created_at":{"format":"date-time","type":"number","x-stream-index":"001.002.001.003"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"001.002.001.007"},"feed_visibility":{"type":"string","x-stream-index":"001.002.003"},"fid":{"type":"string","x-stream-index":"001.002.002"},"poll":{"$ref":"#/components/schemas/PollResponseData","x-stream-index":"001.001"},"received_at":{"format":"date-time","type":"number","x-stream-index":"001.002.001.004"},"type":{"default":"feeds.poll.closed","type":"string","x-stream-index":"001.002.001.002"}},"required":["poll","type","created_at","custom","fid"],"title":"PollClosedFeedEvent","type":"object","x-stream-event-client-type":true,"x-stream-event-doc-group":"other","x-stream-is-event":true,"x-stream-throttle-group":"ordered","x-stream-ws-base-event-name":"VideoEvent"},"PollDeletedFeedEvent":{"nullable":true,"properties":{"created_at":{"format":"date-time","type":"number","x-stream-index":"001.002.001.003"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"001.002.001.007"},"feed_visibility":{"type":"string","x-stream-index":"001.002.003"},"fid":{"type":"string","x-stream-index":"001.002.002"},"poll":{"$ref":"#/components/schemas/PollResponseData","x-stream-index":"001.001"},"received_at":{"format":"date-time","type":"number","x-stream-index":"001.002.001.004"},"type":{"default":"feeds.poll.deleted","type":"string","x-stream-index":"001.002.001.002"}},"required":["poll","type","created_at","custom","fid"],"title":"PollDeletedFeedEvent","type":"object","x-stream-event-client-type":true,"x-stream-event-doc-group":"other","x-stream-is-event":true,"x-stream-throttle-group":"ordered","x-stream-ws-base-event-name":"VideoEvent"},"PollOptionInput":{"nullable":true,"properties":{"custom":{"additionalProperties":{},"type":"object","x-stream-index":"003"},"text":{"type":"string","x-stream-index":"002"}},"type":"object"},"PollOptionRequest":{"nullable":true,"properties":{"custom":{"additionalProperties":{},"type":"object","x-stream-index":"003"},"id":{"maxLength":255,"type":"string","x-stream-index":"001"},"text":{"type":"string","x-stream-index":"002"}},"required":["id"],"type":"object"},"PollOptionResponse":{"nullable":true,"properties":{"duration":{"description":"Duration of the request in milliseconds","title":"Duration","type":"string","x-stream-index":"002.001"},"poll_option":{"$ref":"#/components/schemas/PollOptionResponseData","description":"Poll option","title":"PollOptionResponseData","x-stream-index":"001"}},"required":["poll_option","duration"],"type":"object"},"PollOptionResponseData":{"nullable":true,"properties":{"custom":{"additionalProperties":{},"type":"object","x-stream-index":"003"},"id":{"type":"string","x-stream-index":"001"},"text":{"type":"string","x-stream-index":"002"}},"required":["id","text","custom"],"type":"object"},"PollResponse":{"nullable":true,"properties":{"duration":{"description":"Duration of the request in milliseconds","title":"Duration","type":"string","x-stream-index":"002.001"},"poll":{"$ref":"#/components/schemas/PollResponseData","description":"Poll","title":"PollResponseData","x-stream-index":"001"}},"required":["poll","duration"],"type":"object"},"PollResponseData":{"properties":{"allow_answers":{"type":"boolean","x-stream-index":"008"},"allow_user_suggested_options":{"type":"boolean","x-stream-index":"007"},"answers_count":{"format":"int32","type":"integer","x-stream-index":"012"},"created_at":{"format":"date-time","type":"number","x-stream-index":"019"},"created_by":{"$ref":"#/components/schemas/UserResponse","x-stream-index":"018"},"created_by_id":{"type":"string","x-stream-index":"017"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"021"},"description":{"type":"string","x-stream-index":"003"},"enforce_unique_vote":{"type":"boolean","x-stream-index":"005"},"id":{"type":"string","x-stream-index":"001"},"is_closed":{"type":"boolean","x-stream-index":"009"},"latest_answers":{"items":{"$ref":"#/components/schemas/PollVoteResponseData"},"type":"array","x-stream-index":"015"},"latest_votes_by_option":{"additionalProperties":{"items":{"$ref":"#/components/schemas/PollVoteResponseData"},"type":"array"},"type":"object","x-stream-index":"014"},"max_votes_allowed":{"format":"int32","type":"integer","x-stream-index":"006"},"name":{"type":"string","x-stream-index":"002"},"options":{"items":{"$ref":"#/components/schemas/PollOptionResponseData"},"type":"array","x-stream-index":"011"},"own_votes":{"items":{"$ref":"#/components/schemas/PollVoteResponseData"},"type":"array","x-stream-index":"016"},"updated_at":{"format":"date-time","type":"number","x-stream-index":"020"},"vote_count":{"format":"int32","type":"integer","x-stream-index":"010"},"vote_counts_by_option":{"additionalProperties":{"format":"int32","type":"integer"},"type":"object","x-stream-index":"013"},"voting_visibility":{"type":"string","x-stream-index":"004"}},"required":["id","name","description","voting_visibility","enforce_unique_vote","allow_user_suggested_options","allow_answers","vote_count","options","answers_count","vote_counts_by_option","latest_votes_by_option","latest_answers","own_votes","created_by_id","created_at","updated_at","custom"],"type":"object"},"PollUpdatedFeedEvent":{"nullable":true,"properties":{"created_at":{"format":"date-time","type":"number","x-stream-index":"001.002.001.003"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"001.002.001.007"},"feed_visibility":{"type":"string","x-stream-index":"001.002.003"},"fid":{"type":"string","x-stream-index":"001.002.002"},"poll":{"$ref":"#/components/schemas/PollResponseData","x-stream-index":"001.001"},"received_at":{"format":"date-time","type":"number","x-stream-index":"001.002.001.004"},"type":{"default":"feeds.poll.updated","type":"string","x-stream-index":"001.002.001.002"}},"required":["poll","type","created_at","custom","fid"],"title":"PollUpdatedFeedEvent","type":"object","x-stream-event-client-type":true,"x-stream-event-doc-group":"other","x-stream-is-event":true,"x-stream-throttle-group":"ordered","x-stream-ws-base-event-name":"VideoEvent"},"PollVoteCastedFeedEvent":{"nullable":true,"properties":{"created_at":{"format":"date-time","type":"number","x-stream-index":"001.001.002.001.003"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"001.001.002.001.007"},"feed_visibility":{"type":"string","x-stream-index":"001.001.002.003"},"fid":{"type":"string","x-stream-index":"001.001.002.002"},"poll":{"$ref":"#/components/schemas/PollResponseData","x-stream-index":"001.001.001"},"poll_vote":{"$ref":"#/components/schemas/PollVoteResponseData","x-stream-index":"001.002"},"received_at":{"format":"date-time","type":"number","x-stream-index":"001.001.002.001.004"},"type":{"default":"feeds.poll.vote_casted","type":"string","x-stream-index":"001.001.002.001.002"}},"required":["poll","type","created_at","custom","fid","poll_vote"],"title":"PollVoteCastedFeedEvent","type":"object","x-stream-event-client-type":true,"x-stream-event-doc-group":"other","x-stream-is-event":true,"x-stream-throttle-group":"ordered","x-stream-ws-base-event-name":"VideoEvent"},"PollVoteChangedFeedEvent":{"nullable":true,"properties":{"created_at":{"format":"date-time","type":"number","x-stream-index":"001.001.002.001.003"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"001.001.002.001.007"},"feed_visibility":{"type":"string","x-stream-index":"001.001.002.003"},"fid":{"type":"string","x-stream-index":"001.001.002.002"},"poll":{"$ref":"#/components/schemas/PollResponseData","x-stream-index":"001.001.001"},"poll_vote":{"$ref":"#/components/schemas/PollVoteResponseData","x-stream-index":"001.002"},"received_at":{"format":"date-time","type":"number","x-stream-index":"001.001.002.001.004"},"type":{"default":"feeds.poll.vote_changed","type":"string","x-stream-index":"001.001.002.001.002"}},"required":["poll","type","created_at","custom","fid","poll_vote"],"title":"PollVoteChangedFeedEvent","type":"object","x-stream-event-client-type":true,"x-stream-event-doc-group":"other","x-stream-is-event":true,"x-stream-throttle-group":"ordered","x-stream-ws-base-event-name":"VideoEvent"},"PollVoteRemovedFeedEvent":{"nullable":true,"properties":{"created_at":{"format":"date-time","type":"number","x-stream-index":"001.001.002.001.003"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"001.001.002.001.007"},"feed_visibility":{"type":"string","x-stream-index":"001.001.002.003"},"fid":{"type":"string","x-stream-index":"001.001.002.002"},"poll":{"$ref":"#/components/schemas/PollResponseData","x-stream-index":"001.001.001"},"poll_vote":{"$ref":"#/components/schemas/PollVoteResponseData","x-stream-index":"001.002"},"received_at":{"format":"date-time","type":"number","x-stream-index":"001.001.002.001.004"},"type":{"default":"feeds.poll.vote_removed","type":"string","x-stream-index":"001.001.002.001.002"}},"required":["poll","type","created_at","custom","fid","poll_vote"],"title":"PollVoteRemovedFeedEvent","type":"object","x-stream-event-client-type":true,"x-stream-event-doc-group":"other","x-stream-is-event":true,"x-stream-throttle-group":"ordered","x-stream-ws-base-event-name":"VideoEvent"},"PollVoteResponse":{"nullable":true,"properties":{"duration":{"description":"Duration of the request in milliseconds","title":"Duration","type":"string","x-stream-index":"003.001"},"poll":{"$ref":"#/components/schemas/PollResponseData","description":"Poll","title":"PollResponseData","x-stream-index":"002"},"vote":{"$ref":"#/components/schemas/PollVoteResponseData","description":"Poll vote","title":"PollVoteResponseData","x-stream-index":"001"}},"required":["duration"],"type":"object"},"PollVoteResponseData":{"nullable":true,"properties":{"answer_text":{"type":"string","x-stream-index":"005"},"created_at":{"format":"date-time","type":"number","x-stream-index":"008"},"id":{"type":"string","x-stream-index":"002"},"is_answer":{"type":"boolean","x-stream-index":"004"},"option_id":{"type":"string","x-stream-index":"003"},"poll_id":{"type":"string","x-stream-index":"001"},"updated_at":{"format":"date-time","type":"number","x-stream-index":"009"},"user":{"$ref":"#/components/schemas/UserResponse","x-stream-index":"007"},"user_id":{"type":"string","x-stream-index":"006"}},"required":["poll_id","id","option_id","created_at","updated_at"],"type":"object"},"PollVotesResponse":{"nullable":true,"properties":{"duration":{"description":"Duration of the request in milliseconds","title":"Duration","type":"string","x-stream-index":"003.001"},"next":{"type":"string","x-stream-index":"002.001"},"prev":{"type":"string","x-stream-index":"002.002"},"votes":{"description":"Poll votes","items":{"$ref":"#/components/schemas/PollVoteResponseData"},"title":"PollVoteResponseList","type":"array","x-stream-index":"001"}},"required":["votes","duration"],"type":"object"},"PrivacySettingsResponse":{"properties":{"delivery_receipts":{"$ref":"#/components/schemas/DeliveryReceiptsResponse","x-stream-index":"003"},"read_receipts":{"$ref":"#/components/schemas/ReadReceiptsResponse","x-stream-index":"002"},"typing_indicators":{"$ref":"#/components/schemas/TypingIndicatorsResponse","x-stream-index":"001"}},"type":"object"},"PushNotificationConfig":{"properties":{"enable_push":{"type":"boolean","x-stream-index":"001"},"push_types":{"items":{"type":"string"},"type":"array","x-stream-index":"002"}},"type":"object"},"PushPreferenceInput":{"nullable":true,"properties":{"call_level":{"description":"Set the level of call push notifications for the user. One of: all, none, default","enum":["all","none","default"],"title":"Call Level","type":"string","x-stream-index":"004"},"channel_cid":{"description":"Set the push preferences for a specific channel. If empty it sets the default for the user","title":"Channel CID","type":"string","x-stream-index":"002"},"chat_level":{"description":"Set the level of chat push notifications for the user. Note: \"mentions\" is deprecated in favor of \"direct_mentions\". One of: all, mentions, direct_mentions, all_mentions, none, default","enum":["all","mentions","direct_mentions","all_mentions","none","default"],"title":"Chat Level","type":"string","x-stream-index":"003"},"disabled_until":{"description":"Disable push notifications till a certain time","format":"date-time","title":"Disabled Until","type":"number","x-stream-index":"007"},"feeds_level":{"description":"Set the level of feeds push notifications for the user. One of: all, none, default","enum":["all","none","default"],"title":"Feeds Level","type":"string","x-stream-index":"005"},"feeds_preferences":{"$ref":"#/components/schemas/FeedsPreferences","description":"Set granular feeds preferences for reactions, comments, new followers, mentions, and custom activity types","title":"Feeds Preferences","x-stream-index":"006"},"remove_disable":{"description":"Remove the disabled until time. (IE stop snoozing notifications)","title":"Remove Disable","type":"boolean","x-stream-index":"008"},"user_id":{"description":"The user id for which to set the push preferences. Required when using server side auths, defaults to current user with client side auth.","title":"User ID","type":"string","x-stream-index":"001"}},"type":"object"},"PushPreferencesResponse":{"nullable":true,"properties":{"call_level":{"type":"string","x-stream-index":"002"},"chat_level":{"type":"string","x-stream-index":"001"},"disabled_until":{"format":"date-time","type":"number","x-stream-index":"005"},"feeds_level":{"type":"string","x-stream-index":"003"},"feeds_preferences":{"$ref":"#/components/schemas/FeedsPreferencesResponse","x-stream-index":"004"}},"type":"object"},"QueryActivitiesRequest":{"nullable":true,"properties":{"filter":{"additionalProperties":{},"description":"Filters to apply to the query. Supports location-based queries with 'near' and 'within_bounds' operators.","title":"Filter","type":"object","x-stream-index":"001"},"limit":{"format":"int32","maximum":100,"minimum":0,"type":"integer","x-stream-index":"005.001"},"next":{"type":"string","x-stream-index":"005.002"},"prev":{"type":"string","x-stream-index":"005.003"},"sort":{"description":"Sorting parameters for the query","items":{"$ref":"#/components/schemas/SortParamRequest"},"maxItems":5,"title":"Sort","type":"array","x-stream-index":"002"}},"title":"Query Activities Request","type":"object"},"QueryActivitiesResponse":{"nullable":true,"properties":{"activities":{"description":"List of activities matching the query","items":{"$ref":"#/components/schemas/ActivityResponse"},"title":"Activities","type":"array","x-stream-index":"001"},"duration":{"type":"string","x-stream-index":"003.001"},"next":{"description":"Cursor for next page","title":"Next","type":"string","x-stream-index":"002.001"},"prev":{"description":"Cursor for previous page","title":"Previous","type":"string","x-stream-index":"002.002"}},"required":["activities","duration"],"title":"Query Activities Response","type":"object"},"QueryActivityReactionsRequest":{"nullable":true,"properties":{"filter":{"additionalProperties":{},"type":"object","x-stream-index":"002"},"limit":{"format":"int32","maximum":100,"minimum":0,"type":"integer","x-stream-index":"004.001"},"next":{"type":"string","x-stream-index":"004.002"},"prev":{"type":"string","x-stream-index":"004.003"},"sort":{"items":{"$ref":"#/components/schemas/SortParamRequest"},"maxItems":5,"type":"array","x-stream-index":"003"}},"type":"object"},"QueryActivityReactionsResponse":{"description":"Basic response information","nullable":true,"properties":{"duration":{"description":"Duration of the request in milliseconds","title":"Duration","type":"string","x-stream-index":"003.001"},"next":{"type":"string","x-stream-index":"002.001"},"prev":{"type":"string","x-stream-index":"002.002"},"reactions":{"items":{"$ref":"#/components/schemas/FeedsReactionResponse"},"type":"array","x-stream-index":"001"}},"required":["reactions","duration"],"title":"Response","type":"object"},"QueryAppealsRequest":{"nullable":true,"properties":{"filter":{"additionalProperties":{},"description":"Filter conditions for appeals","title":"Filter","type":"object","x-stream-index":"001"},"limit":{"format":"int32","maximum":100,"minimum":0,"type":"integer","x-stream-index":"003.001"},"next":{"type":"string","x-stream-index":"003.002"},"prev":{"type":"string","x-stream-index":"003.003"},"sort":{"description":"Sorting parameters for appeals","items":{"$ref":"#/components/schemas/SortParamRequest"},"title":"Sort","type":"array","x-stream-index":"002"}},"type":"object"},"QueryAppealsResponse":{"nullable":true,"properties":{"duration":{"type":"string","x-stream-index":"003.001"},"items":{"description":"List of Appeal Items","items":{"$ref":"#/components/schemas/AppealItemResponse"},"title":"Items","type":"array","x-stream-index":"001"},"next":{"type":"string","x-stream-index":"002.001"},"prev":{"type":"string","x-stream-index":"002.002"}},"required":["items","duration"],"type":"object"},"QueryBookmarkFoldersRequest":{"nullable":true,"properties":{"filter":{"additionalProperties":{},"description":"Filters to apply to the query","title":"Filter","type":"object","x-stream-index":"001"},"limit":{"format":"int32","maximum":100,"minimum":0,"type":"integer","x-stream-index":"003.001"},"next":{"type":"string","x-stream-index":"003.002"},"prev":{"type":"string","x-stream-index":"003.003"},"sort":{"description":"Sorting parameters for the query","items":{"$ref":"#/components/schemas/SortParamRequest"},"title":"Sort","type":"array","x-stream-index":"002"}},"title":"Query Bookmark Folders Request","type":"object"},"QueryBookmarkFoldersResponse":{"nullable":true,"properties":{"bookmark_folders":{"description":"List of bookmark folders matching the query","items":{"$ref":"#/components/schemas/BookmarkFolderResponse"},"title":"Bookmark Folders","type":"array","x-stream-index":"001"},"duration":{"type":"string","x-stream-index":"003.001"},"next":{"description":"Cursor for next page","title":"Next","type":"string","x-stream-index":"002.001"},"prev":{"description":"Cursor for previous page","title":"Previous","type":"string","x-stream-index":"002.002"}},"required":["bookmark_folders","duration"],"title":"Query Bookmark Folders Response","type":"object"},"QueryBookmarksRequest":{"nullable":true,"properties":{"filter":{"additionalProperties":{},"description":"Filters to apply to the query","title":"Filter","type":"object","x-stream-index":"001"},"limit":{"format":"int32","maximum":100,"minimum":0,"type":"integer","x-stream-index":"003.001"},"next":{"type":"string","x-stream-index":"003.002"},"prev":{"type":"string","x-stream-index":"003.003"},"sort":{"description":"Sorting parameters for the query","items":{"$ref":"#/components/schemas/SortParamRequest"},"maxItems":5,"title":"Sort","type":"array","x-stream-index":"002"}},"title":"Query Bookmarks Request","type":"object"},"QueryBookmarksResponse":{"nullable":true,"properties":{"bookmarks":{"description":"List of bookmarks matching the query","items":{"$ref":"#/components/schemas/BookmarkResponse"},"title":"Bookmarks","type":"array","x-stream-index":"001"},"duration":{"type":"string","x-stream-index":"003.001"},"next":{"description":"Cursor for next page","title":"Next","type":"string","x-stream-index":"002.001"},"prev":{"description":"Cursor for previous page","title":"Previous","type":"string","x-stream-index":"002.002"}},"required":["bookmarks","duration"],"title":"Query Bookmarks Response","type":"object"},"QueryCommentReactionsRequest":{"nullable":true,"properties":{"filter":{"additionalProperties":{},"type":"object","x-stream-index":"002"},"limit":{"format":"int32","maximum":100,"minimum":0,"type":"integer","x-stream-index":"004.001"},"next":{"type":"string","x-stream-index":"004.002"},"prev":{"type":"string","x-stream-index":"004.003"},"sort":{"items":{"$ref":"#/components/schemas/SortParamRequest"},"maxItems":5,"type":"array","x-stream-index":"003"}},"type":"object"},"QueryCommentReactionsResponse":{"description":"Basic response information","nullable":true,"properties":{"duration":{"description":"Duration of the request in milliseconds","title":"Duration","type":"string","x-stream-index":"003.001"},"next":{"type":"string","x-stream-index":"002.001"},"prev":{"type":"string","x-stream-index":"002.002"},"reactions":{"items":{"$ref":"#/components/schemas/FeedsReactionResponse"},"type":"array","x-stream-index":"001"}},"required":["reactions","duration"],"title":"Response","type":"object"},"QueryCommentsRequest":{"nullable":true,"properties":{"filter":{"additionalProperties":{},"description":"MongoDB-style filter for querying comments","title":"Filter","type":"object","x-stream-index":"001"},"limit":{"description":"Maximum number of comments to return","format":"int32","maximum":100,"minimum":0,"title":"Limit","type":"integer","x-stream-index":"003.001"},"next":{"type":"string","x-stream-index":"003.002"},"prev":{"type":"string","x-stream-index":"003.003"},"sort":{"description":"first (oldest), last (newest) or top. One of: first, last, top, best, controversial","enum":["first","last","top","best","controversial"],"title":"Sort Order","type":"string","x-stream-index":"002"}},"required":["filter"],"title":"Query Comments Request","type":"object"},"QueryCommentsResponse":{"nullable":true,"properties":{"comments":{"description":"List of comments matching the query","items":{"$ref":"#/components/schemas/CommentResponse"},"title":"Comments","type":"array","x-stream-index":"001"},"duration":{"type":"string","x-stream-index":"003.001"},"next":{"description":"Cursor for next page","title":"Next","type":"string","x-stream-index":"002.001"},"prev":{"description":"Cursor for previous page","title":"Previous","type":"string","x-stream-index":"002.002"}},"required":["comments","duration"],"title":"Query Comments Response","type":"object"},"QueryFeedMembersRequest":{"nullable":true,"properties":{"filter":{"additionalProperties":{},"description":"Filter parameters for the query","title":"object","type":"object","x-stream-index":"003"},"limit":{"format":"int32","maximum":100,"minimum":0,"type":"integer","x-stream-index":"005.001"},"next":{"type":"string","x-stream-index":"005.002"},"prev":{"type":"string","x-stream-index":"005.003"},"sort":{"description":"Sort parameters for the query","items":{"$ref":"#/components/schemas/SortParamRequest"},"maxItems":5,"title":"array","type":"array","x-stream-index":"004"}},"type":"object"},"QueryFeedMembersResponse":{"nullable":true,"properties":{"duration":{"type":"string","x-stream-index":"003.001"},"members":{"description":"List of feed members","items":{"$ref":"#/components/schemas/FeedMemberResponse"},"title":"array","type":"array","x-stream-index":"001"},"next":{"description":"Cursor for next page","title":"Next","type":"string","x-stream-index":"002.001"},"prev":{"description":"Cursor for previous page","title":"Previous","type":"string","x-stream-index":"002.002"}},"required":["members","duration"],"type":"object"},"QueryFeedsRequest":{"nullable":true,"properties":{"filter":{"additionalProperties":{},"description":"Filters to apply to the query","title":"Filter","type":"object","x-stream-index":"001"},"limit":{"format":"int32","maximum":100,"minimum":0,"type":"integer","x-stream-index":"004.001"},"next":{"type":"string","x-stream-index":"004.002"},"prev":{"type":"string","x-stream-index":"004.003"},"sort":{"description":"Sorting parameters for the query","items":{"$ref":"#/components/schemas/SortParamRequest"},"maxItems":5,"title":"Sort","type":"array","x-stream-index":"003"},"watch":{"description":"Whether to subscribe to realtime updates","title":"Watch","type":"boolean","x-stream-index":"002"}},"title":"Query Feeds Request","type":"object"},"QueryFeedsResponse":{"nullable":true,"properties":{"duration":{"type":"string","x-stream-index":"003.001"},"feeds":{"description":"List of feeds matching the query","items":{"$ref":"#/components/schemas/FeedResponse"},"title":"Feeds","type":"array","x-stream-index":"001"},"next":{"description":"Cursor for next page","title":"Next","type":"string","x-stream-index":"002.001"},"prev":{"description":"Cursor for previous page","title":"Previous","type":"string","x-stream-index":"002.002"}},"required":["feeds","duration"],"title":"Query Feeds Response","type":"object"},"QueryFollowsRequest":{"nullable":true,"properties":{"filter":{"additionalProperties":{},"description":"Filters to apply to the query","title":"Filter","type":"object","x-stream-index":"001"},"limit":{"format":"int32","maximum":100,"minimum":0,"type":"integer","x-stream-index":"003.001"},"next":{"type":"string","x-stream-index":"003.002"},"prev":{"type":"string","x-stream-index":"003.003"},"sort":{"description":"Sorting parameters for the query","items":{"$ref":"#/components/schemas/SortParamRequest"},"maxItems":5,"title":"Sort","type":"array","x-stream-index":"002"}},"title":"Query Follows Request","type":"object"},"QueryFollowsResponse":{"nullable":true,"properties":{"duration":{"type":"string","x-stream-index":"003.001"},"follows":{"description":"List of follow relationships matching the query","items":{"$ref":"#/components/schemas/FollowResponse"},"title":"Follows","type":"array","x-stream-index":"001"},"next":{"description":"Cursor for next page","title":"Next","type":"string","x-stream-index":"002.001"},"prev":{"description":"Cursor for previous page","title":"Previous","type":"string","x-stream-index":"002.002"}},"required":["follows","duration"],"title":"Query Follows Response","type":"object"},"QueryModerationConfigsRequest":{"nullable":true,"properties":{"filter":{"additionalProperties":{},"description":"Filter conditions for moderation configs","title":"Filter","type":"object","x-stream-index":"001"},"limit":{"format":"int32","maximum":100,"minimum":0,"type":"integer","x-stream-index":"003.001"},"next":{"type":"string","x-stream-index":"003.002"},"prev":{"type":"string","x-stream-index":"003.003"},"sort":{"description":"Sorting parameters for the results","items":{"$ref":"#/components/schemas/SortParamRequest"},"title":"Sort","type":"array","x-stream-index":"002"}},"type":"object"},"QueryModerationConfigsResponse":{"nullable":true,"properties":{"configs":{"description":"List of moderation configurations","items":{"$ref":"#/components/schemas/ConfigResponse"},"title":"Configs","type":"array","x-stream-index":"001"},"duration":{"type":"string","x-stream-index":"003.001"},"next":{"type":"string","x-stream-index":"002.001"},"prev":{"type":"string","x-stream-index":"002.002"}},"required":["configs","duration"],"type":"object"},"QueryPinnedActivitiesRequest":{"nullable":true,"properties":{"filter":{"additionalProperties":{},"description":"Filters to apply to the query","title":"Filter","type":"object","x-stream-index":"003"},"limit":{"format":"int32","maximum":100,"minimum":0,"type":"integer","x-stream-index":"005.001"},"next":{"type":"string","x-stream-index":"005.002"},"prev":{"type":"string","x-stream-index":"005.003"},"sort":{"description":"Sorting parameters for the query","items":{"$ref":"#/components/schemas/SortParamRequest"},"maxItems":5,"title":"Sort","type":"array","x-stream-index":"004"}},"title":"Query Pinned Activities Request","type":"object"},"QueryPinnedActivitiesResponse":{"nullable":true,"properties":{"duration":{"type":"string","x-stream-index":"003.001"},"next":{"description":"Cursor for next page","title":"Next","type":"string","x-stream-index":"002.001"},"pinned_activities":{"description":"List of pinned activities matching the query","items":{"$ref":"#/components/schemas/ActivityPinResponse"},"title":"Pinned Activities","type":"array","x-stream-index":"001"},"prev":{"description":"Cursor for previous page","title":"Previous","type":"string","x-stream-index":"002.002"}},"required":["pinned_activities","duration"],"title":"Query Pinned Activities Response","type":"object"},"QueryPollVotesRequest":{"nullable":true,"properties":{"filter":{"additionalProperties":{},"description":"Filter to apply to the query","title":"Filter","type":"object","x-stream-index":"003"},"limit":{"format":"int32","maximum":100,"minimum":0,"type":"integer","x-stream-index":"005.001"},"next":{"type":"string","x-stream-index":"005.002"},"prev":{"type":"string","x-stream-index":"005.003"},"sort":{"description":"Array of sort parameters","items":{"$ref":"#/components/schemas/SortParamRequest"},"maxItems":5,"title":"Sort","type":"array","x-stream-index":"004"}},"type":"object"},"QueryPollsRequest":{"nullable":true,"properties":{"filter":{"additionalProperties":{},"description":"Filter to apply to the query","title":"Filter","type":"object","x-stream-index":"002"},"limit":{"format":"int32","maximum":100,"minimum":0,"type":"integer","x-stream-index":"005.001"},"next":{"type":"string","x-stream-index":"005.002"},"prev":{"type":"string","x-stream-index":"005.003"},"sort":{"description":"Array of sort parameters","items":{"$ref":"#/components/schemas/SortParamRequest"},"maxItems":5,"title":"Sort","type":"array","x-stream-index":"003"}},"type":"object"},"QueryPollsResponse":{"nullable":true,"properties":{"duration":{"description":"Duration of the request in milliseconds","title":"Duration","type":"string","x-stream-index":"003.001"},"next":{"type":"string","x-stream-index":"002.001"},"polls":{"description":"Polls data returned by the query","items":{"$ref":"#/components/schemas/PollResponseData"},"title":"PollsResponseData","type":"array","x-stream-index":"001"},"prev":{"type":"string","x-stream-index":"002.002"}},"required":["polls","duration"],"type":"object"},"QueryReviewQueueRequest":{"nullable":true,"properties":{"filter":{"additionalProperties":{},"description":"Filter conditions for review queue items","title":"Filter","type":"object","x-stream-index":"001"},"limit":{"format":"int32","maximum":100,"minimum":0,"type":"integer","x-stream-index":"007.001"},"lock_count":{"description":"Number of items to lock (1-25)","format":"int32","maximum":25,"minimum":1,"title":"Lock Count","type":"integer","x-stream-index":"005"},"lock_duration":{"description":"Duration for which items should be locked","title":"Lock Duration","type":"integer","x-stream-index":"004"},"lock_items":{"description":"Whether to lock items for review (true), unlock items (false), or just fetch (nil)","title":"Lock Items","type":"boolean","x-stream-index":"003"},"next":{"type":"string","x-stream-index":"007.002"},"prev":{"type":"string","x-stream-index":"007.003"},"sort":{"description":"Sorting parameters for the results","items":{"$ref":"#/components/schemas/SortParamRequest"},"title":"Sort","type":"array","x-stream-index":"002"},"stats_only":{"description":"Whether to return only statistics","title":"Stats Only","type":"boolean","x-stream-index":"006"}},"type":"object"},"QueryReviewQueueResponse":{"nullable":true,"properties":{"action_config":{"additionalProperties":{"items":{"$ref":"#/components/schemas/ModerationActionConfigResponse"},"type":"array"},"description":"Configuration for moderation actions","title":"Action Config","type":"object","x-stream-index":"002"},"duration":{"type":"string","x-stream-index":"006.001"},"filter_config":{"$ref":"#/components/schemas/FilterConfigResponse","description":"Configuration for filters in moderation review queue","title":"Filter Config","x-stream-index":"003"},"items":{"description":"List of review queue items","items":{"$ref":"#/components/schemas/ReviewQueueItemResponse"},"title":"Items","type":"array","x-stream-index":"001"},"next":{"type":"string","x-stream-index":"005.001"},"prev":{"type":"string","x-stream-index":"005.002"},"stats":{"additionalProperties":{},"description":"Statistics about the review queue","title":"Stats","type":"object","x-stream-index":"004"}},"required":["items","action_config","stats","duration"],"type":"object"},"QueryUsersPayload":{"description":"Client request","properties":{"filter_conditions":{"additionalProperties":{},"type":"object","x-stream-index":"001"},"include_deactivated_users":{"type":"boolean","x-stream-index":"004"},"limit":{"format":"int32","maximum":100,"minimum":0,"type":"integer","x-stream-index":"005.001"},"offset":{"format":"int32","maximum":1000,"minimum":0,"type":"integer","x-stream-index":"005.002"},"presence":{"type":"boolean","x-stream-index":"003"},"sort":{"items":{"$ref":"#/components/schemas/SortParamRequest"},"maxItems":5,"type":"array","x-stream-index":"002"}},"required":["filter_conditions"],"title":"ClientRequest","type":"object"},"QueryUsersResponse":{"nullable":true,"properties":{"duration":{"description":"Duration of the request in milliseconds","title":"Duration","type":"string","x-stream-index":"002.001"},"users":{"description":"Array of users as result of filters applied.","items":{"$ref":"#/components/schemas/FullUserResponse"},"title":"Users","type":"array","x-stream-index":"001"}},"required":["users","duration"],"type":"object"},"RTMPIngress":{"description":"RTMP input settings","properties":{"address":{"title":"Address","type":"string","x-stream-index":"001"}},"required":["address"],"title":"RTMPIngress","type":"object"},"RTMPSettingsResponse":{"description":"RTMPSettingsResponse is the payload for RTMP settings","properties":{"enabled":{"title":"Enabled","type":"boolean","x-stream-index":"001"},"quality":{"title":"Quality","type":"string","x-stream-index":"002"}},"required":["enabled","quality","layout"],"title":"RTMPSettingsResponse","type":"object"},"RankingConfig":{"properties":{"defaults":{"additionalProperties":{},"type":"object","x-stream-index":"003"},"functions":{"additionalProperties":{"$ref":"#/components/schemas/DecayFunctionConfig"},"type":"object","x-stream-index":"004"},"score":{"type":"string","x-stream-index":"002"},"type":{"type":"string","x-stream-index":"001"}},"type":"object"},"RawRecordingResponse":{"properties":{"status":{"type":"string","x-stream-index":"001"}},"required":["status"],"type":"object"},"RawRecordingSettingsResponse":{"properties":{"mode":{"enum":["available","disabled","auto-on"],"type":"string","x-stream-index":"001"}},"required":["mode"],"type":"object"},"Reaction":{"properties":{"activity_id":{"type":"string","x-stream-index":"001.003"},"children_counts":{"additionalProperties":{},"type":"object","x-stream-index":"005"},"created_at":{"format":"date-time","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"},"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"},"own_children":{"additionalProperties":{"items":{"$ref":"#/components/schemas/Reaction"},"type":"array"},"type":"object","x-stream-index":"004"},"parent":{"type":"string","x-stream-index":"001.008"},"score":{"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","type":"number","x-stream-index":"007"},"user":{"$ref":"#/components/schemas/User","x-stream-index":"002"},"user_id":{"type":"string","x-stream-index":"001.004"}},"required":["kind","activity_id","user_id","created_at","updated_at"],"type":"object"},"ReactionGroupResponse":{"description":"ReactionGroupResponse contains all information about a reaction of the same type.","nullable":true,"properties":{"count":{"description":"Count is the number of reactions of this type.","format":"int32","title":"Count","type":"integer","x-stream-index":"001"},"first_reaction_at":{"description":"FirstReactionAt is the time of the first reaction of this type. This is the same also if all reaction of this type are deleted, because if someone will react again with the same type, will be preserved the sorting.","format":"date-time","title":"FirstReactionAt","type":"number","x-stream-index":"003"},"last_reaction_at":{"description":"LastReactionAt is the time of the last reaction of this type.","format":"date-time","title":"LastReactionAt","type":"number","x-stream-index":"004"},"sum_scores":{"description":"SumScores is the sum of all scores of reactions of this type. Medium allows you to clap articles more than once and shows the sum of all claps from all users. For example, you can send `clap` x5 using `score: 5`.","format":"int32","title":"SumScores","type":"integer","x-stream-index":"002"}},"required":["count","sum_scores","first_reaction_at","last_reaction_at"],"title":"ReactionGroupResponse","type":"object"},"ReactionResponse":{"properties":{"created_at":{"description":"Date/time of creation","format":"date-time","title":"Created at","type":"number","x-stream-index":"006"},"custom":{"additionalProperties":{},"description":"Custom data for this object","title":"Custom data","type":"object","x-stream-index":"008"},"message_id":{"description":"Message ID","title":"Message ID","type":"string","x-stream-index":"001"},"score":{"description":"Score of the reaction","format":"int32","title":"Score","type":"integer","x-stream-index":"005"},"type":{"description":"Type of reaction","title":"Type","type":"string","x-stream-index":"004"},"updated_at":{"description":"Date/time of the last update","format":"date-time","title":"Updated at","type":"number","x-stream-index":"007"},"user":{"$ref":"#/components/schemas/UserResponse","description":"User","title":"UserResponse","x-stream-index":"003"},"user_id":{"description":"User ID","title":"User ID","type":"string","x-stream-index":"002"}},"required":["message_id","user_id","user","type","score","created_at","updated_at","custom"],"type":"object"},"ReadCollectionsResponse":{"nullable":true,"properties":{"collections":{"description":"List of collections matching the query","items":{"$ref":"#/components/schemas/CollectionResponse"},"title":"Collections","type":"array","x-stream-index":"001"},"duration":{"type":"string","x-stream-index":"002.001"}},"required":["collections","duration"],"title":"Read Collections Response","type":"object"},"ReadReceiptsResponse":{"properties":{"enabled":{"type":"boolean","x-stream-index":"001"}},"required":["enabled"],"type":"object"},"RecordSettingsResponse":{"description":"RecordSettings is the payload for recording settings","properties":{"audio_only":{"title":"Audio Only","type":"boolean","x-stream-index":"001"},"mode":{"title":"Mode","type":"string","x-stream-index":"002"},"quality":{"title":"Quality","type":"string","x-stream-index":"003"}},"required":["audio_only","mode","quality","layout"],"title":"RecordSettingsResponse","type":"object"},"RejectAppealRequestPayload":{"description":"Configuration for rejecting an appeal","properties":{"decision_reason":{"description":"Reason for rejecting the appeal","title":"Decision Reason","type":"string","x-stream-index":"001"}},"required":["decision_reason"],"title":"RejectAppealRequest","type":"object"},"RejectFeedMemberInviteRequest":{"nullable":true,"title":"Reject Feed Member Request","type":"object"},"RejectFeedMemberInviteResponse":{"nullable":true,"properties":{"duration":{"type":"string","x-stream-index":"002.001"},"member":{"$ref":"#/components/schemas/FeedMemberResponse","description":"The feed member after rejecting the invite","title":"Feed Member","x-stream-index":"001"}},"required":["member","duration"],"title":"Reject Feed Member Response","type":"object"},"RejectFollowRequest":{"nullable":true,"properties":{"source":{"description":"Fully qualified ID of the source feed","maxLength":255,"title":"Source Feed ID","type":"string","x-stream-index":"001"},"target":{"description":"Fully qualified ID of the target feed","maxLength":255,"title":"Target Feed ID","type":"string","x-stream-index":"002"}},"required":["source","target"],"title":"Reject Follow Request","type":"object"},"RejectFollowResponse":{"nullable":true,"properties":{"duration":{"type":"string","x-stream-index":"002.001"},"follow":{"$ref":"#/components/schemas/FollowResponse","description":"The rejected follow relationship","title":"Follow","x-stream-index":"001"}},"required":["follow","duration"],"title":"Reject Follow Response","type":"object"},"ReminderResponseData":{"properties":{"channel":{"$ref":"#/components/schemas/ChannelResponse","x-stream-index":"003"},"channel_cid":{"type":"string","x-stream-index":"002"},"created_at":{"format":"date-time","type":"number","x-stream-index":"008"},"message":{"$ref":"#/components/schemas/MessageResponse","x-stream-index":"005"},"message_id":{"type":"string","x-stream-index":"004"},"remind_at":{"format":"date-time","type":"number","x-stream-index":"001"},"updated_at":{"format":"date-time","type":"number","x-stream-index":"009"},"user":{"$ref":"#/components/schemas/UserResponse","x-stream-index":"007"},"user_id":{"type":"string","x-stream-index":"006"}},"required":["channel_cid","message_id","user_id","created_at","updated_at"],"type":"object"},"RepliesMeta":{"description":"Cursor \u0026 depth information for a comment's direct replies. Mirrors Reddit's 'load more replies' semantics.","properties":{"depth_truncated":{"description":"True if the subtree was cut because the requested depth was reached.","title":"Depth Truncated","type":"boolean","x-stream-index":"004"},"has_more":{"description":"True if more siblings exist in the database.","title":"Has More","type":"boolean","x-stream-index":"001"},"next_cursor":{"description":"Opaque cursor to request the next page of siblings.","title":"Next Cursor","type":"string","x-stream-index":"002"},"remaining":{"description":"Number of unread siblings that match current filters.","format":"int32","title":"Remaining","type":"integer","x-stream-index":"003"}},"required":["has_more","remaining","depth_truncated"],"title":"Replies Meta","type":"object"},"Response":{"description":"Basic response information","nullable":true,"properties":{"duration":{"description":"Duration of the request in milliseconds","title":"Duration","type":"string","x-stream-index":"001"}},"required":["duration"],"title":"Response","type":"object"},"RestoreActionRequestPayload":{"description":"Configuration for restore action","properties":{"decision_reason":{"description":"Reason for the appeal decision","title":"Decision Reason","type":"string","x-stream-index":"001"}},"title":"RestoreActionRequest","type":"object"},"RestoreActivityRequest":{"nullable":true,"title":"Restore Activity Request","type":"object"},"RestoreActivityResponse":{"nullable":true,"properties":{"activity":{"$ref":"#/components/schemas/ActivityResponse","description":"The restored activity with full enrichment","title":"Activity","x-stream-index":"001"},"duration":{"type":"string","x-stream-index":"002.001"}},"required":["activity","duration"],"title":"Restore Activity Response","type":"object"},"ReviewQueueItemResponse":{"nullable":true,"properties":{"actions":{"description":"Moderation actions taken","items":{"$ref":"#/components/schemas/ActionLogResponse"},"title":"Actions","type":"array","x-stream-index":"025"},"activity":{"$ref":"#/components/schemas/EnrichedActivity","x-stream-index":"017"},"ai_text_severity":{"description":"AI-determined text severity","title":"AI Text Severity","type":"string","x-stream-index":"014"},"appeal":{"$ref":"#/components/schemas/AppealItemResponse","description":"Appeal submitted for this item if it exists","title":"Appeal","x-stream-index":"026"},"assigned_to":{"$ref":"#/components/schemas/UserResponse","description":"Moderator assigned to review this item","title":"Assigned To","x-stream-index":"022"},"bans":{"description":"Associated ban records","items":{"$ref":"#/components/schemas/BanInfoResponse"},"title":"Bans","type":"array","x-stream-index":"023"},"call":{"$ref":"#/components/schemas/CallResponse","x-stream-index":"019"},"completed_at":{"description":"When the review was completed","format":"date-time","title":"Completed At","type":"number","x-stream-index":"009"},"config_key":{"type":"string","x-stream-index":"032"},"created_at":{"description":"When the item was created","format":"date-time","title":"Created At","type":"number","x-stream-index":"002"},"entity_creator":{"$ref":"#/components/schemas/EntityCreatorResponse","description":"Details about who created the entity","title":"Entity Creator","x-stream-index":"020"},"entity_creator_id":{"description":"ID of who created the entity","title":"Entity Creator ID","type":"string","x-stream-index":"021"},"entity_id":{"description":"ID of the entity being reviewed","title":"Entity ID","type":"string","x-stream-index":"005"},"entity_type":{"description":"Type of entity being reviewed","title":"Entity Type","type":"string","x-stream-index":"004"},"feeds_v2_activity":{"$ref":"#/components/schemas/EnrichedActivity","description":"Associated feed activity","title":"Feeds V2 Activity","x-stream-index":"027"},"feeds_v2_reaction":{"$ref":"#/components/schemas/Reaction","description":"Associated feed reaction","title":"Feeds V2 Reaction","x-stream-index":"028"},"feeds_v3_activity":{"$ref":"#/components/schemas/ActivityResponse","x-stream-index":"029"},"feeds_v3_comment":{"$ref":"#/components/schemas/CommentResponse","x-stream-index":"030"},"flags":{"description":"Associated flag records","items":{"$ref":"#/components/schemas/ModerationFlagResponse"},"title":"Flags","type":"array","x-stream-index":"024"},"flags_count":{"format":"int32","type":"integer","x-stream-index":"033"},"id":{"description":"Unique identifier of the review queue item","title":"ID","type":"string","x-stream-index":"001"},"languages":{"description":"Detected languages in the content","items":{"type":"string"},"title":"Languages","type":"array","x-stream-index":"012"},"latest_moderator_action":{"type":"string","x-stream-index":"015"},"message":{"$ref":"#/components/schemas/MessageResponse","description":"Associated message details","title":"Message","x-stream-index":"016"},"moderation_payload":{"$ref":"#/components/schemas/ModerationPayloadResponse","description":"Content being moderated","title":"Moderation Payload","x-stream-index":"006"},"reaction":{"$ref":"#/components/schemas/Reaction","x-stream-index":"018"},"recommended_action":{"description":"Suggested moderation action","title":"Recommended Action","type":"string","x-stream-index":"008"},"reviewed_at":{"description":"When the item was reviewed","format":"date-time","title":"Reviewed At","type":"number","x-stream-index":"010"},"reviewed_by":{"description":"ID of the moderator who reviewed the item","title":"Reviewed By","type":"string","x-stream-index":"011"},"severity":{"description":"Severity level of the content","format":"int32","title":"Severity","type":"integer","x-stream-index":"013"},"status":{"description":"Current status of the review","title":"Status","type":"string","x-stream-index":"007"},"teams":{"description":"Teams associated with this item","items":{"type":"string"},"title":"Teams","type":"array","x-stream-index":"031"},"updated_at":{"description":"When the item was last updated","format":"date-time","title":"Updated At","type":"number","x-stream-index":"003"}},"required":["id","created_at","updated_at","entity_type","entity_id","status","recommended_action","reviewed_by","languages","severity","ai_text_severity","latest_moderator_action","bans","flags","actions","flags_count"],"type":"object"},"RingSettingsResponse":{"properties":{"auto_cancel_timeout_ms":{"format":"int32","type":"integer","x-stream-index":"002"},"incoming_call_timeout_ms":{"format":"int32","type":"integer","x-stream-index":"001"},"missed_call_timeout_ms":{"format":"int32","type":"integer","x-stream-index":"003"}},"required":["incoming_call_timeout_ms","auto_cancel_timeout_ms","missed_call_timeout_ms"],"type":"object"},"RuleBuilderAction":{"properties":{"ban_options":{"$ref":"#/components/schemas/BanOptions","x-stream-index":"002"},"call_options":{"$ref":"#/components/schemas/CallActionOptions","x-stream-index":"004"},"flag_user_options":{"$ref":"#/components/schemas/FlagUserOptions","x-stream-index":"003"},"type":{"enum":["ban_user","flag_user","flag_content","block_content","shadow_content","bounce_flag_content","bounce_content","bounce_remove_content","mute_video","mute_audio","blur","call_blur","end_call","kick_user","warning","call_warning","webhook_only"],"type":"string","x-stream-index":"001"}},"type":"object"},"RuleBuilderCondition":{"properties":{"call_custom_property_params":{"$ref":"#/components/schemas/CallCustomPropertyParameters","x-stream-index":"020"},"call_type_rule_params":{"$ref":"#/components/schemas/CallTypeRuleParameters","x-stream-index":"019"},"call_violation_count_params":{"$ref":"#/components/schemas/CallViolationCountParameters","x-stream-index":"021"},"closed_caption_rule_params":{"$ref":"#/components/schemas/ClosedCaptionRuleParameters","x-stream-index":"018"},"confidence":{"format":"float","type":"number","x-stream-index":"002"},"content_count_rule_params":{"$ref":"#/components/schemas/ContentCountRuleParameters","x-stream-index":"007"},"content_flag_count_rule_params":{"$ref":"#/components/schemas/FlagCountRuleParameters","x-stream-index":"009"},"image_content_params":{"$ref":"#/components/schemas/ImageContentParameters","x-stream-index":"012"},"image_rule_params":{"$ref":"#/components/schemas/ImageRuleParameters","x-stream-index":"004"},"keyframe_rule_params":{"$ref":"#/components/schemas/KeyframeRuleParameters","x-stream-index":"017"},"text_content_params":{"$ref":"#/components/schemas/TextContentParameters","x-stream-index":"011"},"text_rule_params":{"$ref":"#/components/schemas/TextRuleParameters","x-stream-index":"003"},"type":{"type":"string","x-stream-index":"001"},"user_created_within_params":{"$ref":"#/components/schemas/UserCreatedWithinParameters","x-stream-index":"014"},"user_custom_property_params":{"$ref":"#/components/schemas/UserCustomPropertyParameters","x-stream-index":"015"},"user_flag_count_rule_params":{"$ref":"#/components/schemas/FlagCountRuleParameters","x-stream-index":"008"},"user_identical_content_count_params":{"$ref":"#/components/schemas/UserIdenticalContentCountParameters","x-stream-index":"010"},"user_role_params":{"$ref":"#/components/schemas/UserRoleParameters","x-stream-index":"016"},"user_rule_params":{"$ref":"#/components/schemas/UserRuleParameters","x-stream-index":"006"},"video_content_params":{"$ref":"#/components/schemas/VideoContentParameters","x-stream-index":"013"},"video_rule_params":{"$ref":"#/components/schemas/VideoRuleParameters","x-stream-index":"005"}},"type":"object"},"RuleBuilderConditionGroup":{"properties":{"conditions":{"items":{"$ref":"#/components/schemas/RuleBuilderCondition"},"type":"array","x-stream-index":"002"},"logic":{"type":"string","x-stream-index":"001"}},"type":"object"},"RuleBuilderConfig":{"properties":{"async":{"type":"boolean","x-stream-index":"001"},"rules":{"items":{"$ref":"#/components/schemas/RuleBuilderRule"},"type":"array","x-stream-index":"002"}},"type":"object"},"RuleBuilderRule":{"properties":{"action":{"$ref":"#/components/schemas/RuleBuilderAction","x-stream-index":"006"},"action_sequences":{"items":{"$ref":"#/components/schemas/CallRuleActionSequence"},"type":"array","x-stream-index":"007"},"conditions":{"items":{"$ref":"#/components/schemas/RuleBuilderCondition"},"type":"array","x-stream-index":"003"},"cooldown_period":{"type":"string","x-stream-index":"008"},"groups":{"items":{"$ref":"#/components/schemas/RuleBuilderConditionGroup"},"type":"array","x-stream-index":"005"},"id":{"type":"string","x-stream-index":"001"},"logic":{"type":"string","x-stream-index":"004"},"rule_type":{"type":"string","x-stream-index":"002"}},"required":["rule_type"],"type":"object"},"SRTIngress":{"properties":{"address":{"type":"string","x-stream-index":"001"}},"required":["address"],"type":"object"},"ScreensharingSettingsResponse":{"properties":{"access_request_enabled":{"type":"boolean","x-stream-index":"002"},"enabled":{"type":"boolean","x-stream-index":"001"},"target_resolution":{"$ref":"#/components/schemas/TargetResolution","x-stream-index":"003"}},"required":["enabled","access_request_enabled"],"type":"object"},"SessionSettingsResponse":{"properties":{"inactivity_timeout_seconds":{"format":"int32","maximum":900,"minimum":5,"type":"integer","x-stream-index":"001"}},"required":["inactivity_timeout_seconds"],"type":"object"},"ShadowBlockActionRequestPayload":{"description":"Configuration for shadow block action","properties":{"reason":{"description":"Reason for shadow blocking","title":"Reason","type":"string","x-stream-index":"001"}},"title":"ShadowBlockActionRequest","type":"object"},"SharedLocationResponse":{"nullable":true,"properties":{"channel":{"$ref":"#/components/schemas/ChannelResponse","x-stream-index":"001.011"},"channel_cid":{"description":"Channel CID","title":"string","type":"string","x-stream-index":"001.001"},"created_at":{"description":"Date/time of creation","format":"date-time","title":"Created at","type":"number","x-stream-index":"001.008"},"created_by_device_id":{"description":"Device ID that created the live location","title":"string","type":"string","x-stream-index":"001.006"},"duration":{"type":"string","x-stream-index":"002.001"},"end_at":{"description":"Time when the live location expires","format":"date-time","title":"string","type":"number","x-stream-index":"001.007"},"latitude":{"description":"Latitude coordinate","format":"float","title":"number","type":"number","x-stream-index":"001.004"},"longitude":{"description":"Longitude coordinate","format":"float","title":"number","type":"number","x-stream-index":"001.005"},"message":{"$ref":"#/components/schemas/MessageResponse","x-stream-index":"001.010"},"message_id":{"description":"Message ID","title":"string","type":"string","x-stream-index":"001.002"},"updated_at":{"description":"Date/time of the last update","format":"date-time","title":"Updated at","type":"number","x-stream-index":"001.009"},"user_id":{"description":"User ID","title":"string","type":"string","x-stream-index":"001.003"}},"required":["channel_cid","message_id","user_id","latitude","longitude","created_by_device_id","created_at","updated_at","duration"],"type":"object"},"SharedLocationResponseData":{"nullable":true,"properties":{"channel":{"$ref":"#/components/schemas/ChannelResponse","x-stream-index":"011"},"channel_cid":{"type":"string","x-stream-index":"001"},"created_at":{"format":"date-time","type":"number","x-stream-index":"008"},"created_by_device_id":{"type":"string","x-stream-index":"006"},"end_at":{"format":"date-time","type":"number","x-stream-index":"007"},"latitude":{"format":"float","type":"number","x-stream-index":"004"},"longitude":{"format":"float","type":"number","x-stream-index":"005"},"message":{"$ref":"#/components/schemas/MessageResponse","x-stream-index":"010"},"message_id":{"type":"string","x-stream-index":"002"},"updated_at":{"format":"date-time","type":"number","x-stream-index":"009"},"user_id":{"type":"string","x-stream-index":"003"}},"required":["channel_cid","message_id","user_id","latitude","longitude","created_by_device_id","created_at","updated_at"],"type":"object"},"SharedLocationsResponse":{"nullable":true,"properties":{"active_live_locations":{"items":{"$ref":"#/components/schemas/SharedLocationResponseData"},"type":"array","x-stream-index":"001"},"duration":{"type":"string","x-stream-index":"002.001"}},"required":["active_live_locations","duration"],"type":"object"},"SingleFollowResponse":{"nullable":true,"properties":{"duration":{"type":"string","x-stream-index":"003.001"},"follow":{"$ref":"#/components/schemas/FollowResponse","description":"The created follow relationship","title":"Follow","x-stream-index":"001"},"notification_created":{"description":"Whether a notification activity was successfully created","title":"Notification Created","type":"boolean","x-stream-index":"002"}},"required":["follow","duration"],"title":"Follow Response","type":"object"},"SortParam":{"nullable":true,"properties":{"direction":{"format":"int32","type":"integer","x-stream-index":"003"},"field":{"type":"string","x-stream-index":"001"},"type":{"type":"string","x-stream-index":"002"}},"required":["field","type","direction"],"type":"object"},"SortParamRequest":{"nullable":true,"properties":{"direction":{"description":"Direction of sorting, 1 for Ascending, -1 for Descending, default is 1. One of: -1, 1","format":"int32","title":"Direction","type":"integer","x-stream-index":"003"},"field":{"description":"Name of field to sort by","title":"Field","type":"string","x-stream-index":"001"},"type":{"description":"Type of field to sort by. Empty string or omitted means string type (default). One of: number, boolean","title":"Type","type":"string","x-stream-index":"002"}},"type":"object"},"SpeechSegmentConfig":{"properties":{"max_speech_caption_ms":{"format":"int32","type":"integer","x-stream-index":"001"},"silence_duration_ms":{"format":"int32","type":"integer","x-stream-index":"002"}},"type":"object"},"StoriesConfig":{"properties":{"skip_watched":{"type":"boolean","x-stream-index":"001"},"track_watched":{"type":"boolean","x-stream-index":"002"}},"type":"object"},"StoriesFeedUpdatedEvent":{"description":"Emitted when stories feed is updated.","nullable":true,"properties":{"activities":{"description":"Individual activities for stories feeds","items":{"$ref":"#/components/schemas/ActivityResponse"},"title":"Activities","type":"array","x-stream-index":"002"},"aggregated_activities":{"description":"Aggregated activities for stories feeds","items":{"$ref":"#/components/schemas/AggregatedActivityResponse"},"title":"Aggregated Activities","type":"array","x-stream-index":"001"},"created_at":{"description":"Date/time of creation","format":"date-time","title":"Created at","type":"number","x-stream-index":"003.001.003"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"003.001.007"},"feed_visibility":{"type":"string","x-stream-index":"003.003"},"fid":{"description":"The ID of the feed","title":"Feed ID","type":"string","x-stream-index":"003.002"},"received_at":{"format":"date-time","type":"number","x-stream-index":"003.001.004"},"type":{"default":"feeds.stories_feed.updated","description":"The type of event: \"feeds.stories_feed.updated\" in this case","title":"Event Type","type":"string","x-stream-index":"003.001.002"},"user":{"$ref":"#/components/schemas/UserResponseCommonFields","description":"The user who triggered the stories update","title":"User","x-stream-index":"004.001"}},"required":["type","created_at","custom","fid"],"title":"StoriesFeedUpdatedEvent","type":"object","x-stream-event-client-type":true,"x-stream-event-doc-group":"other","x-stream-is-event":true,"x-stream-throttle-group":"mergeable","x-stream-ws-base-event-name":"VideoEvent"},"SubmitActionRequest":{"nullable":true,"properties":{"action_type":{"description":"Type of moderation action to perform. One of: mark_reviewed, delete_message, delete_activity, delete_comment, delete_reaction, ban, custom, unban, restore, delete_user, unblock, block, shadow_block, unmask, kick_user, end_call","enum":["flag","mark_reviewed","delete_message","delete_activity","delete_comment","delete_reaction","ban","custom","unban","restore","delete_user","unblock","block","shadow_block","unmask","kick_user","end_call","reject_appeal"],"title":"Action Type","type":"string","x-stream-index":"002"},"appeal_id":{"description":"UUID of the appeal to act on (required for reject_appeal, optional for other actions)","title":"Appeal ID","type":"string","x-stream-index":"003"},"ban":{"$ref":"#/components/schemas/BanActionRequestPayload","description":"Configuration for ban action","title":"Ban","x-stream-index":"010"},"block":{"$ref":"#/components/schemas/BlockActionRequestPayload","description":"Configuration for block action","title":"Block","x-stream-index":"015"},"custom":{"$ref":"#/components/schemas/CustomActionRequestPayload","description":"Configuration for custom action","title":"Custom","x-stream-index":"011"},"delete_activity":{"$ref":"#/components/schemas/DeleteActivityRequestPayload","description":"Configuration for activity deletion action","title":"Delete Activity","x-stream-index":"005"},"delete_comment":{"$ref":"#/components/schemas/DeleteCommentRequestPayload","description":"Configuration for comment deletion action","title":"Delete Comment","x-stream-index":"006"},"delete_message":{"$ref":"#/components/schemas/DeleteMessageRequestPayload","description":"Configuration for message deletion action","title":"Delete Message","x-stream-index":"004"},"delete_reaction":{"$ref":"#/components/schemas/DeleteReactionRequestPayload","description":"Configuration for reaction deletion action","title":"Delete Reaction","x-stream-index":"007"},"delete_user":{"$ref":"#/components/schemas/DeleteUserRequestPayload","description":"Configuration for user deletion action","title":"Delete User","x-stream-index":"008"},"flag":{"$ref":"#/components/schemas/FlagRequest","description":"Configuration for flag action","title":"Flag","x-stream-index":"020"},"item_id":{"description":"UUID of the review queue item to act on","title":"Item ID","type":"string","x-stream-index":"001"},"mark_reviewed":{"$ref":"#/components/schemas/MarkReviewedRequestPayload","description":"Configuration for marking item as reviewed","title":"Mark Reviewed","x-stream-index":"009"},"reject_appeal":{"$ref":"#/components/schemas/RejectAppealRequestPayload","description":"Configuration for rejecting an appeal","title":"Reject Appeal","x-stream-index":"019"},"restore":{"$ref":"#/components/schemas/RestoreActionRequestPayload","description":"Configuration for restore action","title":"Restore","x-stream-index":"013"},"shadow_block":{"$ref":"#/components/schemas/ShadowBlockActionRequestPayload","description":"Configuration for shadow block action","title":"Shadow Block","x-stream-index":"016"},"unban":{"$ref":"#/components/schemas/UnbanActionRequestPayload","description":"Configuration for unban action","title":"Unban","x-stream-index":"012"},"unblock":{"$ref":"#/components/schemas/UnblockActionRequestPayload","description":"Configuration for unblock action","title":"Unblock","x-stream-index":"014"}},"required":["action_type"],"type":"object"},"SubmitActionResponse":{"nullable":true,"properties":{"appeal_item":{"$ref":"#/components/schemas/AppealItemResponse","description":"Updated Appeal item after action was performed","title":"Appeal Item","x-stream-index":"002"},"duration":{"type":"string","x-stream-index":"003.001"},"item":{"$ref":"#/components/schemas/ReviewQueueItemResponse","description":"Updated review queue item after action was performed","title":"Item","x-stream-index":"001"}},"required":["duration"],"type":"object"},"TargetResolution":{"properties":{"bitrate":{"format":"int32","maximum":6000000,"type":"integer","x-stream-index":"003"},"height":{"format":"int32","maximum":3840,"minimum":240,"type":"integer","x-stream-index":"002"},"width":{"format":"int32","maximum":3840,"minimum":240,"type":"integer","x-stream-index":"001"}},"required":["width","height","bitrate"],"type":"object"},"TextContentParameters":{"properties":{"blocklist_match":{"items":{"type":"string"},"type":"array","x-stream-index":"005"},"contains_url":{"type":"boolean","x-stream-index":"003"},"harm_labels":{"items":{"type":"string"},"type":"array","x-stream-index":"001"},"llm_harm_labels":{"additionalProperties":{"type":"string"},"type":"object","x-stream-index":"002"},"severity":{"type":"string","x-stream-index":"004"}},"type":"object"},"TextRuleParameters":{"properties":{"blocklist_match":{"items":{"type":"string"},"type":"array","x-stream-index":"007"},"contains_url":{"type":"boolean","x-stream-index":"005"},"harm_labels":{"items":{"type":"string"},"type":"array","x-stream-index":"003"},"llm_harm_labels":{"additionalProperties":{"type":"string"},"type":"object","x-stream-index":"004"},"semantic_filter_min_threshold":{"format":"float","type":"number","x-stream-index":"009"},"semantic_filter_names":{"items":{"type":"string"},"type":"array","x-stream-index":"008"},"severity":{"type":"string","x-stream-index":"006"},"threshold":{"format":"int32","type":"integer","x-stream-index":"001"},"time_window":{"type":"string","x-stream-index":"002"}},"type":"object"},"ThreadedCommentResponse":{"description":"A comment with an optional, depth‑limited slice of nested replies.","properties":{"attachments":{"items":{"$ref":"#/components/schemas/Attachment"},"type":"array","x-stream-index":"001.011"},"confidence_score":{"format":"float","type":"number","x-stream-index":"001.023"},"controversy_score":{"format":"float","type":"number","x-stream-index":"001.024"},"created_at":{"format":"date-time","type":"number","x-stream-index":"001.014"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"001.006"},"deleted_at":{"format":"date-time","type":"number","x-stream-index":"001.017"},"downvote_count":{"format":"int32","type":"integer","x-stream-index":"001.021"},"edited_at":{"format":"date-time","type":"number","x-stream-index":"001.016"},"id":{"type":"string","x-stream-index":"001.001"},"latest_reactions":{"items":{"$ref":"#/components/schemas/FeedsReactionResponse"},"type":"array","x-stream-index":"001.009"},"mentioned_users":{"items":{"$ref":"#/components/schemas/UserResponse"},"type":"array","x-stream-index":"001.012"},"meta":{"$ref":"#/components/schemas/RepliesMeta","description":"Pagination \u0026 depth info for this node's direct replies.","title":"Replies Meta","x-stream-index":"002"},"moderation":{"$ref":"#/components/schemas/ModerationV2Response","x-stream-index":"001.018"},"object_id":{"type":"string","x-stream-index":"001.002"},"object_type":{"type":"string","x-stream-index":"001.003"},"own_reactions":{"items":{"$ref":"#/components/schemas/FeedsReactionResponse"},"type":"array","x-stream-index":"001.025"},"parent_id":{"type":"string","x-stream-index":"001.007"},"reaction_count":{"format":"int32","type":"integer","x-stream-index":"001.008"},"reaction_groups":{"additionalProperties":{"$ref":"#/components/schemas/FeedsReactionGroupResponse"},"type":"object","x-stream-index":"001.010"},"replies":{"description":"Slice of nested comments (may be empty).","items":{"$ref":"#/components/schemas/ThreadedCommentResponse"},"title":"Replies","type":"array","x-stream-index":"003"},"reply_count":{"format":"int32","type":"integer","x-stream-index":"001.019"},"score":{"format":"int32","type":"integer","x-stream-index":"001.022"},"status":{"description":"Status of the comment. One of: active, deleted, removed, hidden","title":"Status","type":"string","x-stream-index":"001.013"},"text":{"type":"string","x-stream-index":"001.005"},"updated_at":{"format":"date-time","type":"number","x-stream-index":"001.015"},"upvote_count":{"format":"int32","type":"integer","x-stream-index":"001.020"},"user":{"$ref":"#/components/schemas/UserResponse","x-stream-index":"001.004"}},"required":["id","object_id","object_type","user","reaction_count","mentioned_users","status","created_at","updated_at","reply_count","upvote_count","downvote_count","score","confidence_score","own_reactions"],"title":"Threaded Comment Response","type":"object"},"Thresholds":{"description":"Sets thresholds for AI moderation","properties":{"explicit":{"$ref":"#/components/schemas/LabelThresholds","description":"Thresholds for explicit messages","title":"LabelThresholds","x-stream-index":"001"},"spam":{"$ref":"#/components/schemas/LabelThresholds","description":"Thresholds for spam","title":"LabelThresholds","x-stream-index":"002"},"toxic":{"$ref":"#/components/schemas/LabelThresholds","description":"Thresholds for toxic messages","title":"LabelThresholds","x-stream-index":"003"}},"title":"Auto moderation thresholds","type":"object"},"ThumbnailResponse":{"properties":{"image_url":{"type":"string","x-stream-index":"001"}},"required":["image_url"],"type":"object"},"ThumbnailsSettingsResponse":{"properties":{"enabled":{"type":"boolean","x-stream-index":"001"}},"required":["enabled"],"type":"object"},"Time":{"type":"object"},"TranscriptionSettingsResponse":{"properties":{"closed_caption_mode":{"enum":["available","disabled","auto-on"],"type":"string","x-stream-index":"002"},"language":{"enum":["auto","en","fr","es","de","it","nl","pt","pl","ca","cs","da","el","fi","id","ja","ru","sv","ta","th","tr","hu","ro","zh","ar","tl","he","hi","hr","ko","ms","no","uk","bg","et","sl","sk"],"type":"string","x-stream-index":"004"},"mode":{"enum":["available","disabled","auto-on"],"type":"string","x-stream-index":"001"},"speech_segment_config":{"$ref":"#/components/schemas/SpeechSegmentConfig","x-stream-index":"006"},"translation":{"$ref":"#/components/schemas/TranslationSettings","x-stream-index":"005"}},"required":["mode","closed_caption_mode","languages","language"],"type":"object"},"TranslationSettings":{"properties":{"enabled":{"type":"boolean","x-stream-index":"001"},"languages":{"items":{"enum":["en","fr","es","de","it","nl","pt","pl","ca","cs","da","el","fi","id","ja","ru","sv","ta","th","tr","hu","ro","zh","ar","tl","he","hi","hr","ko","ms","no","uk"],"type":"string"},"type":"array","x-stream-index":"002"}},"required":["enabled","languages"],"type":"object"},"TypingIndicatorsResponse":{"properties":{"enabled":{"type":"boolean","x-stream-index":"001"}},"required":["enabled"],"type":"object"},"UnbanActionRequestPayload":{"description":"Configuration for unban moderation action","properties":{"channel_cid":{"description":"Channel CID for channel-specific unban","title":"Channel CID","type":"string","x-stream-index":"001"},"decision_reason":{"description":"Reason for the appeal decision","title":"Decision Reason","type":"string","x-stream-index":"002"}},"title":"UnbanActionRequest","type":"object"},"UnblockActionRequestPayload":{"description":"Configuration for unblock action","properties":{"decision_reason":{"description":"Reason for the appeal decision","title":"Decision Reason","type":"string","x-stream-index":"001"}},"title":"UnblockActionRequest","type":"object"},"UnblockUsersRequest":{"nullable":true,"properties":{"blocked_user_id":{"type":"string","x-stream-index":"001"}},"required":["blocked_user_id"],"type":"object"},"UnblockUsersResponse":{"nullable":true,"properties":{"duration":{"description":"Duration of the request in milliseconds","title":"Duration","type":"string","x-stream-index":"001.001"}},"required":["duration"],"type":"object"},"UnfollowBatchRequest":{"nullable":true,"properties":{"delete_notification_activity":{"description":"Whether to delete the corresponding notification activity (default: false)","title":"Delete Notification Activity","type":"boolean","x-stream-index":"002"},"follows":{"description":"List of follow relationships to remove","items":{"$ref":"#/components/schemas/FollowPair"},"maxItems":100,"minItems":1,"title":"Follows","type":"array","x-stream-index":"001"}},"required":["follows"],"title":"Unfollow Batch Request","type":"object"},"UnfollowBatchResponse":{"nullable":true,"properties":{"duration":{"type":"string","x-stream-index":"002.001"},"follows":{"description":"List of follow relationships that were removed","items":{"$ref":"#/components/schemas/FollowResponse"},"title":"Follows","type":"array","x-stream-index":"001"}},"required":["follows","duration"],"title":"Unfollow Batch Response","type":"object"},"UnfollowResponse":{"nullable":true,"properties":{"duration":{"type":"string","x-stream-index":"002.001"},"follow":{"$ref":"#/components/schemas/FollowResponse","description":"The deleted follow relationship","title":"Follow","x-stream-index":"001"}},"required":["follow","duration"],"title":"Unfollow Response","type":"object"},"UnpinActivityResponse":{"nullable":true,"properties":{"activity":{"$ref":"#/components/schemas/ActivityResponse","description":"The unpinned activity","title":"Activity","x-stream-index":"001"},"duration":{"type":"string","x-stream-index":"004.001"},"feed":{"description":"Fully qualified ID of the feed the activity was unpinned from","title":"Feed ID","type":"string","x-stream-index":"002"},"user_id":{"description":"ID of the user who unpinned the activity","title":"User ID","type":"string","x-stream-index":"003"}},"required":["activity","feed","user_id","duration"],"title":"Unpin Activity Response","type":"object"},"UpdateActivityPartialRequest":{"nullable":true,"properties":{"copy_custom_to_notification":{"description":"Whether to copy custom data to the notification activity (only applies when handle_mention_notifications creates notifications)","title":"boolean","type":"boolean","x-stream-index":"005"},"handle_mention_notifications":{"description":"If true, creates notification activities for newly mentioned users and deletes notifications for users no longer mentioned","title":"boolean","type":"boolean","x-stream-index":"004"},"run_activity_processors":{"description":"If true, runs activity processors on the updated activity. Processors will only run if the activity text and/or attachments are changed. Defaults to false.","title":"boolean","type":"boolean","x-stream-index":"006"},"set":{"additionalProperties":{},"description":"Map of field names to new values. Supported fields: 'text', 'attachments', 'custom', 'visibility', 'visibility_tag', 'restrict_replies' (values: 'everyone', 'people_i_follow', 'nobody'), 'location', 'expires_at', 'filter_tags', 'interest_tags', 'poll_id', 'feeds', 'mentioned_user_ids', 'search_data'. For custom fields, use dot-notation (e.g., 'custom.field_name')","title":"object","type":"object","x-stream-index":"002"},"unset":{"description":"List of field names to remove. Supported fields: 'custom', 'visibility_tag', 'location', 'expires_at', 'filter_tags', 'interest_tags', 'attachments', 'poll_id', 'mentioned_user_ids', 'search_data'. Use dot-notation for nested custom fields (e.g., 'custom.field_name')","items":{"type":"string"},"title":"[]string","type":"array","x-stream-index":"003"}},"type":"object"},"UpdateActivityPartialResponse":{"nullable":true,"properties":{"activity":{"$ref":"#/components/schemas/ActivityResponse","description":"The updated activity","title":"ActivityResponse","x-stream-index":"001"},"duration":{"type":"string","x-stream-index":"002.001"}},"required":["activity","duration"],"type":"object"},"UpdateActivityRequest":{"nullable":true,"properties":{"attachments":{"description":"List of attachments for the activity","items":{"$ref":"#/components/schemas/Attachment"},"title":"[]ActivityAttachment","type":"array","x-stream-index":"003"},"collection_refs":{"description":"Collections that this activity references","items":{"type":"string"},"title":"[]string","type":"array","x-stream-index":"012"},"copy_custom_to_notification":{"description":"Whether to copy custom data to the notification activity (only applies when handle_mention_notifications creates notifications)","title":"boolean","type":"boolean","x-stream-index":"019"},"custom":{"additionalProperties":{},"description":"Custom data for the activity","title":"object","type":"object","x-stream-index":"004"},"expires_at":{"description":"Time when the activity will expire","format":"date-time","title":"string","type":"number","x-stream-index":"009"},"feeds":{"description":"List of feeds the activity is present in","items":{"type":"string"},"title":"[]string","type":"array","x-stream-index":"014"},"filter_tags":{"description":"Tags used for filtering the activity","items":{"type":"string"},"maxItems":50,"title":"[]string","type":"array","x-stream-index":"010"},"handle_mention_notifications":{"description":"If true, creates notification activities for newly mentioned users and deletes notifications for users no longer mentioned","title":"boolean","type":"boolean","x-stream-index":"017"},"interest_tags":{"description":"Tags indicating interest categories","items":{"type":"string"},"title":"[]string","type":"array","x-stream-index":"011"},"location":{"$ref":"#/components/schemas/ActivityLocation","description":"Geographic location for the activity","title":"ActivityLocation","x-stream-index":"008"},"mentioned_user_ids":{"description":"List of user IDs mentioned in the activity","items":{"type":"string"},"maxItems":25,"title":"[]string","type":"array","x-stream-index":"016"},"poll_id":{"description":"Poll ID","title":"string","type":"string","x-stream-index":"013"},"restrict_replies":{"description":"Controls who can add comments/replies to this activity. One of: everyone, people_i_follow, nobody","enum":["everyone","people_i_follow","nobody"],"title":"string","type":"string","x-stream-index":"007"},"run_activity_processors":{"description":"If true, runs activity processors on the updated activity. Processors will only run if the activity text and/or attachments are changed. Defaults to false.","title":"boolean","type":"boolean","x-stream-index":"018"},"search_data":{"additionalProperties":{},"description":"Additional data for search indexing","title":"object","type":"object","x-stream-index":"020"},"skip_enrich_url":{"description":"Whether to skip URL enrichment for the activity","title":"Skip URL Enrichment","type":"boolean","x-stream-index":"015"},"text":{"description":"The text content of the activity","title":"string","type":"string","x-stream-index":"002"},"visibility":{"description":"Visibility setting for the activity","enum":["public","private","tag"],"title":"string","type":"string","x-stream-index":"005"},"visibility_tag":{"description":"If visibility is 'tag', this is the tag name and is required","maxLength":32,"title":"string","type":"string","x-stream-index":"006"}},"type":"object"},"UpdateActivityResponse":{"nullable":true,"properties":{"activity":{"$ref":"#/components/schemas/ActivityResponse","description":"The updated activity","title":"ActivityResponse","x-stream-index":"001"},"duration":{"type":"string","x-stream-index":"002.001"}},"required":["activity","duration"],"type":"object"},"UpdateBlockListRequest":{"nullable":true,"properties":{"is_leet_check_enabled":{"type":"boolean","x-stream-index":"005"},"is_plural_check_enabled":{"type":"boolean","x-stream-index":"006"},"team":{"type":"string","x-stream-index":"002"},"words":{"description":"List of words to block","items":{"type":"string"},"title":"Words","type":"array","x-stream-index":"003"}},"title":"Update block list","type":"object","x-stream-docs-page-id":"update_block_list"},"UpdateBlockListResponse":{"description":"Basic response information","nullable":true,"properties":{"blocklist":{"$ref":"#/components/schemas/BlockListResponse","x-stream-index":"001"},"duration":{"description":"Duration of the request in milliseconds","title":"Duration","type":"string","x-stream-index":"002.001"}},"required":["duration"],"title":"Response","type":"object"},"UpdateBookmarkFolderRequest":{"nullable":true,"properties":{"custom":{"additionalProperties":{},"description":"Custom data for the folder","title":"Custom Data","type":"object","x-stream-index":"003"},"name":{"description":"Name of the folder","maxLength":255,"title":"Name","type":"string","x-stream-index":"002"}},"title":"Update Bookmark Folder Request","type":"object"},"UpdateBookmarkFolderResponse":{"nullable":true,"properties":{"bookmark_folder":{"$ref":"#/components/schemas/BookmarkFolderResponse","description":"The updated bookmark folder","title":"Bookmark Folder","x-stream-index":"001"},"duration":{"type":"string","x-stream-index":"002.001"}},"required":["bookmark_folder","duration"],"title":"Update Bookmark Folder Response","type":"object"},"UpdateBookmarkRequest":{"nullable":true,"properties":{"custom":{"additionalProperties":{},"description":"Custom data for the bookmark","title":"Custom Data","type":"object","x-stream-index":"005"},"folder_id":{"description":"ID of the folder to move the bookmark to","maxLength":255,"title":"Folder ID","type":"string","x-stream-index":"002"},"new_folder":{"$ref":"#/components/schemas/AddFolderRequest","x-stream-index":"004"},"new_folder_id":{"maxLength":255,"type":"string","x-stream-index":"003"}},"title":"Update Bookmark Request","type":"object"},"UpdateBookmarkResponse":{"nullable":true,"properties":{"bookmark":{"$ref":"#/components/schemas/BookmarkResponse","description":"The updated bookmark","title":"Bookmark","x-stream-index":"001"},"duration":{"type":"string","x-stream-index":"002.001"}},"required":["bookmark","duration"],"title":"Update Bookmark Response","type":"object"},"UpdateCollectionRequest":{"properties":{"custom":{"additionalProperties":{},"description":"Custom data for the collection (required, must contain at least one key)","minimum":1,"title":"Custom Data","type":"object","x-stream-index":"003"},"id":{"description":"Unique identifier for the collection within its name","maxLength":128,"title":"ID","type":"string","x-stream-index":"002"},"name":{"description":"Name/type of the collection","maxLength":128,"title":"Name","type":"string","x-stream-index":"001"}},"required":["name","id","custom"],"title":"Update Collection Request","type":"object"},"UpdateCollectionsRequest":{"nullable":true,"properties":{"collections":{"description":"List of collections to update (only custom data is updatable)","items":{"$ref":"#/components/schemas/UpdateCollectionRequest"},"maxItems":100,"minItems":1,"title":"Collections","type":"array","x-stream-index":"001"}},"required":["collections"],"title":"Update Collections Request","type":"object"},"UpdateCollectionsResponse":{"nullable":true,"properties":{"collections":{"description":"List of updated collections","items":{"$ref":"#/components/schemas/CollectionResponse"},"title":"Collections","type":"array","x-stream-index":"001"},"duration":{"type":"string","x-stream-index":"002.001"}},"required":["collections","duration"],"title":"Update Collections Response","type":"object"},"UpdateCommentRequest":{"nullable":true,"properties":{"attachments":{"description":"Updated media attachments for the comment. Providing this field will replace all existing attachments.","items":{"$ref":"#/components/schemas/Attachment"},"title":"Attachments","type":"array","x-stream-index":"003"},"comment":{"description":"Updated text content of the comment","title":"Comment","type":"string","x-stream-index":"002"},"copy_custom_to_notification":{"description":"Whether to copy custom data to the notification activity (only applies when handle_mention_notifications creates notifications)","title":"boolean","type":"boolean","x-stream-index":"009"},"custom":{"additionalProperties":{},"description":"Updated custom data for the comment","title":"Custom Data","type":"object","x-stream-index":"004"},"handle_mention_notifications":{"description":"If true, creates notification activities for newly mentioned users and deletes notifications for users no longer mentioned","title":"boolean","type":"boolean","x-stream-index":"008"},"mentioned_user_ids":{"description":"List of user IDs mentioned in the comment","items":{"type":"string"},"maxItems":25,"title":"[]string","type":"array","x-stream-index":"005"},"skip_enrich_url":{"description":"Whether to skip URL enrichment for this comment","title":"Skip URL Enrichment","type":"boolean","x-stream-index":"007"},"skip_push":{"type":"boolean","x-stream-index":"006"}},"title":"Update Comment Request","type":"object"},"UpdateCommentResponse":{"nullable":true,"properties":{"comment":{"$ref":"#/components/schemas/CommentResponse","description":"The updated comment","title":"Comment","x-stream-index":"001"},"duration":{"type":"string","x-stream-index":"002.001"}},"required":["comment","duration"],"title":"Update Comment Response","type":"object"},"UpdateFeedMembersRequest":{"nullable":true,"properties":{"limit":{"format":"int32","maximum":100,"minimum":0,"type":"integer","x-stream-index":"006.001"},"members":{"description":"List of members to upsert, remove, or set","items":{"$ref":"#/components/schemas/FeedMemberRequest"},"title":"Members","type":"array","x-stream-index":"004"},"next":{"type":"string","x-stream-index":"006.002"},"operation":{"description":"Type of update operation to perform. One of: upsert, remove, set","enum":["upsert","remove","set"],"title":"Operation","type":"string","x-stream-index":"003"},"prev":{"type":"string","x-stream-index":"006.003"}},"required":["operation"],"title":"Update Feed Members Request","type":"object"},"UpdateFeedMembersResponse":{"description":"Basic response information","nullable":true,"properties":{"added":{"items":{"$ref":"#/components/schemas/FeedMemberResponse"},"type":"array","x-stream-index":"001"},"duration":{"description":"Duration of the request in milliseconds","title":"Duration","type":"string","x-stream-index":"004.001"},"removed_ids":{"items":{"type":"string"},"type":"array","x-stream-index":"003"},"updated":{"items":{"$ref":"#/components/schemas/FeedMemberResponse"},"type":"array","x-stream-index":"002"}},"required":["added","updated","removed_ids","duration"],"title":"Response","type":"object"},"UpdateFeedRequest":{"nullable":true,"properties":{"custom":{"additionalProperties":{},"description":"Custom data for the feed","title":"Custom Data","type":"object","x-stream-index":"006"},"description":{"description":"Description of the feed","maxLength":1000,"title":"Description","type":"string","x-stream-index":"005"},"filter_tags":{"description":"Tags used for filtering feeds","items":{"type":"string"},"title":"Filter Tags","type":"array","x-stream-index":"007"},"name":{"description":"Name of the feed","maxLength":255,"title":"Name","type":"string","x-stream-index":"004"}},"title":"Update Feed Request","type":"object"},"UpdateFeedResponse":{"nullable":true,"properties":{"duration":{"type":"string","x-stream-index":"002.001"},"feed":{"$ref":"#/components/schemas/FeedResponse","description":"The updated feed","title":"Feed","x-stream-index":"001"}},"required":["feed","duration"],"title":"Update Feed Response","type":"object"},"UpdateFollowRequest":{"nullable":true,"properties":{"copy_custom_to_notification":{"description":"Whether to copy custom data to the notification activity (only applies when create_notification_activity is true)","title":"Copy Custom To Notification","type":"boolean","x-stream-index":"001.005"},"create_notification_activity":{"description":"Whether to create a notification activity for this follow","title":"Create Notification Activity","type":"boolean","x-stream-index":"001.004"},"custom":{"additionalProperties":{},"description":"Custom data for the follow relationship","title":"Custom Data","type":"object","x-stream-index":"001.002"},"follower_role":{"type":"string","x-stream-index":"002"},"push_preference":{"description":"Push preference for the follow relationship","enum":["all","none"],"title":"Push Preference","type":"string","x-stream-index":"001.003"},"skip_push":{"description":"Whether to skip push for this follow","title":"Skip Push","type":"boolean","x-stream-index":"001.006"},"source":{"description":"Fully qualified ID of the source feed","maxLength":255,"title":"Source Feed","type":"string","x-stream-index":"001.001.001"},"target":{"description":"Fully qualified ID of the target feed","maxLength":255,"title":"Target Feed","type":"string","x-stream-index":"001.001.002"}},"required":["source","target"],"title":"Update Follow Request","type":"object"},"UpdateFollowResponse":{"nullable":true,"properties":{"duration":{"type":"string","x-stream-index":"002.001"},"follow":{"$ref":"#/components/schemas/FollowResponse","description":"Details of the updated follow relationship","title":"Follow","x-stream-index":"001"}},"required":["follow","duration"],"title":"Update Follow Response","type":"object"},"UpdateLiveLocationRequest":{"nullable":true,"properties":{"end_at":{"description":"Time when the live location expires","format":"date-time","title":"string","type":"number","x-stream-index":"004"},"latitude":{"description":"Latitude coordinate","format":"float","maximum":90,"minimum":18446744073709552000,"title":"number","type":"number","x-stream-index":"002"},"longitude":{"description":"Longitude coordinate","format":"float","maximum":180,"minimum":18446744073709552000,"title":"number","type":"number","x-stream-index":"003"},"message_id":{"description":"Live location ID","title":"string","type":"string","x-stream-index":"001"}},"required":["message_id"],"type":"object"},"UpdatePollOptionRequest":{"nullable":true,"properties":{"Custom":{"additionalProperties":{},"type":"object","writeOnly":true,"x-stream-index":"004"},"id":{"description":"Option ID","maxLength":255,"title":"string","type":"string","x-stream-index":"002"},"text":{"description":"Option text","title":"string","type":"string","x-stream-index":"003"}},"required":["id","text"],"type":"object"},"UpdatePollPartialRequest":{"nullable":true,"properties":{"set":{"additionalProperties":{},"description":"Sets new field values","title":"Set","type":"object","x-stream-index":"002.001","x-stream-map":{"key":"field","title":"Value","description":"New value to set"}},"unset":{"description":"Array of field names to unset","items":{"type":"string"},"title":"Unset","type":"array","x-stream-index":"002.002"}},"type":"object"},"UpdatePollRequest":{"nullable":true,"properties":{"Custom":{"additionalProperties":{},"type":"object","writeOnly":true,"x-stream-index":"011"},"allow_answers":{"description":"Allow answers","title":"boolean","type":"boolean","x-stream-index":"009"},"allow_user_suggested_options":{"description":"Allow user suggested options","title":"boolean","type":"boolean","x-stream-index":"008"},"description":{"description":"Poll description","title":"string","type":"string","x-stream-index":"003"},"enforce_unique_vote":{"description":"Enforce unique vote","title":"boolean","type":"boolean","x-stream-index":"005"},"id":{"description":"Poll ID","maxLength":255,"title":"string","type":"string","x-stream-index":"001"},"is_closed":{"description":"Is closed","title":"boolean","type":"boolean","x-stream-index":"010"},"max_votes_allowed":{"description":"Max votes allowed","format":"int32","maximum":10,"title":"integer","type":"integer","x-stream-index":"007"},"name":{"description":"Poll name","title":"string","type":"string","x-stream-index":"002"},"options":{"description":"Poll options","items":{"$ref":"#/components/schemas/PollOptionRequest"},"maxItems":100,"title":"PollOptions","type":"array","x-stream-index":"004"},"voting_visibility":{"description":"Voting visibility","enum":["anonymous","public"],"title":"string","type":"string","x-stream-index":"006"}},"required":["id","name"],"type":"object"},"UpdateUserPartialRequest":{"properties":{"id":{"description":"User ID to update","title":"ID","type":"string","x-stream-index":"001"},"set":{"additionalProperties":{},"type":"object","x-stream-index":"002.001"},"unset":{"items":{"type":"string"},"type":"array","x-stream-index":"002.002"}},"required":["id"],"type":"object"},"UpdateUsersPartialRequest":{"nullable":true,"properties":{"users":{"items":{"$ref":"#/components/schemas/UpdateUserPartialRequest"},"type":"array","x-stream-index":"001"}},"required":["users"],"type":"object"},"UpdateUsersRequest":{"nullable":true,"properties":{"users":{"additionalProperties":{"$ref":"#/components/schemas/UserRequest"},"description":"Object containing users","title":"Users","type":"object","x-stream-index":"001","x-stream-map":{"key":"user_id"}}},"required":["users"],"type":"object"},"UpdateUsersResponse":{"nullable":true,"properties":{"duration":{"description":"Duration of the request in milliseconds","title":"Duration","type":"string","x-stream-index":"003.001"},"membership_deletion_task_id":{"type":"string","x-stream-index":"002"},"users":{"additionalProperties":{"$ref":"#/components/schemas/FullUserResponse"},"description":"Object containing users","title":"Users","type":"object","x-stream-index":"001","x-stream-map":{"key":"user_id"}}},"required":["users","membership_deletion_task_id","duration"],"type":"object"},"UpsertActivitiesRequest":{"nullable":true,"properties":{"activities":{"description":"List of activities to create or update","items":{"$ref":"#/components/schemas/ActivityRequest"},"maxItems":100,"minItems":1,"title":"Activities","type":"array","x-stream-index":"001"}},"required":["activities"],"title":"Upsert Activities Request","type":"object"},"UpsertActivitiesResponse":{"nullable":true,"properties":{"activities":{"description":"List of created or updated activities","items":{"$ref":"#/components/schemas/ActivityResponse"},"title":"Activities","type":"array","x-stream-index":"001"},"duration":{"type":"string","x-stream-index":"003.001"},"mention_notifications_created":{"description":"Total number of mention notification activities created for mentioned users across all activities","format":"int32","title":"Mention Notifications Created","type":"integer","x-stream-index":"002"}},"required":["activities","duration"],"title":"Upsert Activities Response","type":"object"},"UpsertConfigRequest":{"nullable":true,"properties":{"ai_image_config":{"$ref":"#/components/schemas/AIImageConfig","description":"Configuration for AI image analysis","title":"AI Image Config","x-stream-index":"011"},"ai_text_config":{"$ref":"#/components/schemas/AITextConfig","description":"Configuration for AI text analysis","title":"AI Text Config","x-stream-index":"008"},"ai_video_config":{"$ref":"#/components/schemas/AIVideoConfig","description":"Configuration for AI video analysis","title":"AI Video Config","x-stream-index":"012"},"async":{"description":"Whether moderation should be performed asynchronously","title":"Async","type":"boolean","x-stream-index":"003"},"automod_platform_circumvention_config":{"$ref":"#/components/schemas/AutomodPlatformCircumventionConfig","description":"Configuration for platform circumvention detection","title":"Automod Platform Circumvention Config","x-stream-index":"005"},"automod_semantic_filters_config":{"$ref":"#/components/schemas/AutomodSemanticFiltersConfig","description":"Configuration for semantic filtering","title":"Automod Semantic Filters Config","x-stream-index":"006"},"automod_toxicity_config":{"$ref":"#/components/schemas/AutomodToxicityConfig","description":"Configuration for toxicity detection","title":"Automod Toxicity Config","x-stream-index":"004"},"aws_rekognition_config":{"$ref":"#/components/schemas/AIImageConfig","x-stream-index":"016"},"block_list_config":{"$ref":"#/components/schemas/BlockListConfig","description":"Configuration for block list filtering","title":"Block List Config","x-stream-index":"007"},"bodyguard_config":{"$ref":"#/components/schemas/AITextConfig","x-stream-index":"015"},"google_vision_config":{"$ref":"#/components/schemas/GoogleVisionConfig","description":"Configuration for Google Vision integration","title":"Google Vision Config","x-stream-index":"010"},"key":{"description":"Unique identifier for the moderation configuration","title":"Key","type":"string","x-stream-index":"001"},"llm_config":{"$ref":"#/components/schemas/LLMConfig","description":"Configuration for customer-configured LLM moderation","title":"LLM Config","x-stream-index":"009"},"rule_builder_config":{"$ref":"#/components/schemas/RuleBuilderConfig","description":"Configuration for custom rule builder (max 3 rules, max 5 conditions per rule)","title":"Rule Builder Config","x-stream-index":"014"},"team":{"description":"Team associated with the configuration","maxLength":128,"minLength":1,"title":"Team","type":"string","x-stream-index":"002"},"velocity_filter_config":{"$ref":"#/components/schemas/VelocityFilterConfig","description":"Configuration for velocity-based filtering","title":"Velocity Filter Config","x-stream-index":"013"},"video_call_rule_config":{"$ref":"#/components/schemas/VideoCallRuleConfig","x-stream-index":"017"}},"required":["key"],"type":"object"},"UpsertConfigResponse":{"nullable":true,"properties":{"config":{"$ref":"#/components/schemas/ConfigResponse","description":"The created or updated moderation configuration","title":"Config","x-stream-index":"001"},"duration":{"type":"string","x-stream-index":"002.001"}},"required":["duration"],"type":"object"},"UpsertPushPreferencesRequest":{"nullable":true,"properties":{"preferences":{"description":"A list of push preferences for channels, calls, or the user.","items":{"$ref":"#/components/schemas/PushPreferenceInput"},"type":"array","x-stream-index":"001"}},"required":["preferences"],"type":"object"},"UpsertPushPreferencesResponse":{"nullable":true,"properties":{"duration":{"description":"Duration of the request in milliseconds","title":"Duration","type":"string","x-stream-index":"003.001"},"user_channel_preferences":{"additionalProperties":{"additionalProperties":{"$ref":"#/components/schemas/ChannelPushPreferencesResponse"},"type":"object"},"description":"The channel specific push notification preferences, only returned for channels you've edited.","title":"User Channel Notification Preferences","type":"object","x-stream-index":"002"},"user_preferences":{"additionalProperties":{"$ref":"#/components/schemas/PushPreferencesResponse"},"description":"The user preferences, always returned regardless if you edited it","title":"User Preferences","type":"object","x-stream-index":"001"}},"required":["user_preferences","user_channel_preferences","duration"],"type":"object"},"User":{"properties":{"data":{"additionalProperties":{},"type":"object","x-stream-index":"002"},"id":{"type":"string","x-stream-index":"001"}},"required":["id"],"type":"object"},"UserBannedEvent":{"description":"This event is sent when a user gets banned. The event contains information about the user that was banned.","nullable":true,"properties":{"channel_custom":{"additionalProperties":{},"type":"object","x-stream-index":"001.001.006"},"channel_id":{"description":"The ID of the channel where the target user was banned","title":"Channel ID","type":"string","x-stream-index":"001.002.002"},"channel_member_count":{"format":"int32","type":"integer","x-stream-index":"001.001.004"},"channel_message_count":{"format":"int64","type":"integer","x-stream-index":"001.001.005"},"channel_type":{"description":"The type of the channel where the target user was banned","title":"Channel Type","type":"string","x-stream-index":"001.002.001"},"cid":{"description":"The CID of the channel where the target user was banned","title":"Channel CID","type":"string","x-stream-index":"001.001.001.002"},"created_at":{"description":"Date/time of creation","format":"date-time","title":"Created at","type":"number","x-stream-index":"001.001.001.001.003"},"created_by":{"$ref":"#/components/schemas/UserResponseCommonFields","description":"The user that banned the target user","title":"Created by","x-stream-index":"004"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"001.001.001.001.007"},"expiration":{"description":"The expiration date of the ban","format":"date-time","title":"Expiration","type":"number","x-stream-index":"005"},"reason":{"description":"The reason for the ban","title":"Reason","type":"string","x-stream-index":"003"},"received_at":{"format":"date-time","type":"number","x-stream-index":"001.001.001.001.004"},"shadow":{"description":"Whether the user was shadow banned","title":"Shadow","type":"boolean","x-stream-index":"006"},"team":{"description":"The team of the channel where the target user was banned","title":"Team","type":"string","x-stream-index":"001.001.003"},"total_bans":{"format":"int32","type":"integer","x-stream-index":"007"},"type":{"default":"user.banned","description":"The type of event: \"user.banned\" in this case","title":"Event Type","type":"string","x-stream-index":"001.001.001.001.002"},"user":{"$ref":"#/components/schemas/UserResponseCommonFields","description":"The target user that was banned","title":"User","x-stream-index":"002.001"}},"required":["type","created_at","custom","user"],"title":"UserBannedEvent","type":"object","x-stream-event-client-type":true,"x-stream-event-doc-group":"other","x-stream-is-event":true,"x-stream-throttle-group":"critical","x-stream-ws-base-event-name":"VideoEvent"},"UserCreatedWithinParameters":{"properties":{"max_age":{"type":"string","x-stream-index":"001"}},"type":"object"},"UserCustomPropertyParameters":{"properties":{"operator":{"type":"string","x-stream-index":"002"},"property_key":{"type":"string","x-stream-index":"001"}},"type":"object"},"UserDeactivatedEvent":{"description":"This event is sent when a user gets deactivated. The event contains information about the user that was deactivated.","nullable":true,"properties":{"created_at":{"description":"Date/time of creation","format":"date-time","title":"Created at","type":"number","x-stream-index":"001.003"},"created_by":{"$ref":"#/components/schemas/UserResponseCommonFields","description":"The user that deactivated the target user","title":"Created by","x-stream-index":"003"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"001.007"},"received_at":{"format":"date-time","type":"number","x-stream-index":"001.004"},"type":{"default":"user.deactivated","description":"The type of event: \"user.deactivated\" in this case","title":"Event Type","type":"string","x-stream-index":"001.002"},"user":{"$ref":"#/components/schemas/UserResponseCommonFields","description":"The target user that was deactivated","title":"User","x-stream-index":"002.001"}},"required":["type","created_at","custom","user"],"title":"UserDeactivatedEvent","type":"object","x-stream-event-client-type":true,"x-stream-event-doc-group":"other","x-stream-is-event":true,"x-stream-throttle-group":"critical","x-stream-ws-base-event-name":"VideoEvent"},"UserIdenticalContentCountParameters":{"properties":{"threshold":{"format":"int32","type":"integer","x-stream-index":"001"},"time_window":{"type":"string","x-stream-index":"002"}},"type":"object"},"UserMuteResponse":{"nullable":true,"properties":{"created_at":{"format":"date-time","type":"number","x-stream-index":"004"},"expires":{"format":"date-time","type":"number","x-stream-index":"003"},"target":{"$ref":"#/components/schemas/UserResponse","x-stream-index":"002"},"updated_at":{"format":"date-time","type":"number","x-stream-index":"005"},"user":{"$ref":"#/components/schemas/UserResponse","x-stream-index":"001"}},"required":["created_at","updated_at"],"type":"object"},"UserReactivatedEvent":{"description":"This event is sent when a user gets reactivated. The event contains information about the user that was reactivated.","nullable":true,"properties":{"created_at":{"description":"Date/time of creation","format":"date-time","title":"Created at","type":"number","x-stream-index":"001.003"},"created_by":{"$ref":"#/components/schemas/UserResponseCommonFields","description":"The user that reactivated the target user","title":"Created by","x-stream-index":"003"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"001.007"},"received_at":{"format":"date-time","type":"number","x-stream-index":"001.004"},"type":{"default":"user.reactivated","description":"The type of event: \"user.reactivated\" in this case","title":"Event Type","type":"string","x-stream-index":"001.002"},"user":{"$ref":"#/components/schemas/UserResponseCommonFields","description":"The target user that was reactivated","title":"User","x-stream-index":"002.001"}},"required":["type","created_at","custom","user"],"title":"UserReactivatedEvent","type":"object","x-stream-event-client-type":true,"x-stream-event-doc-group":"other","x-stream-is-event":true,"x-stream-throttle-group":"critical","x-stream-ws-base-event-name":"VideoEvent"},"UserRequest":{"description":"User request object","properties":{"custom":{"additionalProperties":{},"description":"Custom user data","title":"Custom","type":"object","x-stream-index":"004"},"id":{"description":"User ID","title":"ID","type":"string","x-stream-index":"001"},"image":{"description":"User's profile image URL","title":"Image","type":"string","x-stream-index":"003"},"invisible":{"type":"boolean","x-stream-index":"006"},"language":{"type":"string","x-stream-index":"005"},"name":{"description":"Optional name of user","title":"Name","type":"string","x-stream-index":"002"},"privacy_settings":{"$ref":"#/components/schemas/PrivacySettingsResponse","x-stream-index":"007"}},"required":["id"],"title":"UserRequest","type":"object"},"UserResponse":{"description":"User response object","properties":{"avg_response_time":{"format":"int32","type":"integer","x-stream-index":"001.018"},"banned":{"description":"Whether a user is banned or not","title":"Banned","type":"boolean","x-stream-index":"001.012"},"blocked_user_ids":{"items":{"type":"string"},"type":"array","x-stream-index":"001.017"},"created_at":{"description":"Date/time of creation","format":"date-time","title":"Created at","type":"number","x-stream-index":"001.009"},"custom":{"additionalProperties":{},"description":"Custom data for this object","title":"Custom data","type":"object","x-stream-index":"001.004"},"deactivated_at":{"description":"Date of deactivation","format":"date-time","title":"Deactivated at","type":"number","x-stream-index":"001.016"},"deleted_at":{"description":"Date/time of deletion","format":"date-time","title":"Deleted at","type":"number","x-stream-index":"001.011"},"id":{"description":"Unique user identifier","title":"ID","type":"string","x-stream-index":"001.001"},"image":{"title":"Image","type":"string","x-stream-index":"001.003"},"language":{"description":"Preferred language of a user","title":"Language","type":"string","x-stream-index":"001.005"},"last_active":{"description":"Date of last activity","format":"date-time","title":"Last active","type":"number","x-stream-index":"001.014"},"name":{"description":"Optional name of user","title":"Name","type":"string","x-stream-index":"001.002"},"online":{"description":"Whether a user online or not","title":"Online","type":"boolean","x-stream-index":"001.013"},"revoke_tokens_issued_before":{"description":"Revocation date for tokens","format":"date-time","title":"Revoke tokens issued before","type":"number","x-stream-index":"001.015"},"role":{"description":"Determines the set of user permissions","title":"Role","type":"string","x-stream-index":"001.006"},"teams":{"description":"List of teams user is a part of","items":{"type":"string"},"title":"Teams","type":"array","x-stream-index":"001.007"},"teams_role":{"additionalProperties":{"type":"string"},"type":"object","x-stream-index":"001.008"},"updated_at":{"description":"Date/time of the last update","format":"date-time","title":"Updated at","type":"number","x-stream-index":"001.010"}},"required":["id","custom","language","role","teams","created_at","updated_at","banned","online","blocked_user_ids","shadow_banned","invisible"],"title":"UserResponse","type":"object"},"UserResponseCommonFields":{"properties":{"avg_response_time":{"format":"int32","type":"integer","x-stream-index":"018"},"banned":{"type":"boolean","x-stream-index":"012"},"blocked_user_ids":{"items":{"type":"string"},"type":"array","x-stream-index":"017"},"created_at":{"format":"date-time","type":"number","x-stream-index":"009"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"004"},"deactivated_at":{"format":"date-time","type":"number","x-stream-index":"016"},"deleted_at":{"format":"date-time","type":"number","x-stream-index":"011"},"id":{"type":"string","x-stream-index":"001"},"image":{"type":"string","x-stream-index":"003"},"language":{"type":"string","x-stream-index":"005"},"last_active":{"format":"date-time","type":"number","x-stream-index":"014"},"name":{"type":"string","x-stream-index":"002"},"online":{"type":"boolean","x-stream-index":"013"},"revoke_tokens_issued_before":{"format":"date-time","type":"number","x-stream-index":"015"},"role":{"type":"string","x-stream-index":"006"},"teams":{"items":{"type":"string"},"type":"array","x-stream-index":"007"},"teams_role":{"additionalProperties":{"type":"string"},"type":"object","x-stream-index":"008"},"updated_at":{"format":"date-time","type":"number","x-stream-index":"010"}},"required":["id","custom","language","role","teams","created_at","updated_at","banned","online","blocked_user_ids"],"type":"object"},"UserResponsePrivacyFields":{"properties":{"avg_response_time":{"format":"int32","type":"integer","x-stream-index":"001.018"},"banned":{"type":"boolean","x-stream-index":"001.012"},"blocked_user_ids":{"items":{"type":"string"},"type":"array","x-stream-index":"001.017"},"created_at":{"format":"date-time","type":"number","x-stream-index":"001.009"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"001.004"},"deactivated_at":{"format":"date-time","type":"number","x-stream-index":"001.016"},"deleted_at":{"format":"date-time","type":"number","x-stream-index":"001.011"},"id":{"type":"string","x-stream-index":"001.001"},"image":{"type":"string","x-stream-index":"001.003"},"invisible":{"type":"boolean","x-stream-index":"003"},"language":{"type":"string","x-stream-index":"001.005"},"last_active":{"format":"date-time","type":"number","x-stream-index":"001.014"},"name":{"type":"string","x-stream-index":"001.002"},"online":{"type":"boolean","x-stream-index":"001.013"},"privacy_settings":{"$ref":"#/components/schemas/PrivacySettingsResponse","x-stream-index":"002"},"revoke_tokens_issued_before":{"format":"date-time","type":"number","x-stream-index":"001.015"},"role":{"type":"string","x-stream-index":"001.006"},"teams":{"items":{"type":"string"},"type":"array","x-stream-index":"001.007"},"teams_role":{"additionalProperties":{"type":"string"},"type":"object","x-stream-index":"001.008"},"updated_at":{"format":"date-time","type":"number","x-stream-index":"001.010"}},"required":["id","custom","language","role","teams","created_at","updated_at","banned","online","blocked_user_ids"],"type":"object"},"UserRoleParameters":{"properties":{"operator":{"type":"string","x-stream-index":"001"},"role":{"type":"string","x-stream-index":"002"}},"type":"object"},"UserRuleParameters":{"properties":{"max_age":{"type":"string","x-stream-index":"001"}},"type":"object"},"UserUpdatedEvent":{"description":"This event is sent when a user gets updated. The event contains information about the updated user.","nullable":true,"properties":{"created_at":{"description":"Date/time of creation","format":"date-time","title":"Created at","type":"number","x-stream-index":"001.003"},"custom":{"additionalProperties":{},"type":"object","x-stream-index":"001.007"},"received_at":{"format":"date-time","type":"number","x-stream-index":"001.004"},"type":{"default":"user.updated","description":"The type of event: \"user.updated\" in this case","title":"Event Type","type":"string","x-stream-index":"001.002"},"user":{"$ref":"#/components/schemas/UserResponsePrivacyFields","description":"The updated user","title":"User","x-stream-index":"002.001"}},"required":["type","created_at","custom","user"],"title":"UserUpdatedEvent","type":"object","x-stream-event-client-type":true,"x-stream-event-doc-group":"other","x-stream-is-event":true,"x-stream-throttle-group":"mergeable","x-stream-ws-base-event-name":"VideoEvent"},"VelocityFilterConfig":{"properties":{"advanced_filters":{"type":"boolean","x-stream-index":"007"},"async":{"type":"boolean","x-stream-index":"001"},"cascading_actions":{"type":"boolean","x-stream-index":"004"},"cids_per_user":{"format":"int32","type":"integer","x-stream-index":"006"},"enabled":{"type":"boolean","x-stream-index":"002"},"first_message_only":{"type":"boolean","x-stream-index":"005"},"rules":{"items":{"$ref":"#/components/schemas/VelocityFilterConfigRule"},"type":"array","x-stream-index":"003"}},"required":["enabled","rules","cascading_actions","first_message_only","cids_per_user","advanced_filters"],"type":"object"},"VelocityFilterConfigRule":{"properties":{"action":{"enum":["flag","shadow","remove","ban"],"type":"string","x-stream-index":"001"},"ban_duration":{"format":"int32","type":"integer","x-stream-index":"002"},"cascading_action":{"enum":["flag","shadow","remove","ban"],"type":"string","x-stream-index":"006"},"cascading_threshold":{"format":"int64","type":"integer","x-stream-index":"005"},"check_message_context":{"type":"boolean","x-stream-index":"009"},"fast_spam_threshold":{"format":"int32","type":"integer","x-stream-index":"007"},"fast_spam_ttl":{"format":"int32","type":"integer","x-stream-index":"010"},"ip_ban":{"type":"boolean","x-stream-index":"004"},"probation_period":{"format":"int32","type":"integer","x-stream-index":"014"},"shadow_ban":{"type":"boolean","x-stream-index":"003"},"slow_spam_ban_duration":{"format":"int32","type":"integer","x-stream-index":"012"},"slow_spam_threshold":{"format":"int32","type":"integer","x-stream-index":"008"},"slow_spam_ttl":{"format":"int32","type":"integer","x-stream-index":"011"},"url_only":{"type":"boolean","x-stream-index":"013"}},"required":["action","ban_duration","shadow_ban","ip_ban","cascading_threshold","cascading_action","fast_spam_threshold","slow_spam_threshold","check_message_context","fast_spam_ttl","slow_spam_ttl","url_only","probation_period"],"type":"object"},"VideoCallRuleConfig":{"properties":{"flag_all_labels":{"type":"boolean","x-stream-index":"002"},"flagged_labels":{"items":{"type":"string"},"type":"array","x-stream-index":"003"},"rules":{"items":{"$ref":"#/components/schemas/HarmConfig"},"type":"array","x-stream-index":"001"}},"required":["rules","flag_all_labels","flagged_labels"],"type":"object"},"VideoContentParameters":{"properties":{"harm_labels":{"items":{"type":"string"},"type":"array","x-stream-index":"001"}},"type":"object"},"VideoEndCallRequestPayload":{"description":"Configuration for ending video call","title":"VideoEndCallRequest","type":"object"},"VideoKickUserRequestPayload":{"description":"Configuration for kicking user from video call","title":"VideoKickUserRequest","type":"object"},"VideoRuleParameters":{"properties":{"harm_labels":{"items":{"type":"string"},"type":"array","x-stream-index":"003"},"threshold":{"format":"int32","type":"integer","x-stream-index":"001"},"time_window":{"type":"string","x-stream-index":"002"}},"type":"object"},"VideoSettingsResponse":{"properties":{"access_request_enabled":{"type":"boolean","x-stream-index":"002"},"camera_default_on":{"type":"boolean","x-stream-index":"004"},"camera_facing":{"enum":["front","back","external"],"type":"string","x-stream-index":"005"},"enabled":{"type":"boolean","x-stream-index":"001"},"target_resolution":{"$ref":"#/components/schemas/TargetResolution","x-stream-index":"003"}},"required":["enabled","access_request_enabled","target_resolution","camera_default_on","camera_facing"],"type":"object"},"VoteData":{"properties":{"answer_text":{"type":"string","x-stream-index":"002"},"option_id":{"maxLength":255,"type":"string","x-stream-index":"001"}},"type":"object"},"WHIPIngress":{"properties":{"address":{"description":"URL for a new whip input, every time a new link is created","title":"Address","type":"string","x-stream-index":"001"}},"required":["address"],"title":"WHIPIngress","type":"object"},"WSAuthMessage":{"description":"Websocket auth message","nullable":true,"properties":{"products":{"description":"List of products to subscribe to. One of: chat, video, feeds","items":{"enum":["chat","video","feeds"],"type":"string"},"title":"Products","type":"array","x-stream-index":"003"},"token":{"description":"JWT token for authentication","title":"Token","type":"string","x-stream-index":"002"},"user_details":{"$ref":"#/components/schemas/ConnectUserDetailsRequest","description":"User details for the connection","title":"User Details","x-stream-index":"001"}},"required":["user_details","token"],"title":"WSAuthMessage","type":"object"},"WSClientEvent":{"description":"The discriminator object for all websocket client events, it maps events' payload to the final type","discriminator":{"mapping":{"app.updated":"#/components/schemas/AppUpdatedEvent","feeds.activity.added":"#/components/schemas/ActivityAddedEvent","feeds.activity.deleted":"#/components/schemas/ActivityDeletedEvent","feeds.activity.feedback":"#/components/schemas/ActivityFeedbackEvent","feeds.activity.marked":"#/components/schemas/ActivityMarkEvent","feeds.activity.pinned":"#/components/schemas/ActivityPinnedEvent","feeds.activity.reaction.added":"#/components/schemas/ActivityReactionAddedEvent","feeds.activity.reaction.deleted":"#/components/schemas/ActivityReactionDeletedEvent","feeds.activity.reaction.updated":"#/components/schemas/ActivityReactionUpdatedEvent","feeds.activity.removed_from_feed":"#/components/schemas/ActivityRemovedFromFeedEvent","feeds.activity.restored":"#/components/schemas/ActivityRestoredEvent","feeds.activity.unpinned":"#/components/schemas/ActivityUnpinnedEvent","feeds.activity.updated":"#/components/schemas/ActivityUpdatedEvent","feeds.bookmark.added":"#/components/schemas/BookmarkAddedEvent","feeds.bookmark.deleted":"#/components/schemas/BookmarkDeletedEvent","feeds.bookmark.updated":"#/components/schemas/BookmarkUpdatedEvent","feeds.bookmark_folder.deleted":"#/components/schemas/BookmarkFolderDeletedEvent","feeds.bookmark_folder.updated":"#/components/schemas/BookmarkFolderUpdatedEvent","feeds.comment.added":"#/components/schemas/CommentAddedEvent","feeds.comment.deleted":"#/components/schemas/CommentDeletedEvent","feeds.comment.reaction.added":"#/components/schemas/CommentReactionAddedEvent","feeds.comment.reaction.deleted":"#/components/schemas/CommentReactionDeletedEvent","feeds.comment.reaction.updated":"#/components/schemas/CommentReactionUpdatedEvent","feeds.comment.updated":"#/components/schemas/CommentUpdatedEvent","feeds.feed.created":"#/components/schemas/FeedCreatedEvent","feeds.feed.deleted":"#/components/schemas/FeedDeletedEvent","feeds.feed.updated":"#/components/schemas/FeedUpdatedEvent","feeds.feed_group.changed":"#/components/schemas/FeedGroupChangedEvent","feeds.feed_group.deleted":"#/components/schemas/FeedGroupDeletedEvent","feeds.feed_member.added":"#/components/schemas/FeedMemberAddedEvent","feeds.feed_member.removed":"#/components/schemas/FeedMemberRemovedEvent","feeds.feed_member.updated":"#/components/schemas/FeedMemberUpdatedEvent","feeds.follow.created":"#/components/schemas/FollowCreatedEvent","feeds.follow.deleted":"#/components/schemas/FollowDeletedEvent","feeds.follow.updated":"#/components/schemas/FollowUpdatedEvent","feeds.notification_feed.updated":"#/components/schemas/NotificationFeedUpdatedEvent","feeds.poll.closed":"#/components/schemas/PollClosedFeedEvent","feeds.poll.deleted":"#/components/schemas/PollDeletedFeedEvent","feeds.poll.updated":"#/components/schemas/PollUpdatedFeedEvent","feeds.poll.vote_casted":"#/components/schemas/PollVoteCastedFeedEvent","feeds.poll.vote_changed":"#/components/schemas/PollVoteChangedFeedEvent","feeds.poll.vote_removed":"#/components/schemas/PollVoteRemovedFeedEvent","feeds.stories_feed.updated":"#/components/schemas/StoriesFeedUpdatedEvent","health.check":"#/components/schemas/HealthCheckEvent","moderation.custom_action":"#/components/schemas/ModerationCustomActionEvent","moderation.flagged":"#/components/schemas/ModerationFlaggedEvent","moderation.mark_reviewed":"#/components/schemas/ModerationMarkReviewedEvent","user.banned":"#/components/schemas/UserBannedEvent","user.deactivated":"#/components/schemas/UserDeactivatedEvent","user.reactivated":"#/components/schemas/UserReactivatedEvent","user.updated":"#/components/schemas/UserUpdatedEvent"},"propertyName":"type"},"oneOf":[{"$ref":"#/components/schemas/ActivityAddedEvent"},{"$ref":"#/components/schemas/ActivityDeletedEvent"},{"$ref":"#/components/schemas/ActivityFeedbackEvent"},{"$ref":"#/components/schemas/ActivityMarkEvent"},{"$ref":"#/components/schemas/ActivityPinnedEvent"},{"$ref":"#/components/schemas/ActivityReactionAddedEvent"},{"$ref":"#/components/schemas/ActivityReactionDeletedEvent"},{"$ref":"#/components/schemas/ActivityReactionUpdatedEvent"},{"$ref":"#/components/schemas/ActivityRemovedFromFeedEvent"},{"$ref":"#/components/schemas/ActivityRestoredEvent"},{"$ref":"#/components/schemas/ActivityUnpinnedEvent"},{"$ref":"#/components/schemas/ActivityUpdatedEvent"},{"$ref":"#/components/schemas/AppUpdatedEvent"},{"$ref":"#/components/schemas/BookmarkAddedEvent"},{"$ref":"#/components/schemas/BookmarkDeletedEvent"},{"$ref":"#/components/schemas/BookmarkFolderDeletedEvent"},{"$ref":"#/components/schemas/BookmarkFolderUpdatedEvent"},{"$ref":"#/components/schemas/BookmarkUpdatedEvent"},{"$ref":"#/components/schemas/CommentAddedEvent"},{"$ref":"#/components/schemas/CommentDeletedEvent"},{"$ref":"#/components/schemas/CommentReactionAddedEvent"},{"$ref":"#/components/schemas/CommentReactionDeletedEvent"},{"$ref":"#/components/schemas/CommentReactionUpdatedEvent"},{"$ref":"#/components/schemas/CommentUpdatedEvent"},{"$ref":"#/components/schemas/FeedCreatedEvent"},{"$ref":"#/components/schemas/FeedDeletedEvent"},{"$ref":"#/components/schemas/FeedGroupChangedEvent"},{"$ref":"#/components/schemas/FeedGroupDeletedEvent"},{"$ref":"#/components/schemas/FeedMemberAddedEvent"},{"$ref":"#/components/schemas/FeedMemberRemovedEvent"},{"$ref":"#/components/schemas/FeedMemberUpdatedEvent"},{"$ref":"#/components/schemas/FeedUpdatedEvent"},{"$ref":"#/components/schemas/FollowCreatedEvent"},{"$ref":"#/components/schemas/FollowDeletedEvent"},{"$ref":"#/components/schemas/FollowUpdatedEvent"},{"$ref":"#/components/schemas/HealthCheckEvent"},{"$ref":"#/components/schemas/ModerationCustomActionEvent"},{"$ref":"#/components/schemas/ModerationFlaggedEvent"},{"$ref":"#/components/schemas/ModerationMarkReviewedEvent"},{"$ref":"#/components/schemas/NotificationFeedUpdatedEvent"},{"$ref":"#/components/schemas/PollClosedFeedEvent"},{"$ref":"#/components/schemas/PollDeletedFeedEvent"},{"$ref":"#/components/schemas/PollUpdatedFeedEvent"},{"$ref":"#/components/schemas/PollVoteCastedFeedEvent"},{"$ref":"#/components/schemas/PollVoteChangedFeedEvent"},{"$ref":"#/components/schemas/PollVoteRemovedFeedEvent"},{"$ref":"#/components/schemas/StoriesFeedUpdatedEvent"},{"$ref":"#/components/schemas/UserBannedEvent"},{"$ref":"#/components/schemas/UserDeactivatedEvent"},{"$ref":"#/components/schemas/UserReactivatedEvent"},{"$ref":"#/components/schemas/UserUpdatedEvent"}]},"WSEvent":{"description":"The discriminator object for all websocket events, it maps events' payload to the final type","discriminator":{"mapping":{"app.updated":"#/components/schemas/AppUpdatedEvent","feeds.activity.added":"#/components/schemas/ActivityAddedEvent","feeds.activity.deleted":"#/components/schemas/ActivityDeletedEvent","feeds.activity.feedback":"#/components/schemas/ActivityFeedbackEvent","feeds.activity.marked":"#/components/schemas/ActivityMarkEvent","feeds.activity.pinned":"#/components/schemas/ActivityPinnedEvent","feeds.activity.reaction.added":"#/components/schemas/ActivityReactionAddedEvent","feeds.activity.reaction.deleted":"#/components/schemas/ActivityReactionDeletedEvent","feeds.activity.reaction.updated":"#/components/schemas/ActivityReactionUpdatedEvent","feeds.activity.removed_from_feed":"#/components/schemas/ActivityRemovedFromFeedEvent","feeds.activity.restored":"#/components/schemas/ActivityRestoredEvent","feeds.activity.unpinned":"#/components/schemas/ActivityUnpinnedEvent","feeds.activity.updated":"#/components/schemas/ActivityUpdatedEvent","feeds.bookmark.added":"#/components/schemas/BookmarkAddedEvent","feeds.bookmark.deleted":"#/components/schemas/BookmarkDeletedEvent","feeds.bookmark.updated":"#/components/schemas/BookmarkUpdatedEvent","feeds.bookmark_folder.deleted":"#/components/schemas/BookmarkFolderDeletedEvent","feeds.bookmark_folder.updated":"#/components/schemas/BookmarkFolderUpdatedEvent","feeds.comment.added":"#/components/schemas/CommentAddedEvent","feeds.comment.deleted":"#/components/schemas/CommentDeletedEvent","feeds.comment.reaction.added":"#/components/schemas/CommentReactionAddedEvent","feeds.comment.reaction.deleted":"#/components/schemas/CommentReactionDeletedEvent","feeds.comment.reaction.updated":"#/components/schemas/CommentReactionUpdatedEvent","feeds.comment.updated":"#/components/schemas/CommentUpdatedEvent","feeds.feed.created":"#/components/schemas/FeedCreatedEvent","feeds.feed.deleted":"#/components/schemas/FeedDeletedEvent","feeds.feed.updated":"#/components/schemas/FeedUpdatedEvent","feeds.feed_group.changed":"#/components/schemas/FeedGroupChangedEvent","feeds.feed_group.deleted":"#/components/schemas/FeedGroupDeletedEvent","feeds.feed_member.added":"#/components/schemas/FeedMemberAddedEvent","feeds.feed_member.removed":"#/components/schemas/FeedMemberRemovedEvent","feeds.feed_member.updated":"#/components/schemas/FeedMemberUpdatedEvent","feeds.follow.created":"#/components/schemas/FollowCreatedEvent","feeds.follow.deleted":"#/components/schemas/FollowDeletedEvent","feeds.follow.updated":"#/components/schemas/FollowUpdatedEvent","feeds.notification_feed.updated":"#/components/schemas/NotificationFeedUpdatedEvent","feeds.poll.closed":"#/components/schemas/PollClosedFeedEvent","feeds.poll.deleted":"#/components/schemas/PollDeletedFeedEvent","feeds.poll.updated":"#/components/schemas/PollUpdatedFeedEvent","feeds.poll.vote_casted":"#/components/schemas/PollVoteCastedFeedEvent","feeds.poll.vote_changed":"#/components/schemas/PollVoteChangedFeedEvent","feeds.poll.vote_removed":"#/components/schemas/PollVoteRemovedFeedEvent","feeds.stories_feed.updated":"#/components/schemas/StoriesFeedUpdatedEvent","health.check":"#/components/schemas/HealthCheckEvent","moderation.custom_action":"#/components/schemas/ModerationCustomActionEvent","moderation.flagged":"#/components/schemas/ModerationFlaggedEvent","moderation.mark_reviewed":"#/components/schemas/ModerationMarkReviewedEvent","user.banned":"#/components/schemas/UserBannedEvent","user.deactivated":"#/components/schemas/UserDeactivatedEvent","user.reactivated":"#/components/schemas/UserReactivatedEvent","user.updated":"#/components/schemas/UserUpdatedEvent"},"propertyName":"type"},"oneOf":[{"$ref":"#/components/schemas/ActivityAddedEvent"},{"$ref":"#/components/schemas/ActivityDeletedEvent"},{"$ref":"#/components/schemas/ActivityFeedbackEvent"},{"$ref":"#/components/schemas/ActivityMarkEvent"},{"$ref":"#/components/schemas/ActivityPinnedEvent"},{"$ref":"#/components/schemas/ActivityReactionAddedEvent"},{"$ref":"#/components/schemas/ActivityReactionDeletedEvent"},{"$ref":"#/components/schemas/ActivityReactionUpdatedEvent"},{"$ref":"#/components/schemas/ActivityRemovedFromFeedEvent"},{"$ref":"#/components/schemas/ActivityRestoredEvent"},{"$ref":"#/components/schemas/ActivityUnpinnedEvent"},{"$ref":"#/components/schemas/ActivityUpdatedEvent"},{"$ref":"#/components/schemas/AppUpdatedEvent"},{"$ref":"#/components/schemas/BookmarkAddedEvent"},{"$ref":"#/components/schemas/BookmarkDeletedEvent"},{"$ref":"#/components/schemas/BookmarkFolderDeletedEvent"},{"$ref":"#/components/schemas/BookmarkFolderUpdatedEvent"},{"$ref":"#/components/schemas/BookmarkUpdatedEvent"},{"$ref":"#/components/schemas/CommentAddedEvent"},{"$ref":"#/components/schemas/CommentDeletedEvent"},{"$ref":"#/components/schemas/CommentReactionAddedEvent"},{"$ref":"#/components/schemas/CommentReactionDeletedEvent"},{"$ref":"#/components/schemas/CommentReactionUpdatedEvent"},{"$ref":"#/components/schemas/CommentUpdatedEvent"},{"$ref":"#/components/schemas/FeedCreatedEvent"},{"$ref":"#/components/schemas/FeedDeletedEvent"},{"$ref":"#/components/schemas/FeedGroupChangedEvent"},{"$ref":"#/components/schemas/FeedGroupDeletedEvent"},{"$ref":"#/components/schemas/FeedMemberAddedEvent"},{"$ref":"#/components/schemas/FeedMemberRemovedEvent"},{"$ref":"#/components/schemas/FeedMemberUpdatedEvent"},{"$ref":"#/components/schemas/FeedUpdatedEvent"},{"$ref":"#/components/schemas/FollowCreatedEvent"},{"$ref":"#/components/schemas/FollowDeletedEvent"},{"$ref":"#/components/schemas/FollowUpdatedEvent"},{"$ref":"#/components/schemas/HealthCheckEvent"},{"$ref":"#/components/schemas/ModerationCustomActionEvent"},{"$ref":"#/components/schemas/ModerationFlaggedEvent"},{"$ref":"#/components/schemas/ModerationMarkReviewedEvent"},{"$ref":"#/components/schemas/NotificationFeedUpdatedEvent"},{"$ref":"#/components/schemas/PollClosedFeedEvent"},{"$ref":"#/components/schemas/PollDeletedFeedEvent"},{"$ref":"#/components/schemas/PollUpdatedFeedEvent"},{"$ref":"#/components/schemas/PollVoteCastedFeedEvent"},{"$ref":"#/components/schemas/PollVoteChangedFeedEvent"},{"$ref":"#/components/schemas/PollVoteRemovedFeedEvent"},{"$ref":"#/components/schemas/StoriesFeedUpdatedEvent"},{"$ref":"#/components/schemas/UserBannedEvent"},{"$ref":"#/components/schemas/UserDeactivatedEvent"},{"$ref":"#/components/schemas/UserReactivatedEvent"},{"$ref":"#/components/schemas/UserUpdatedEvent"}]}},"securitySchemes":{"JWT":{"description":"JWT should be always provided when stream-auth-type=jwt.\n\nUsing JWT auth request could be authenticated as user or as server-side.\n\nWhen using user authentication permission checking is going to be applied to requests based on the user that is\nperforming a request.\n\nThe `authorization` header should be a JWT string signed using the secret attached to the API key used to perform\nrequests.\n\n**WARNING** all client-side official SDK do not ship with token generation; this is to make sure that the API secret is not\nshared with an untrusted party such as a browser or a iOS/Android application. Tokens **must** be generated server-side.\nIf you wish, you can configure your application to ignore authentication (see `disable_auth_check`)\nThe JWT string must include only the user_id claim and can include any built-in JWT claim such as iat, exp as well.\n","in":"header","name":"Authorization","type":"apiKey"},"api_key":{"description":"Application API key should be always set in order to authenticate the request.","in":"query","name":"api_key","type":"apiKey"},"stream-auth-type":{"description":"Stream-Auth-Type should be always set in order to authenticate the request. Possible\nvalues: `jwt` or `anonymous`.\n\n`jwt` allows you to authenticate as a user. With this auth type you should also provide valid JWT in Authorization\nheader.\n\n`anonymous` allows you to authenticate as anonymous user. Please note that most advanced features are not available\nto anonymous users.","in":"header","name":"Stream-Auth-Type","type":"apiKey"}}},"info":{"title":"Stream API","version":"v220.4.0"},"openapi":"3.0.3","paths":{"/api/v2/app":{"get":{"description":"This Method returns the application settings\n","operationId":"GetApp","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetApplicationResponse"}}},"description":"Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Get App Settings","tags":["product:common"]}},"/api/v2/blocklists":{"get":{"description":"Returns all available block lists\n","operationId":"ListBlockLists","parameters":[{"in":"query","name":"team","schema":{"type":"string","writeOnly":true,"x-stream-index":"001"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListBlockListResponse"}}},"description":"Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"List block lists","tags":["product:common"]},"post":{"description":"Creates a new application blocklist, once created the blocklist can be used by any channel type\n","operationId":"CreateBlockList","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateBlockListRequest"}}},"description":"Block list","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateBlockListResponse"}}},"description":"Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Create block list","tags":["product:common"]}},"/api/v2/blocklists/{name}":{"delete":{"description":"Deletes previously created application blocklist\n","operationId":"DeleteBlockList","parameters":[{"in":"path","name":"name","required":true,"schema":{"type":"string","writeOnly":true,"x-stream-index":"001"}},{"in":"query","name":"team","schema":{"type":"string","x-stream-index":"002"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}},"description":"Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Delete block list","tags":["product:common"]},"put":{"description":"Updates contents of the block list\n","operationId":"UpdateBlockList","parameters":[{"in":"path","name":"name","required":true,"schema":{"description":"Block list name","title":"Name","type":"string","writeOnly":true,"x-stream-index":"001"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateBlockListRequest"}}},"description":"Update block list","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateBlockListResponse"}}},"description":"Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Update block list","tags":["product:common"]}},"/api/v2/devices":{"delete":{"description":"Deletes one device\n","operationId":"DeleteDevice","parameters":[{"in":"query","name":"id","required":true,"schema":{"description":"Device ID to delete","title":"ID","type":"string","writeOnly":true,"x-stream-index":"001"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}},"description":"Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Delete device","tags":["product:common"]},"get":{"description":"Returns all available devices\n","operationId":"ListDevices","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListDevicesResponse"}}},"description":"ListDevicesResponse"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"List devices","tags":["product:common"]},"post":{"description":"Adds a new device to a user, if the same device already exists the call will have no effect\n","operationId":"CreateDevice","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateDeviceRequest"}}},"description":"CreateDeviceRequest","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}},"description":"Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Create device","tags":["product:common"]}},"/api/v2/feeds/activities":{"post":{"description":"Create a new activity or update an existing one\n","operationId":"AddActivity","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddActivityRequest"}}},"description":"Activity Request","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddActivityResponse"}}},"description":"Add Activity Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Add a single activity","tags":["product:feeds"]}},"/api/v2/feeds/activities/batch":{"post":{"description":"Create new activities or update existing ones in a batch operation\n","operationId":"UpsertActivities","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpsertActivitiesRequest"}}},"description":"Upsert Activities Request","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpsertActivitiesResponse"}}},"description":"Upsert Activities Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Upsert multiple activities","tags":["product:feeds"]}},"/api/v2/feeds/activities/delete":{"post":{"description":"Delete one or more activities by their IDs\n","operationId":"DeleteActivities","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteActivitiesRequest"}}},"description":"Delete Activities Request","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteActivitiesResponse"}}},"description":"Delete Activities Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Remove multiple activities","tags":["product:feeds"]}},"/api/v2/feeds/activities/query":{"post":{"description":"Query activities based on filters with pagination and sorting options\n","operationId":"QueryActivities","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryActivitiesRequest"}}},"description":"Query Activities Request","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryActivitiesResponse"}}},"description":"Query Activities Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Query activities","tags":["product:feeds"]}},"/api/v2/feeds/activities/{activity_id}/bookmarks":{"delete":{"description":"Deletes a bookmark from an activity\n","operationId":"DeleteBookmark","parameters":[{"in":"path","name":"activity_id","required":true,"schema":{"maxLength":255,"type":"string","writeOnly":true,"x-stream-index":"001"}},{"in":"query","name":"folder_id","schema":{"maxLength":255,"type":"string","writeOnly":true,"x-stream-index":"002"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteBookmarkResponse"}}},"description":"Delete Bookmark Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Delete a bookmark","tags":["product:feeds"]},"patch":{"description":"Updates a bookmark for an activity\n","operationId":"UpdateBookmark","parameters":[{"in":"path","name":"activity_id","required":true,"schema":{"description":"ID of the activity","maxLength":255,"title":"Activity ID","type":"string","writeOnly":true,"x-stream-index":"001"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateBookmarkRequest"}}},"description":"Update Bookmark Request","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateBookmarkResponse"}}},"description":"Update Bookmark Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Update bookmark","tags":["product:feeds"]},"post":{"description":"Adds a bookmark to an activity\n","operationId":"AddBookmark","parameters":[{"in":"path","name":"activity_id","required":true,"schema":{"maxLength":255,"type":"string","writeOnly":true,"x-stream-index":"001"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddBookmarkRequest"}}},"description":"Add Bookmark Request","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddBookmarkResponse"}}},"description":"Add Bookmark Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Add bookmark","tags":["product:feeds"]}},"/api/v2/feeds/activities/{activity_id}/feedback":{"post":{"description":"Submit feedback for an activity including options to show less, hide, report, or mute the user\n","operationId":"ActivityFeedback","parameters":[{"in":"path","name":"activity_id","required":true,"schema":{"maxLength":255,"type":"string","writeOnly":true,"x-stream-index":"001"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActivityFeedbackRequest"}}},"description":"Activity Feedback Request","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActivityFeedbackResponse"}}},"description":"Activity Feedback Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Provide feedback on an activity","tags":["product:feeds"]}},"/api/v2/feeds/activities/{activity_id}/polls/{poll_id}/vote":{"post":{"description":"Cast a vote on a poll\n\nSends events:\n- feeds.poll.vote_casted\n- feeds.poll.vote_changed\n- feeds.poll.vote_removed\n- poll.vote_casted\n- poll.vote_changed\n- poll.vote_removed\n","operationId":"CastPollVote","parameters":[{"in":"path","name":"activity_id","required":true,"schema":{"type":"string","writeOnly":true,"x-stream-index":"002"}},{"in":"path","name":"poll_id","required":true,"schema":{"description":"Poll ID","maxLength":255,"title":"string","type":"string","x-stream-index":"003"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CastPollVoteRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PollVoteResponse"}}},"description":"Successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Cast vote","tags":["product:feeds"]}},"/api/v2/feeds/activities/{activity_id}/polls/{poll_id}/vote/{vote_id}":{"delete":{"description":"Delete a vote from a poll\n\nSends events:\n- feeds.poll.vote_removed\n- poll.vote_removed\n","operationId":"DeletePollVote","parameters":[{"in":"path","name":"activity_id","required":true,"schema":{"type":"string","writeOnly":true,"x-stream-index":"003"}},{"in":"path","name":"poll_id","required":true,"schema":{"description":"Poll ID","maxLength":255,"title":"string","type":"string","x-stream-index":"004"}},{"in":"path","name":"vote_id","required":true,"schema":{"description":"Vote ID","maxLength":255,"title":"string","type":"string","x-stream-index":"005"}},{"in":"query","name":"user_id","schema":{"type":"string","writeOnly":true,"x-stream-index":"001"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PollVoteResponse"}}},"description":"Successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Delete vote","tags":["product:feeds"]}},"/api/v2/feeds/activities/{activity_id}/reactions":{"post":{"description":"Adds a reaction to an activity\n","operationId":"AddActivityReaction","parameters":[{"in":"path","name":"activity_id","required":true,"schema":{"maxLength":255,"type":"string","writeOnly":true,"x-stream-index":"001"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddReactionRequest"}}},"description":"Add Reaction Request","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddReactionResponse"}}},"description":"Add Reaction Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Add reaction","tags":["product:feeds"]}},"/api/v2/feeds/activities/{activity_id}/reactions/query":{"post":{"description":"Query activity reactions\n","operationId":"QueryActivityReactions","parameters":[{"in":"path","name":"activity_id","required":true,"schema":{"type":"string","writeOnly":true,"x-stream-index":"001"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryActivityReactionsRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryActivityReactionsResponse"}}},"description":"Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Query activity reactions","tags":["product:feeds"]}},"/api/v2/feeds/activities/{activity_id}/reactions/{type}":{"delete":{"description":"Removes a reaction from an activity\n","operationId":"DeleteActivityReaction","parameters":[{"in":"path","name":"activity_id","required":true,"schema":{"maxLength":255,"type":"string","writeOnly":true,"x-stream-index":"001"}},{"in":"path","name":"type","required":true,"schema":{"maxLength":255,"type":"string","writeOnly":true,"x-stream-index":"002"}},{"in":"query","name":"delete_notification_activity","schema":{"description":"Whether to delete the corresponding notification activity (default: false)","title":"Delete Notification Activity","type":"boolean","writeOnly":true,"x-stream-index":"003"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteActivityReactionResponse"}}},"description":"Delete Activity Reaction Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Remove reaction","tags":["product:feeds"]}},"/api/v2/feeds/activities/{id}":{"delete":{"description":"Delete a single activity by its ID\n","operationId":"DeleteActivity","parameters":[{"in":"path","name":"id","required":true,"schema":{"maxLength":255,"type":"string","writeOnly":true,"x-stream-index":"001"}},{"in":"query","name":"hard_delete","schema":{"description":"Whether to permanently delete the activity instead of soft delete","title":"boolean","type":"boolean","writeOnly":true,"x-stream-index":"002"}},{"in":"query","name":"delete_notification_activity","schema":{"description":"Whether to also delete any notification activities created from mentions in this activity","title":"boolean","type":"boolean","writeOnly":true,"x-stream-index":"003"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteActivityResponse"}}},"description":"Delete Activity Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Delete a single activity","tags":["product:feeds"]},"get":{"description":"Returns activity by ID\n","operationId":"GetActivity","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string","writeOnly":true,"x-stream-index":"001"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetActivityResponse"}}},"description":"Get Activity Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Get activity","tags":["product:feeds"]},"patch":{"description":"Updates certain fields of the activity. Use 'set' to update specific fields and 'unset' to remove fields. This allows you to update only the fields you need without replacing the entire activity. Useful for updating reply restrictions ('restrict_replies'), mentioned users, or custom data.\n\nSends events:\n- feeds.activity.updated\n","operationId":"UpdateActivityPartial","parameters":[{"in":"path","name":"id","required":true,"schema":{"maxLength":255,"type":"string","writeOnly":true,"x-stream-index":"001"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateActivityPartialRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateActivityPartialResponse"}}},"description":"Successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Partial activity update","tags":["product:feeds"]},"put":{"description":"Replaces an activity with the provided data. Use this to update text, attachments, reply restrictions ('restrict_replies'), mentioned users, and other activity fields. Note: This is a full update - any fields not provided will be cleared.\n\nSends events:\n- feeds.activity.updated\n","operationId":"UpdateActivity","parameters":[{"in":"path","name":"id","required":true,"schema":{"maxLength":255,"type":"string","writeOnly":true,"x-stream-index":"001"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateActivityRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateActivityResponse"}}},"description":"Successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Full activity update","tags":["product:feeds"]}},"/api/v2/feeds/activities/{id}/restore":{"post":{"description":"Restores a soft-deleted activity by its ID. Only the activity owner can restore their own activities.\n","operationId":"RestoreActivity","parameters":[{"in":"path","name":"id","required":true,"schema":{"maxLength":255,"type":"string","writeOnly":true,"x-stream-index":"001"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestoreActivityRequest"}}},"description":"Restore Activity Request","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestoreActivityResponse"}}},"description":"Restore Activity Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Restore a soft-deleted activity","tags":["product:feeds"]}},"/api/v2/feeds/bookmark_folders/query":{"post":{"description":"Query bookmark folders with filter query\n","operationId":"QueryBookmarkFolders","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryBookmarkFoldersRequest"}}},"description":"Query Bookmark Folders Request","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryBookmarkFoldersResponse"}}},"description":"Query Bookmark Folders Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Query bookmark folders","tags":["product:feeds"]}},"/api/v2/feeds/bookmark_folders/{folder_id}":{"delete":{"description":"Delete a bookmark folder by its ID\n","operationId":"DeleteBookmarkFolder","parameters":[{"in":"path","name":"folder_id","required":true,"schema":{"maxLength":255,"type":"string","writeOnly":true,"x-stream-index":"001"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteBookmarkFolderResponse"}}},"description":"Delete Bookmark Folder Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Delete a bookmark folder","tags":["product:feeds"]},"patch":{"description":"Update a bookmark folder by its ID\n","operationId":"UpdateBookmarkFolder","parameters":[{"in":"path","name":"folder_id","required":true,"schema":{"maxLength":255,"type":"string","writeOnly":true,"x-stream-index":"001"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateBookmarkFolderRequest"}}},"description":"Update Bookmark Folder Request","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateBookmarkFolderResponse"}}},"description":"Update Bookmark Folder Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Update a bookmark folder","tags":["product:feeds"]}},"/api/v2/feeds/bookmarks/query":{"post":{"description":"Query bookmarks with filter query\n","operationId":"QueryBookmarks","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryBookmarksRequest"}}},"description":"Query Bookmarks Request","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryBookmarksResponse"}}},"description":"Query Bookmarks Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Query bookmarks","tags":["product:feeds"]}},"/api/v2/feeds/collections":{"delete":{"description":"Delete collections in a batch operation. Users can only delete their own collections.\n","operationId":"DeleteCollections","parameters":[{"in":"query","name":"collection_refs","required":true,"schema":{"description":"List of collections to delete","items":{"type":"string"},"maxItems":100,"minItems":1,"title":"Collection references","type":"array","writeOnly":true,"x-stream-index":"001"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteCollectionsResponse"}}},"description":"Delete Collections Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Delete multiple collections","tags":["product:feeds"]},"get":{"description":"Read collections with optional filtering by user ID and collection name. By default, users can only read their own collections.\n","operationId":"ReadCollections","parameters":[{"in":"query","name":"collection_refs","required":true,"schema":{"description":"List of collection references in format 'name:id' (1-100 items)","items":{"type":"string"},"maxItems":100,"minItems":1,"title":"Collection References","type":"array","writeOnly":true,"x-stream-index":"001"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReadCollectionsResponse"}}},"description":"Read Collections Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Read collections","tags":["product:feeds"]},"patch":{"description":"Update existing collections in a batch operation. Only the custom data field is updatable. Users can only update their own collections.\n","operationId":"UpdateCollections","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateCollectionsRequest"}}},"description":"Update Collections Request","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateCollectionsResponse"}}},"description":"Update Collections Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Update multiple collections","tags":["product:feeds"]},"post":{"description":"Create new collections in a batch operation. Collections are data objects that can be attached to activities for managing shared data across multiple activities.\n","operationId":"CreateCollections","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCollectionsRequest"}}},"description":"Create Collections Request","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCollectionsResponse"}}},"description":"Create Collections Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Create multiple collections","tags":["product:feeds"]}},"/api/v2/feeds/comments":{"get":{"description":"Retrieve a threaded list of comments for a specific object (e.g., activity), with configurable depth, sorting, and pagination\n","operationId":"GetComments","parameters":[{"in":"query","name":"object_id","required":true,"schema":{"description":"ID of the object to get comments for","title":"Object ID","type":"string","writeOnly":true,"x-stream-index":"001"}},{"in":"query","name":"object_type","required":true,"schema":{"description":"Type of the object to get comments for","enum":["activity"],"title":"Object Type","type":"string","writeOnly":true,"x-stream-index":"002"}},{"in":"query","name":"depth","schema":{"description":"Maximum nested depth to return (0 = only first level)","format":"int32","maximum":5,"minimum":0,"title":"Max Depth","type":"integer","writeOnly":true,"x-stream-index":"003"}},{"in":"query","name":"sort","schema":{"description":"Sort order for the comments","enum":["first","last","top","best","controversial"],"title":"Sort Order","type":"string","writeOnly":true,"x-stream-index":"004"}},{"in":"query","name":"replies_limit","schema":{"format":"int32","maximum":20,"minimum":0,"type":"integer","writeOnly":true,"x-stream-index":"005"}},{"in":"query","name":"limit","schema":{"description":"Max number of top‑level comments to return","format":"int32","maximum":100,"minimum":0,"title":"Root Limit","type":"integer","writeOnly":true,"x-stream-index":"007.001"}},{"in":"query","name":"prev","schema":{"type":"string","writeOnly":true,"x-stream-index":"007.002"}},{"in":"query","name":"next","schema":{"type":"string","writeOnly":true,"x-stream-index":"007.003"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetCommentsResponse"}}},"description":"Get Comments Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Get comments for an object","tags":["product:feeds"]},"post":{"description":"Adds a comment to an object (e.g., activity) or a reply to an existing comment, and broadcasts appropriate events\n","operationId":"AddComment","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddCommentRequest"}}},"description":"Add Comment Request","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddCommentResponse"}}},"description":"Add Comment Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Add a comment or reply","tags":["product:feeds"]}},"/api/v2/feeds/comments/batch":{"post":{"description":"Adds multiple comments in a single request. Each comment must specify the object type and ID.\n","operationId":"AddCommentsBatch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddCommentsBatchRequest"}}},"description":"Add Comments Batch Request","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddCommentsBatchResponse"}}},"description":"Add Comments Batch Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Add multiple comments in a batch","tags":["product:feeds"]}},"/api/v2/feeds/comments/query":{"post":{"description":"Query comments using MongoDB-style filters with pagination and sorting options\n","operationId":"QueryComments","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryCommentsRequest"}}},"description":"Query Comments Request","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryCommentsResponse"}}},"description":"Query Comments Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Query comments","tags":["product:feeds"]}},"/api/v2/feeds/comments/{id}":{"delete":{"description":"Deletes a comment from an object (e.g., activity) and broadcasts appropriate events\n","operationId":"DeleteComment","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string","writeOnly":true,"x-stream-index":"001"}},{"in":"query","name":"hard_delete","schema":{"description":"Whether to permanently delete the comment instead of soft delete","title":"Hard Delete","type":"boolean","writeOnly":true,"x-stream-index":"002"}},{"in":"query","name":"delete_notification_activity","schema":{"description":"Whether to delete the corresponding notification activity (default: false)","title":"Delete Notification Activity","type":"boolean","writeOnly":true,"x-stream-index":"003"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteCommentResponse"}}},"description":"Delete Comment Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Delete a comment","tags":["product:feeds"]},"get":{"description":"Get a comment by ID\n","operationId":"GetComment","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string","writeOnly":true,"x-stream-index":"001"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetCommentResponse"}}},"description":"Get Comment Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Get comment","tags":["product:feeds"]},"patch":{"description":"Updates a comment on an object (e.g., activity) and broadcasts appropriate events\n","operationId":"UpdateComment","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string","writeOnly":true,"x-stream-index":"001"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateCommentRequest"}}},"description":"Update Comment Request","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateCommentResponse"}}},"description":"Update Comment Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Update a comment","tags":["product:feeds"]}},"/api/v2/feeds/comments/{id}/reactions":{"post":{"description":"Adds a reaction to a comment\n","operationId":"AddCommentReaction","parameters":[{"in":"path","name":"id","required":true,"schema":{"maxLength":255,"type":"string","writeOnly":true,"x-stream-index":"001"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddCommentReactionRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddCommentReactionResponse"}}},"description":"Successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Add comment reaction","tags":["product:feeds"]}},"/api/v2/feeds/comments/{id}/reactions/query":{"post":{"description":"Query comment reactions\n","operationId":"QueryCommentReactions","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string","writeOnly":true,"x-stream-index":"001"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryCommentReactionsRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryCommentReactionsResponse"}}},"description":"Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Query comment reactions","tags":["product:feeds"]}},"/api/v2/feeds/comments/{id}/reactions/{type}":{"delete":{"description":"Deletes a reaction from a comment\n","operationId":"DeleteCommentReaction","parameters":[{"in":"path","name":"id","required":true,"schema":{"maxLength":255,"type":"string","writeOnly":true,"x-stream-index":"001"}},{"in":"path","name":"type","required":true,"schema":{"maxLength":255,"type":"string","writeOnly":true,"x-stream-index":"002"}},{"in":"query","name":"delete_notification_activity","schema":{"description":"Whether to delete the corresponding notification activity (default: false)","title":"Delete Notification Activity","type":"boolean","writeOnly":true,"x-stream-index":"003"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteCommentReactionResponse"}}},"description":"Delete Comment Reaction Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Delete comment reaction","tags":["product:feeds"]}},"/api/v2/feeds/comments/{id}/replies":{"get":{"description":"Retrieve a threaded list of replies for a single comment, with configurable depth, sorting, and pagination\n","operationId":"GetCommentReplies","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string","writeOnly":true,"x-stream-index":"001"}},{"in":"query","name":"depth","schema":{"description":"Maximum nested depth to return (0 = unlimited)","format":"int32","maximum":5,"minimum":0,"title":"Max Depth","type":"integer","writeOnly":true,"x-stream-index":"002"}},{"in":"query","name":"sort","schema":{"description":"first (oldest), last (newest) or top. One of: first, last, top, best, controversial","enum":["first","last","top","best","controversial"],"title":"Sort Order","type":"string","writeOnly":true,"x-stream-index":"003"}},{"in":"query","name":"replies_limit","schema":{"description":"Max number of replies to return","format":"int32","minimum":0,"title":"Replies Limit","type":"integer","writeOnly":true,"x-stream-index":"004"}},{"in":"query","name":"limit","schema":{"description":"Max number of direct replies to return","format":"int32","maximum":100,"minimum":0,"title":"Reply Limit","type":"integer","writeOnly":true,"x-stream-index":"006.001"}},{"in":"query","name":"prev","schema":{"type":"string","writeOnly":true,"x-stream-index":"006.002"}},{"in":"query","name":"next","schema":{"type":"string","writeOnly":true,"x-stream-index":"006.003"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetCommentRepliesResponse"}}},"description":"Get Comment Replies Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Get replies for a comment","tags":["product:feeds"]}},"/api/v2/feeds/feed_groups/{feed_group_id}/feeds/{feed_id}":{"delete":{"description":"Delete a single feed by its ID\n","operationId":"DeleteFeed","parameters":[{"in":"path","name":"feed_group_id","required":true,"schema":{"maxLength":255,"type":"string","writeOnly":true,"x-stream-index":"001"}},{"in":"path","name":"feed_id","required":true,"schema":{"maxLength":255,"type":"string","writeOnly":true,"x-stream-index":"002"}},{"in":"query","name":"hard_delete","schema":{"description":"Whether to permanently delete the feed instead of soft delete","title":"boolean","type":"boolean","writeOnly":true,"x-stream-index":"003"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteFeedResponse"}}},"description":"Delete Feed Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Delete a single feed","tags":["product:feeds"]},"post":{"description":"Create a single feed for a given feed group\n","operationId":"GetOrCreateFeed","parameters":[{"in":"path","name":"feed_group_id","required":true,"schema":{"maxLength":255,"type":"string","writeOnly":true,"x-stream-index":"001"}},{"in":"path","name":"feed_id","required":true,"schema":{"maxLength":255,"type":"string","writeOnly":true,"x-stream-index":"002"}},{"in":"query","name":"connection_id","schema":{"description":"Websocket connection ID to interact with. You can pass it as Body or URL parameter","title":"Connection ID","type":"string","x-stream-index":"016.003"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetOrCreateFeedRequest"}}},"description":"ClientRequest","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetOrCreateFeedResponse"}}},"description":"Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Create a new feed","tags":["product:feeds"]},"put":{"description":"Update an existing feed\n","operationId":"UpdateFeed","parameters":[{"in":"path","name":"feed_group_id","required":true,"schema":{"maxLength":255,"type":"string","writeOnly":true,"x-stream-index":"001"}},{"in":"path","name":"feed_id","required":true,"schema":{"maxLength":255,"type":"string","writeOnly":true,"x-stream-index":"002"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateFeedRequest"}}},"description":"Update Feed Request","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateFeedResponse"}}},"description":"Update Feed Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Update a feed","tags":["product:feeds"]}},"/api/v2/feeds/feed_groups/{feed_group_id}/feeds/{feed_id}/activities/mark/batch":{"post":{"description":"Mark activities as read/seen/watched. Can mark by timestamp (seen), activity IDs (read), or all as read.\n","operationId":"MarkActivity","parameters":[{"in":"path","name":"feed_group_id","required":true,"schema":{"maxLength":255,"type":"string","writeOnly":true,"x-stream-index":"001"}},{"in":"path","name":"feed_id","required":true,"schema":{"maxLength":255,"type":"string","writeOnly":true,"x-stream-index":"002"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarkActivityRequest"}}},"description":"Mark Activity Request","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}},"description":"Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Mark activities as read/seen/watched","tags":["product:feeds"]}},"/api/v2/feeds/feed_groups/{feed_group_id}/feeds/{feed_id}/activities/{activity_id}/pin":{"delete":{"description":"Unpin an activity from a feed. This removes the pin, so the activity will no longer be displayed at the top of the feed.\n","operationId":"UnpinActivity","parameters":[{"in":"path","name":"feed_group_id","required":true,"schema":{"maxLength":255,"type":"string","writeOnly":true,"x-stream-index":"001"}},{"in":"path","name":"feed_id","required":true,"schema":{"maxLength":255,"type":"string","writeOnly":true,"x-stream-index":"002"}},{"in":"path","name":"activity_id","required":true,"schema":{"type":"string","writeOnly":true,"x-stream-index":"003"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnpinActivityResponse"}}},"description":"Unpin Activity Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Unpin an activity from a feed","tags":["product:feeds"]},"post":{"description":"Pin an activity to a feed. Pinned activities are typically displayed at the top of a feed.\n","operationId":"PinActivity","parameters":[{"in":"path","name":"feed_group_id","required":true,"schema":{"maxLength":255,"type":"string","writeOnly":true,"x-stream-index":"001"}},{"in":"path","name":"feed_id","required":true,"schema":{"maxLength":255,"type":"string","writeOnly":true,"x-stream-index":"002"}},{"in":"path","name":"activity_id","required":true,"schema":{"type":"string","writeOnly":true,"x-stream-index":"003"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PinActivityRequest"}}},"description":"Pin Activity Request","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PinActivityResponse"}}},"description":"Pin Activity Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Pin an activity to a feed","tags":["product:feeds"]}},"/api/v2/feeds/feed_groups/{feed_group_id}/feeds/{feed_id}/members":{"patch":{"description":"Add, remove, or set members for a feed\n","operationId":"UpdateFeedMembers","parameters":[{"in":"path","name":"feed_group_id","required":true,"schema":{"maxLength":255,"type":"string","writeOnly":true,"x-stream-index":"001"}},{"in":"path","name":"feed_id","required":true,"schema":{"maxLength":255,"type":"string","writeOnly":true,"x-stream-index":"002"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateFeedMembersRequest"}}},"description":"Update Feed Members Request","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateFeedMembersResponse"}}},"description":"Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Update feed members","tags":["product:feeds"]}},"/api/v2/feeds/feed_groups/{feed_group_id}/feeds/{feed_id}/members/accept":{"post":{"description":"Accepts a pending feed member request\n","operationId":"AcceptFeedMemberInvite","parameters":[{"in":"path","name":"feed_id","required":true,"schema":{"maxLength":255,"type":"string","writeOnly":true,"x-stream-index":"001"}},{"in":"path","name":"feed_group_id","required":true,"schema":{"maxLength":255,"type":"string","writeOnly":true,"x-stream-index":"002"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AcceptFeedMemberInviteRequest"}}},"description":"Accept Feed Member Invite Request","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AcceptFeedMemberInviteResponse"}}},"description":"Accept Feed Member Invite Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Accept a feed member request","tags":["product:feeds"]}},"/api/v2/feeds/feed_groups/{feed_group_id}/feeds/{feed_id}/members/query":{"post":{"description":"Query feed members based on filters with pagination and sorting options\n","operationId":"QueryFeedMembers","parameters":[{"in":"path","name":"feed_group_id","required":true,"schema":{"maxLength":255,"type":"string","writeOnly":true,"x-stream-index":"001"}},{"in":"path","name":"feed_id","required":true,"schema":{"maxLength":255,"type":"string","writeOnly":true,"x-stream-index":"002"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryFeedMembersRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryFeedMembersResponse"}}},"description":"Successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Query feed members","tags":["product:feeds"]}},"/api/v2/feeds/feed_groups/{feed_group_id}/feeds/{feed_id}/members/reject":{"post":{"description":"Rejects a pending feed member request\n","operationId":"RejectFeedMemberInvite","parameters":[{"in":"path","name":"feed_group_id","required":true,"schema":{"maxLength":255,"type":"string","writeOnly":true,"x-stream-index":"001"}},{"in":"path","name":"feed_id","required":true,"schema":{"maxLength":255,"type":"string","writeOnly":true,"x-stream-index":"002"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RejectFeedMemberInviteRequest"}}},"description":"Reject Feed Member Request","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RejectFeedMemberInviteResponse"}}},"description":"Reject Feed Member Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Reject an invite to become a feed member","tags":["product:feeds"]}},"/api/v2/feeds/feed_groups/{feed_group_id}/feeds/{feed_id}/pinned_activities/query":{"post":{"description":"Query pinned activities for a feed with filter query\n","operationId":"QueryPinnedActivities","parameters":[{"in":"path","name":"feed_group_id","required":true,"schema":{"maxLength":255,"type":"string","writeOnly":true,"x-stream-index":"001"}},{"in":"path","name":"feed_id","required":true,"schema":{"maxLength":255,"type":"string","writeOnly":true,"x-stream-index":"002"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryPinnedActivitiesRequest"}}},"description":"Query Pinned Activities Request","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryPinnedActivitiesResponse"}}},"description":"Query Pinned Activities Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Query pinned activities","tags":["product:feeds"]}},"/api/v2/feeds/feed_groups/{feed_group_id}/feeds/{feed_id}/watch":{"delete":{"description":"Call this Method to stop receiving feed events\n","operationId":"StopWatchingFeed","parameters":[{"in":"path","name":"feed_group_id","required":true,"schema":{"maxLength":255,"type":"string","writeOnly":true,"x-stream-index":"002"}},{"in":"path","name":"feed_id","required":true,"schema":{"maxLength":255,"type":"string","writeOnly":true,"x-stream-index":"003"}},{"in":"query","name":"connection_id","schema":{"type":"string","x-stream-index":"001.003"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}},"description":"Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Stop watching feed","tags":["product:feeds"]}},"/api/v2/feeds/feed_groups/{feed_group_id}/follow_suggestions":{"get":{"description":"Get follow suggestions for a feed group\n","operationId":"GetFollowSuggestions","parameters":[{"in":"path","name":"feed_group_id","required":true,"schema":{"description":"The ID of the feed group to get suggestions for","maxLength":255,"title":"Feed Group ID","type":"string","writeOnly":true,"x-stream-index":"001"}},{"in":"query","name":"limit","schema":{"description":"Maximum number of suggestions to return","format":"int32","maximum":100,"minimum":1,"title":"Limit","type":"integer","writeOnly":true,"x-stream-index":"002"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetFollowSuggestionsResponse"}}},"description":"Follow Suggestions Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Get follow suggestions","tags":["product:feeds"]}},"/api/v2/feeds/feeds/batch":{"post":{"description":"Create multiple feeds at once for a given feed group\n","operationId":"CreateFeedsBatch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateFeedsBatchRequest"}}},"description":"Create Feeds Batch Request","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateFeedsBatchResponse"}}},"description":"Create Feeds Batch Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Create multiple feeds at once","tags":["product:feeds"]}},"/api/v2/feeds/feeds/own/batch":{"post":{"description":"Retrieves own_follows, own_capabilities, and/or own_membership for multiple feeds in a single request. If fields are not specified, all three fields are returned.\n","operationId":"OwnBatch","parameters":[{"in":"query","name":"connection_id","schema":{"type":"string","x-stream-index":"004.003"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OwnBatchRequest"}}},"description":"Own Batch Request","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OwnBatchResponse"}}},"description":"Own Batch Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Get own fields for multiple feeds","tags":["product:feeds"]}},"/api/v2/feeds/feeds/query":{"post":{"description":"Query feeds with filter query\n","operationId":"QueryFeeds","parameters":[{"in":"query","name":"connection_id","schema":{"type":"string","x-stream-index":"005.003"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryFeedsRequest"}}},"description":"Query Feeds Request","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryFeedsResponse"}}},"description":"Query Feeds Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Query feeds","tags":["product:feeds"]}},"/api/v2/feeds/follows":{"patch":{"description":"Updates a follow's custom data, push preference, and follower role. Source owner can update custom data and push preference. Follower role can only be updated via server-side requests.\n","operationId":"UpdateFollow","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateFollowRequest"}}},"description":"Update Follow Request","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateFollowResponse"}}},"description":"Update Follow Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Update a follow","tags":["product:feeds"]},"post":{"description":"Creates a follow and broadcasts FollowAddedEvent\n","operationId":"Follow","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FollowRequest"}}},"description":"Follow Request","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SingleFollowResponse"}}},"description":"Follow Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Create a follow","tags":["product:feeds"]}},"/api/v2/feeds/follows/accept":{"post":{"description":"Accepts a pending follow request\n","operationId":"AcceptFollow","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AcceptFollowRequest"}}},"description":"Accept Follow Request","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AcceptFollowResponse"}}},"description":"Accept Follow Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Accept a follow request","tags":["product:feeds"]}},"/api/v2/feeds/follows/batch":{"post":{"description":"Creates multiple follows at once and broadcasts FollowAddedEvent for each follow\n","operationId":"FollowBatch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FollowBatchRequest"}}},"description":"Follow Batch Request","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FollowBatchResponse"}}},"description":"Follow Batch Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Create multiple follows at once","tags":["product:feeds"]}},"/api/v2/feeds/follows/batch/upsert":{"post":{"description":"Creates or updates multiple follows at once. Does not return an error if follows already exist. Broadcasts FollowAddedEvent only for newly created follows.\n","operationId":"GetOrCreateFollows","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FollowBatchRequest"}}},"description":"Follow Batch Request","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FollowBatchResponse"}}},"description":"Follow Batch Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Upsert multiple follows at once","tags":["product:feeds"]}},"/api/v2/feeds/follows/query":{"post":{"description":"Query follows based on filters with pagination and sorting options\n","operationId":"QueryFollows","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryFollowsRequest"}}},"description":"Query Follows Request","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryFollowsResponse"}}},"description":"Query Follows Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Query follows","tags":["product:feeds"]}},"/api/v2/feeds/follows/reject":{"post":{"description":"Rejects a pending follow request\n","operationId":"RejectFollow","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RejectFollowRequest"}}},"description":"Reject Follow Request","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RejectFollowResponse"}}},"description":"Reject Follow Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Reject a follow request","tags":["product:feeds"]}},"/api/v2/feeds/follows/{source}/{target}":{"delete":{"description":"Removes a follow and broadcasts FollowRemovedEvent\n","operationId":"Unfollow","parameters":[{"in":"path","name":"source","required":true,"schema":{"description":"Fully qualified ID of the source feed","maxLength":255,"title":"Source Feed","type":"string","writeOnly":true,"x-stream-index":"001"}},{"in":"path","name":"target","required":true,"schema":{"description":"Fully qualified ID of the target feed","maxLength":255,"title":"Target Feed","type":"string","writeOnly":true,"x-stream-index":"002"}},{"in":"query","name":"delete_notification_activity","schema":{"description":"Whether to delete the corresponding notification activity (default: false)","title":"Delete Notification Activity","type":"boolean","writeOnly":true,"x-stream-index":"003"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnfollowResponse"}}},"description":"Unfollow Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Unfollow a feed","tags":["product:feeds"]}},"/api/v2/feeds/unfollow/batch/upsert":{"post":{"description":"Removes multiple follows and broadcasts FollowRemovedEvent for each. Does not return an error if follows don't exist.\n","operationId":"GetOrCreateUnfollows","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnfollowBatchRequest"}}},"description":"Unfollow Batch Request","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnfollowBatchResponse"}}},"description":"Unfollow Batch Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Unfollow multiple feeds (idempotent)","tags":["product:feeds"]}},"/api/v2/guest":{"post":{"description":"\n","operationId":"CreateGuest","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateGuestRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateGuestResponse"}}},"description":"Successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Create Guest","tags":["product:common"]}},"/api/v2/longpoll":{"get":{"description":"WebSocket fallback transport endpoint\n\nSends events:\n- user.updated\n","operationId":"LongPoll","parameters":[{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WSAuthMessage","x-stream-index":"001"}}},"in":"query","name":"json"},{"in":"query","name":"connection_id","schema":{"maxLength":36,"type":"string","writeOnly":true,"x-stream-index":"002"}}],"responses":{"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Long Poll (Transport)","tags":["product:common"]}},"/api/v2/moderation/appeal":{"post":{"description":"Appeal against the moderation decision\n","operationId":"appeal","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppealRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppealResponse"}}},"description":"Successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Appeal against the moderation decision","tags":["product:moderation"]}},"/api/v2/moderation/appeal/{id}":{"get":{"description":"Retrieve a specific appeal item by its ID\n","operationId":"get_appeal","parameters":[{"in":"path","name":"id","required":true,"schema":{"description":"Unique identifier of the appeal item to retrieve","title":"ID","type":"string","writeOnly":true,"x-stream-index":"001"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetAppealResponse"}}},"description":"Successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Get appeal item","tags":["product:moderation"]}},"/api/v2/moderation/appeals":{"post":{"description":"Query Appeals\n","operationId":"query_appeals","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryAppealsRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryAppealsResponse"}}},"description":"Successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Query Appeals","tags":["product:moderation"]}},"/api/v2/moderation/ban":{"post":{"description":"Ban a user from a channel or the entire app\n","operationId":"ban","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BanRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BanResponse"}}},"description":"Successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Ban","tags":["product:moderation"]}},"/api/v2/moderation/config":{"post":{"description":"Create a new moderation configuration or update an existing one. Configure settings for content filtering, AI analysis, toxicity detection, and other moderation features.\n","operationId":"upsert_config","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpsertConfigRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpsertConfigResponse"}}},"description":"Successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Create or update moderation configuration","tags":["product:moderation"]}},"/api/v2/moderation/config/{key}":{"delete":{"description":"Delete a specific moderation policy by its name\n","operationId":"delete_config","parameters":[{"in":"path","name":"key","required":true,"schema":{"description":"Key of the moderation configuration to delete","title":"Key","type":"string","x-stream-index":"001"}},{"in":"query","name":"team","schema":{"description":"Team associated with the configuration","title":"Team","type":"string","x-stream-index":"002"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteModerationConfigResponse"}}},"description":"Successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Delete a moderation policy","tags":["product:moderation"]},"get":{"description":"Retrieve a specific moderation configuration by its key and team. This configuration contains settings for various moderation features like toxicity detection, AI analysis, and filtering rules.\n","operationId":"get_config","parameters":[{"in":"path","name":"key","required":true,"schema":{"description":"Key of the moderation configuration to retrieve","title":"Key","type":"string","x-stream-index":"001"}},{"in":"query","name":"team","schema":{"description":"Team associated with the configuration","title":"Team","type":"string","x-stream-index":"002"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetConfigResponse"}}},"description":"Successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Get moderation configuration","tags":["product:moderation"]}},"/api/v2/moderation/configs":{"post":{"description":"Search and filter moderation configurations across your application. This endpoint is designed for building moderation dashboards and managing multiple configuration sets.\n","operationId":"query_moderation_configs","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryModerationConfigsRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryModerationConfigsResponse"}}},"description":"Successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Query moderation configurations","tags":["product:moderation"]}},"/api/v2/moderation/flag":{"post":{"description":"Flag any type of content (messages, users, channels, activities) for moderation review. Supports custom content types and additional metadata for flagged content.\n","operationId":"flag","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlagRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlagResponse"}}},"description":"Successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Flag content for moderation","tags":["product:moderation"]}},"/api/v2/moderation/mute":{"post":{"description":"Mute a user. Mutes are generally not visible to the user you mute, while block is something you notice.\n","operationId":"mute","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MuteRequest"}}},"description":"MuteRequest","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MuteResponse"}}},"description":"MuteResponse"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Mute","tags":["product:moderation"]}},"/api/v2/moderation/review_queue":{"post":{"description":"Query review queue items allows you to filter the review queue items. This is used for building a moderation dashboard.\n","operationId":"query_review_queue","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryReviewQueueRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryReviewQueueResponse"}}},"description":"Successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Query review queue items","tags":["product:moderation"]}},"/api/v2/moderation/submit_action":{"post":{"description":"Take action on flagged content, such as marking content as safe, deleting content, banning users, or executing custom moderation actions. Supports various action types with configurable parameters.\n","operationId":"submit_action","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubmitActionRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubmitActionResponse"}}},"description":"Successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Submit moderation action","tags":["product:moderation"]}},"/api/v2/og":{"get":{"description":"Get an OpenGraph attachment for a link\n","operationId":"GetOG","parameters":[{"in":"query","name":"url","required":true,"schema":{"description":"URL to be scraped","title":"URL","type":"string","writeOnly":true,"x-stream-index":"001"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetOGResponse"}}},"description":"Get OG Attachment"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Get OG","tags":["product:common"]}},"/api/v2/polls":{"post":{"description":"Creates a new poll\n","operationId":"CreatePoll","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePollRequest"}}},"description":"Create Poll Request","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PollResponse"}}},"description":"Successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Create poll","tags":["product:common"]},"put":{"description":"Updates a poll\n\nSends events:\n- feeds.poll.closed\n- feeds.poll.updated\n- poll.closed\n- poll.updated\n","operationId":"UpdatePoll","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdatePollRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PollResponse"}}},"description":"Successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Update poll","tags":["product:common"]}},"/api/v2/polls/query":{"post":{"description":"Queries polls\n","operationId":"QueryPolls","parameters":[{"in":"query","name":"user_id","schema":{"type":"string","writeOnly":true,"x-stream-index":"001"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryPollsRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryPollsResponse"}}},"description":"Successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Query polls","tags":["product:common"]}},"/api/v2/polls/{poll_id}":{"delete":{"description":"Deletes a poll\n\nSends events:\n- feeds.poll.deleted\n- poll.deleted\n","operationId":"DeletePoll","parameters":[{"in":"path","name":"poll_id","required":true,"schema":{"description":"Poll ID","maxLength":255,"title":"string","type":"string","x-stream-index":"002"}},{"in":"query","name":"user_id","schema":{"type":"string","writeOnly":true,"x-stream-index":"001"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}},"description":"Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Delete poll","tags":["product:common"]},"get":{"description":"Retrieves a poll\n","operationId":"GetPoll","parameters":[{"in":"path","name":"poll_id","required":true,"schema":{"description":"Poll ID","maxLength":255,"title":"string","type":"string","x-stream-index":"002"}},{"in":"query","name":"user_id","schema":{"type":"string","writeOnly":true,"x-stream-index":"001"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PollResponse"}}},"description":"Successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Get poll","tags":["product:common"]},"patch":{"description":"Updates a poll partially\n\nSends events:\n- feeds.poll.closed\n- feeds.poll.updated\n- poll.closed\n- poll.updated\n","operationId":"UpdatePollPartial","parameters":[{"in":"path","name":"poll_id","required":true,"schema":{"description":"Poll ID","maxLength":255,"title":"string","type":"string","x-stream-index":"001"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdatePollPartialRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PollResponse"}}},"description":"Successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Partial update poll","tags":["product:common"]}},"/api/v2/polls/{poll_id}/options":{"post":{"description":"Creates a poll option\n\nSends events:\n- feeds.poll.updated\n- poll.updated\n","operationId":"CreatePollOption","parameters":[{"in":"path","name":"poll_id","required":true,"schema":{"description":"Poll ID","maxLength":255,"title":"string","type":"string","x-stream-index":"001"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePollOptionRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PollOptionResponse"}}},"description":"Successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Create poll option","tags":["product:common"]},"put":{"description":"Updates a poll option\n\nSends events:\n- feeds.poll.updated\n- poll.updated\n","operationId":"UpdatePollOption","parameters":[{"in":"path","name":"poll_id","required":true,"schema":{"description":"Poll ID","maxLength":255,"title":"string","type":"string","x-stream-index":"001"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdatePollOptionRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PollOptionResponse"}}},"description":"Successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Update poll option","tags":["product:common"]}},"/api/v2/polls/{poll_id}/options/{option_id}":{"delete":{"description":"Deletes a poll option\n\nSends events:\n- feeds.poll.updated\n- poll.updated\n","operationId":"DeletePollOption","parameters":[{"in":"path","name":"poll_id","required":true,"schema":{"description":"Poll ID","maxLength":255,"title":"string","type":"string","x-stream-index":"002"}},{"in":"path","name":"option_id","required":true,"schema":{"description":"Option ID","maxLength":255,"title":"string","type":"string","x-stream-index":"003"}},{"in":"query","name":"user_id","schema":{"type":"string","writeOnly":true,"x-stream-index":"001"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}},"description":"Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Delete poll option","tags":["product:common"]},"get":{"description":"Retrieves a poll option\n","operationId":"GetPollOption","parameters":[{"in":"path","name":"poll_id","required":true,"schema":{"description":"Poll ID","maxLength":255,"title":"string","type":"string","x-stream-index":"002"}},{"in":"path","name":"option_id","required":true,"schema":{"description":"Option ID","maxLength":255,"title":"string","type":"string","x-stream-index":"003"}},{"in":"query","name":"user_id","schema":{"type":"string","writeOnly":true,"x-stream-index":"001"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PollOptionResponse"}}},"description":"Successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Get poll option","tags":["product:common"]}},"/api/v2/polls/{poll_id}/votes":{"post":{"description":"Queries votes\n","operationId":"QueryPollVotes","parameters":[{"in":"path","name":"poll_id","required":true,"schema":{"description":"Poll ID","maxLength":255,"title":"string","type":"string","x-stream-index":"002"}},{"in":"query","name":"user_id","schema":{"type":"string","writeOnly":true,"x-stream-index":"001"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryPollVotesRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PollVotesResponse"}}},"description":"Successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Query votes","tags":["product:common"]}},"/api/v2/push_preferences":{"post":{"description":"Upserts the push preferences for a user and or channel member. Set to all, mentions or none\n","operationId":"UpdatePushNotificationPreferences","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpsertPushPreferencesRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpsertPushPreferencesResponse"}}},"description":"Successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Push notification preferences","tags":["product:common"]}},"/api/v2/uploads/file":{"delete":{"description":"Deletes previously uploaded file\n","operationId":"DeleteFile","parameters":[{"in":"query","name":"url","schema":{"description":"File URL to delete","title":"URL","type":"string","writeOnly":true,"x-stream-index":"001"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}},"description":"Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Delete file","tags":["product:common"]},"post":{"description":"Uploads file\n","operationId":"UploadFile","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/FileUploadRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileUploadResponse"}}},"description":"Successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Upload file","tags":["product:common"]}},"/api/v2/uploads/image":{"delete":{"description":"Deletes previously uploaded image\n","operationId":"DeleteImage","parameters":[{"in":"query","name":"url","schema":{"description":"File URL to delete","title":"URL","type":"string","writeOnly":true,"x-stream-index":"001"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}},"description":"Response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Delete image","tags":["product:common"]},"post":{"description":"Uploads image\n","operationId":"UploadImage","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/ImageUploadRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImageUploadResponse"}}},"description":"Successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Upload image","tags":["product:common"]}},"/api/v2/users":{"get":{"description":"Find and filter users\n","operationId":"QueryUsers","parameters":[{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryUsersPayload","x-stream-index":"001"}}},"in":"query","name":"payload"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryUsersResponse"}}},"description":"Successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Query users","tags":["product:common"]},"patch":{"description":"Updates certain fields of the user\n\nSends events:\n- user.presence.changed\n- user.updated\n- user.presence.changed\n","operationId":"UpdateUsersPartial","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateUsersPartialRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateUsersResponse"}}},"description":"Successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Partially update user","tags":["product:common"]},"post":{"description":"Update or create users in bulk\n\nSends events:\n- user.updated\n","operationId":"UpdateUsers","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateUsersRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateUsersResponse"}}},"description":"Successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Upsert users","tags":["product:common"]}},"/api/v2/users/block":{"get":{"description":"Get list of blocked Users\n","operationId":"GetBlockedUsers","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetBlockedUsersResponse"}}},"description":"Successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Get list of blocked Users","tags":["product:common"]},"post":{"description":"Block users\n","operationId":"BlockUsers","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BlockUsersRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BlockUsersResponse"}}},"description":"Successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Block user","tags":["product:common"]}},"/api/v2/users/live_locations":{"get":{"description":"Retrieves all active live locations for a user\n","operationId":"GetUserLiveLocations","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SharedLocationsResponse"}}},"description":"Successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Get user live locations","tags":["product:common"]},"put":{"description":"Updates an existing live location with new coordinates or expiration time\n","operationId":"UpdateLiveLocation","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateLiveLocationRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SharedLocationResponse"}}},"description":"Successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Update live location","tags":["product:common"]}},"/api/v2/users/unblock":{"post":{"description":"Unblock users\n","operationId":"UnblockUsers","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnblockUsersRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnblockUsersResponse"}}},"description":"Successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Bad request"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIError"}}},"description":"Too many requests"}},"summary":"Unblock user","tags":["product:common"]}}},"security":[{"JWT":[],"api_key":[],"stream-auth-type":[]},{"api_key":[],"stream-auth-type":[]}],"servers":[{"description":"Stream API","url":"https://chat.stream-io-api.com"}]}