aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
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