Upload a map
POST /v1/maps/upload
Upload a map image with metadata via multipart/form-data.
Upserts by (projectId, mapId) — if a map with the same ID exists, it is updated.
Requires admin API key and X-Project-Id header.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Header Parameters
Section titled “Header Parameters ”Project UUID (sent as a header for endpoints that don’t include it in the path).
Request Body required
Section titled “Request Body required ”object
Display name for the map (max 255 characters).
Unique map identifier within the project (max 255 characters).
Map image file (PNG, JPEG, or WebP, max 10 MB).
Minimum X coordinate in world space.
Minimum Y coordinate in world space.
Maximum X coordinate in world space.
Maximum Y coordinate in world space.
Image width in pixels.
Image height in pixels.
Responses
Section titled “ Responses ”Map updated (existing map with same mapId was found).
object
object
Map created.
object
object
Invalid request parameters or body.
object
Human-readable error message.
Missing or invalid API key.
object
Human-readable error message.
Rate limit exceeded.
object
Human-readable error message.
Headers
Section titled “Headers ”Maximum number of requests allowed per hour.
Number of requests remaining in the current window.
Unix timestamp when the rate limit window resets.