Register
POST
/api/auth/register
Creates a new user account and returns a session token. May be disabled by server configuration.
Request Body
application/json
JSON "username": "string", "password": "string"
{
}
Responses
OK
application/json
JSON "token": "string", "user": { "id": "string", "username": "string" }
{
}
