diff --git a/openapi/chat-openapi.yaml b/openapi/chat-openapi.yaml index bf0289de..1ac6cc6b 100644 --- a/openapi/chat-openapi.yaml +++ b/openapi/chat-openapi.yaml @@ -1529,12 +1529,6 @@ components: ChannelGetOrCreateRequest: nullable: true properties: - client_id: - type: string - x-stream-index: "001.002" - connection_id: - type: string - x-stream-index: "001.003" data: $ref: '#/components/schemas/ChannelRequest' x-stream-index: "004" @@ -1550,21 +1544,11 @@ components: messages: $ref: '#/components/schemas/MessagePaginationParamsRequest' x-stream-index: "009" - presence: - description: Fetch user presence info - title: Presence - type: boolean - x-stream-index: "007" state: description: Refresh channel state title: State type: boolean x-stream-index: "006" - watch: - description: Start watching the channel - title: Watch - type: boolean - x-stream-index: "005" watchers: $ref: '#/components/schemas/PaginationParamsRequest' x-stream-index: "011" @@ -2375,16 +2359,6 @@ components: - pinned_messages - members type: object - ChannelStopWatchingRequest: - nullable: true - properties: - client_id: - type: string - x-stream-index: "001.002" - connection_id: - type: string - x-stream-index: "001.003" - type: object ChannelTruncatedEvent: nullable: true properties: @@ -8610,12 +8584,6 @@ components: QueryChannelsRequest: nullable: true properties: - client_id: - type: string - x-stream-index: "011.002" - connection_id: - type: string - x-stream-index: "011.003" filter_conditions: additionalProperties: {} type: object @@ -8816,12 +8784,6 @@ components: type: object QueryUsersRequest: properties: - client_id: - type: string - x-stream-index: "006.002" - connection_id: - type: string - x-stream-index: "006.003" filter_conditions: additionalProperties: {} description: User filters @@ -9759,87 +9721,6 @@ components: type: string x-stream-index: "001" type: object - StopWatchingResponse: - nullable: true - properties: - duration: - description: Duration of the request in human-readable format - title: Duration - type: string - x-stream-index: "001.001" - required: - - duration - type: object - SyncRequest: - nullable: true - properties: - channel_cids: - description: List of channel CIDs to sync - items: - type: string - maximum: 255 - minimum: 1 - title: Channel CIDs - type: array - x-stream-index: "001" - client_id: - type: string - x-stream-index: "006.002" - connection_id: - type: string - x-stream-index: "006.003" - last_sync_at: - description: Date from which synchronization should happen - format: date-time - title: Last sync at - type: string - x-stream-index: "002" - user: - $ref: '#/components/schemas/UserObjectRequest' - x-stream-index: "005.002" - user_id: - type: string - x-stream-index: "005.001" - watch: - description: If set to true this will start watching requested and newly - added channels that user has access to. If error occurred with this option - enabled and it is not an input error - channels will still be watched. - title: Watch synced channels - type: boolean - x-stream-index: "004" - with_inaccessible_cids: - description: If set to true this will add 'inaccessible_cids' to response - type - title: With inaccessible CIDs - type: boolean - x-stream-index: "003" - required: - - last_sync_at - type: object - SyncResponse: - nullable: true - properties: - duration: - type: string - x-stream-index: "003.001" - events: - description: List of events - items: - $ref: '#/components/schemas/Event' - title: Events - type: array - x-stream-index: "001" - inaccessible_cids: - description: List of CIDs that user can't access - items: - type: string - title: Inaccessible CIDs - type: array - x-stream-index: "002" - required: - - events - - duration - type: object TargetResolution: properties: bitrate: @@ -11713,7 +11594,6 @@ components: x-stream-is-event: true x-stream-ws-base-event-name: ChatEvent UserWatchingStopEvent: - nullable: true properties: channel_id: type: string @@ -11877,7 +11757,7 @@ externalDocs: url: https://getstream.io/chat/docs/ info: title: Stream Chat API - version: v89.13.0 + version: v89.14.0 openapi: 3.0.3 paths: /app: @@ -12289,17 +12169,6 @@ paths: Required permissions: - ReadChannel operationId: QueryChannels - parameters: - - in: query - name: client_id - schema: - type: string - x-stream-index: "011.002" - - in: query - name: connection_id - schema: - type: string - x-stream-index: "011.003" requestBody: content: application/json: @@ -13322,16 +13191,6 @@ paths: type: string writeOnly: true x-stream-index: "003" - - in: query - name: client_id - schema: - type: string - x-stream-index: "001.002" - - in: query - name: connection_id - schema: - type: string - x-stream-index: "001.003" requestBody: content: application/json: @@ -13550,87 +13409,6 @@ paths: description: When channel is shown schema: ref: '#/components/schemas/ChannelVisibleEvent' - /channels/{type}/{id}/stop-watching: - post: - description: | - Call this method to stop receiving channel events - - Sends events: - - user.watching.stop - operationId: StopWatchingChannel - parameters: - - in: path - name: type - required: true - schema: - type: string - writeOnly: true - x-stream-index: "002.001" - - in: path - name: id - required: true - schema: - type: string - writeOnly: true - x-stream-index: "002.002" - - in: query - name: client_id - schema: - type: string - x-stream-index: "001.002" - - in: query - name: connection_id - schema: - type: string - x-stream-index: "001.003" - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/ChannelStopWatchingRequest' - required: true - responses: - "201": - content: - application/json: - schema: - $ref: '#/components/schemas/StopWatchingResponse' - 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 - headers: - X-RateLimit-Limit: - description: The number of allowed requests in the current period - schema: - type: integer - X-RateLimit-Remaining: - description: The number of remaining requests in the current period - schema: - type: integer - X-RateLimit-Reset: - description: Timestamp when number of requests will be reset - schema: - type: integer - summary: Stop watching channel - tags: - - Channels - x-stream-events: - user.watching.stop: When successfully stopped watching - x-stream-events-v2: - user.watching.stop: - description: When successfully stopped watching - schema: - ref: '#/components/schemas/UserWatchingStopEvent' /channels/{type}/{id}/truncate: post: description: | @@ -17307,86 +17085,6 @@ paths: x-stream-docs-page-id: search x-stream-permissions: ReadChannel: To read channels that were found by search - /sync: - post: - description: | - Returns all events happened since client disconnect in specified channels - - Required permissions: - - ReadChannel - operationId: Sync - parameters: - - in: query - name: with_inaccessible_cids - schema: - description: If set to true this will add 'inaccessible_cids' to response - type - title: With inaccessible CIDs - type: boolean - x-stream-index: "003" - - in: query - name: watch - schema: - description: If set to true this will start watching requested and newly - added channels that user has access to. If error occurred with this option - enabled and it is not an input error - channels will still be watched. - title: Watch synced channels - type: boolean - x-stream-index: "004" - - in: query - name: client_id - schema: - type: string - x-stream-index: "006.002" - - in: query - name: connection_id - schema: - type: string - x-stream-index: "006.003" - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/SyncRequest' - required: true - responses: - "201": - content: - application/json: - schema: - $ref: '#/components/schemas/SyncResponse' - 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 - headers: - X-RateLimit-Limit: - description: The number of allowed requests in the current period - schema: - type: integer - X-RateLimit-Remaining: - description: The number of remaining requests in the current period - schema: - type: integer - X-RateLimit-Reset: - description: Timestamp when number of requests will be reset - schema: - type: integer - summary: Sync - tags: - - Channels - - Events - x-stream-permissions: - ReadChannel: To access channels that were requested /tasks/{id}: get: description: | diff --git a/openapi/video-openapi-clientside.yaml b/openapi/video-openapi-clientside.yaml index cc4673e6..70d5d5ce 100644 --- a/openapi/video-openapi-clientside.yaml +++ b/openapi/video-openapi-clientside.yaml @@ -3447,7 +3447,7 @@ externalDocs: url: https://getstream.io/video/docs/ info: title: Stream Video API - version: v89.13.0 + version: v89.14.0 openapi: 3.0.3 paths: /call/{type}/{id}: diff --git a/openapi/video-openapi.yaml b/openapi/video-openapi.yaml index 0414bd3a..6ae47404 100644 --- a/openapi/video-openapi.yaml +++ b/openapi/video-openapi.yaml @@ -74,18 +74,6 @@ components: type: string x-stream-index: "001" type: object - AcceptCallRequest: - nullable: true - type: object - AcceptCallResponse: - nullable: true - properties: - duration: - type: string - x-stream-index: "001.001" - required: - - duration - type: object AudioSettings: properties: access_request_enabled: @@ -243,7 +231,6 @@ components: CallAcceptedEvent: description: This event is sent when a user accepts a notification to join a call. - nullable: true properties: call: $ref: '#/components/schemas/CallResponse' @@ -727,7 +714,6 @@ components: CallReactionEvent: description: This event is sent when a reaction is sent in a call, clients should use this to show the reaction in the call screen - nullable: true properties: call_cid: type: string @@ -895,7 +881,6 @@ components: CallRejectedEvent: description: This event is sent when a user rejects a notification to join a call. - nullable: true properties: call: $ref: '#/components/schemas/CallResponse' @@ -1742,24 +1727,6 @@ components: - access_token - duration type: object - Credentials: - properties: - ice_servers: - items: - $ref: '#/components/schemas/ICEServer' - type: array - x-stream-index: "003" - server: - $ref: '#/components/schemas/SFUResponse' - x-stream-index: "001" - token: - type: string - x-stream-index: "002" - required: - - server - - token - - ice_servers - type: object CustomVideoEvent: description: A custom event, this event is used to send custom events to other participants in the call. @@ -2217,101 +2184,6 @@ components: x-stream-event-client-type: true x-stream-is-event: true x-stream-ws-base-event-name: VideoEvent - ICEServer: - properties: - password: - type: string - x-stream-index: "003" - urls: - items: - type: string - type: array - x-stream-index: "001" - username: - type: string - x-stream-index: "002" - required: - - urls - - username - - password - type: object - JoinCallRequest: - nullable: true - properties: - create: - description: if true the call will be created if it doesn't exist - title: Create - type: boolean - x-stream-index: "002" - data: - $ref: '#/components/schemas/CallRequest' - x-stream-index: "003" - location: - title: Location - type: string - x-stream-index: "008" - members_limit: - format: int32 - maximum: 100 - title: The amount of members that should be returned - type: integer - x-stream-index: "006" - migrating_from: - description: If the participant is migrating from another SFU, then this - is the ID of the previous SFU - title: MigratingFrom - type: string - x-stream-index: "009" - notify: - type: boolean - x-stream-index: "005" - ring: - description: if true and the call is created, the notification will include - ring=true - title: Ring - type: boolean - x-stream-index: "004" - required: - - location - type: object - JoinCallResponse: - nullable: true - properties: - call: - $ref: '#/components/schemas/CallResponse' - x-stream-index: "001.001" - created: - title: Created - type: boolean - x-stream-index: "002" - credentials: - $ref: '#/components/schemas/Credentials' - title: Credentials - x-stream-index: "003" - duration: - type: string - x-stream-index: "004.001" - members: - items: - $ref: '#/components/schemas/MemberResponse' - type: array - x-stream-index: "001.002" - membership: - $ref: '#/components/schemas/MemberResponse' - x-stream-index: "001.003" - own_capabilities: - items: - $ref: '#/components/schemas/OwnCapability' - type: array - x-stream-index: "001.004" - required: - - call - - members - - own_capabilities - - created - - credentials - - duration - type: object LayoutSettings: properties: external_app_url: @@ -2637,7 +2509,6 @@ components: description: |- This event is sent when a user requests access to a feature on a call, clients receiving this event should display a permission request to the user - nullable: true properties: call_cid: type: string @@ -2890,39 +2761,6 @@ components: - quality - layout type: object - RejectCallRequest: - nullable: true - type: object - RejectCallResponse: - nullable: true - properties: - duration: - type: string - x-stream-index: "001.001" - required: - - duration - type: object - RequestPermissionRequest: - nullable: true - properties: - permissions: - items: - type: string - title: Permissions - type: array - x-stream-index: "003" - required: - - permissions - type: object - RequestPermissionResponse: - nullable: true - properties: - duration: - type: string - x-stream-index: "001.001" - required: - - duration - type: object Response: nullable: true properties: @@ -2959,22 +2797,6 @@ components: type: integer x-stream-index: "001" type: object - SFUResponse: - properties: - edge_name: - type: string - x-stream-index: "001" - url: - type: string - x-stream-index: "002" - ws_endpoint: - type: string - x-stream-index: "003" - required: - - edge_name - - url - - ws_endpoint - type: object ScreensharingSettings: properties: access_request_enabled: @@ -3014,38 +2836,6 @@ components: required: - duration type: object - SendReactionRequest: - nullable: true - properties: - custom: - additionalProperties: {} - type: object - x-stream-index: "003.003" - emoji_code: - type: string - x-stream-index: "003.002" - type: - maxLength: 64 - type: string - x-stream-index: "003.001" - required: - - type - type: object - SendReactionResponse: - nullable: true - properties: - duration: - description: Duration of the request in human-readable format - title: Duration - type: string - x-stream-index: "002.001" - reaction: - $ref: '#/components/schemas/ReactionResponse' - x-stream-index: "001" - required: - - reaction - - duration - type: object SortParamRequest: nullable: true properties: @@ -3832,7 +3622,7 @@ externalDocs: url: https://getstream.io/video/docs/ info: title: Stream Video API - version: v89.13.0 + version: v89.14.0 openapi: 3.0.3 paths: /call/{type}/{id}: @@ -4106,80 +3896,6 @@ paths: CreateCall: To create a call ReadCall: To retrieve a call UpdateCallSettings: To create a call with different settings - /call/{type}/{id}/accept: - post: - description: |2 - - - Sends events: - - call.accepted - - Required permissions: - - JoinCall - operationId: AcceptCall - parameters: - - in: path - name: type - required: true - schema: - description: The type of call - maxLength: 64 - title: Type - type: string - writeOnly: true - x-stream-index: "001.001" - - in: path - name: id - required: true - schema: - description: Call ID - maxLength: 64 - title: ID - type: string - writeOnly: true - x-stream-index: "001.002" - responses: - "201": - content: - application/json: - schema: - $ref: '#/components/schemas/AcceptCallResponse' - 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 - headers: - X-RateLimit-Limit: - description: The number of allowed requests in the current period - schema: - type: integer - X-RateLimit-Remaining: - description: The number of remaining requests in the current period - schema: - type: integer - X-RateLimit-Reset: - description: Timestamp when number of requests will be reset - schema: - type: integer - summary: Accept Call - x-stream-events: - call.accepted: "" - x-stream-events-v2: - call.accepted: - description: "" - schema: - ref: '#/components/schemas/CallAcceptedEvent' - x-stream-permissions: - JoinCall: "" /call/{type}/{id}/block: post: description: | @@ -4419,85 +4135,6 @@ paths: ref: '#/components/schemas/CallLiveStartedEvent' x-stream-permissions: UpdateCall: To update a call - /call/{type}/{id}/join: - post: - description: | - Request to join a call - - Required permissions: - - CreateCall - - JoinCall - operationId: JoinCall - parameters: - - in: path - name: type - required: true - schema: - description: The type of call - maxLength: 64 - title: Type - type: string - writeOnly: true - x-stream-index: "001.001" - - in: path - name: id - required: true - schema: - description: Call ID - maxLength: 64 - title: ID - type: string - writeOnly: true - x-stream-index: "001.002" - - in: query - name: connection_id - schema: - title: ConnectionID - type: string - writeOnly: true - x-stream-index: "007" - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/JoinCallRequest' - required: true - responses: - "201": - content: - application/json: - schema: - $ref: '#/components/schemas/JoinCallResponse' - 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 - headers: - X-RateLimit-Limit: - description: The number of allowed requests in the current period - schema: - type: integer - X-RateLimit-Remaining: - description: The number of remaining requests in the current period - schema: - type: integer - X-RateLimit-Reset: - description: Timestamp when number of requests will be reset - schema: - type: integer - summary: Join call - x-stream-permissions: - CreateCall: To create a call - JoinCall: To join a call /call/{type}/{id}/mark_ended: post: description: |2 @@ -4804,82 +4441,6 @@ paths: summary: Pin x-stream-permissions: PinCallTrack: "" - /call/{type}/{id}/reaction: - post: - description: | - Sends reaction to the call - - Sends events: - - call.reaction_new - - Required permissions: - - CreateCallReaction - operationId: SendVideoReaction - parameters: - - in: path - name: type - required: true - schema: - maxLength: 64 - type: string - writeOnly: true - x-stream-index: "001.001" - - in: path - name: id - required: true - schema: - maxLength: 64 - type: string - writeOnly: true - x-stream-index: "001.002" - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/SendReactionRequest' - required: true - responses: - "201": - content: - application/json: - schema: - $ref: '#/components/schemas/SendReactionResponse' - 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 - headers: - X-RateLimit-Limit: - description: The number of allowed requests in the current period - schema: - type: integer - X-RateLimit-Remaining: - description: The number of remaining requests in the current period - schema: - type: integer - X-RateLimit-Reset: - description: Timestamp when number of requests will be reset - schema: - type: integer - summary: Send reaction to the call - x-stream-events: - call.reaction_new: "" - x-stream-events-v2: - call.reaction_new: - description: "" - schema: - ref: '#/components/schemas/CallReactionEvent' - x-stream-permissions: - CreateCallReaction: To send reactions /call/{type}/{id}/recordings: get: description: | @@ -4940,155 +4501,6 @@ paths: summary: List recordings x-stream-permissions: ListRecordings: To list recordings - /call/{type}/{id}/reject: - post: - description: |2 - - - Sends events: - - call.rejected - - Required permissions: - - JoinCall - operationId: RejectCall - parameters: - - in: path - name: type - required: true - schema: - description: The type of call - maxLength: 64 - title: Type - type: string - writeOnly: true - x-stream-index: "001.001" - - in: path - name: id - required: true - schema: - description: Call ID - maxLength: 64 - title: ID - type: string - writeOnly: true - x-stream-index: "001.002" - responses: - "201": - content: - application/json: - schema: - $ref: '#/components/schemas/RejectCallResponse' - 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 - headers: - X-RateLimit-Limit: - description: The number of allowed requests in the current period - schema: - type: integer - X-RateLimit-Remaining: - description: The number of remaining requests in the current period - schema: - type: integer - X-RateLimit-Reset: - description: Timestamp when number of requests will be reset - schema: - type: integer - summary: Reject Call - x-stream-events: - call.rejected: "" - x-stream-events-v2: - call.rejected: - description: "" - schema: - ref: '#/components/schemas/CallRejectedEvent' - x-stream-permissions: - JoinCall: "" - /call/{type}/{id}/request_permission: - post: - description: | - Request permission to perform an action - - Sends events: - - call.permission_request - operationId: RequestPermission - parameters: - - in: path - name: type - required: true - schema: - description: The type of call - maxLength: 64 - title: Type - type: string - writeOnly: true - x-stream-index: "001.001" - - in: path - name: id - required: true - schema: - description: Call ID - maxLength: 64 - title: ID - type: string - writeOnly: true - x-stream-index: "001.002" - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/RequestPermissionRequest' - required: true - responses: - "201": - content: - application/json: - schema: - $ref: '#/components/schemas/RequestPermissionResponse' - 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 - headers: - X-RateLimit-Limit: - description: The number of allowed requests in the current period - schema: - type: integer - X-RateLimit-Remaining: - description: The number of remaining requests in the current period - schema: - type: integer - X-RateLimit-Reset: - description: Timestamp when number of requests will be reset - schema: - type: integer - summary: Request permission - x-stream-events: - call.permission_request: Permission request event - x-stream-events-v2: - call.permission_request: - description: Permission request event - schema: - ref: '#/components/schemas/PermissionRequestEvent' /call/{type}/{id}/start_broadcasting: post: description: |