From 67e5e92378f502b4173fbe87ed4dd722f6ccded6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Przemys=C5=82aw=20Wojtasik?= Date: Mon, 7 Mar 2022 13:47:40 +0100 Subject: [PATCH] Update doc --- .../Administration-backend_swagger.yml | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/doc/rest-api/Administration-backend_swagger.yml b/doc/rest-api/Administration-backend_swagger.yml index 4cddd882944..4517d3bc79d 100644 --- a/doc/rest-api/Administration-backend_swagger.yml +++ b/doc/rest-api/Administration-backend_swagger.yml @@ -472,10 +472,10 @@ paths: schema: title: roomJID type: string - /muc-lights/{XMPPMUCHost}/{roomName}/participants: + /muc-lights/{XMPPMUCHost}/{roomID}/participants: parameters: - $ref: '#/parameters/MUCServer' - - $ref: '#/parameters/roomName' + - $ref: '#/parameters/roomID' post: tags: - "MUC-light management" @@ -504,10 +504,10 @@ paths: responses: 204: description: An invite was sent out - /muc-lights/{XMPPMUCHost}/{roomName}/messages: + /muc-lights/{XMPPMUCHost}/{roomID}/messages: parameters: - $ref: '#/parameters/MUCServer' - - $ref: '#/parameters/roomName' + - $ref: '#/parameters/roomID' post: tags: - "MUC-light management" @@ -536,16 +536,10 @@ paths: responses: 204: description: Message was sent to the MUC Light room - /muc-lights/{XMPPMUCHost}/{roomName}/{user}/management: + /muc-lights/{XMPPMUCHost}/{roomID}/management: parameters: - $ref: '#/parameters/MUCServer' - - $ref: '#/parameters/roomName' - - name: user - in: path - description: User's JID (f.e. alice@wonderland.lit) - required: true - type: string - format: JID + - $ref: '#/parameters/roomID' delete: tags: - "MUC-light management" @@ -689,6 +683,12 @@ parameters: description: The MUC Light room's **name** (i.e. **not** the room's JID) required: true type: string + roomID: + name: roomID + in: path + description: The MUC Light room's **id** + required: true + type: string definitions: messageList: