Get a single district
Request
- Base URL: https://go.lts.it/api
- URL: https://go.lts.it/api/v1/districts/{rid}
- Auth: one of:
- HTTP basic and API key in header X-LTS-ClientID
- HTTP bearer
Path parameters
Query parameters
The API's filter parameter enables data filtering. To apply multiple filters, connect them using & e.g filter[a]=1&filter[b]=test. The available filters are: <br>filter[aroundPosition][coordinates] Coordinates filter for around position. Rules:multiple, required_with:aroundPosition.radiusInMeters<br>filter[language] Filter by language. Rules:string, in:cs,de,en,nl,fr,it,pl,ru
{
"aroundPosition": {
"coordinates": "Fugit est."
},
"language": "ru"
}Selects which fields (i.e., attributes or relationships) should be present in returned resource. To exclude a field, add a "-" before its value. Multiple fields can be passed separated by a comma ",". If only "rid" or "id" is passed, pagination size is unlimited by default. (e.g. rid,lastUpdate,code,municipality.rid,name.cs,name.de,name.en,name.fr,name.it,name.nl,name.pl,name.ru).
The preferred language for the API response. Available options include cs, de, en, nl, fr, it, pl, and ru. Note If no language is specified, the API response will include all available languages. Only one language can be passed at a time.
Response
successful operation
Example response
{
"success": true,
"data": {
"rid": "4D82579D0664F27E4862E55241A9E6F1",
"lastUpdate": "1995-10-22T01",
"code": "Non.",
"municipality": {
"rid": "A6152BF19EFDC897DF486108723AEC33"
},
"name": {
"cs": "Quia.",
"de": "Harum et.",
"en": "Dolor voluptas.",
"fr": "Dolore.",
"it": "Eos.",
"nl": "Iste optio.",
"pl": "Qui vitae.",
"ru": "Omnis."
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.