v1

latestOpenAPI 3.0.02026-07-1719430.3 KB
District

Get all districts

get/api/district

Response

idinteger

District ID

city_idinteger

City ID

namestring

District name

ibge_codestring

IBGE code

created_atstring

Creation date

updated_atstring

Update date

Example response

[
  {
    "id": 1,
    "city_id": 1,
    "name": "São Miguel",
    "created_at": "2022-01-01 00:00:00",
    "updated_at": "2022-01-01 00:00:00"
  }
]