diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -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 |