Get a named location

Get one named location's description, the area codes it's made from and its bounds.

get
/locations/{location-id}
  • location-idstringrequired

    A curated named location id from GET /v1/locations, e.g. greater-manchester.

  • asOfstringoptional

    Select the member codes effective on this date. Omit it to return the complete dated definition.

  • includestring[]optional

    capabilities lists, under capabilities, 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. A partial direct view contains some, but not all, listed member codes. A not-built result identifies a deployment that has not loaded the projection inventory.

    One ofcapabilities

Returns

object

The 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.