Get an area's relationships
See how an area relates to others through published crosswalks: what it sits within, what it contains, what it replaced or was replaced by, and what it overlaps.
/areas/{geography}/{release}/{code}/relationshipsgeographystringrequiredA geography type id, e.g.
constituencyorward.releasestringrequiredA boundary release id, e.g.
2024-07-uk-bgc, orlatestfor the geography's newest release: the one/boundary-releases:resolvechooses for the furthest date. A response tolatestnames the release it read inContent-Location. A geography whose newest month holds several releases that differ in more than coverage, or that has a release whose id carries no month, is refused with409and the releases that could be newest.codestringrequiredThe official source code for this area on this boundary release.
Returns
AreaRelationshipsEnvelopeThe area identity and its published relationship edges.
apiVersionv1requiredatlasReleasestringrequiredThe immutable
/atlas-releasereleaseIdfor the artifacts that produced this response.metaobjectrequiredShowHide1 child field
nextCursorstring | nullrequiredOpaque cursor for the next page, or null at the end.
dataAreaWithRelationshipsrequiredShowHide8 child fields
idstringrequiredgeographystringrequiredboundaryReleasestringrequiredcodestringrequirednamestringrequiredaliasesstring[]optionalrelationshipsAreaRelationship[]requiredShowHide4 child fields
relationenumrequiredOne ofwithincontainssuccessorpredecessorsplit-frommerged-fromequivalent-tooverlapsoverlapobjectoptionalPresent only for
overlapsrelationships. Each share is seen from this area's side:shareOfAreais the overlap as a share of this area andshareOfCounterpartas a share of the counterpart.ShowHide3 child fields
areaM2integerrequiredshareOfAreanumberrequiredshareOfCounterpartnumberrequired
counterpartobjectrequiredShowHide5 child fields
idstringrequiredgeographystringrequiredboundaryReleasestringrequiredcodestringrequiredlabelsstring[]required
crosswalkobjectrequiredShowHide4 child fields
idstringrequiredmethodCrosswalkMethodrequiredofficial-lookupandclean-containmentread an explicit code pair from a published file.area-overlapintersects the two releases' boundary geometries and weights each source by the area it shares with each target.population-overlapreweights an area-overlap crosswalk's pairs by the residents of the building blocks in each.geometric-containmentderives a hierarchy from geometry where no publisher lookup carries it.best-fitnames, for each child, the one parent holding most of its area where the two do not nest.extent-continuitypairs the codes two releases of one geography share, as identity only where their geometries differ by no more than generalisation slivers.One ofofficial-lookupclean-containmentarea-overlappopulation-overlapgeometric-containmentbest-fitextent-continuityqualityCrosswalkQualityrequiredpublisher-suppliedmappings restate a publisher's own correspondence.derivedmappings are computed by the Atlas.One ofpublisher-suppliedderivedweightingCrosswalkWeightingrequired
childSelectionobjectoptionalPresent on the children route.
contemporaryselects the child release current at the parent's release month;releaserecords an exact child geography/release filter.
- 404No resource matches that identity.
- 503The referenced build artifact has not been built yet.
Every error has the same shape. See Errors for how to handle them.
Show the precise behaviourHide the precise behaviour
Returns only relationships from published crosswalks. A clean-containment mapping is represented as within from child to parent and contains in reverse. An official historical lookup is represented as successor from source to target and predecessor in reverse; a one-to-many lookup is split-from on each new area and a many-to-one lookup is merged-from on the new area. An extent-continuity crosswalk is equivalent-to in both directions. An area-overlap mapping is represented as overlaps in both directions, with the shared area and its share of each side.