Skip to content

Latest commit

 

History

History
45 lines (39 loc) · 1.5 KB

File metadata and controls

45 lines (39 loc) · 1.5 KB
description Public Notices are contributed directly into Drupal by Content-Editors. This endpoint provides filtered and sorted lists of Public Notices.

Public Notices

{% swagger baseUrl="https://www.boston.gov" path="/api/v2/public-notices" method="get" summary="Public Notices." %} {% swagger-description %} This endpoint provides a listing of the next 30 public notices which started in the last 3 hours or will start at some time in the future. {% endswagger-description %}

{% swagger-response status="200" description="Listing of filtered public notices." %}

[
    {
        "is_testimony":"1",
        "id":"54401",
        "testimony_time":"",
        "title":"<a href=\"/public-notices/54401\">Zoning Board of Appeal hearing</a>",
        "location_name":"Boston City Hall",
        "location_room":"Room 801",
        "location_street":"1 City Hall Square",
        "canceled":"0",
        "notice_date":"January 15, 2019",
        "notice_time":"9:30am",
        "field_drawer":"<li>\n  <strong>\n  APPROVAL OF HEARING MINUTES:</strong>\n  \n  <p>December 11, 2018</p>\n  </li>\n",
        "body":"",
        "posted":"01/10/2019 - 9:06am"
    },
    {
      ....
    }
]

{% endswagger-response %} {% endswagger %}

Response Notes:

  • All response fields are always strings.
  • Blank (empty) fields are still provided as key:value pairs, with the value being an empty string ("") - the API does not use the keyword "null".
  • Title, body and field_drawer may contain basic HTML mark-up.