Publications

Return publications, optionally filtered by display date range and house.

Changed on
get/api/v1/Publications

Request

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

Query parameters

dateFromstring date-time required

Required. Publications with a display date on or after this day. Any time part is ignored.

dateTostring date-time

Optional. Publications with a display date on or before this day. Any time part is ignored. Defaults to dateFrom, returning a single day.

house'All' | 'Commons' | 'Lords' | 'Unassigned'

Publications relating to the house specified.

Response

OK

idinteger
titlestring nullable
displayDatestring date-time

Changes

    • breaking

      added the new required query request parameter dateFrom

    • warning

      deleted the query request parameter date

    • info

      added the new optional query request parameter dateTo

    • info

      added the new optional query request parameter house

    • 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)

    • info

      endpoint added