You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This would be very helpful for resolving the underlying API URL for users of the Python API. They may only "know" about e.g., datalab.odbx.science but the API will need to be passed api.odbx.science.
The web app should therefore have a JSON version of its root page that simply returns e.g., {"api_url": "<datalab_api_url>"} (and potentially some other metadata, like the description/owner of the datalab).
The text was updated successfully, but these errors were encountered:
As discussed, probably want to hack the webapp/public/index.html to respond with some kind of structured response that the Python API can use to redirect when requested with HTTP header Content-Type: application/json
This would be very helpful for resolving the underlying API URL for users of the Python API. They may only "know" about e.g.,
datalab.odbx.science
but the API will need to be passedapi.odbx.science
.The web app should therefore have a JSON version of its root page that simply returns e.g.,
{"api_url": "<datalab_api_url>"}
(and potentially some other metadata, like the description/owner of the datalab).The text was updated successfully, but these errors were encountered: