-
Notifications
You must be signed in to change notification settings - Fork 2
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
why /collections is overloaded with search capabilities? #17
Comments
First of all, this is based on OGC APIs and you'd probably also need to ask them. But what is the actual issue here? The endpoint already allows basic search and so adding more advanced options seems very logical to me. There's no plan for PUT/POST in this extension at this point so there's no conflict with Transactions right now. |
Thanks for your point of view, noted. |
It is useful to various entities already. Honestly I haven't understood yet what the issue is that you are encountering and why it is not useful as it is. Again: POST is not defined in this extension. POST is a proprietary extension by stac-fastapi! I'm also not sure what you want to define at OGC level. OGC also doesn't define POST, so they'll likely tell you that POST is not defined and it's not an issue. Please let me know if you open any issues, I'd like to follow them. |
Hi,
I'm trying to have a full implementation of a stac catalog also shipping the collection-search.
Unfortunately the implementation encountered a problem:
/collections endpoint is overloaded by this specification as it is taken by the POST PUT endpoint needed to create a collection.
Why don't we define a /collections-search or overload the existing /search endpoint?
Having several functionalities over the same rest path looks quite complex to implement don't you think it would be better to declare a separate endpoint like the one made for item search?
Discussed:
stac-utils/stac-fastapi-elasticsearch-opensearch#298
stac-utils/stac-fastapi#749
The text was updated successfully, but these errors were encountered: