Single
Infrastructure & SPOF assessment โ projected into three named sub-objects sourced across partitions: nearest-feature distances, supply-shed shed, and the climate overlay.
Returns the latest infrastructure assessment for a single supply shed (404
when none exists).
โถRequest
โถMethod & Path
GET /assessments/sheds/:id/infrastructure
โถPath parameters
- id (uuid, required) โ The supply shed location ID.
โถIncludes
?include= | Adds | Why opt-in |
|---|---|---|
port_routes | port_routes on the resource โ the driving routes to the nearest port, as an array of routes, each a list of [lon, lat] vertices. | Up to three polylines of several hundred vertices each, so tens of KB per location. The key is omitted entirely without the include, so absent (not requested) is distinguishable from null (no routed port). |
port_routes is an include, not a sparse field: fields[assessment]=port_routes is a 400. ?include=port_routes composes with fields[assessment]= โ the routes are returned alongside whichever sub-objects were selected.
โถResponse
- 200 โ The supply shed's latest infrastructure assessment.
- 404 โ No such assessment for this supply shed, or not accessible.
The data shape matches one item from the Browse endpoint in this
folder โ see it for the full attribute table.
Required scope:
assessments:read