Skip to main content
Menu

← सभी एंडपॉइंट

मल्टी-चेकपॉइंट API Online

एक ही अनुरोध में 20 तक चेकपॉइंट के लिए कतार स्थिति और डेटा ताज़ापन प्राप्त करें। कोटा ⌈(N PPID × उप-उत्पाद) / 2⌉ के रूप में गिना जाता है — समकक्ष व्यक्तिगत कॉल से 50% सस्ता है। दोनों डेटा सेट एक साथ प्राप्त करने के लिए include=queue,update-info का उपयोग करें।

GET https://nakordoni.eu/api/v1/data/multi — कोटा श्रेणी: heavy

पैरामीटरविवरण
ppidsComma-separated list of checkpoint IDs (required, max 20) — e.g. id_2,id_13,id_15,id_59
includeComma-separated sub-products to include: queue, update-info (default: queue,update-info)
langLanguage code for checkpoint names in queue responses (default: en)

रिस्पॉन्स फ़ील्ड — रिस्पॉन्स एनवेलप के data ऑब्जेक्ट के भीतर। [] सूची दर्शाता है, यानी data.items[].name हर एलिमेंट का name फ़ील्ड है। जिस फ़ील्ड का मान हमारे पास नहीं है वह null होता है, आता ही नहीं या खाली सूची होती है — प्लेसहोल्डर कभी नहीं।

फ़ील्डविवरण
data.<ppid>One object per requested checkpoint, keyed by ppid — not an array. A ppid you asked for that we do not monitor is absent.
data.<ppid>.queuePresent when include contains queue: found, queue_now, wait_min, wait_status, trend_percent, trend_direction, age_min, freshness, name, updated_at.
data.<ppid>.update_infoPresent when include contains update-info: found, timestamp, datetime, timezone, age_seconds, age_minutes, freshness, queue_now.
meta.ppids_requestedHow many ppids the call asked for (envelope level, beside data).
meta.units_consumedQuota units this call actually cost — ⌈(ppids × sub-products) / 2⌉.
curl "https://nakordoni.eu/api/v1/data/multi?ppids=id_2,id_13,id_15&include=queue,update-info&lang=en" \
  -H "Authorization: Bearer NKD-DEV-XXXX-XXXX-XXXX"
🔑 इस एंडपॉइंट को सैंडबॉक्स में लाइव आज़माने के लिए डेवलपर के रूप में लॉग इन करें — प्रतिदिन 50 निःशुल्क टेस्ट कॉल। लॉग इन