diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 15 |
1 files changed, 9 insertions, 6 deletions
@@ -74,7 +74,7 @@ - JSON `"Not Authenticated"` - POST `/user/delete` - Request - - JSON `{"id": "ID", "session": "SESSION_KEY"}` + - JSON `{"id": "ID", "session": "SESSION_KEY", "password": "PASSWORD"}` - Response - 200 Ok - JSON `"Deleted"` @@ -90,12 +90,15 @@ - 200 Ok - 500 Internal Server Error - JSON `"Could not complete transaction"` -- POST `/user/update/info` +- POST `/user/update/password` - Request - - JSON `{"id": "ID", "session": "SESSION_KEY", "name": "USERNAME", "old_password": "PASSWORD", "new_password": "PASSWORD"}` + - JSON `{"id": "ID", "session": "SESSION_KEY", "old_password": "PASSWORD", "new_password": "PASSWORD"}` + - Response + - 200 Ok + - 500 Internal Server Error` +- POST `/user/update/name` + - Request + - JSON `{"id": "ID", "session": "SESSION_KEY", "name": "USERNAME"}` - Response - 200 Ok - - 401 Unauthorized - - JSON `"Not Authenticated"` - - 400 Bad Request - 500 Internal Server Error`
\ No newline at end of file |