Map Operations
Generates a temporary, pre-signed URL for downloading a file from S3
Unique identifier for the file
671b454e33d6dc761ca15156/6756c20336a9794c6effce42/Mesh/TexturedMesh.glbSuccessfully generated pre-signed URL
Pre-signed S3 URL for file download
https://amazonaws.com/671bX-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=%2Faws4_request&X-Amz-Date=20241658753a8c6380ad6d01c217e1ad978d88e2ba6a4&X-Amz-SignedHeaders=host&x-id=GetObjectUnauthorized - Invalid or expired token
File not found
Server error
GET /v1/file?key=text HTTP/1.1
Host: api.multiset.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"url": "https://amazonaws.com/671bX-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=%2Faws4_request&X-Amz-Date=20241658753a8c6380ad6d01c217e1ad978d88e2ba6a4&X-Amz-SignedHeaders=host&x-id=GetObject"
}Replace a map's mesh
Returns a presigned PUT URL for replacing one of the map's two meshes.
You choose which mesh with meshType. The upload location and content
type are set by the server, so this endpoint can only ever replace the
mesh of the map named in the path.
Upload the file by sending it to the returned uploadUrl with a PUT
request and the Content-Type given in the response. The URL is valid
for one hour.
Replacing a mesh does not affect localization accuracy, which runs on the map's feature data rather than the mesh.
JWT token obtained from the authentication endpoint.
Map code (or map id) of the map whose mesh you are replacing.
MAP_740EYUJTS85ZWhich mesh to replace. textured is the textured mesh, raw is the untextured geometry.
texturedPossible values: Presigned upload URL issued.
MAP_740EYUJTS85ZtexturedPresigned URL. Send the mesh file to it with a PUT request.
Use this exact value as the Content-Type header on your PUT request.
model/gltf-binarySeconds the upload URL stays valid.
3600Bad Request. Missing or invalid meshType, or the map is not active.
Unauthorized. Invalid or expired token.
Forbidden. The map belongs to another account, or your role does not allow write access.
Map not found.
POST /v1/vps/map/{mapCode}/mesh-upload-url HTTP/1.1
Host: api.multiset.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 23
{
"meshType": "textured"
}{
"mapCode": "MAP_740EYUJTS85Z",
"meshType": "textured",
"uploadUrl": "text",
"contentType": "model/gltf-binary",
"expiresIn": 3600
}JWT token obtained from the authentication endpoint.
The unique map code of the VPS map to delete.
MAP_BTTE1MOXYVT8Pattern: ^MAP_[A-Z0-9]+$VPS map deleted successfully.
No content
Bad Request. Invalid map code format.
Unauthorized.
Map not found.
Internal Server Error.
DELETE /v1/vps/map/{mapCode} HTTP/1.1
Host: api.multiset.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Last updated
Was this helpful?

