Skip to content
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

Closed
ccancellieri opened this issue Sep 11, 2024 · 3 comments
Closed

why /collections is overloaded with search capabilities? #17

ccancellieri opened this issue Sep 11, 2024 · 3 comments

Comments

@ccancellieri
Copy link

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

@m-mohr
Copy link
Collaborator

m-mohr commented Nov 21, 2024

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.

@m-mohr m-mohr closed this as not planned Won't fix, can't repro, duplicate, stale Nov 21, 2024
@ccancellieri
Copy link
Author

ccancellieri commented Nov 22, 2024

Thanks for your point of view, noted.
As already mentioned in the above references, this extension is not very useful as it is, so I will go on discussing this at OGC level since you are not available to discuss it here.

@m-mohr
Copy link
Collaborator

m-mohr commented Nov 22, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants