v1

latestOpenAPI 3.0.12026-07-177294143.2 KB
auth

Authenticate towards the node

post/auth

Request body

passwordstring string required
usernamestring string required

Example request

{
  "password": "wasp",
  "username": "wasp"
}

Response

Login was successful

errorstring string required
jwtstring string required

Example response

{
  "jwt": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJ3YXNwIiwic3ViIjoid2FzcCIsImF1ZCI6WyJ3YXNwIl0sImV4cCI6MTY4OTk1MTAyNCwibmJmIjoxNjg5ODY0NjI0LCJpYXQiOjE2ODk4NjQ2MjQsImp0aSI6IjE2ODk4NjQ2MjQiLCJwZXJtaXNzaW9ucyI6eyJ3cml0ZSI6e319fQ.LNUuTaoRjEPQyD2nQ00O6NeadiG7nmOEyVIQmGNb1a0",
  "error": "error"
}
All 72 operations