-
Notifications
You must be signed in to change notification settings - Fork 102
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
Transactions Extension: PUT endpoint is incorrect, should be /collections/{c_id}/items/{i_id} #385
Comments
philvarner
added
bug
Something isn't working
spec
Compliance with STAC/OGC specifications
labels
Mar 25, 2022
4 tasks
@philvarner I'm working on this as part of the PR to address #406 and #384. Should |
duckontheweb
added a commit
that referenced
this issue
Jul 20, 2022
4 tasks
duckontheweb
added a commit
that referenced
this issue
Jul 21, 2022
duckontheweb
added a commit
that referenced
this issue
Aug 1, 2022
duckontheweb
added a commit
that referenced
this issue
Aug 2, 2022
geospatial-jeff
pushed a commit
that referenced
this issue
Aug 2, 2022
* Add collection_id path parameter and check against Item collection property * Fix unformatted f-strings * Fix Item PUT endpoint per #385 * Update API tests to use new PUT paths * Make equivalent changes to sqlalchemy backend * Add CHANGELOG entry for #425 * Fix failing tests from previous merge * Return 400 for Item id or collection conflicts
geospatial-jeff
added a commit
that referenced
this issue
Aug 2, 2022
* Add collection_id path parameter and check against Item collection property * Fix unformatted f-strings * Fix Item PUT endpoint per #385 * Update API tests to use new PUT paths * Make equivalent changes to sqlalchemy backend * Add CHANGELOG entry for #425 * Fix failing tests from previous merge * Return 400 for Item id or collection conflicts * Add failing tests * Return added Item/Collection from Transactions endpoints * Format changes * Add CHANGES entry for #424 * Get Transactions Item response collection id from path parameter * remove duplicate test cases Co-authored-by: Jeff Albrecht <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, the PUT endpoint is
/collections/{c_id}/items
. However, according to the Txn Ext spec, this is supposed to be/collections/{c_id}/items/{i_id}
This may be a bit challenging to implement, as there are no endpoints currently that take both a body and path or query parameters, so
_create_endpoint
may need a bit of refactoring to allow both.The text was updated successfully, but these errors were encountered: