Create Base Asset - Get Upload Link
POST/api/v2/rawmodel/api-upload/start
This endpoint initiates a new base asset upload process and returns:
- An ID for the new base asset
- Pre-signed URLs for direct file uploads to our s3 storage
Upload Process:
- Call this endpoint to get the upload URLs
- For each file in the s3_upload_urls:
- Upload the file using an HTTP PUT request to the provided URL
- After ALL files are uploaded, call the complete_upload URL to finalize the process
Step by Step Usage:
- Upload mymodel.glb:
- curl -X PUT -T "mymodel.glb" "use-signed-url-for-glb"
- Upload material.mat:
- curl -X PUT -T "material.mat" "use-signed-url-for-mat"
- Finally, call the complete_upload URL:
- curl -X GET "use-complete-upload-url"
Request
- application/json
Body
required
The name of the base asset
The names of the files to be uploaded (including the extension)
Indicate if the file is a zip
dcci_options object
Optional DCCI (DCC import) settings, applied when the uploaded file is a DCC file such as 3ds Max. When omitted, null or empty, the default values listed below are used. Sending options requires a plan with DCC import support. Options you omit use their default. The available options and allowed values are listed in the documentation. Unknown options or invalid values are rejected with a 422.
Node names to ignore (array of strings or a comma-separated string). Default: none.
Material names to ignore (array of strings or a comma-separated string). Default: none.
Bake an Ambient Occlusion map for each material. Default: false.
Bake displacement. Default: false.
Convert hair. Default: false.
Merge meshes by material. Default: false.
Force material baking. Default: false.
Convert IOR to metalness. Default: false.
Baking resolution, one of 256, 512, 1024, 2048, 4096. Default: 2048.
Output 3ds Max file version, one of 2022, 2023, 2024, 2025. Default: 2025.
Responses
- 200
success
- application/json
- Schema
- Example (from schema)
Schema
links object
s3_upload_urls object
{
"id": 1,
"links": {
"s3_upload_urls": {
"mymodel.glb": "signed url for mymodel.glb",
"material.mat": "signed url for material.mat"
},
"complete_upload": "https://api.rapidpipeline.com/api/v2/rawmodels/1/api-upload/complete"
}
}