You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use collection_id path parameter Items Transactions endpoints (#425)
* 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
Copy file name to clipboardExpand all lines: CHANGES.md
+6
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,9 @@
22
22
* docker-compose now runs uvicorn with hot-reloading enabled
23
23
* Bump version of PGStac to 0.6.2 that includes support for hydrating results in the API backed ([#397](https://github.com/stac-utils/stac-fastapi/pull/397))
24
24
* Make item geometry and bbox nullable in sqlalchemy backend. ([#398](https://github.com/stac-utils/stac-fastapi/pull/398))
25
+
* Transactions Extension update Item endpoint Item is now `/collections/{collection_id}/items/{item_id}` instead of
26
+
`/collections/{collection_id}/items` to align with [STAC API
* Remove the unused `router_middleware` function ([#439](https://github.com/stac-utils/stac-fastapi/pull/439))
@@ -36,6 +39,9 @@
36
39
* SQLAlchemy backend bulk item insert now works ([#356](https://github.com/stac-utils/stac-fastapi/issues/356))
37
40
* PGStac Backend has stricter implementation of Fields Extension syntax ([#397](https://github.com/stac-utils/stac-fastapi/pull/397))
38
41
*`/queryables` endpoint now has type `application/schema+json` instead of `application/json` ([#421](https://github.com/stac-utils/stac-fastapi/pull/421))
42
+
* Transactions Extension update Item endpoint validates that the `{collection_id}` path parameter matches the Item `"collection"` property
43
+
from the request body, if present, and falls back to using the path parameter if no `"collection"` property is found in the body
0 commit comments