Skip to content

Commit

Permalink
Explicitly specify metadata filters for collections #396
Browse files Browse the repository at this point in the history
  • Loading branch information
m-mohr committed Nov 30, 2021
1 parent 3582c31 commit 904379f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- `create-form` to link to the registration page
- `recovery-form` to link to the credentials recovery page.
- `GET /me`: New Relation types `alternate` and `related` for user-specific external pages. [#404](https://github.com/Open-EO/openeo-api/issues/404)
- `GET /collections` and `GET /collections/{collection_id}` (and implicitly `GET /jobs/{job_id}/results`): Added a field that can indicate which properties can be filtered on when loading data from a collection. [#396](https://github.com/Open-EO/openeo-api/issues/396)
- `GET /credentials/oidc`: Allow `authorization_code` and `urn:ietf:params:oauth:grant-type:device_code` (both without PKCE) as grants for `default_clients`. [#410](https://github.com/Open-EO/openeo-api/issues/410)
- Recommendation to add media types and titles to links for a better user experience.
- Allow the relation type `canonical` to be used generally for (shared) resources (e.g. UDPs or batch jobs) without requiring Bearer authentication. [#405](https://github.com/Open-EO/openeo-api/issues/405)
Expand Down
13 changes: 13 additions & 0 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1445,6 +1445,10 @@ paths:
- B10
- B11
- B12
'openeo:property_filters':
- platform
- eo:cloud_cover
- sat:orbit_state
summaries:
'constellation':
- Sentinel-2
Expand Down Expand Up @@ -4346,6 +4350,15 @@ components:
x-additionalPropertiesName: Dimension Name
allOf:
- $ref: '#/components/schemas/dimension'
'openeo:property_filters':
description: |-
Gives a list of properties you can filter on when loading data from the collection.
More metadata about the properties can be found in `summaries`.
Returning an empty array means that no filters are available.
type: array
items:
type: string
summaries:
title: STAC Summaries (Collection Properties)
description: |-
Expand Down

0 comments on commit 904379f

Please sign in to comment.