Locations & Maps

POST /v1/map/switch

Switch the robot's current map to a specified map.

The request must specify the floor level and section index of the desired map. Returns an INVALID_ARGUMENT error if there is no matching map. Returns the map_id of the new map if successful.

Request

Request body

robotIdstring required

Response

OK

mapIdstring

Changes

No recorded changes to this operation across all 1 revision of this API.