Creating the Model Attributes
Developing
POST
/model/attributes
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/model/attributes' \
--header 'Content-Type: application/json' \
--data-raw '{
"type": "object",
"required": true,
"properties": {
"attributes": {
"type": "array",
"description": "Array of attributes to add to the model",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"example": "Material",
"description": "Name of the attribute"
},
"value": {
"type": "string",
"example": "Steel",
"description": "Value of the attribute"
},
"type": {
"type": "string",
"example": "string",
"enum": [
"string",
"number",
"boolean"
],
"description": "Data type of the attribute"
}
},
"required": [
"name",
"value",
"type"
]
}
}
},
"example": {
"attributes": [
{
"name": "Material",
"value": "Steel",
"type": "string"
},
{
"name": "Weight",
"value": "15",
"type": "number"
}
]
}
}'
Response Response Example
{}
Request
Body Params application/json
Responses
Modified at 2025-06-06 16:19:15