Highwaysengland
Highwaysengland is an API for accessing information related to England's major road and highway network.
- Base URL:
https://webtris.highwaysengland.co.uk/api - Auth:
bearer(pass your key via theapiKeyinput)
Operations
areas_get— GET /v{version}/areas — Returns list of areasget_v_version_areas_area_ids— GET /v{version}/areas/{area_Ids} — Returns details of selected areaquality_getdailydataqualityforsite— GET /v{version}/quality/daily — Get Site DailyQualityquality_getoveralldataqualityforsites— GET /v{version}/quality/overall — Get Site OverallQualityreports_index— GET /v{version}/reports/{report_type} — Gets the daily report.get_v_version_reports_start_date_to_end_date_rep— GET /v{version}/reports/{start_date}/to/{end_date}/{report_type} — Gets the daily report.
Inputs
apiKey— your highwaysengland API keyoperation— one of the operations above- path parameters when an operation's path contains
{...} query— optional JSON object of query paramsbody— JSON object for create/update ops
Example
operation: areas_get
apiKey: <your key>
Publishes
The keys a later task may reference as {{taskName.key}}. Referencing anything not listed here resolves to nothing at run time.
erroroperationresultstatus
Input Properties
Every property this tool accepts, from its own tool.iml.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
apiKey |
string | yes | — | DEPRECATED — bind an API Key credential to the task with credentialName instead. A key pasted here is stored in the workflow definition in clear and appears in every export of it. Still honoured for workflows built before the change. |
operation |
string | yes | — | One of: areas_get, get_v_version_areas_area_ids, quality_getdailydataqualityforsite, quality_getoveralldataqualityforsites, reports_index, get_v_version_reports_start_date_to_end_date_rep |
area_Ids |
string | no | — | Path parameter area_Ids (required by some operations). |
end_date |
string | no | — | Path parameter end_date (required by some operations). |
report_type |
string | no | — | Path parameter report_type (required by some operations). |
start_date |
string | no | — | Path parameter start_date (required by some operations). |
version |
string | no | — | Path parameter version (required by some operations). |
query |
string | no | — | Optional query params as a JSON object string, e.g. {"limit": 10}. |