Create Base Asset - Complete Upload
GET/api/v2/rawmodel/:id/api-upload/complete
Final step in the upload process. Call this endpoint after:
- Getting upload URLs from "Create Base Asset - Get Upload Link"
- Uploading all files to S3 using the provided signed URLs
Example:
- Start: POST /api/v2/rawmodel/api-upload/start
- Receive upload URLs and base asset ID
- Upload: PUT each file to S3 using their respective signed URL
- curl -X PUT -T "mymodel.glb" "signed_url_from_response"
- Complete: GET /api/v2/rawmodel/{id}/api-upload/complete
- Triggers processing of your uploaded files
After completion:
- Your model will begin processing
- Use our "analysis_finished" webhook to get notified when ready for optimization
Request
Path Parameters
id integerrequired
The ID received from the start endpoint
Example: 281
Responses
- 200
- application/json
- Schema
- Example (from schema)
Schema
data object
id integer
name string
processing boolean
upload_status string
size integer
created_at string
rapid_models integer[]
scale_factor string
downloads object
error.log string
info.log string
metrics.json string
rpd_info.json string
teapot.obj string
thumb.jpg string
{
"data": {
"id": 281,
"name": "teapot",
"processing": false,
"upload_status": "complete",
"size": 438680,
"created_at": "2021-02-08T16:59:52+01:00",
"rapid_models": [
635,
617
],
"scale_factor": "10",
"downloads": {
"error.log": "signed url for the error.log",
"info.log": "signed url for the info.log",
"metrics.json": "signed url for the metrics.json",
"rpd_info.json": "signed url for the rpd_info.json",
"teapot.obj": "signed url for the uploaded file",
"thumb.jpg": "signed url for the thumb.jpg"
}
}
}
Loading...