Distinguish between API resources and web frontend
Closed this issue · 1 comments
AndrewEckart commented
Story
As a ServiceX developer I want to distinguish between frontend routes and API resources
Acceptance Criteria
- API resources are placed in a subdirectory, e.g.
https://<servicex-host>/api/v1/servicex/transformation
- User management API endpoints should be organized under
api/v1/user/...
Assumptions
- A subdirectory is preferable to a subdomain (
api.<servicex-host>
) because both are being served by the same Flask app.
BenGalewsky commented
We need to make sure whatever structure we use works with our Ingres rules. The Ingres only exposes protected endpoints. There are a whole series of endpoints that are for internal use and therefore don't check authentication