tart-telescope / catalogue

The server that provides the Catalog API. Gets a list of visible objects from any position
GNU General Public License v3.0
0 stars 0 forks source link

Add a bulk request for azimuth and elevation for a range of times #1

Open tmolteno opened 11 months ago

tmolteno commented 11 months ago

To aid tart2ms to get fast catalogue information from sequences of visibilities, we need an API endpoint to get bulk positions...

Use a post method with JSON form

{ 'lat': -45.4,
  'lon': 170.5,
  'alt': 280,
  'utc_list': [isoformat(), isoformat() ... ]
}

Suggest following endpoint

/catalogue/bulk_position
tmolteno commented 11 months ago

Will leave this open until some testing is done by others.