Skip to content

Collection update endpoint supports merge #462

Open
@smohiudd

Description

@smohiudd

Why

Aggregated information such collection summaries of item dates and spatiotemporal extent updates based on contained items inserted by our ingestion pipelines could be lost if replacing a collection record.

Description

A "merge" operation should be supported in the ingest API (and STAC Transactions extension?) that maintains existing aggregated metadata when replacing or updating a collection record. This logic could merge the existing summaries object with a new STAC collection.

Acceptance Criteria

  • Ingestion API /collections POST endpoint includes logic to merge existing aggregating metadata if it exists

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions