Features of a catalog feature product over an inline polygon (or any GET word as JSON).
Changed onThe POST twin of GET /v1/features/{product_id}: the same words as JSON fields, plus an inline area, area.geometry, a GeoJSON MultiPolygon (RFC 7946, WGS84; a Polygon is sent as a one-member MultiPolygon; positions [lon, lat] or [lon, lat, alt]) of at most 10,000 vertices, which does not fit a URL. area takes a reference or a geometry, not both. Every rule of the GET route applies; an unknown field is a 400.
Experimental (x-stability: experimental), as the GET route.
Caching
Cache-Control: private, no-store.
Auth and cost
As the GET route: weight 1 (data) per element, 2 (compute) per element with stats, sort, where or an area.
Request
- Base URLhttps://api.smarterweather.com
- AuthHTTP bearer
Path parameters
A catalog product id whose kind is feature or geojson (GET /v1/catalog).
Request body
The GET /v1/features/{product_id} words as JSON, plus an inline area.geometry.
A reference (product with feature_id, feature_ids or filter) or an inline geometry.
RFC 3339. The server also reads a date (YYYY-MM-DD, a UTC day over the inline area; on a day_of_year product, the first local day), as on the GET route.
RFC 3339. The server also reads a date (YYYY-MM-DD, through that UTC day over the inline area; on a day_of_year product, the last local day, inclusive), as on the GET route.
As the GET stats parameter, count_by:cell:<deg> included.
As the GET sort parameter.
As the GET where parameter.
As the GET units parameter.
Response
One FeatureCollection per element.
The feature door's answer (GET /v1/features/{product_id}), one element per area.
True when any element has a next_cursor.
Example response
{
"product": "us_counties",
"elements": [
{
"where": {
"product": "nbm_daily_temps",
"method": "point_in_cell"
}
}
],
"meta": {
"sources": [
{
"id": "hrrr",
"attribution": "Data provided by NOAA/NWS",
"license": "public_domain"
}
]
}
}Changes
- info
added the optional property
alternativesto the response with the status - info
added the optional property
alternativesto the response with the status - info
added the optional property
alternativesto the response with the status
9 more changes in this revision
- info