Ana içeriğe atla
GET
/
v1
/
alarms
/
geometries
/
neighbourhood
/
{neighbourhoodId}
Mahalle detayını getir
curl --request GET \
  --url https://api.iklim.co/v1/alarms/geometries/neighbourhood/{neighbourhoodId}
{
  "id": 55766,
  "name": "Beytepe",
  "polygon": {
    "coordinates": [
      {
        "lng": 32.857358,
        "lat": 39.93504
      },
      {
        "lng": 32.858,
        "lat": 39.9355
      }
    ]
  },
  "district": {
    "id": 557,
    "name": "Çankaya",
    "polygon": {
      "coordinates": [
        {
          "lng": 32.857358,
          "lat": 39.93504
        },
        {
          "lng": 32.858,
          "lat": 39.9355
        }
      ]
    },
    "city": {
      "id": 6,
      "name": "Ankara",
      "licensePlateCode": 6,
      "polygon": {
        "coordinates": [
          {
            "lng": 32.857358,
            "lat": 39.93504
          },
          {
            "lng": 32.858,
            "lat": 39.9355
          }
        ]
      }
    }
  }
}

Path Parameters

neighbourhoodId
integer
required

Mahalle ID

Response

İşlem başarılı

Mahalle sınır nesnesi

id
integer

Mahalle ID

Example:

55766

name
string

Mahalle adı

Example:

"Beytepe"

polygon
object

Coğrafi poligonu

district
object

İlçe sınır nesnesi