mirror of
https://github.com/Blah-IM/blahrs.git
synced 2025-07-02 12:35:33 +00:00
refactor(webapi): move create-room endpoint and deprecate old one
This commit is contained in:
parent
920a1cc3b9
commit
1ecea448a2
3 changed files with 13 additions and 7 deletions
|
@ -224,7 +224,6 @@ paths:
|
|||
schema:
|
||||
$ref: '#/components/schemas/ApiError'
|
||||
|
||||
/_blah/room/create:
|
||||
post:
|
||||
summary: Create a room
|
||||
|
||||
|
@ -272,6 +271,13 @@ paths:
|
|||
schema:
|
||||
$ref: '#/components/schemas/ApiError'
|
||||
|
||||
/_blah/room/create:
|
||||
post:
|
||||
summary: Create a room (legacy)
|
||||
deprecated: true
|
||||
description: |
|
||||
Alias of POST `/_blah/room`.
|
||||
|
||||
/_blah/room/{rid}:
|
||||
get:
|
||||
summary: Get room metadata
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue