Skip to content

Authentication

Finn Lippok edited this page Apr 9, 2023 · 2 revisions

REST API /api/v1/auth

Register

Request

Endpoint: POST /api/v1/auth/register

{
  "user_name": "String",
  "password": "String"
}

Response

{
  "token": "JWT-Token",
  "user_id": "UUID"
}

LogIn

Request

Endpoint: POST /api/v1/auth/login

{
  "user_name": "String",
  "password": "String"
}

Response

{
  "token": "JWT-Token",
  "user_id": "UUID"
}

Clone this wiki locally