Skip to main content
GET
List municipalities and current officials

Autorisierungen

sessionid
string
cookie
erforderlich

Abfrageparameter

country_code
string[]

ISO 3166-1 alpha-2 country codes

country_code_exclude
string[]

Excluded ISO country codes

district
string

District code or name

official_code
string[]

One or more official municipality codes

official_role
enum<string>

Current municipal role

  • mayor - Mayor
  • vice_mayor - Vice Mayor
  • municipal_office_director - Municipal Office Director
  • municipal_councillor - Municipal Councillor
  • municipal_official - Municipal Official
Verfügbare Optionen:
mayor,
municipal_councillor,
municipal_office_director,
municipal_official,
vice_mayor
page
integer

A page number within the paginated result set.

q
string

Search by official code, municipality, district, region or official

state
string

State or region code or name

status
string

National municipality type code

uuid
string<uuid>[]

Municipality UUIDs

Antwort

200 - application/json
count
integer
erforderlich
Beispiel:

123

results
object[]
erforderlich
next
string<uri> | null
Beispiel:

"http://api.example.org/accounts/?page=4"

previous
string<uri> | null
Beispiel:

"http://api.example.org/accounts/?page=2"