chanzuckerberg / single-cell-data-portal

The data portal supporting the submission, exploration, and management of projects and datasets to cellxgene.
MIT License
63 stars 12 forks source link

Create Cloudfront route for Swagger link #4843

Closed ebezzi closed 1 year ago

ebezzi commented 1 year ago

The Swagger doc index was historically located at https://public-backend.production.single-cell.czi.technology/, and has now moved to https://backend.production.single-cell.czi.technology/ due to a LB rename within happy. Since those URLs are effectively owned by happy, they shouldn't be used externally. We should instead create a Cloudfront route that is stable and uses the right domain (e.g. https://cellxgene.czisciene.com/swagger)

brianraymor commented 1 year ago

they shouldn't be used externally. We should instead create a Cloudfront route that is stable and uses the right domain (e.g. https://cellxgene.czisciene.com/swagger)

With the exception of the curation endpoint, none of these swagger are intended for external use.

ebezzi commented 1 year ago

Even if we have a single one that is intended for external use, we should still do this. Otherwise we can close this ticket.

brianraymor commented 1 year ago

We should close this and rely on https://api.cellxgene.cziscience.com/curation/ui/#/ when we broadly announce the Discover API. We don't want external data consumers to use any of the other API(s) such as DP.

ebezzi commented 1 year ago

I wasn't aware of that link. Definitely no need to do anything else then. Closing!