SpatioTemporal Asset Catalog (STAC) API

Set Collection Queryables

Changed on

Set queryables for a collection given a list of queryable definitions

post/stac/collections/{collectionId}/queryables

Request

  • Base URL
    {endpoint}
  • URL
    {endpoint}/stac/collections/{collectionId}/queryables
  • Auth
    OAuth 2
    Implicit: https://login.microsoftonline.com/common/oauth2/authorize
    Scopes: https://geocatalog.spatio.azure.com/.default

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.

Changes