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
Returns a pre-signed PUT URL the client can use to upload a file directly to S3.
This is used to upload or update map mesh files (e.g. Mesh/TexturedMesh.glb).
The provided key must be scoped to the authenticated account — it must start with <accountId>/.
The URL is valid for 1 hour from issuance; a slow upload that begins within that window will continue
to completion even past the expiry.
After obtaining the URL, the client must perform an HTTP PUT to it with the file bytes as the
request body, and the same Content-Type header that was sent in this request.
S3 object key. Must start with the caller's accountId. For map mesh updates, use the pattern <accountId>/<mapId>/Mesh/<filename>.
671b454e33d6dc761ca15156/6756c20336a9794c6effce42/Mesh/TexturedMesh.glbContent-Type to bind into the signed URL. Defaults to application/zip if omitted. The client MUST send the same Content-Type header on the PUT.
model/gltf-binaryPre-signed upload URL generated successfully
Pre-signed S3 PUT URL (valid for 1 hour)
https://s3.amazonaws.com/bucket/671b.../Mesh/TexturedMesh.glb?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=...&X-Amz-Date=...&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=...The S3 key the file will be uploaded to
671b454e33d6dc761ca15156/6756c20336a9794c6effce42/Mesh/TexturedMesh.glbBad request — missing or invalid key
Unauthorized — invalid or expired token
Key is not scoped to the authenticated account
The unique map code of the VPS map to delete
map_abc123xyzVPS map deleted successfully
Bad Request - Invalid map code format
Unauthorized
Map not found
Internal Server Error - Something went wrong on the server
No content
Last updated
Was this helpful?

