curl --request GET \
--url https://api.ctrl-hub.com/v3/street-manager/permits/{permit_id}/versions \
--header 'X-Session-Token: <api-key>'{
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "<string>",
"attributes": {
"permit_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"work_reference_number": "<string>",
"permit_reference_number": "<string>",
"promoter_swa_code": "<string>",
"promoter_organisation": "<string>",
"highway_authority": "<string>",
"works_location_coordinates": {},
"street_name": "<string>",
"area_name": "<string>",
"proposed_start_date": "2023-11-07T05:31:56Z",
"proposed_end_date": "2023-11-07T05:31:56Z",
"proposed_start_time": "2023-11-07T05:31:56Z",
"proposed_end_time": "2023-11-07T05:31:56Z",
"actual_start_date_time": "2023-11-07T05:31:56Z",
"actual_end_date_time": "2023-11-07T05:31:56Z",
"usrn": 123,
"highway_authority_swa_code": "<string>",
"work_category_ref": "<string>",
"traffic_management_type_ref": "<string>",
"work_status_ref": "<string>",
"is_covid_19_response": true,
"works_location_type": [],
"permit_conditions": [
"<string>"
],
"road_category": 5,
"is_traffic_sensitive": true,
"is_deemed": true,
"town": "<string>",
"collaborative_working": true,
"collaboration_type_ref": "<string>",
"close_footway_ref": "<string>",
"current_traffic_management_type_ref": "<string>",
"current_traffic_management_update_date": "2023-11-07T05:31:56Z"
},
"meta": {
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
},
"relationships": {
"permit": {
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "<string>"
}
}
}
}
],
"meta": {
"pagination": {
"counts": {
"pages": 123,
"resources": 123
},
"current_page": 123,
"offsets": {
"next": 123,
"previous": 123
},
"requested": {
"limit": 123,
"offset": 123
}
},
"features": {
"include": {
"options": [
"<string>"
]
}
}
},
"jsonapi": {
"version": "<string>"
}
}List all of the street manager permit versions for a specific permit.
curl --request GET \
--url https://api.ctrl-hub.com/v3/street-manager/permits/{permit_id}/versions \
--header 'X-Session-Token: <api-key>'{
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "<string>",
"attributes": {
"permit_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"work_reference_number": "<string>",
"permit_reference_number": "<string>",
"promoter_swa_code": "<string>",
"promoter_organisation": "<string>",
"highway_authority": "<string>",
"works_location_coordinates": {},
"street_name": "<string>",
"area_name": "<string>",
"proposed_start_date": "2023-11-07T05:31:56Z",
"proposed_end_date": "2023-11-07T05:31:56Z",
"proposed_start_time": "2023-11-07T05:31:56Z",
"proposed_end_time": "2023-11-07T05:31:56Z",
"actual_start_date_time": "2023-11-07T05:31:56Z",
"actual_end_date_time": "2023-11-07T05:31:56Z",
"usrn": 123,
"highway_authority_swa_code": "<string>",
"work_category_ref": "<string>",
"traffic_management_type_ref": "<string>",
"work_status_ref": "<string>",
"is_covid_19_response": true,
"works_location_type": [],
"permit_conditions": [
"<string>"
],
"road_category": 5,
"is_traffic_sensitive": true,
"is_deemed": true,
"town": "<string>",
"collaborative_working": true,
"collaboration_type_ref": "<string>",
"close_footway_ref": "<string>",
"current_traffic_management_type_ref": "<string>",
"current_traffic_management_update_date": "2023-11-07T05:31:56Z"
},
"meta": {
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
},
"relationships": {
"permit": {
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "<string>"
}
}
}
}
],
"meta": {
"pagination": {
"counts": {
"pages": 123,
"resources": 123
},
"current_page": 123,
"offsets": {
"next": 123,
"previous": 123
},
"requested": {
"limit": 123,
"offset": 123
}
},
"features": {
"include": {
"options": [
"<string>"
]
}
}
},
"jsonapi": {
"version": "<string>"
}
}Documentation Index
Fetch the complete documentation index at: https://docs.ctrl-hub.com/llms.txt
Use this file to discover all available pages before exploring further.
Session token for authentication.
The unique identifier for the street manager permit.
Limit the number of resources returned by the API
x >= 1Offset the resources returned by the API
x >= 0