diff options
author | curly <curly@infernal.garden> | 2024-08-27 15:59:41 -0600 |
---|---|---|
committer | curly <curly@infernal.garden> | 2024-08-27 15:59:41 -0600 |
commit | 9dc06c21efbec6c14f388078761c3a2f7cd9093e (patch) | |
tree | e6b9190db9ce885166be6f650733ee536fbdf6e9 /README.md | |
parent | 3d8d55ecc531f6db73fcf86ac44ce28b9bf097c9 (diff) | |
download | poko_server-master.tar.gz poko_server-master.tar.bz2 poko_server-master.zip |
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -112,6 +112,7 @@ - 500 Internal Server Error - JSON `"Not an admin"` - JSON `"Key already exists"` + - JSON `"Keys aren't used on this server"` - POST `/admin/regkey/del` - Request - JSON `{"id": "ID", "session": "SESSION_KEY", "key": "REGISTRATION_KEY"}` @@ -120,10 +121,12 @@ - 500 Internal Server Error - JSON `"Not an admin"` - JSON `"Could not find key"` + - JSON `"Keys aren't used on this server"` - 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 + - JSON `"Not an admin"` + - JSON `"Keys aren't used on this server"`
\ No newline at end of file |