GET
/user/loginLog in a user
Authenticates a user by submitting the account name and password as query parameters. Use username and password to sign in; both parameters are optional in the schema. A successful response returns a string.
usernamestringoptional
The user's account name for login.
passwordstringoptional
The user's password for login, sent as clear text.
200Returns a string confirming the login operation.
400Returned when the supplied username or password is invalid.
defaultReturned when an unexpected error occurs.
Error handling
A 400 is returned when the supplied username or password is invalid. The username and password query parameters are optional in the schema, but valid credentials are needed to log in.