diff options
author | curly <curly@infernal.garden> | 2024-07-17 17:23:32 -0600 |
---|---|---|
committer | curly <curly@infernal.garden> | 2024-07-17 17:23:32 -0600 |
commit | 5c95f38610c61f43700b3e78dcb56c552d152c2b (patch) | |
tree | 8f180173da663cbaebafec70659e1c3c32b71c53 /README.md | |
parent | d8f80c973159813a5937395a0f53c042b0c738c2 (diff) | |
download | poko_server-5c95f38610c61f43700b3e78dcb56c552d152c2b.tar.gz poko_server-5c95f38610c61f43700b3e78dcb56c552d152c2b.tar.bz2 poko_server-5c95f38610c61f43700b3e78dcb56c552d152c2b.zip |
del and list registration keys for admin
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 |