Skip to content
getgeolens.com

Get Collections

GET
/stac/collections
curl --request GET \
--url https://example.com/stac/collections

List all STAC Collections.

Successful Response

Media type application/json
StacCollectionListResponse

STAC collections list response.

object
collections
required
Collections

List of STAC collections.

Array<object>
StacCollection

A single STAC Collection response (permissive — allows extra STAC fields).

object
description
Description

Collection description.

string
""
extent
required
Extent

Spatial and temporal extent of items in the collection.

object
key
additional properties
any
id
required
Id

Stable collection identifier.

string
license
License

SPDX license identifier or ‘proprietary’.

string
default: proprietary
links
required
Links

Collection navigation links.

Array<object>
StacLink

A single STAC link object.

object
href
required
Href

Target URL of the link.

string
method
Any of:
string
rel
required
Rel

Link relation type (e.g. ‘self’, ‘root’, ‘parent’, ‘item’, ‘data’).

string
type
Any of:
string
stac_version
Stac Version

STAC specification version.

string
default: 1.0.0
title
Any of:
string
type
Type

STAC object type.

string
default: Collection
key
additional properties
any
links
required
Links

Top-level collection navigation links.

Array<object>
StacLink

A single STAC link object.

object
href
required
Href

Target URL of the link.

string
method
Any of:
string
rel
required
Rel

Link relation type (e.g. ‘self’, ‘root’, ‘parent’, ‘item’, ‘data’).

string
type
Any of:
string
Example
{
"collections": [
{
"description": "",
"license": "proprietary",
"stac_version": "1.0.0",
"type": "Collection"
}
]
}

Bad request — invalid standards parameters

Media type application/problem+json
ProblemDetail
object
detail
required
Any of:
string
status
required
Status
integer
title
required
Title
string
type
Type
string
default: about:blank
Example
{
"detail": "Dataset not found",
"status": 404,
"title": "Not Found",
"type": "about:blank"
}

Too many requests — retry after the advertised interval

Media type application/problem+json
ProblemDetail
object
detail
required
Any of:
string
status
required
Status
integer
title
required
Title
string
type
Type
string
default: about:blank
Example
{
"detail": "Dataset not found",
"status": 404,
"title": "Not Found",
"type": "about:blank"
}
Retry-After
integer

Seconds until the request may be retried

Internal server error

Media type application/problem+json
ProblemDetail
object
detail
required
Any of:
string
status
required
Status
integer
title
required
Title
string
type
Type
string
default: about:blank
Example
{
"detail": "Dataset not found",
"status": 404,
"title": "Not Found",
"type": "about:blank"
}

Service unavailable — the database could not serve the request

Media type application/problem+json
ProblemDetail
object
detail
required
Any of:
string
status
required
Status
integer
title
required
Title
string
type
Type
string
default: about:blank
Example
{
"detail": "Dataset not found",
"status": 404,
"title": "Not Found",
"type": "about:blank"
}