Object Upload
Creates an object and returns a presigned uploadUrl. Package your
.glb mesh into a .zip archive and PUT it to uploadUrl with
Content-Type: application/zip. Processing for object tracking starts
automatically once the upload completes.
Authorizations
AuthorizationstringRequired
JWT token obtained from the authentication endpoint.
Body
objectNamestringRequiredExample:
Fire ExtinguishertrackingTypestring · enumRequiredPossible values:
full for 360° tracking, side for side-view only.
Responses
201
Object created; upload the zipped model to uploadUrl.
application/json
messagestringOptionalExample:
Object Created SuccessfullyobjectCodestringOptionalExample:
OBJ_9F2K1ABCD3objectIdstringOptional
uploadUrlstringOptional
Presigned URL. PUT the .zip with Content-Type application/zip.
400
Bad Request. Account not active.
401
Unauthorized. Invalid or expired token.
403
Forbidden. Objects limit exceeded, or plan expired.
post/object
POST /v1/vps/object HTTP/1.1
Host: api.multiset.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 126
{
"objectName": "Fire Extinguisher",
"trackingType": "side",
"source": {
"provider": "web",
"fileType": "glb",
"coordinateSystem": "LHS"
}
}{
"message": "Object Created Successfully",
"objectCode": "OBJ_9F2K1ABCD3",
"objectId": "text",
"uploadUrl": "text"
}Last updated
Was this helpful?

