Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Endpoint

Function

Input

Output/Result

POST /aoi-track/

Submit new aoi-track

  • geojson

  • start time (for active keep-up)

  • end time (for active keep-up)

  • track_number

  • orbit_direction

  • user_id

  • metadata json {request_id: {request pairings dict},
    request_id: {request pairings dict}, request_id: {request pairings dict} }

  • aoitrack_id

GET /aoi-track/

List aoi-track

  • queries all aoi-track by user

none

  • returns: json list of aoitrack_id

    • includes aoitrack_id and user_id

  • requests GUI to make AJAX call for only the requests in viewport.

GET /aoi-track/{aoitrack_id}

Get aoi-track

  • aoitrack_id

  • geojson

  • track_number

  • orbit_direction

  • metadata json

Implementation Notes

create new aoi-track

...

Assumption: Create AOI of high target areas for the system to keep-up IPFs.

metadata json will be saved inside the datasets directory as dataset.met.json

defaulting these AOIs to “inactive”

list aoi-track

query GRQ for all dataset=area_of_interest , but then filter results for dataset IDs that starts with “aoi_track-*”

...

query GRQ given aoitrack_id

return the contents of dataset.met.json as the metadata output field.