hosting

GET /v1/sites/{siteId}/cdn/swap

The site's most recent CDN move, and what it is waiting for.

כל נקודות הקצה מסוג hosting

כל תיעוד המפתחים

אימות

שלחו מפתח API כאסימון נושא (bearer token). על המפתח לכלול את הרשאה hosting.cdn.manage; מפתח שאינו כולל אותה יידחה בסטטוס 403, ולא 404.

נקודת קצה זו אינה דורשת מזהה ארגון. המפתח שלך כבר מזהה את הארגון שאליו הוא שייך, והתגובה מוגבלת אליו בלבד.

נסה זאת

החלף כל דבר בסוגריים זוויתיים בערכים משלך, ואת מציין מיקום המפתח במפתח מלוח הבקרה שלך.

curl -X GET https://api.zinndigital.com/v1/sites/{siteId}/cdn/swap \
  -H "Authorization: Bearer zdk_live_…"

מחובר? קונסולת ה-API בלוח הבקרה שלך מזינה את מזהה הארגון האמיתי שלך ואת המפתח שלך, ומריצה את הבקשה מול ה-API הפיזי כך שתוכל לראות את התגובה בפועל. פתח נקודת קצה זו במסוף ה-API

פרטים

The latest CDN move for this site, or null if there has never been one — not a 404, because "this site has never been moved" is a normal state and a 404 could not be told apart from "no such site". ⭐ The field to render is nameservers. While status is awaiting_delegation the move is complete on our side and waiting on your registrar: both edges serve the site throughout, and nothing is removed until the new nameservers are observed answering. Requires hosting.cdn.manage.

פרמטרים

שםסוגנדרשמה זה
siteId (path)UuidכןSite ID (UUIDv7).

תשובה

שםסוגנדרשמה זה
dataCdnSwap | nullכן

שגיאות שנקודה קצה זו עשויה להחזיר

401 · 403 · 404 · 429