aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorCurly Bryce <curlybryce@protonmail.com>2024-07-03 15:24:45 -0600
committerCurly Bryce <curlybryce@protonmail.com>2024-07-03 15:24:45 -0600
commit723ea13a55af719a920b445d9c8cda0c2545c682 (patch)
tree53ee782a02e04e4a4b296975bee4a70b57b2c801 /README.md
parent97bc774cac822a725d39a9d72dec10ce04394742 (diff)
downloadpoko_server-723ea13a55af719a920b445d9c8cda0c2545c682.tar.gz
poko_server-723ea13a55af719a920b445d9c8cda0c2545c682.tar.bz2
poko_server-723ea13a55af719a920b445d9c8cda0c2545c682.zip
full session management
Diffstat (limited to 'README.md')
-rw-r--r--README.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/README.md b/README.md
index e46a9a7..778c185 100644
--- a/README.md
+++ b/README.md
@@ -44,4 +44,20 @@
- Response
- 200 Ok
- 401 Unauthorized
+ - JSON `"Not Authenticated"`
+- POST `/user/logout/all`
+ - Request
+ - JSON `{"id": "ID", "session": "SESSION_KEY"}`
+ - Response
+ - 200 Ok
+ - JSON `"Logged out of everything"`
+ - 401 Unauthorized
+ - JSON `"Not Authenticated"`
+- POST `/user/sessions`
+ - Request
+ - JSON `{"id": "ID", "session": "SESSION_KEY"}`
+ - Response
+ - 200 Ok
+ - JSON `["SESSION_KEY":"CLIENT_ID"]`
+ - 401 Unauthorized
- JSON `"Not Authenticated"` \ No newline at end of file