Prepare Asset

Unlock Rodin features

post
Authorizations
Body
task_uuidstringRequired
resolutionstring · enumRequiredPossible values:
geometrystring · enumRequiredPossible values:
geometry_file_formatstring · enumRequiredPossible values:
materialstring · enumRequiredPossible values:
heightnumberOptional
align_groundbooleanOptional
Responses
201Success
application/json
post
POST /api/task/rodin_unlock HTTP/1.1
Host: 
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 362

{
  "task_uuid": "text",
  "resolution": "Basic",
  "geometry": "Base",
  "geometry_file_format": "glb",
  "material": "PBR",
  "height": 1,
  "align_ground": true,
  "sim_attributes": {
    "enabled": true,
    "mass": 1,
    "height": 1,
    "static_friction": 1,
    "dynamic_friction": 1,
    "restitution": 1,
    "collision_mesh": "convexDecomposition",
    "semantic_class": "text",
    "semantic_hierarchy": "text",
    "semantic_qcode": "text"
  }
}
201Success
{
  "error": "NO_SUCH_TASK",
  "message": "text",
  "job": {
    "uuids": [
      []
    ],
    "subscription_key": "text"
  }
}

Last updated