Skip to main content

Get Map GridFS Asset

GET 

/api/v1/maps/:mapName/asset

Streams the real pcd/png bytes for a map from GridFS (bucket map_assets), resolving pcdFileId/pngFileId off the map document — mirrors mission_control_ui's /api/map-cloud/:name?format=pcd|png. Used by the 3D map editor (source=exist3d) to fetch the point cloud, and by the 2D flow for GridFS-synced PNGs.

Request​

Path Parameters

    mapName stringrequired

    Possible values: non-empty

    Name of the map whose GridFS asset to stream

Query Parameters

    format stringrequired

    Possible values: [pcd, png]

    Which GridFS asset to stream for this map

Responses​

Full asset bytes

Response Headers
  • Content-Type string
  • Content-Length string
Loading...