API Documentation
Bridge data is available through the following API calls.
GET: /api/v1/bridges/:id(.json)
A specific bridge as well as it's status and active closure notices.

Parameters

{
  "id": {
    "required": true,
    "type": "Integer",
    "desc": "Bridge id."
  }
}
GET: /api/v1/bridges(.json)
List of bridges as well as their status and active closure notices.
GET: /api/v1/closures/active(.json)
Get all active closure notices, newest first.
GET: /api/v1/closures/inactive(.json)
Get all inactive closure notices, newest first.

Parameters

{
  "count": {
    "required": false,
    "type": "Integer",
    "desc": "Limit number of results.",
    "default": 5
  }
}
GET: /api/v1/closures/:id(.json)
Get a specific bridge closure notice.

Parameters

{
  "id": {
    "required": true,
    "type": "Integer",
    "desc": "Closure notice id."
  }
}
GET: /api/v1/closures(.json)
Get all closure notices, newest first.

Parameters

{
  "count": {
    "required": false,
    "type": "Integer",
    "desc": "Limit number of results.",
    "default": 5
  }
}
GET: /api/v1(.json)
Get help.
GET: /api(.json)
Current version of the api.