[p3t] Simple Cone Search starting point added
Russ Allbery
eagle at eyrie.org
Fri Feb 23 02:11:50 CET 2024
Russ Allbery <eagle at eyrie.org> writes:
> I have added a starting point for looking at an OpenAPI schema for Simple
> Cone Search. README is available at:
> https://github.com/ivoa/PTTT/tree/main/cone-search
> This is mostly a framework to get started and let us quickly iterate on
> the OpenAPI schema by letting FastAPI do most of the work. I focused on
> getting the framework in place rather than adding a lot of API details.
> This provides only a sync GET interface without capabilities or
> availability. For a more fully-fleshed example, we'll want to add an
> async interface with UWS and models for capabilities and availability. I
> plan on working on that next if this is a suitable starting point.
I have updated this proof-of-concept API stub to include a parallel POST
way to do a sync simple cone search, and a UWS API. The UWS API has the
most substantial possible changes from the existing XML API, since it's
heavily influenced by using JSON rather than XML and using REST verbs.
The UWS API here is designed to be generic, similar to the existing UWS
API.
This is all the work I was planning on doing in advance of our next
meeting, but let me know if anyone has any questions or problems using the
repository, or if anything is obviously missing.
--
Russ Allbery (eagle at eyrie.org) <https://www.eyrie.org/~eagle/>
More information about the p3t
mailing list