POST web/login
Log a user into the website and initiate their session.
Note
This is a privileged endpoint. Only authorised queries will be processed.
Parameters
username
string
User IGN of the user to login.
email
string
Email of the requested user.
password
string
Password that user has inserted.
Examples
danger
Deprecated. This will be removed in a later update.
- Typical
- Never logged in
{
"username": "shadowolfyt",
"email": "[email protected]",
"password": "______"
}
Response
caution
TODO: This is not the behaviour of the implementation at the moment.
{
"success": true
}
shadowolfyt is now logged in to the website.
When shadowolfyt has not played on the Minecraft server before
{
"username": "shadowolfyt",
"email": "[email protected]",
"password": "______"
}
Response
{
"success": false,
"message": "You have not logged in before. You are required to login before becoming a community site member. You can jump on and play here: <url>/play"
}
TODO