Tokens
This method provides the required authentication token to perform GBDS operations.
Body
Responses
201
OK
application/json
400
Validation error, expired token, invalid credentials.
application/json
401
Expired token, invalid credentials.
application/json
422
Invalid token.
application/json
500
Internal error, unknown token Error
application/json
post
POST /gbds/v2/tokens HTTP/1.1
Host: <ip>:8085
Content-Type: application/json
Accept: */*
Content-Length: 91
{
"data": {
"grantType": "CREDENTIALS",
"userName": "text",
"userPassword": "text",
"token": "text"
}
}
{
"data": {
"token": "text",
"expirationTime": 1,
"ttl": 1
}
}