Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding queryables link to landing page #587

Merged
merged 9 commits into from
Apr 10, 2024
2 changes: 2 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## [Unreleased]

* Add `/queryables` link to the landing page ([#587](https://github.com/stac-utils/stac-fastapi/pull/587))

## [2.4.8] - 2023-06-07

### Changed
Expand Down
7 changes: 7 additions & 0 deletions stac_fastapi/types/stac_fastapi/types/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,13 @@ def _landing_page(
"href": urljoin(base_url, "search"),
"method": "POST",
},
{
vincentsarago marked this conversation as resolved.
Show resolved Hide resolved
"rel": Relations.queryables.value,
"type": MimeTypes.jsonschema,
"title": "Queryables",
"href": urljoin(base_url, "queryables"),
"method": "GET",
},
],
stac_extensions=extension_schemas,
)
Expand Down