Logs a user into the system by validating username and password against the auth database
more
Logs a user into the system by validating username and password against the auth database
Sample response:
{
"status":"200 OK",
"code":"/api/status/ok",
"messages": [{
"username": "$username$",
"message": "Login succeeded",
"code":"/api/status/ok/account/login"
"domain": "freebase.com"
}]
}
Sample error response:
{
"status": "400 Bad request",
"code": "/api/status/error",
"messages": [
{
"info": {
"field": "username",
"value": null
},
"message": "Missing value",
"code": "/api/status/error/input/invalid"
},
{
"info": {
"field": "password",
"value": null
},
"message": "Missing value",
"code": "/api/status/error/input/invalid"
}
]
}
less