List Collections
GET
/collections
const url = 'https://example.com/api/collections?offset=0&limit=50';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?offset=0&limit=50' \ --header 'Authorization: Bearer <token>'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
rel
required
Rel
string
href
required
Href
string
type
required
Type
string
Example
{ "links": []}Validation Error
Media type application/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
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": {} } ]}