mirror of
https://github.com/PhoenixTwoFive/karaoqueue.git
synced 2025-05-19 19:11:49 +02:00
Minor API change
Put login and logout endpoints in their own node
This commit is contained in:
parent
91d02331f4
commit
c5e8ae0649
@ -229,7 +229,7 @@ paths:
|
|||||||
num_entries:
|
num_entries:
|
||||||
type: integer
|
type: integer
|
||||||
|
|
||||||
/login:
|
/auth/login:
|
||||||
post:
|
post:
|
||||||
summary: Logs in and returns the authentication cookie
|
summary: Logs in and returns the authentication cookie
|
||||||
requestBody:
|
requestBody:
|
||||||
@ -250,7 +250,7 @@ paths:
|
|||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
example: connect.sid=abcde12345; Path=/; HttpOnly
|
example: connect.sid=abcde12345; Path=/; HttpOnly
|
||||||
/logout:
|
/auth/logout:
|
||||||
get:
|
get:
|
||||||
summary: Logs the user out and invalidates the session on the server
|
summary: Logs the user out and invalidates the session on the server
|
||||||
security:
|
security:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user