Item Search
Search STAC items with full-featured filtering.
Changed onRetrieve items matching filters. Intended as the standard, full-featured query API.
This method is optional to implement, but recommended.
If this endpoint is implemented on a server, it is required to add a link referring to this endpoint with rel set to search and method set to POST to the links array in GET /.
post/search
Request
- The document declares no server URL.
- Authnone declared
Request body
Example request
{
"bbox": [
-110,
39.5,
-105,
40.5
],
"datetime": "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z",
"limit": 10
}Response
A feature collection.
Example response
{
"features": [
{
"stac_version": "1.0.0",
"stac_extensions": [
"https://stac-extensions.github.io/eo/v1.0.0/schema.json",
"https://stac-extensions.github.io/view/v1.0.0/schema.json",
"https://example.com/cs-extension/1.0/schema.json"
],
"type": "Feature",
"id": "CS3-20160503_132131_05",
"bbox": [
-122.59750209,
37.48803556,
-122.2880486,
37.613537207
],
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
-122.308150179,
37.488035566
],
[
-122.597502109,
37.538869539
],
[
-122.576687533,
37.613537207
],
[
-122.2880486,
37.562818007
],
[
-122.308150179,
37.488035566
]
]
]
},
"properties": {
"datetime": "2016-05-03T13:22:30.040Z",
"title": "A CS3 item",
"license": "PDDL-1.0",
"providers": [
{
"name": "CoolSat",
"roles": [
"producer",
"licensor"
],
"url": "https://cool-sat.com/"
}
],
"view:sun_azimuth": 168.7,
"eo:cloud_cover": 0.12,
"view:off_nadir": 1.4,
"platform": "coolsat2",
"instruments": [
"cool_sensor_v1"
],
"eo:bands": [],
"view:sun_elevation": 33.4,
"eo:gsd": 0.512
},
"collection": "CS3",
"links": [
{
"rel": "self",
"href": "http://cool-sat.com/collections/CS3/items/20160503_132130_04",
"type": "application/geo+json"
},
{
"rel": "root",
"href": "http://cool-sat.com/collections",
"type": "application/json"
},
{
"rel": "parent",
"href": "http://cool-sat.com/collections/CS3",
"type": "application/json"
},
{
"rel": "collection",
"href": "http://cool-sat.com/collections/CS3",
"type": "application/json"
}
],
"assets": {
"analytic": {
"href": "http://cool-sat.com/static-catalog/CS3/20160503_132130_04/analytic.tif",
"title": "4-Band Analytic",
"type": "image/tiff; application=geotiff; profile=cloud-optimized"
},
"thumbnail": {
"href": "http://cool-sat.com/static-catalog/CS3/20160503_132130_04/thumbnail.png",
"title": "Thumbnail",
"type": "image/png"
}
}
}
],
"links": [
{
"rel": "next",
"type": "application/geo+json",
"href": "http://api.cool-sat.com/search?next=ANsXtp9mrqN0yrKWhf-y2PUpHRLQb1GT-mtxNcXou8TwkXhi1Jbk"
}
]
}Changes
- breaking
the
allOf[#/components/schemas/bboxFilter]/bboxrequest property's minItems was increased to4 - breaking
the
allOf[#/components/schemas/bboxFilter]/bboxrequest property type changed from no type toarray - breaking
the response's body type changed from no type to
objectfor status
8 more changes in this revision
- breaking