Skip to content

Commit

Permalink
Update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Premwoik committed Mar 7, 2022
1 parent 13a488d commit 67e5e92
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions doc/rest-api/Administration-backend_swagger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 67e5e92

Please sign in to comment.