Information about a council's climate commitments.

Includes both carbon reduction commitments and net zero ones. If the commitment is for net zero then has_promise will be true otherwise `false'

  • council - link to the council making the promise
  • has_promise - if the promise includes a commitment to net zero
  • target_year - the year the commitment is targeting
  • scope - if the commitment is limited to council operations or the whole council area
  • text - the text of the commitment
  • source - URL of the document the commitment comes from
  • source_name - name of the document the commitment comes from
GET /api/councils/SWA/commitments
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

[
    {
        "council": "http://data.climateemergency.uk/api/councils/SWA/",
        "has_promise": true,
        "target_year": 2030,
        "scope": "Council only",
        "text": "The council has pledged to become net zero by 2030.",
        "source": "https://www.swansea.gov.uk/CarbonBusSwansea",
        "source_name": "Zero Carbon | Swansea City Council"
    },
    {
        "council": "http://data.climateemergency.uk/api/councils/SWA/",
        "has_promise": true,
        "target_year": 2050,
        "scope": "Whole area",
        "text": "The council has pledged to become net zero by 2030 and for Swansea to be net zero by 2050.",
        "source": "https://www.swansea.gov.uk/CarbonBusSwansea",
        "source_name": "Zero Carbon | Swansea City Council"
    }
]