Add converted formats to the model
POST/api/v2/rawmodel/:id/addFormats
This endpoint starts the conversion process to the provided target formats. The conversion process is asynchronous and can take some time to complete.
The status of the conversion can be checked using the processedFormats
endpoint.
Request
Path Parameters
id integerrequired
The id of the base asset
Example: 281
- application/json
Body
required
formats string[]required
An array of formats to convert the model to.
Responses
- 200
- 400
- 404
success
- application/json
- Schema
- Example (from schema)
Schema
message string
formats string[]
{
"message": "Formats conversion started.",
"formats": [
"gltf",
"usdz"
]
}
error
- application/json
- Schema
- Example (from schema)
Schema
message string
{
"message": "Model already has the following format(s) exported: gltf, usdz"
}
error
- application/json
- Schema
- Example (from schema)
Schema
message string
{
"message": "Model with this ID was not found!"
}
Loading...