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

Add support for fetching catalog queryables #231

Closed
Samweli opened this issue Jun 7, 2022 · 1 comment · Fixed by #477
Closed

Add support for fetching catalog queryables #231

Samweli opened this issue Jun 7, 2022 · 1 comment · Fixed by #477
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@Samweli
Copy link

Samweli commented Jun 7, 2022

Implement API for getting queryables properties as defined in https://github.com/radiantearth/stac-api-spec/blob/master/fragments/filter/README.md#queryables, for the STAC catalogs that support additional data driven queriables.

@gadomski gadomski added the enhancement New feature or request label Nov 9, 2022
@gadomski gadomski added this to the 0.7.0 milestone Mar 24, 2023
@jsignell jsignell self-assigned this Apr 11, 2023
@jsignell
Copy link
Member

I'm a little torn on what the return type should be for this. I think the user is mostly interested in:

  1. What are the fields in properties?
  2. What are valid values for those fields?

The response type from the API is a jsonschema.

I guess in an ideal world there would be a new class that has at least the method: validate that can be used to validate any filter that is passed to ItemSearch.

But as a first implementation maybe a Dict[str, Any] is ok?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants