Map details

This API endpoint retrieves comprehensive details of a VPS map by providing its unique map code in the URL path along with a bearer token for authentication, returning complete information including the map's status, geographic location, spatial metrics (floor areas, elevations, capture points), storage usage, etc.

Get a VPS map by code

get

Retrieves detailed information about a specific VPS map using its unique map code. Returns comprehensive map data including status, coordinates, spatial metrics, and offline bundle information.

Authorizations
AuthorizationstringRequired

Standard Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"

Path parameters
mapCodestringRequired

Unique map code identifier for the VPS map

Example: MAP_O21DBI05E997Pattern: ^MAP_[A-Z0-9]+$
Responses
200

VPS map retrieved successfully

application/json
_idstringRequired

Unique MongoDB ObjectId for the VPS map

Example: 66ca3f3b773b18f09e131279
accountIdstringRequired

Account ID that owns this VPS map

Example: 66ca3f3b773b18f09e131278
mapNamestringRequired

Human-readable name of the VPS map

Example: Office Floor 1 Map
mapCodestringRequired

Unique code identifier for the VPS map

Example: MAP_O21DBI05E997
statusstring · enumRequired

Current processing status of the map:

  • uploading: File upload in progress
  • pending: Processing queued or in progress
  • active: Map is ready for use
  • failed: Processing failed
Example: activePossible values:
headingnumber · max: 360 · nullableOptional

Map heading/orientation in degrees (0-360)

Example: 45
storagenumberRequired

Storage size used by the map in bytes

Example: 52428800
thumbnailstring · uri · nullableOptional

URL to the map thumbnail image

Example: https://s3.amazonaws.com/bucket/thumbnails/map-thumbnail.jpg
offlineBundleStatusstring · enum · nullableOptional

Status of the offline bundle generation:

  • processing: Bundle creation in progress
  • failed: Bundle creation failed
  • active: Bundle is ready for download
Example: activePossible values:
offlineBundlestring · uri · nullableOptional

URL to download the offline bundle for this map

Example: https://s3.amazonaws.com/bucket/bundles/offline-bundle.zip
createdAtstring · date-timeRequired

ISO 8601 timestamp when the map was created

Example: 2024-08-24T10:30:00.000Z
updatedAtstring · date-timeRequired

ISO 8601 timestamp when the map was last updated

Example: 2024-08-24T15:45:00.000Z
get
/vps/map/{mapCode}

GET All VPS maps for an account

Get all VPS maps

get

Retrieves a paginated list of VPS maps using limit and page parameters

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
limitinteger · min: 1 · max: 100Optional

Number of items to return per page

Default: 10Example: 10
pageinteger · min: 1Optional

Page number for pagination

Default: 1Example: 1
Responses
200

VPS maps retrieved successfully

application/json
get
/vps/map

Get paginated list of MapSets

get

Retrieves a paginated list of MapSets associated with the authenticated user's account

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
limitinteger · min: 1 · max: 100Optional

Number of items to return per page

Default: 10Example: 10
pageinteger · min: 1Optional

Page number for pagination

Default: 1Example: 1
Responses
200

MapSets retrieved successfully

application/json
get
/vps/map-set

Last updated

Was this helpful?