Create Base Asset - Complete Upload
GEThttps://api.rapidpipeline.com/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/rawmodels/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: POST /api/v2/rawmodels/{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
{
"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"
}
}
}
Authorization: http
name: defaulttype: httpscheme: bearerdescription: You can create your API token <a href="https://app.rapidpipeline.com/api_tokens">here</a>. <br /> Our REST API, excluding upload related endpoints, is subject to rate limits (2000 requests per minute per User or IP)
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L 'https://api.rapidpipeline.com/api/v2/rawmodel/:id/api-upload/complete' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
ResponseClear