-
Notifications
You must be signed in to change notification settings - Fork 2
Add community extension: Collection Search Endpoint #8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Add community extension: Collection Search Endpoint #8
Conversation
|
I have a couple of concerns regarding this extension:
Having that said, the decision to merge is up to the PSC. |
With Items:
Collections:
Would we remove |
I don't use AWS, I don't know. Once standardized, which I think happens in 2026, it will likely be implemented widely at latest.
That doesn't describe what I'm seeing people do. I see usage across both endpoints for Item Search. I don't follow your conclusion. By the way, can someone provide me with a Collection Search query that a user tried and didnt work through GET?
/items (more precisely /collections/{id}/items) is items per collection, /search is item search across collections. As such we can't remove it any of them even if QUERY /search would be available. I think long-term it should be for a consistent interface: Items:
Collections:
|
I think you have to remember that this pr is aiming to add this to a list as a community-hosted stac api extension and not trying push this into core use. Because this extension is hosted externally, the stac-api-extensions repository is not responsible for actively encouraging people to use it. I would be happy to deprecate this externally-hosted stac api extension when the QUERY http method is standardized. |
Adds a new community extension to support a dedicated Collection Search Endpoint.
Repository: https://github.com/Healy-Hyperspatial/stac-api-extensions-collection-search-endpoint
Motivation
This extension defines a dedicated
/collections-searchendpoint to resolve a routing conflict in the STAC API ecosystem.Currently, the standard Collection Search extension relies on
POST /collectionsfor advanced filtering. However, this path collides with the Transaction Extension, which usesPOST /collectionsfor creating new collections.While Content-Type negotiation is the theoretical solution, it creates significant implementation friction in frameworks like
stac-fastapi. This extension formalizes the "Sidecar Pattern" (using/collections-search) to allow both Transactions and Advanced Search to coexist robustly on the same API.Implementation:
We are currently implementing this specification in the
stac-fastapi-elasticsearch-opensearchproject.