Creating the model Annotations
Developing
POST
/model/{modelId}/component
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/model//component' \
--header 'Content-Type: application/json' \
--data-raw '{
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Name of the component",
"example": "Engine Compartment"
},
"iconName": {
"type": "string",
"description": "Optional icon name for the component",
"example": "engine_icon"
},
"imageUrl": {
"type": "string",
"description": "URL of the image representing the component",
"example": "https://cdn.example.com/images/engine.png"
},
"parent": {
"type": "boolean",
"description": "Flag indicating whether to associate the parent model (if applicable)",
"example": true
}
},
"example": {
"name": "Engine Compartment",
"iconName": "engine_icon",
"imageUrl": "https://cdn.example.com/images/engine.png",
"parent": true
}
}'
Response Response Example
{}
Request
Path Params
modelId
string
required
Body Params application/json
Responses
Modified at 2025-06-06 16:19:15