GET/user/login

Log in a user

Authenticates a user by checking credentials supplied as query parameters. Provide username and password to log in; the password parameter is described as clear text. Use the returned value as the response to the login operation.

2 parameters
usernamestringoptional
The username to use for login.
passwordstringoptional
The password to use for login, specified as clear text.

3 status codes
200Returns a string value for the successful login operation.
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. Both query parameters are optional in the schema, but provide valid credentials to log in.