mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-29 06:35:24 +00:00
chore: openapi docs for undocumented routes and fix two broken doc blocks
This commit is contained in:
1 parent
5ecf8156e6
commit
de9b4a064c
9 files changed
+420
-5
No files matched your search
@@ -200,6 +200,23 @@ export function registerRoomRoutes(
|
||||
} = actions;
|
||||
const requireUse = ctx.rbac.require("use") as never;
|
||||
|
||||
/**
|
||||
* @openapi
|
||||
* /plugin-api/session-sharing/meeting-host/{syncId}:
|
||||
* get:
|
||||
* summary: Find this server's id for a synced host
|
||||
* description: A desktop presents a host by its sync id; this returns the matching host the caller may connect to.
|
||||
* tags: [Collab]
|
||||
* parameters:
|
||||
* - in: path
|
||||
* name: syncId
|
||||
* required: true
|
||||
* schema: { type: string }
|
||||
* responses:
|
||||
* 200: { description: The host id. }
|
||||
* 401: { description: Not signed in. }
|
||||
* 404: { description: No reachable host with that sync id. }
|
||||
*/
|
||||
router.get(
|
||||
"/meeting-host/:syncId",
|
||||
requireUse,
|
||||
|
||||
Reference in new issue
Block a user