Upload
File upload operations
Path parameters
fileIdstringRequired
ID of the file to convert
Responses
200
File conversion completed successfully or file already converted
application/json
Responseone of
or
400
Invalid file ID or file not found
application/json
404
File not found
application/json
422
File is not a GLB file or validation failed
application/json
500
Conversion failed or internal server error
application/json
post
POST /api/upload/{fileId}/converted_file HTTP/1.1
Host:
Accept: */*
{
"message": "GLB to USDZ conversion completed successfully",
"originalFile": {
"id": 1,
"fileName": "text",
"fileType": "GLB",
"fileUrl": "https://example.com"
},
"convertedFile": {
"id": 1,
"fileName": "text",
"fileType": "USDZ",
"fileUrl": "https://example.com",
"fileSize": 1
},
"conversionTime": "5.23s"
}