Get Dataset Collection
GET
/collections/{dataset_id}
const url = 'https://example.com/api/collections/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/collections/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \ --header 'Authorization: Bearer <token>'Per-dataset OGC collection metadata with extent, CRS, and items link.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” dataset_id
required
Dataset Id
string format: uuid
Query Parameters
Section titled “Query Parameters ”Responses
Section titled “ Responses ”Successful Response
Media type application/json
OGCCollectionMetadata
Per-dataset collection metadata per OGC API Features.
object
id
required
Id
Stable collection identifier (typically the dataset ID).
string
title
required
Title
Human-readable collection title.
string
itemType
Itemtype
Type of items in the collection. Always ‘feature’ for OGC API Features.
string
crs
Crs
Coordinate reference systems supported for items in this collection.
Array<string>
links
required
Links
Collection navigation links (self, items, queryables, etc.).
Array<object>
OGCLinkobject
href
required
Href
Target URL of the link.
string
rel
required
Rel
Link relation type per RFC 8288 (e.g. ‘self’, ‘next’, ‘prev’, ‘data’, ‘collection’).
string
type
required
Type
Media type of the linked resource (e.g. ‘application/json’, ‘application/geo+json’).
string
Example
{ "itemType": "feature", "crs": [ "http://www.opengis.net/def/crs/OGC/1.3/CRS84" ]}Bad request — invalid query parameters or payload
ProblemDetail
object
type
Type
string
title
required
Title
string
status
required
Status
integer
detail
required
Detail
string
Example
{ "type": "about:blank"}Not found
ProblemDetail
object
type
Type
string
title
required
Title
string
status
required
Status
integer
detail
required
Detail
string
Example
{ "type": "about:blank"}Validation error
ProblemDetail
object
type
Type
string
title
required
Title
string
status
required
Status
integer
detail
required
Detail
string
Example
{ "type": "about:blank"}Internal server error
ProblemDetail
object
type
Type
string
title
required
Title
string
status
required
Status
integer
detail
required
Detail
string
Example
{ "type": "about:blank"}