Skip to content

Commit 313486b

Browse files
add items link to inferred link relations (#634) (#640)
Co-authored-by: Vincent Sarago <[email protected]>
1 parent 11e9c0f commit 313486b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
### Changed
66

7+
* Add `items` link to inferred link relations ([#634](https://github.com/stac-utils/stac-fastapi/issues/634))
78
* 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))
89

910
### Removed

stac_fastapi/types/stac_fastapi/types/links.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# These can be inferred from the item/collection so they aren't included in the database
1111
# Instead they are dynamically generated when querying the database using the
1212
# classes defined below
13-
INFERRED_LINK_RELS = ["self", "item", "parent", "collection", "root"]
13+
INFERRED_LINK_RELS = ["self", "item", "parent", "collection", "root", "items"]
1414

1515

1616
def filter_links(links: List[Dict]) -> List[Dict]:

0 commit comments

Comments
 (0)