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
We've already disabled access to the Transaction endpoints at the database layer in the public API, but we still want to remove those endpoints from the API itself, both for extra security and so as not to confuse users who see those endpoints available in the Swagger UI.
As soon as that PR gets merged and there's another stac-fastapi release, we can modify the API handler to populate the environment variable with the list of extensions (all of them except the two Transaction extensions) before importing the pgstac app handler.
Tasks
After the next stac-fastapi release, specify the list of extensions so as to exclude the Transaction extensions.
The text was updated successfully, but these errors were encountered:
jtherrmann
changed the title
Remove Transaction endpoints from public API
Remove Transaction endpoints from public API after next stac-fastapi release
Nov 21, 2022
After deploying to test, I confirmed that the endpoints do not exist in the Swagger UI and that the endpoint does not exist in test, but still does for prod:
Overview
Split from #2.
We've already disabled access to the Transaction endpoints at the database layer in the public API, but we still want to remove those endpoints from the API itself, both for extra security and so as not to confuse users who see those endpoints available in the Swagger UI.
I opened stac-utils/stac-fastapi#492 to ask how to do this, and then opened stac-utils/stac-fastapi#495 based on the feedback to that issue.
As soon as that PR gets merged and there's another
stac-fastapi
release, we can modify the API handler to populate the environment variable with the list of extensions (all of them except the two Transaction extensions) before importing thepgstac
app handler.Tasks
stac-fastapi
release, specify the list of extensions so as to exclude the Transaction extensions.The text was updated successfully, but these errors were encountered: