FORMAT: 1A
-
Request (application/json)
- Body
{ "email": "[email protected]", "password": "P4ssw0rd" }
- Body
-
Responce 200 (application/json)
- Body
{ "token": "Base64" }
- Body
-
Responce 400 (application/json)
- Body
{ "error": "Invalid format" }
- Body
-
Responce 401 (application/json)
- Body
{ "error": "Email or password is wrong." }
- Body
-
Request
- Headers
Authorization: Token xxxx
- Headers
-
Responce 204
-
Responce 401 (application/json)
- Body
{ "error": "Invalid token" }
- Body
-
Request
- Headers
Authorization: Token xxxx
- Headers
-
Responce 200 (application/json)
- Body
{ "balance": 0 }
- Body
-
Responce 401 (application/json)
- Body
{ "error": "Invalid token" }
- Body
-
Request
- Headers
Authorization: Token xxxx
- Headers
-
Responce 200 (application/json)
- Body
{ "token": "Base64" }
- Body
-
Responce 401 (application/json)
- Body
{ "error": "Invalid token" }
- Body
-
Request
- Headers
Authorization: Token xxxx
- Headers
-
Responce 200 (application/json)
- Body
[ { "amount": 0, "time": "YYYY-MM-DDThh:mm:ss+09:00" } ]
- Body
-
Request (application/json)
- Headers
Authorization: Token xxxx
- Body
{ "amount": 0 }
- Headers
-
Responce 204
-
Responce 400 (application/json)
- Body
{ "error": "Invalid format" }
- Body
-
Responce 400 (application/json)
- Body
{ "error": "Error Message" }
- Body
-
Responce 401 (application/json)
- Body
{ "error": "Invalid token" }
- Body
-
Request
- Headers
Authorization: Token xxxx
- Headers
-
Responce 200 (application/json)
- Body
[ { "amount": 0, "time": "YYYY-MM-DDThh:mm:ss+09:00" } ]
- Body
-
Responce 401 (application/json)
- Body
{ "error": "Invalid token" }
- Body
-
Request (application/json)
- Body
{ "amount": 0, "token": "Base64" }
- Body
-
Responce 204
-
Responce 400 (application/json)
- Body
{ "error": "Invalid format" }
- Body
-
Responce 400 (application/json)
- Body
{ "error": "Error Message" }
- Body