List Collections
GET
/collections
const url = 'https://example.com/collections?offset=0&limit=50';const options = {method: 'GET'};
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/collections?offset=0&limit=50'List available OGC collections (catalog + per-dataset feature collections).
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ” offset
Offset
Pagination offset for per-dataset collections
integer
Pagination offset for per-dataset collections
limit
Limit
Max per-dataset collections to return
integer
Max per-dataset collections to return
Responses
Section titled “ Responses ”Successful Response
Media type application/json
OGCCollectionsResponse
Response for /collections listing all available OGC collections.
object
collections
required
Collections
Array<object>
object
key
additional properties
any
links
Links
Array<object>
OGCRecordLinkLink object in OGC API Records.
object
href
required
Href
string
rel
required
Rel
string
type
required
Type
string
Example
{ "links": []}Bad request — invalid query parameters or payload
Media type application/problem+json
Not found
Media type application/problem+json
Too many requests — retry after the advertised interval
Media type application/problem+json
Headers
Section titled “Headers ” Retry-After
integer
Seconds until the request may be retried
Internal server error
Media type application/problem+json
Service unavailable — the database could not serve the request
Media type application/problem+json