diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 14 |
1 files changed, 12 insertions, 2 deletions
@@ -15,7 +15,7 @@ - JSON `[{"name": "NAME", "id": "ID"}, ...]` - 400 Not Found - JSON `"Not Found"` -- GET `/user/all` +- GET `/user/list` - Same as GET `/user/by_name/` - POST `/user/register` - Request @@ -77,4 +77,14 @@ - 200 Ok - JSON `"Deleted"` - 401 Unauthorized - - JSON `"Not Authenticated"`
\ No newline at end of file + - JSON `"Not Authenticated"` +- POST `/transfer/out` + - Request + - JSON `{"id": "ID", "session": "SESSION_KEY", "to": "ID", "color": "COLOR", "amount": 0}` + - ID and SESSION_KEY are from the from account + - TO_ID is the account the tokens are going to + - amount may be 0 + - Response + - 200 Ok + - 500 Internal Server Error + - JSON `"Could not complete transaction"`
\ No newline at end of file |