-
Notifications
You must be signed in to change notification settings - Fork 50
API Calls
Tal Ater edited this page Aug 5, 2017
·
7 revisions
The captain can call Mission Control to register/deregister itself, negotiate missions, report status, and more.
- Register vehicle
- Deregister vehicle
- Report mission proposal (following RFP)
- Report Current state
- Send photo
- Send video
- Report pickup completed (user placed package in vehicle)
- Report drop-off completed (user took package from vehicle)
The captain responds to requests from Mission Control for mission negotiation, status reports, and more.
- Receive Mission RFP
- Receive Mission Approval (following an RFP)
- Receive request for current state
- Receive request for current mission
- Receive request for drone details
- Receive request for photo
- Receive request for video
The captain responds to requests from the Web UI for status reports, wallet details, and more.
- Receive requests for current state
- Receive requests for current mission
- Receive requests for Wallets list
- Receive requests for Wallet details
- Receive requests to Register with Mission Control
- Receive requests to Deregister with Mission Control
- Request current state
- Request taking a photo
- Request taking a video
- Command to move to coordinates
- Send Photo
- Send Video
- Report that a move command was completed
When a captain registers itself, it receives back a new key from mission control that needs to be included in all other calls to/from mission control.
This key is unique per Captain and registration.
The only request between Captain and Mission Control that does not require this key is the register call.