v2

latestSwagger 2.02026-07-131451441001.2 KB
SpatioTemporal Asset Catalog (STAC) API

Set Collection Queryables

Set queryables for a collection given a list of queryable definitions

post/stac/collections/{collectionId}/queryables

Path parameters

collectionIdstring required

Unique identifier for the STAC collection.

Query parameters

api-versionstring required

The API version to use for this operation.

Request body

namestring required

Name of the queryable field.

definitionobject required

Metadata for the queryable field.

create_indexboolean

Whether to create a database index for this field.

data_type'string' | 'number' | 'boolean' | 'timestamp' | 'date'

Data type of the queryable field.

Response

The request has succeeded and a new resource has been created as a result.

namestring required

Name of the queryable field.

definitionobject required

Metadata for the queryable field.

create_indexboolean

Whether to create a database index for this field.

data_type'string' | 'number' | 'boolean' | 'timestamp' | 'date'

Data type of the queryable field.