Skip to main content

Create a new waypoint

POST 

/waypoints

The Create Waypoint request allows you to create a new waypoint for the current active map in ANSCER Robot.

Request

Body

required
    name stringrequired

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

    A unique name of the waypoint

    category waypointTypesrequired

    Possible values: [normal, special, charging, home]

    dockMarker number

    Dock marker number, this will be required if the waypoint type is charging or special.

    properties object

Responses

Waypoint created

Schema
    _id uuid
    name string

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

    category waypointTypes

    Possible values: [normal, special, charging, home]

    dockMarker number
    coordinate object
    position objectrequired
    x doublerequired
    y doublerequired
    z doublerequired
    orientation objectrequired
    x doublerequired
    y doublerequired
    z doublerequired
    w doublerequired
    map object
    _id uuid
    name string

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

    properties object
    createdBy object

    The user who created this waypoint

    _id string
    name string
    email email
    updatedBy object

    The user who last updated this waypoint

    _id string
    name string
    email email
    createdAt date-time

    The date and time this waypoint was created

    updatedAt date-time

    The date and time this waypoint was last updated

Loading...