Skip to content
getgeolens.com

Get Collection

GET
/stac/collections/{collection_id}
curl --request GET \
--url https://example.com/api/stac/collections/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0

Get a single STAC Collection.

collection_id
required
Collection Id
string format: uuid

Successful Response

Media type application/json
StacCollection

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

object
type
Type

STAC object type.

string
default: Collection
stac_version
Stac Version

STAC specification version.

string
default: 1.0.0
id
required
Id

Stable collection identifier.

string
title
Any of:
string
description
Description

Collection description.

string
""
license
License

SPDX license identifier or ‘proprietary’.

string
default: proprietary
extent
required
Extent

Spatial and temporal extent of items in the collection.

object
key
additional properties
any
links
required
Links

Collection navigation links.

Array<object>
StacLink

A single STAC link object.

object
href
required
Href

Target URL of the link.

string
rel
required
Rel

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

string
type
Any of:
string
method
Any of:
string
key
additional properties
any
Example
{
"type": "Collection",
"stac_version": "1.0.0",
"description": "",
"license": "proprietary"
}

Validation Error

Media type application/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Example generated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example",
"input": "example",
"ctx": {}
}
]
}