Skip to content

API Calls

Tal Ater edited this page Jul 31, 2017 · 7 revisions

To Mission Control

The captain can call Mission Control to register/deregister itself, negotiate missions, report status, and more.

Authentication

  • Register vehicle
  • Deregister vehicle

Mission Planning

  • Report mission proposal (following RFP)

Status Reports

  • Report Current state
  • Send photo
  • Send video
  • Report ready to pickup (landed at pickup)
  • Report ready to drop-off (landed at drop-off)

From Mission Control

The captain responds to requests from Mission Control for mission negotiation, status reports, and more.

Mission Planning

  • Receive Mission RFP
  • Receive Mission Approval (following an RFP)

Status Reports

  • Receive request for current state
  • Receive request for current mission
  • Receive request for drone details
  • Receive request for photo
  • Receive request for video
  • Receive report of pickup completed (user placed package in vehicle)
  • Receive report of drop-off completed (user took package from vehicle)

From Web UI

The captain responds to requests from the Web UI for status reports,

Status reports

  • Receive requests for current state
  • Receive requests for current mission

Wallet management

  • Receive requests for Wallets list
  • Receive requests for Wallet details

Commands

  • Receive requests to Register with Mission Control
  • Receive requests to Deregister with Mission Control

To Vehicle

Status

  • Request current state

Commands

  • Request taking a photo
  • Request taking a video
  • Command to move to coordinates

From Vehicle

Status

  • Receive current state
  • Receive Photo
  • Receive Video
  • Receive report that a move command was completed
Clone this wiki locally