The /postcode lookup is really more a "point identifier" lookup.
We could add a PointType model, and add an endpoint that accepts it e.g. /point/postcode/B24QA or /point/uprn/10033544614 or similar. And/or add a /uprn endpoint and treat it specially.
Then it should be straightforward to import the UPRNs as a new set of point identifiers.
The
/postcode
lookup is really more a "point identifier" lookup.We could add a PointType model, and add an endpoint that accepts it e.g. /point/postcode/B24QA or /point/uprn/10033544614 or similar. And/or add a /uprn endpoint and treat it specially.
Then it should be straightforward to import the UPRNs as a new set of point identifiers.