Objectinfo
This request returns the size information of the current configuration
Endpoints
- GET /configsessions/{sessionId}/objectinfo
Url
- sessionID
-
The ID of the configuration session
Header
- Authorization
-
Bearer {token}
- X-API-KEY
-
{API key}
Response
A JSON object with the information
{
"boundingBox": {
"minX": [the lowest position on the X axis],
"maxX": [the highest position on the X axis],
"minY": [the lowest position on the Y axis],
"maxY": [the highest position on the Y axis],
"minZ": [the lowest position on the Z axis],
"maxZ": [the highest position on the Z axis]
},
"volume": [the inner volume of the object]
}
Example request
GET https://api.paramate.trinckle.com/configsessions/305bdb5c-cf8f-4256-9180-fe050d119f03/objectinfo
-H Authorization: Bearer eyJhbGciOiJIUzI1Ni ... 3H8gC1k2DIKNEeJpb72yvmdY
-H X-API-KEY: 5b260091e8a03ab9af7716af0d71474a
Output
HTTP/1.1 200 OK
{
"boundingBox": {
"minX": -37.718758,
"maxX": 77.648964,
"minY": -63.517765,
"maxY": 63.463142,
"minZ": -0.207979,
"maxZ": 151.084549
},
"volume": 237866.911546
}