API Reference
Log In
API Reference

Command & Control

The command and control aspect of the API is used to remotely control your drone through the cloud. All requests are POST requests, and follow the standard drone/id convention.

Command Acknowledgement

With the exception of the /input command, all command and control messages return a command ACK response, such as the following:

{
	“Command”: <command number>,
	“Status”: <description of the command result>,
  "StatusCode": <value, see below>
}

Command is the MAVLink number of the vehicle command. Status is the string that provides information about how the command was handled. It will usually be accepted, but could be rejected or was simply not received by the drone.

Status Codes

0: Command was accepted successfully.
1: Command was denied/rejected, this mean it could not execute the command, usually because the drone is already doing the command.
2: Command was permanently denied. This means the drone must be reconfigured in order to use this command, and cannot be in flight. (See params API for configuration).
3: Command unsupported. This means the command was recognized but is not supported by the internal firmware.
4: Command failed. There was an internal error with the drone firmware itself.
10: Command unknown. Means that the API could not retrieve the status of the command.