API ReferenceTypes
Calculate sandbox data for a type
Calculate sandbox data for a type
AuthorizationBearer <token>
In: header
Path Parameters
id*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "http://localhost:18080/api/v1/types/string/sandbox" \ -H "Content-Type: application/json" \ -d '[ { "code": "string", "option": "string" } ]'{
"footsteps": [
{
"direction": {
"x": 0.1,
"y": 0.1,
"z": 0.1
},
"displayName": "string",
"id": "string",
"position": {
"x": 0.1,
"y": 0.1,
"z": 0.1
},
"viewRange": {
"horizontalMax": 0.1,
"horizontalMin": 0.1,
"verticalMax": 0.1,
"verticalMin": 0.1
},
"visible": true
}
],
"lightSources": [
{
"color": "string",
"distance": 0.1,
"id": "string",
"intensity": 0.1,
"length": 0.1,
"position": {
"x": 0.1,
"y": 0.1,
"z": 0.1
},
"rotation": {
"x": 0.1,
"y": 0.1,
"z": 0.1
},
"type": "POINT",
"visible": true,
"width": 0.1
}
],
"massModels": [
{
"box": {
"x": 0.1,
"y": 0.1,
"z": 0.1
},
"id": "string",
"position": {
"x": 0.1,
"y": 0.1,
"z": 0.1
},
"rotation": {
"x": 0.1,
"y": 0.1,
"z": 0.1
},
"type": "Box"
}
],
"optionChangers": [
{
"id": "string",
"optionName": "string",
"position": {
"x": 0.1,
"y": 0.1,
"z": 0.1
},
"rotation": {
"x": 0.1,
"y": 0.1,
"z": 0.1
}
}
],
"staticModels": [
{
"id": "string",
"name": "string",
"position": {
"x": 0.1,
"y": 0.1,
"z": 0.1
},
"rotation": {
"x": 0.1,
"y": 0.1,
"z": 0.1
},
"staticModelTreeId": "string"
}
],
"variables": [
{
"configuration": {
"defaultValue": 0.1,
"isFixed": true,
"max": 0.1,
"min": 0.1,
"stepSize": 0.1
},
"id": "string"
}
],
"views": [
{
"active": true,
"activeCategories": [
"string"
],
"clipAxis": "string",
"description": "string",
"id": "string",
"label": "string",
"maxHeight": 0.1,
"position": {
"x": 0.1,
"y": 0.1,
"z": 0.1
},
"target": {
"x": 0.1,
"y": 0.1,
"z": 0.1
}
}
]
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}