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 f50493e..20e9412 100644
--- a/README.md
+++ b/README.md
@@ -110,4 +110,20 @@
- Response
- 200 Ok
- 500 Internal Server Error
+ - JSON `"Not an admin"`
+ - JSON `"Key already exists"`
+- POST `/admin/regkey/del`
+ - Request
+ - JSON `{"id": "ID", "session": "SESSION_KEY", "key": "REGISTRATION_KEY"}`
+ - Response
+ - 200 Ok
+ - 500 Internal Server Error
+ - JSON `"Not an admin"`
+ - JSON `"Could not find key"`
+- POST `/admin/regkey/list`
+ - Request
+ - JSON `{"id": "ID", "session": "SESSION_KEY"}`
+ - Response
+ - 200 Ok
+ - 500 Internal Server Error
- JSON `"Not an admin"` \ No newline at end of file