From c5e8ae0649c342cded0f20747e12bd5d65b390c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Phillip=20K=C3=BChne?= Date: Sat, 30 May 2020 00:20:12 +0200 Subject: [PATCH] Minor API change Put login and logout endpoints in their own node --- docs/swagger.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/swagger.yaml b/docs/swagger.yaml index 4aadbd4..6944bad 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -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: