Skip to main content

Create a new map

POST 

/maps

The Create Map request allows authenticated users to create a new map in ANSCER ROBOT. This request can only be accessed by users with the appropriate permissions, such as an administrator.

It's important to note that creating a new map into a robot may take some time, depending on the size of the map and the speed of the robot's network connection.

Request

Body

required
    name stringrequired

    Possible values: >= 3 characters and <= 50 characters

    A unique name of the map

Responses

User created

Schema
    _id uuid
    name string

    Possible values: >= 3 characters and <= 50 characters

    isActive boolean
    properties object
    origin object
    position objectrequired
    x doublerequired
    y doublerequired
    z doublerequired
    orientation objectrequired
    x doublerequired
    y doublerequired
    z doublerequired
    w doublerequired
    width double
    height double
    resolution double
    previewUrl uri
    createdBy object

    The user who created this map

    _id string
    name string
    email email
    updatedBy object

    The user who last updated this map

    _id string
    name string
    email email
    createdAt date-time

    The date and time this user was created

    updatedAt date-time

    The date and time this user was last updated

Loading...