law
get/api/v1/law/{id}/

Request

  • The document declares no server URL.
  • Auth: one of:
    • API key in cookie sessionid
    • none

Path parameters

idinteger required

A unique integer value identifying this Freedom of Information Law.

Query parameters

format'csv' | 'json'

Response

resource_uristring uri required
idinteger required
namestring required
slugstring required
descriptionstring required
long_descriptionstring required
law_typestring
createdstring date nullable
request_notestring required
request_note_htmlstring required
metaboolean
site_urlstring required
jurisdictionstring uri required
email_onlyboolean
mediatorstring uri required
priorityinteger
urlstring
max_response_timeinteger nullable
requires_signatureboolean
letter_startstring required
letter_endstring required
last_modified_atstring required
refusal_reasonsstring required
legal_textstring required
combinedstring[] required

Changes

    • info

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

    • info

      added the required property to the response with the status (media type: text/csv)

    • breaking

      for the path request parameter id, the type changed from string to integer

    • breaking

      added to the response property oneOf list for the response status (media type: application/json)

    • breaking

      added to the response property oneOf list for the response status (media type: text/csv)

    • breaking

      the response's property type changed from string to no type for status (media type: application/json)

    • warning

      deleted the query request parameter id

    • warning

      deleted the query request parameter jurisdiction

    • warning

      deleted the query request parameter mediator

    • warning

      deleted the query request parameter meta

    • warning

      deleted the query request parameter q

    • info

      api operation id retrieveFoiLaw removed and replaced with law_retrieve

    • info

      the endpoint scheme security cookieAuth was added to the API

    • info

      api tag law added

    • info

      api tag api removed

    • info

      added the new optional query request parameter format

    • info

      the response property became required for the status (media type: application/json)

    • info

      the response property became required for the status (media type: text/csv)

    • info

      the response property became required for the status (media type: application/json)

    • info

      the response property became required for the status (media type: text/csv)

    • info

      the response property became required for the status (media type: application/json)

    • info

      the response property became required for the status (media type: text/csv)

    • info

      the response property became required for the status (media type: application/json)

    • info

      the response property became required for the status (media type: text/csv)

    • info

      the response property became required for the status (media type: application/json)

    • info

      the response property became required for the status (media type: text/csv)

    • info

      the response property became required for the status (media type: application/json)

    • info

      the response property became required for the status (media type: text/csv)

    • info

      the response property became required for the status (media type: application/json)

    • info

      the response property became required for the status (media type: text/csv)

    • info

      the response property became required for the status (media type: application/json)

    • info

      the response property became required for the status (media type: text/csv)

    • info

      the response property became required for the status (media type: application/json)

    • info

      the response property became required for the status (media type: text/csv)

    • info

      the response property became required for the status (media type: application/json)

    • info

      the response property became required for the status (media type: text/csv)

    • info

      the response property became required for the status (media type: application/json)

    • info

      the response property became required for the status (media type: text/csv)

    • info

      the response property became required for the status (media type: application/json)

    • info

      the response property became required for the status (media type: text/csv)

    • info

      the response property became required for the status (media type: application/json)

    • info

      the response property became required for the status (media type: text/csv)

    • info

      the response property became required for the status (media type: application/json)

    • info

      the response property became required for the status (media type: text/csv)

    • info

      the response property became required for the status (media type: application/json)

    • info

      the response property became required for the status (media type: text/csv)

    • info

      removed the day enum value from the response property for the response status (media type: application/json)

    • info

      removed the day enum value from the response property for the response status (media type: text/csv)

    • info

      removed the month_de enum value from the response property for the response status (media type: application/json)

    • info

      removed the month_de enum value from the response property for the response status (media type: text/csv)

    • info

      removed the working_day enum value from the response property for the response status (media type: application/json)

    • info

      removed the working_day enum value from the response property for the response status (media type: text/csv)