For developers
Connect your systems
Everything the pages do is available to other systems through a JSON interface, described in the OpenAPI standard so tools can read it directly. Map layers for GIS software are published separately with open map standards.
OpenAPI description
Generated from the same rules the platform checks requests with, so it always matches what the platform accepts.
Address of the description
Map layers for GIS
WMS, WFS and OGC API Features for ArcGIS Pro, ArcGIS Online, QGIS and others.
Use in ArcGIS and other GISWhat you can call
Reading published evidence needs no sign in. Anything that changes data needs the platform's sign in and the permission shown, the same as on the pages.
GET
/api/districtsDistricts and boroughs
Codes, names, areas and outlines of the districts, with their projections.
Open to anyone
GET
/api/tiles/{layer}/{z}/{x}/{y}Map tile
A Mapbox Vector Tile of one dataset at its current version, in Web Mercator, layer name "layer".
Open to anyone
POST
/api/site-checkCheck a site
Constraints, nearest stations, brownfield sites nearby and an indicative score for an outline given in longitude and latitude.
Open to anyone
GET
/api/scenariosList scenarios
Open to anyone
POST
/api/scenariosCreate a scenario
Needs sign in with the scenarios.edit permission
GET
/api/scenarios/{id}A scenario with its measures and sites
Open to anyone
DELETE
/api/scenarios/{id}Delete a scenario
Needs sign in with the scenarios.edit permission
POST
/api/scenarios/{id}/sitesAdd sites
Brownfield register sites by reference, all sites in a district, all sites near stations, or a new growth location.
Needs sign in with the scenarios.edit permission
DELETE
/api/scenarios/{id}/sitesRemove every site
Needs sign in with the scenarios.edit permission
PATCH
/api/scenarios/{id}/sites/{siteId}Change a site's homes or jobs
Needs sign in with the scenarios.edit permission
DELETE
/api/scenarios/{id}/sites/{siteId}Remove a site
Needs sign in with the scenarios.edit permission
GET
/api/scenarios/{id}/commentsComments on a scenario
Needs sign in with the scenarios.view permission
POST
/api/scenarios/{id}/commentsAdd a comment
On the whole scenario, or on one of its sites.
Needs sign in with the comments.write permission
PATCH
/api/scenarios/{id}/comments/{commentId}Resolve a comment
By its author, or by someone who may edit scenarios.
Needs sign in with the comments.write permission
POST
/api/uploadsCheck a file
GeoJSON or a zipped Shapefile, field "file", up to 50 MB. Returns the checks; nothing is published.
Needs sign in with the datasets.upload permission
GET
/api/uploads/{id}/previewChecked shapes
GeoJSON in longitude and latitude, for a preview.
Needs sign in with the datasets.upload permission
POST
/api/uploads/{id}/publishPublish a checked file
As a new dataset, or as the next version of a dataset the team added.
Needs sign in with the datasets.upload permission
GET
/api/trajectoriesHousing trajectories in use
One per district that has loaded one: the five years, homes per year and who loaded it.
Open to anyone
POST
/api/trajectoriesCheck or load a housing trajectory
CSV with site_reference, site_name, category and year_1 to year_5 (template at /trajectory-template.csv), plus district (ONS code) and startYear. Without confirm=1 the file is only checked. With it, a file that passes replaces the district's trajectory in use.
Needs sign in with the datasets.upload permission
DELETE
/api/trajectories/{district}Stop using a district's trajectory
The land supply goes back to the open data floor; the trajectory stays on record.
Needs sign in with the datasets.upload permission
GET
/api/projectsInfrastructure projects
Every project with its cost, money secured, stage and reach. With scenario, each project also lists that scenario's locations within its reach, which is what the investment ranking is built on.
Open to anyone
POST
/api/projectsAdd an infrastructure project
Cost and money secured are whole pounds; reachM is in metres. Refused with 422 when the place is outside the county.
Needs sign in with the scenarios.edit permission
PUT
/api/projects/{id}Change an infrastructure project
The place is kept unless lng and lat are given.
Needs sign in with the scenarios.edit permission
DELETE
/api/projects/{id}Remove an infrastructure project
Needs sign in with the scenarios.edit permission
POST
/api/assistantAsk the evidence assistant
Answers with the datasets and policy paragraphs it used. Every exchange is logged.
Needs sign in with the assistant.use permission
GET
/api/strategyThe strategy in one read
Its title, its policies, the timetable in effect and what the key diagram still lacks.
Open to anyone
PUT
/api/strategyChange the strategy's title or adoption day
The title must include the words spatial development strategy.
Needs sign in with the strategy.edit permission
GET
/api/strategy/policiesList policies
Open to anyone
POST
/api/strategy/policiesAdd a policy
Refused with 422 when the reference is already in use.
Needs sign in with the strategy.edit permission
PUT
/api/strategy/policies/{id}Change a policy
Refused with 422 when the reference is already in use.
Needs sign in with the strategy.edit permission
DELETE
/api/strategy/policies/{id}Remove a policy
Also removes what illustrates it on the key diagram.
Needs sign in with the strategy.edit permission
GET
/api/strategy/timetableThe timetable and its earlier versions
Every version, the one in effect first. With format=csv: the one in effect as a table, one line per stage.
Open to anyone
POST
/api/strategy/timetableRevise the timetable
Brings a new version into effect, with the reason for it. Refused with 422 and the list of problems when the dates are out of order, a stage is marked done on a day yet to come, or there are fewer than twelve weeks between publishing the draft and submitting it.
Needs sign in with the strategy.edit permission
GET
/api/strategy/diagramThe key diagram
Its elements and the check against regulation 5. With format=geojson: the placed elements as a FeatureCollection, for GIS.
Open to anyone
POST
/api/strategy/diagramAdd an element to the key diagram
A dataset layer, or a shape in longitude and latitude, that illustrates one policy. The shape must match the kind of element.
Needs sign in with the strategy.edit permission
DELETE
/api/strategy/diagram/{id}Remove an element from the key diagram
Needs sign in with the strategy.edit permission
GET
/api/strategy/monitoring-reportAnnual monitoring report
The figures as they stand today: every indicator, each policy set against its own, and the case for altering or replacing the strategy.
Open to anyone
PUT
/api/strategy/monitoring-reportSave the case for altering or replacing the strategy
For one report year.
Needs sign in with the strategy.edit permission
GET
/api/strategy/engagementEngagement with the consultation bodies
Open to anyone
POST
/api/strategy/engagementRecord an engagement
With which body, on what day and what came of it.
Needs sign in with the strategy.edit permission
DELETE
/api/strategy/engagement/{id}Remove an engagement record
Needs sign in with the strategy.edit permission
POST
/api/strategy/linksLink a policy to its justification
Ties a policy to a piece of evidence, a policy of the Framework, or an alternative that was considered. An alternative needs an outcome; other links have none.
Needs sign in with the strategy.edit permission
DELETE
/api/strategy/links/{id}Remove a link
Needs sign in with the strategy.edit permission
GET
/api/strategy/soundnessThe soundness trail
For each policy, what the record holds against the four tests of Framework policy PM14 and what is missing, and the content policy PM1(2) asks of a strategy set against what is in place.
Open to anyone
GET
/api/strategy/plan-dataThe strategy as open data
CSV in the shape of the approved data standard for plans. The address stays the same as the data changes.
Open to anyone
GET
/api/apportionmentSplit housing need between the districts
Returns the settings used, the arithmetic for each district and the options kept so far.
Open to anyone
POST
/api/apportionmentKeep an apportionment option
Keeps the settings as a named option, with the reason for it.
Needs sign in with the strategy.edit permission
PATCH
/api/apportionment/{id}Mark an option as preferred
Takes the mark off any other option. With preferred false the option is unmarked. The reason can be changed with it.
Needs sign in with the strategy.edit permission
DELETE
/api/apportionment/{id}Remove an option
Needs sign in with the strategy.edit permission
GET
/api/consultationThe consultation in hand
With the published representations (names only where the person agreed, never contact details) and the summary of the main issues once a planner has approved it.
Open to anyone
PUT
/api/consultationSet up or change the consultation
A change applies to the consultation in hand; add id "new" to start another one. Refused with 422 when the period is shorter than regulation 16 allows.
Needs sign in with the strategy.edit permission
GET
/api/consultation/representationsEvery representation in full
For the planning team: the copy that goes to the Secretary of State (regulation 17(1)(b)), with contact details.
Needs sign in with the strategy.edit permission
POST
/api/consultation/representationsMake a representation
Open to anyone while the consultation is open; a planner may add one that arrived by post or email at any time. Refused with 422 when the consultation is closed or the place is outside the county.
Open to anyone
PATCH
/api/consultation/representations/{id}Review a representation
Sets the text to publish, publishes or takes out of view, or files the representation under a policy.
Needs sign in with the strategy.edit permission
DELETE
/api/consultation/representations/{id}Remove a representation
Takes it off the record when the person withdraws it.
Needs sign in with the strategy.edit permission
GET
/api/consultation/noticesNotices to the consultation bodies
The day each body of regulation 15(2) was told the draft is published.
Needs sign in with the strategy.edit permission
PUT
/api/consultation/noticesRecord a notice
The day a body was notified; a null day takes the record away.
Needs sign in with the strategy.edit permission
GET
/api/consultation/summarySummary of the main issues
The latest summary, approved or not, for the planning team.
Needs sign in with the strategy.edit permission
POST
/api/consultation/summaryDraft a summary of the main issues
Asks the assistant for a draft, which is then checked against the representations. Refused with 422 when there is nothing to read.
Needs sign in with the strategy.edit permission
PUT
/api/consultation/summaryStore a written or edited summary
It goes through the same check as a draft from the assistant: each issue must rest on representations that exist. Refused with 422 when no issue stands.
Needs sign in with the strategy.edit permission
PATCH
/api/consultation/summaryApprove the summary
The latest summary is then the one that is published and submitted.
Needs sign in with the strategy.edit permission