const host = await api.hosts.get(id);
host.current; // the deploy currently online
host.certificate; // "none" | "pending" | "active"
host.domains_; // the customer domains attachedhost = api.hosts.get(host_id)
host.current # the deploy currently online
host.certificate # "none" | "pending" | "active"
host.domains_ # the customer domains attachedهكذا يتم اتباع شهادة الـ
let host = await api.hosts.get(id);
while (host.certificate === "pending") {
await new Promise((r) => setTimeout(r, 10_000));
host = await api.hosts.get(id);
}import time
host = api.hosts.get(host_id)
while host.certificate == "pending":
time.sleep(10)
host = api.hosts.get(host_id)لا شيء يُعلمك. الولاية تُعاد قراءة عندما يقرأ المضيف، وهو ما يجعل المقياس القصير هو الشكل الصحيح بعد النشر على مستوى عنوان جديد.
هو ما هو موجود على الإنترنت
الوزع الذي يجيب الآن - الذي ليس دائماً أحدث ما يكون، بعد انت خلفية خلفية. الوزع (( هو التاريخ
الموازِق يأتي معه
domains.list() نفس الشيء مع طلب منه، وهو مفيد بعد إرفاقه.
الأخطاء
ويجيب مجهول الهوية على 404 بيانات - بما في ذلك حساب تابع لحساب آخر، وهو نفس الجواب عن قصد.