User API
User API
Permission annotations:
Header parameters
KeystringRequired
SignstringRequired
Body
Object with request data
timestampinteger · int64Required
Current unix UTC timestamp in milliseconds. Must not be less than 3 minutes in the past and not greater than 3 minutes in the future
Responses
200
OK
*/*
400
Bad Request
*/*
500
Internal Server Error
*/*
post
POST /api/v1/user/current HTTP/1.1
Host: api.calypso.finance
Key: text
Sign: text
Content-Type: application/json
Accept: */*
Content-Length: 15
{
"timestamp": 1
}
{
"userFullInfo": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"username": "123e4567-e89b-12d3-a456-426614174000",
"companyId": "123e4567-e89b-12d3-a456-426614174000",
"companyName": "text",
"active": true,
"blocked": true,
"roles": [
"SYSTEM"
]
},
"permissions": [
{
"accountId": "text",
"accountName": "text",
"permissionGroups": [
{
"groupId": 1,
"name": "text",
"permissionData": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
}
]
}
],
"availableAccounts": [
{
"account": "text",
"name": "text"
}
]
}