Collection Items
const url = 'https://example.com/collections/datasets/items?sort_by=relevance&offset=0&limit=10&cql2_filter_lang=cql2-text&exclude_synthetic=true&spatial_predicate=intersects';const options = { method: 'GET', headers: {'Content-Type': 'application/json'}, body: '["example"]'};
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/datasets/items?sort_by=relevance&offset=0&limit=10&cql2_filter_lang=cql2-text&exclude_synthetic=true&spatial_predicate=intersects' \ --header 'Content-Type: application/json' \ --data '[ "example" ]'OGC API Records items endpoint — mirrors /search/datasets.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ”Public OGC resource types as repeated or comma-separated values (for example, type=dataset,collection)
Public OGC resource types as repeated or comma-separated values (for example, type=dataset,collection)
Record IDs as repeated or comma-separated UUID values
Record IDs as repeated or comma-separated UUID values
Source-system resource identifiers as repeated or comma-separated values
Source-system resource identifiers as repeated or comma-separated values
Request Body
Section titled “Request Body ”Responses
Section titled “ Responses ”Successful Response
OGC API Records FeatureCollection with match counts.
object
Single OGC API Records Feature.
object
Link object in OGC API Records.
object
Properties block of an OGC API Records Feature.
object
object
object
Identifiers assigned by the described resource’s source system.
object
object
object
Link object in OGC API Records.
object
Total records matching the query
Number of records in this response page
Example
{ "features": [ { "properties": { "has_quicklook": false, "never_edited": false, "record_type": "vector_dataset", "type": "dataset" }, "type": "Feature" } ], "type": "FeatureCollection"}Example generated
exampleBad request — invalid query parameters or payload
Not found
Too many requests — retry after the advertised interval
Headers
Section titled “Headers ”Seconds until the request may be retried
Internal server error
Service unavailable — the database could not serve the request