API Documentation (1.0.0)

Download OpenAPI specification:Download

login

This endpoint handles user authentication and login. If authentication is successful, the user is granted access to the painting explorer.

Request Body schema: application/json
required
username
string

The username of the user.

password
string

The password of the user.

Responses

Request samples

Content type
application/json
{
  • "username": "string",
  • "password": "string"
}

logout

Handles the request for logout and the user is directed to login page while removing him from current session.

Responses