Skip to main content

Create a new mission

POST 

/missions

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

Request

Body

required
    name stringrequired

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

    iteration int32required

    Possible values: >= 1

    Default value: 1

    tasks object[]required

    Possible values: >= 1

  • Array [
  • anyOf
    type stringrequired

    Possible values: [move]

    name string

    Possible values: <= 50 characters

    id timestamp
    data objectrequired
    waypoint uuidrequired

    The ID of the waypoint to move to

    label string

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

  • ]
  • properties object

Responses

Mission created

Schema
    name stringrequired

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

    iteration int32required

    Possible values: >= 1

    Default value: 1

    tasks object[]required

    Possible values: >= 1

  • Array [
  • anyOf
    type stringrequired

    Possible values: [move]

    name string

    Possible values: <= 50 characters

    id timestamp
    data objectrequired
    waypoint uuidrequired

    The ID of the waypoint to move to

    label string

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

  • ]
  • map object
    _id uuid
    name string

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

    properties object
    createdBy object

    The user who created this mission

    _id string
    name string
    email email
    updatedBy object

    The user who last updated this mission

    _id string
    name string
    email email
    createdAt date-time

    The date and time this mission was created

    updatedAt date-time

    The date and time this mission was last updated

Loading...