diff --git a/CHANGES.md b/CHANGES.md index bc6475fe1..e4ca7c0f1 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -4,6 +4,7 @@ ### Changed +* Add `items` link to inferred link relations ([#634](https://github.com/stac-utils/stac-fastapi/issues/634)) * Make sure FastAPI uses Pydantic validation and serialization by not wrapping endpoint output with a Response object ([#650](https://github.com/stac-utils/stac-fastapi/pull/650)) ### Removed diff --git a/stac_fastapi/types/stac_fastapi/types/links.py b/stac_fastapi/types/stac_fastapi/types/links.py index 2a4c954d0..28f05d6c0 100644 --- a/stac_fastapi/types/stac_fastapi/types/links.py +++ b/stac_fastapi/types/stac_fastapi/types/links.py @@ -10,7 +10,7 @@ # These can be inferred from the item/collection so they aren't included in the database # Instead they are dynamically generated when querying the database using the # classes defined below -INFERRED_LINK_RELS = ["self", "item", "parent", "collection", "root"] +INFERRED_LINK_RELS = ["self", "item", "parent", "collection", "root", "items"] def filter_links(links: List[Dict]) -> List[Dict]: