mirror of
https://github.com/PhoenixTwoFive/karaoqueue.git
synced 2026-10-25 10:27:53 +01:00
Minor API change
Put login and logout endpoints in their own node
This commit is contained in:
1 parent
91d02331f4
commit
c5e8ae0649
1 file changed
+2
-2
+2
-2
@@ -229,7 +229,7 @@ paths:
|
||||
num_entries:
|
||||
type: integer
|
||||
|
||||
/login:
|
||||
/auth/login:
|
||||
post:
|
||||
summary: Logs in and returns the authentication cookie
|
||||
requestBody:
|
||||
@@ -250,7 +250,7 @@ paths:
|
||||
schema:
|
||||
type: string
|
||||
example: connect.sid=abcde12345; Path=/; HttpOnly
|
||||
/logout:
|
||||
/auth/logout:
|
||||
get:
|
||||
summary: Logs the user out and invalidates the session on the server
|
||||
security:
|
||||
|
||||
Reference in new issue
Block a user