Log in and get a session cookie (open)
POST
/api/v1/auth/login
Request Body
application/json
JSON "name": "string", "password": "string"
{
}
Responses
Logged in. Sets the cookie pvmon_session.
application/json
JSON "user": { "id": 0, "name": "string", "lang": "string", "created_at": "2024-01-01T00:00:00Z", "last_login": "2024-01-01T00:00:00Z" }
{
}