Skip to content

Commit ddaaefa

Browse files
committed
update language on catalog queryables
1 parent 5298ab4 commit ddaaefa

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,8 +242,11 @@ not compliant with this extension.
242242
## Queryables
243243

244244
The Queryables mechanism allows a client to discover what terms are available for use when writing filter
245-
expressions. These terms can be defined per-collection, and the intersection of these terms over all collections is what
246-
is available for filtering when there are no collection restrictions. By default, these queryables are the only terms that may be used
245+
expressions. These terms are defined both over the entire catalog (at `/queryables`) and per collection (at `/collections/{collectionId}/queryables`). The decision as to which queryables to define
246+
for the entire catalog is at the discretion of the implementer, and can be anywhere between none and the union of all
247+
queryables across all collections.
248+
249+
By default, the queryables are the only terms that may be used
247250
in filter expressions, and if any term is used in expression that is not defined as a queryable and error must be
248251
returned according to OAFeat Part 3. It is recognized that this is a severe restriction in STAC APIs that have highly variable
249252
and dynamic content, so this behavior may be modified by setting the `additionalProperties` attribute in the

openapi.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,9 @@ paths:
3636
description: |-
3737
This endpoint returns a list of variable terms that can be used in CQL2 expressions. The
3838
precise definition of this can be found in the OGC API - Features - Part 3: Filtering and the
39-
Common Query Language (CQL) specification.
39+
Common Query Language (CQL2) specification.
4040
tags:
4141
- Filter Extension
42-
# parameters:
43-
# todo: may have collections parameter in the future
4442
responses:
4543
'200':
4644
$ref: '#/components/responses/Queryables'

0 commit comments

Comments
 (0)