User

This request generates a token for bearer authentication managing tha database.

Endpoints

  •   GET /tokens/user

Example request


 GET https://api.paramate.trinckle.com/tokens/user

 

Example response


 HTTP / 1.1 200 OK
 {
    "token": "eyJhbGciOiJIUzI1N ... _zjtxYWKsiwYctvNNU",
    "userUUID": "dbab7dc0-a911-4497-8a65-3a6e1dd777d8"
 }
 

Header

Authorization

Basic {auth}

The {auth} is the auth code in the Basic Authentication format, username:password in base64 encoding

Response

A JSON object with the result

token {String} Valid token for a configuration session
userUUID {String} The ID of the authenticated user