GET/user/login

Log in a user

Authenticates a user by checking the supplied login credentials. Pass username and password as query parameters; the schema marks both as optional.

2 parameters
usernamestringoptional
The user's login name.
passwordstringoptional
The user's password, supplied as clear text.

3 status codes
200Returns a string representing the successful login result.
400Returned when the supplied username or password is invalid.
defaultUnexpected error

Error handling

A 400 is returned when the supplied username or password is invalid. Supply username and password for the account you want to authenticate.