{ "opencollection": "1.0.0", "info": { "name": "CMR Search Capabilities STAC API", "version": "1.0.0" }, "items": [ { "info": { "name": "STAC", "type": "folder" }, "items": [ { "info": { "name": "Search STAC items with simple filtering.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/:providerId/search", "params": [ { "name": "providerId", "value": "", "type": "path", "description": "local identifier of a provider" }, { "name": "bbox", "value": "", "type": "query", "description": "Only features that have a geometry that intersects the bounding box are selected.\nThe bounding box is provided as four or six numbers, depending on whether the\ncoordinate reference system includes a vertical axis (elevation or depth):\n\n* Lower left corner, coordinate axis 1\n* Lower left corner, coordinate axis 2\n* Lower left corner, coordinate axis 3 (optional)\n* Upper right corner, coordinate axis 1\n* Upper right corner, coordinate axis 2\n* Upper right corner, coordinate axis 3 (optional)\n\nThe coordinate reference system of the values is WGS 84 longitude/latitude\n(http://www.opengis.net/def/crs/OGC/1.3/CRS84) unless a different coordinate\nreference system is specified in the parameter `bbox-crs`.\n\nFor WGS 84 longitude/latitude the values are in most cases the sequence of\nminimum longitude, minimum latitude, maximum longitude and maximum latitude.\nHowever, in cases where the box spans the antimeridian the first value\n(west-most box edge) is larger than the third value (east-most box edge).\n\nIf a feature has multiple spatial geometry properties, it is the decision of the\nserver whether only a single spatial geometry property is used to determine\nthe extent or all relevant geometries." }, { "name": "datetime", "value": "", "type": "query", "description": "Either a date-time or an interval, open or closed. Date and time expressions\nadhere to RFC 3339. Open intervals are expressed using double-dots.\n\nExamples:\n\n* A date-time: \"2018-02-12T23:20:50Z\"\n* A closed interval: \"2018-02-12T00:00:00Z/2018-03-18T12:31:12Z\"\n* Open intervals: \"2018-02-12T00:00:00Z/..\" or \"../2018-03-18T12:31:12Z\"\n\nOnly features that have a temporal property that intersects the value of\n`datetime` are selected.\n\nIf a feature has multiple temporal properties, it is the decision of the\nserver whether only a single temporal property is used to determine\nthe extent or all relevant temporal properties." }, { "name": "limit", "value": "", "type": "query", "description": "The optional limit parameter limits the number of items that are presented in the response document.\n\nOnly items are counted that are on the first level of the collection in the response document.\nNested objects contained within the explicitly requested items shall not be counted.\n\nMinimum = 1. Maximum = 10000. Default = 10." }, { "name": "page", "value": "", "type": "query", "description": "The optional page parameter returns the specified page of results\n(with each page having size=limit).\n\n* Minimum = 1\n* Default = 1\n" }, { "name": "ids", "value": "", "type": "query", "description": "The optional ids parameter returns a FeatureCollection of all matching ids.\nIf provided all other parameters that further restrict the number of search results (except `page` and `limit`) will be ignored.\n" }, { "name": "collections", "value": "", "type": "query", "description": "The collections search parameter is a list of of collection IDs for Items to match.\nOnly items that are included in one of these collections will be returned, otherwise\nall collections will be searched.\n" } ] }, "docs": "Retrieve Items matching filters. Intended as a shorthand API for simple queries.\n\nThis method is optional, but you MUST implement `POST /stac/search` if you want to implement this method." }, { "info": { "name": "Search STAC items with full-featured filtering.", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/:providerId/search", "body": { "type": "json", "data": "{}" } }, "docs": "retrieve items matching filters. Intended as the standard, full-featured query API.\n\nThis method is mandatory to implement if `GET /stac/search` is implemented. If this endpoint is implemented on a server, it is required to add a link with `rel` set to `search` to the `links` array in `GET /stac` that refers to this endpoint." } ] } ], "bundled": true }