Get Collection Metadata
GET
/collections/datasets
const url = 'https://example.com/api/collections/datasets';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/datasets \ --header 'Authorization: Bearer <token>'Get metadata for the datasets collection.
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”Successful Response
Media type application/json
OGCCollectionMetadataResponse
Response for /collections/datasets single collection metadata.
object
id
required
Id
string
title
required
Title
string
description
required
Description
string
itemType
Itemtype
string
links
required
Links
Array<object>
object
key
additional properties
any
Example
{ "itemType": "record"}