-
Notifications
You must be signed in to change notification settings - Fork 87
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
add qualification on items POST #771
Comments
I'd like to second that. It would also be helpful for our Collection Search Extension we added to STAC during the OGC Metadata sprint. |
There is no POST behaviour defined in Part 3. Part 3 defines the query parameters There is a proposal for using POST for query/search here: https://github.com/opengeospatial/ogcapi-features/tree/master/proposals/search Basically there is a
Not sure if you will be able to see this but there is also this issue in TB18: https://gitlab.ogc.org/ogc/T18-Advanced_Filtering_of_SWIM_Feature_Data/-/issues/11 |
What's the rationale of |
How would you do POSt for collections? |
The decision/agreement to use "/search" as the path element for query resources dates back to the March 2018 Code Sprint / Hackathon with STAC, at least for multi-collection queries. Whether there is also a general need for query resources per collection is a topic for discussion. I think this issue is a duplicate of #449? See also the discussion in that issue. |
I'd like the HTTP QUERY method. It is not yet supported by the OpenAPI specification though as mentioned here |
I'd avoid having multiple responsibilities for single method + path combination, at least for now. Personally I feel like Part 3 is already overdue and would prefer if it could be finished sooner rather than later. I'd say adding too little per extension is better than too much if it adds years of delay. Therefore I wouldn't even try adding this ( |
I am in favor of using |
Just to clarify: Support for See the discussion in issue #449 or the related proposal. There is also work ongoing in OGC Testbed 18. Here is what we have in the group charter:
Once IETF adopts the QUERY method, we can and should discuss how to leverage that. Until then, implementations that need POST on |
What would you think is the best approach to search collections? POST /collections also seems overloaded? |
We just discussed this in the SWG meeting this week. See #805. While implementations can accept POSTed queries on The consensus in the discussion was that if GET on For the Search extension there is a proposal that was the basis for work in OGC Testbed 18. The related Engineering Report is not yet published (no idea why it is taking so long), so for now the document is only available on the portal. |
Thanks, but I was specifically looking for Collection Search (i.e. potentially at GET and POST |
Ah, ok I misunderstood, because this issue is about queries on items. Queries / paging / mutations on In the work on the Search extension in Testbed 18 we went for the following approach ([example API definition]):
We will see what approach we eventually will select, but in general, a similar approach could also be used for |
As mentioned on Gitter:
Considering a server that implements both Part 3 and Part 4, how do servers supposed to delineate between an
.../items
POST transaction (Create) and an.../items
POST query (CQL2)?There doesn't seem to be any guidance on POST and CQL2 JSON in Part 3 currently. Sending CQL2 JSON via GET can be error prone.
As suggested by @m-mohr, what about adding a media type as part of Part 3? Example:
The text was updated successfully, but these errors were encountered: