stac-utils / stac-fastapi-elasticsearch-opensearch

Elasticsearch backend for stac-fastapi with Opensearch support.
https://stac-utils.github.io/stac-fastapi-elasticsearch-opensearch
MIT License
31 stars 15 forks source link

Collection update endpoint #177

Closed rhysrevans3 closed 9 months ago

rhysrevans3 commented 11 months ago

Related Issue(s):

Description:

Allow collections to be updated without the deletion of all sub items. If collection id is changed id of the existing collection must be present in the query parameters as collection_id.

Use case:

Adding a new item to a collection adds a new variable to collection summary/changes extent.

PR Checklist:

rhysrevans3 commented 9 months ago

@jonhealy1 I've added a couple of tests let me know if there are anymore that you think should be added.

jonhealy1 commented 9 months ago

@jonhealy1 I've added a couple of tests let me know if there are anymore that you think should be added.

Great thank you. I will do a final review tomorrow.