nvi4ncvyy029fume

Send Mission Control command

Changed on

Send a Mission Control command to a given vehicle.

post/v0/mission/control

Request

  • Base URL
    https://api.skydio.com/api
  • Auth
    API key in header Authorization

Headers

Idempotency-Keystring

Unique value generated by the client so that the service will not execute duplicate requests on the same vehicle

Request body

mission_control_type'PAUSE' | 'RESUME' | 'RETURN_AND_LAND_IN_DOCK' | 'LAND_IN_PLACE' | 'SKIP_TO_WAYPOINT' required

Mission control command to issue to the vehicle

mission_template_uuidstring uuid

ID of the mission affected by this command. This request parameter can only be used when mission_control_type is SKIP_TO_WAYPOINT. Optional when the vehicle is already flying a mission. If the vehicle is not flying, this parameter is required and will trigger the vehicle to start the mission before skipping to the correct waypoint.

vehicle_serialstring required
waypoint_uuidstring uuid

ID of the waypoint affected by this command. Required when mission_control_type is SKIP_TO_WAYPOINT.

Example request

{
  "mission_control_type": "PAUSE"
}

Response

Mission Control command returned by the POST /mission/control endpoint

error_messagestring
skydio_error_codeinteger required
status_codeinteger required

Example response

{
  "data": {
    "mission_control": {
      "mission_control_type": "PAUSE",
      "sent": "2022-05-03T03:10:52.503+00:00"
    }
  }
}

Changes