Skip to main content
GET
/
building
/
{id}
/
violations
Get HPD violations
curl --request GET \
  --url https://borough.qwady.app/v1/building/{id}/violations \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "violationId": "<string>",
      "status": "<string>",
      "class": "<string>",
      "description": "<string>",
      "date": "2023-12-25"
    }
  ],
  "meta": {
    "dataAge": "2023-11-07T05:31:56Z",
    "source": "cached",
    "freshnessThreshold": 123,
    "refreshTriggered": true
  }
}

Authorizations

Authorization
string
header
required

Polar.sh license key. Format: BOROUGH-<uuid>

Path Parameters

id
string
required

Building ID

Response

HPD violations list

data
object[]
meta
object