v1

latestSwagger 2.02026-07-1798126172.4 KB
Authentication

Login

Authenticates user and sets cookie with issued auth token

post/auth/login

Request body

passwordstring
usernamestring

Response

Authentication succeeded

expires_atstring
tokenstring

Example response

{
  "expires_at": "2019-06-06T11:04:43.910035Z",
  "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6Im15c3QiLCJleHAiOjE2MDEwNDA1NzB9.hnn9FosblyWtx1feSupx3MhZZdkbCuMTaiM6xl54VwQ"
}