Skip to content
This repository has been archived by the owner on Oct 14, 2023. It is now read-only.

Endpoints

Aden Chan edited this page Mar 4, 2023 · 6 revisions

Waypoints

Type URL Description
[GET] /waypoints Returns a list of all waypoints
[POST] /waypoints Stores a list of waypoints
[POST] /qr/task1/route Accepts raw QR data for UAS Task 1 route
[POST] /qr/task1/restrict Accepts raw QR data for UAS Task 1 restricted area
[POST] /qr/task2 Accepts raw QR data from UAS Task 2 (routes)

Examples

[GET] /waypoints

[
  {
    "id": 1,
    "name": "Alpha",
    "longitude": 1.234,
    "latitude": 1.234,
    "altitude": 123
  }
]

[POST] /waypoints

[
  {
    "id": 2,
    "name": "Beta",
    "longitude": 1.234,
    "latitude": 1.234,
    "altitude": 123
  }
]

[POST] /qr/task1/route

Follow route: Quebec; Lima; Alpha; Tango

[POST] /qr/task1/restrict

Avoid the area bounded by: Zulu; Bravo; Tango; Uniform. Rejoin the route at Lima

[POST] /qr/task2

Route number 1: 2 pers; Lima; Quebec; 15 kg; obstacle 2 m to NE; $112

Route number 2: 6 pers; Delta; Charlie; 5 kg; nil; $50

Route number 3: 4 pers; Alpha; Zulu; 15 kg; other comment; $150

New GCOM Structures

Clone this wiki locally