Skip to content

Commit

Permalink
Add method for search links
Browse files Browse the repository at this point in the history
  • Loading branch information
moradology committed Aug 17, 2021
1 parent faaec6f commit f0a62ee
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions stac_fastapi/types/stac_fastapi/types/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,14 @@ def _landing_page(
"type": MimeTypes.json,
"title": "STAC search",
"href": urljoin(base_url, "search"),
"method": "GET"
},
{
"rel": Relations.search.value,
"type": MimeTypes.json,
"title": "STAC search",
"href": urljoin(base_url, "search"),
"method": "POST"
},
],
stac_extensions=[],
Expand Down

0 comments on commit f0a62ee

Please sign in to comment.