ai

GET /v1/ai/site-publications/{publicationId}

How far a publication has got.

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

אימות

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

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

נסה זאת

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

curl -X GET https://api.zinndigital.com/v1/ai/site-publications/{publicationId} \
  -H "Authorization: Bearer zdk_live_…"

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

פרטים

`step` is the stage currently running and `steps` is the full ordered list, so a client renders progress without hardcoding the workflow's shape. `status` `held` is neither success nor failure: the generated files are safe in the repository and nothing on the site was overwritten, because the destination held files we did not put there. The customer chooses which version wins on the site's sync screen. Do not retry a `held` publication automatically. Requires `sites.view`.

פרמטרים

שםסוגנדרשמה זה
publicationId (path)Uuidכן

תשובה

שםסוגנדרשמה זה
publicationSiteMakerPublicationכן

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

401 · 403 · 404 · 429