Bills
get/api/v1/Bills/{billId}

Request

  • Base URL
    https://bills-api.parliament.uk (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Path parameters

billIdinteger required

Bill with ID specified

Response

OK

billIdinteger
shortTitlestring nullable
formerShortTitlestring nullable
currentHouse'All' | 'Commons' | 'Lords' | 'Unassigned'
originatingHouse'All' | 'Commons' | 'Lords' | 'Unassigned'
lastUpdatestring date-time
billWithdrawnstring date-time nullable
isDefeatedboolean
billTypeIdinteger
introducedSessionIdinteger
includedSessionIdsinteger[] nullable
isActboolean
longTitlestring nullable
summarystring nullable
petitioningPeriodstring nullable
petitionInformationstring nullable

Changes

    • warning

      for the path request parameter billId, the min was set to 1.00

    • info

      added the optional property to the response with the status (media type: text/plain)

    • info

      added the optional property to the response with the status (media type: application/json)

    • info

      added the optional property to the response with the status (media type: text/json)