Skip to main content

Get a mission by ID

GET 

/missions/:missionId

The Get Mission request allows you to retrieve information about a specific mission of the current map in ANSCER ROBOT. This request takes in the mission's unique ID as a parameter, and returns a JSON object containing information about the mission.

Request

Path Parameters

    missionId stringrequired

    The ID of the mission to retrieve, update or delete

Responses

Mission details

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...