From 3b9a0566ccf9936465e84fd94ffcbf4833e16f1f Mon Sep 17 00:00:00 2001 From: Verifieddanny Date: Wed, 25 Feb 2026 09:50:40 +0100 Subject: [PATCH 1/2] chore: remove rooms.leave endpoint from OpenAPI spec --- rooms.yaml | 33 --------------------------------- 1 file changed, 33 deletions(-) diff --git a/rooms.yaml b/rooms.yaml index 8822749..69386d4 100644 --- a/rooms.yaml +++ b/rooms.yaml @@ -5564,39 +5564,6 @@ paths: success: true '401': $ref: '#/components/responses/authorizationError' - /api/v1/rooms.leave: - post: - tags: - - Rooms - summary: Leave Room - description: |- - Leave a room. The following permissions are required: - * `leave-c`: To leave a public room. - * `leave-p`: To leave private room. - - ### Changelog - | Version | Description | - | ------- | --------------| - | 0.72.0 | Added | - operationId: post-api-v1-rooms.leave - parameters: - - $ref: '#/components/parameters/Auth-Token' - - $ref: '#/components/parameters/UserId' - requestBody: - content: - application/json: - schema: - type: object - properties: - roomId: - type: string - example: ByehQjC44FwMeiLbX - description: The room ID that you want to leave. - responses: - '200': - $ref: '#/components/responses/trueSuccess' - '401': - $ref: '#/components/responses/authorizationError' /api/v1/rooms.delete: post: tags: From 1047362e3f166184674121a7be60345fcfc1fe4d Mon Sep 17 00:00:00 2001 From: Verifieddanny Date: Sat, 28 Feb 2026 16:54:06 +0100 Subject: [PATCH 2/2] chore: removed rooms.hide --- rooms.yaml | 98 ------------------------------------------------------ 1 file changed, 98 deletions(-) diff --git a/rooms.yaml b/rooms.yaml index 69386d4..6cb8993 100644 --- a/rooms.yaml +++ b/rooms.yaml @@ -13177,104 +13177,6 @@ paths: success: true '401': $ref: '#/components/responses/authorizationError' - /api/v1/rooms.hide: - post: - summary: Hide Room - tags: - - Rooms - responses: - '200': - description: OK - content: - application/json: - schema: - type: object - properties: - success: - type: boolean - x-examples: - Example 1: - success: true - examples: - Example 1: - value: - success: true - '400': - description: Bad Request - content: - application/json: - schema: - type: object - properties: - success: - type: boolean - error: - type: string - errorType: - type: string - x-examples: - Example 1: - success: false - error: 'must have required property ''roomId'' [invalid-params]' - errorType: invalid-params - examples: - Error due to missing roomId: - value: - success: false - error: 'must have required property ''roomId'' [invalid-params]' - errorType: invalid-params - Room already hidden error: - value: - success: false - error: error-room-already-hidden - '401': - description: Unauthorized - content: - application/json: - schema: - type: object - properties: - success: - type: boolean - error: - type: string - x-examples: - Example 1: - success: false - error: unauthorized - examples: - Example 1: - value: - success: false - error: unauthorized - operationId: post-api-v1-rooms.hide - parameters: - - $ref: '#/components/parameters/Auth-Token' - - $ref: '#/components/parameters/UserId' - requestBody: - content: - application/json: - schema: - type: object - properties: - roomId: - type: string - x-examples: - Example 1: - roomId: 6759dea438288929cff551c - examples: - Request body with roomId: - value: - roomId: 6759dea438288929cff551c - description: | - Hide rooms without restrictions based on type. You can only hide a room if you have access to it. - - ### Changelog - - | Version | Description | - | ------- | ------------------------------------ | - | 7.4.0 | Added | - /api/v1/findOrCreateInvite: post: tags: