You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
summary: Search for available products in a commercial data collection
3692
3692
operationId: commercial-data-search
3693
3693
description: |-
@@ -3707,10 +3707,15 @@ paths:
3707
3707
title: Available Products
3708
3708
type: object
3709
3709
required:
3710
-
- products
3710
+
- type
3711
+
- features
3711
3712
- links
3712
3713
properties:
3713
-
products:
3714
+
type:
3715
+
type: string
3716
+
enum:
3717
+
- FeatureCollection
3718
+
features:
3714
3719
type: array
3715
3720
description: An array of available products as STAC Items.
3716
3721
title: Item
@@ -3719,7 +3724,8 @@ paths:
3719
3724
links:
3720
3725
$ref: '#/components/schemas/links_pagination'
3721
3726
example:
3722
-
products:
3727
+
type: FeatureCollection
3728
+
features:
3723
3729
- type: Feature
3724
3730
stac_version: 0.9.0
3725
3731
id: c8a1f88d-89cf-4933-9118-45e9c1a5df20
@@ -3768,19 +3774,26 @@ paths:
3768
3774
schema:
3769
3775
title: Search Commercial Products Request
3770
3776
type: object
3771
-
required:
3772
-
- collection_id
3773
-
- parameters
3774
3777
properties:
3775
-
collection_id:
3776
-
type: string
3777
-
description: Unique identifier of the collection.
3778
-
parameters:
3779
-
type: object
3780
-
description: Key-value pairs of available `search_parameters` as listed at `GET /commercial_data/collections/{collection_id}` for filtering available products.
3781
-
additionalProperties:
3782
-
x-additionalPropertiesName: Search Parameter Name
3783
-
description: Value of the search parameter to be used in the request.
3778
+
bbox:
3779
+
$ref: '#/components/schemas/bbox'
3780
+
datetime:
3781
+
$ref: '#/components/schemas/datetime'
3782
+
intersects:
3783
+
$ref: '#/components/schemas/intersects'
3784
+
limit:
3785
+
$ref: '#/components/schemas/limit'
3786
+
collectionsArray:
3787
+
$ref: '#/components/schemas/collectionsArray'
3788
+
filter:
3789
+
description: |-
3790
+
**Extension:** Filter
3791
+
A CQL2 filter expression for filtering items.
3792
+
3793
+
The names and types of the properties or keys that may be used to construct a filter expression for a collection must accessible at `GET commercial_data/{collectionId}/queryables`.
3794
+
oneOf:
3795
+
- $ref: '#/components/schemas/filter-cql2-json'
3796
+
- $ref: '#/components/schemas/filter-cql2-text'
3784
3797
example:
3785
3798
collection_id: "PLEIADES"
3786
3799
parameters:
@@ -4158,6 +4171,167 @@ paths:
4158
4171
$ref: '#/components/responses/server_error'
4159
4172
components:
4160
4173
schemas:
4174
+
intersects:
4175
+
type: object
4176
+
description: Only returns items that intersect with the provided polygon.
4177
+
properties:
4178
+
intersects:
4179
+
$ref: https://geojson.org/schema/Geometry.json
4180
+
filter-cql2-text:
4181
+
description: |
4182
+
A CQL2 filter expression in the 'cql2-text' encoding.
0 commit comments