Get a named location
Get one named location's description, the area codes it's made from and its bounds.
/locations/{location-id}location-idstringrequiredA curated named location id from
GET /v1/locations, e.g.greater-manchester.
asOfstringoptionalSelect the member codes effective on this date. Omit it to return the complete dated definition.
includestring[]optionalcapabilitieslists, undercapabilities, the compiled releases where the location's member codes can be read directly (direct), plus each materialised crosswalk view into those members (members) and out to its parents (parents). A view is a link with the exact geography, release and crosswalk to request; the API never chooses a crosswalk silently. Apartialdirect view contains some, but not all, listed member codes. Anot-builtresult identifies a deployment that has not loaded the projection inventory.One ofcapabilities
Returns
objectThe location's definition, source codes and bounds.
- 404No resource matches that identity.
Every error has the same shape. See Errors for how to handle them.