Canlı növbə və təzəlik API Online
Nəzarət məntəqəsinin son dəfə nə vaxt, hansı mənbədən yeniləndiyi və təzəlik reytinqi.
GET https://nakordoni.eu/api/v1/data/update-info
— kvota sinfi: cheap
| Parametr | Təsvir |
|---|---|
ppid | Nəzarət nöqtəsinin ID-si, məs. id_13 (bax /api/v1/data/checkpoints) |
lang | Dil kodu |
Cavab sahələri — cavab zərfindəki data obyektinin içində. [] siyahını bildirir, yəni data.items[].name hər elementin name sahəsidir. Dəyəri olmayan sahə null olur, ümumiyyətlə görünmür və ya boş siyahı qaytarır — heç vaxt doldurucu qoymuruq.
| Sahə | Təsvir |
|---|---|
data.queue_now | Vehicles in the queue at the latest reading. |
data.timestamp | When that reading was taken (unix), with datetime and timezone — the checkpoint's own zone. |
data.age_seconds | How old the reading is now, also as age_minutes and age_hours. |
data.freshness | Plain-language band for that age; is_realtime is true only for a live feed. |
data.found | false = we monitor the checkpoint but hold no reading; status carries the reason. |
data.origin | Which upstream the reading came from. |
curl "https://nakordoni.eu/api/v1/data/update-info?ppid=id_13" \ -H "Authorization: Bearer NKD-DEV-XXXX-XXXX-XXXX"
🔑 Bu son nöqtəni sınaq mühitində canlı yoxlamaq üçün developer kimi daxil olun — gündə 50 pulsuz test sorğusu. Giriş