|
|
@ -13,8 +13,10 @@ Request an access token. |
|
|
|
### Request a token [POST] |
|
|
|
### Request a token [POST] |
|
|
|
+ Request (application/json) |
|
|
|
+ Request (application/json) |
|
|
|
|
|
|
|
|
|
|
|
{ "username": "username", "password": "hash" } |
|
|
|
+ Body |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{ "username": "username", "password": "hash" } |
|
|
|
|
|
|
|
|
|
|
|
+ Response 200 (application/json) |
|
|
|
+ Response 200 (application/json) |
|
|
|
|
|
|
|
|
|
|
|
{ "status": "OK", "token": "user-token" } |
|
|
|
{ "status": "OK", "token": "user-token" } |
|
|
|