links

GET /v1/content/runs/{runId}

One run, with every site's outcome.

جميع نقاط نهاية links

المصادقة

أرسل مفتاح واجهة برمجة التطبيقات (API) كرمز حامل (bearer token). لا يحدد نقطة النهاية هذه إذنًا محددًا في المواصفات، لذا امنح مفتاحك الحد الأدنى الذي محتاجه وتحقق من الاستجابة بدلاً من الافتراض.

لا يقبل هذا الطرف أي معرف للمؤسسة. يحدد مفتاحك بالفعل المؤسسة التي ينتمي إليها، وتكون الاستجابة محصورة في نطاقها.

جربه الآن

استبدل أي شيء بين أقواس زاوية بقيمك الخاصة، والعنصر النائب للمفتاح بمفتاح من لوحة تحكمك.

curl -X GET https://api.zinndigital.com/v1/content/runs/{runId} \
  -H "Authorization: Bearer zdk_live_…"

هل سجلت الدخول؟ تقوم وحدة تحكم واجهة برمجة التطبيقات في لوحة التحكم الخاصة بك بربط معرف مؤسستك الحقيقي ومفتاحك الخاص، وتنفذ الطلب مقابل واجهة برمجة التطبيقات المباشرة لتتمكن من رؤية الاستجابة الفعلية. افتح هذه النهاية الطرفية في وحدة تحكم API

التفاصيل

The whole run screen in one call. Gated on `links.view`. 404 rather than 403 for a run in another tenant — a 403 would confirm the row exists.

المعلمات

الاسمالنوعمطلوبما هو هذا
runId (path)stringنعم

الاستجابة

الاسمالنوعمطلوبما هو هذا
idstringنعم
stateContentRunStateنعمWhere a run got to. `partial` is a real, honest, terminal answer and not a euphemism: some sites published and some did not, nothing is left to try, and the failures can be resu…
publish_policyContentRunPublishPolicyنعمHow far a run may go on its own. `draft_only` is the default and puts nothing live.
recipe_idstringلا
briefstringنعم
categorystringلا
post_idstringلاThe article this run wrote. Written once and reused for every site, so a resumed run places the SAME copy rather than paying for a second generation.
attemptintegerنعمWhich pass over the failures this is. 0 is the original run.
workflow_idstringلا
totalsContentRunTotalsنعم
reasonContentRunFailureReasonلا
providerstringلا
messagestringلاAn English sentence for the customer. Clients should render their own localised text from `reason` and fall back to this only for a code they do not know.
resumablebooleanنعمWhether a resume would actually do anything. False on a paused run with nothing failed — do not offer the button when this is false.
started_atstringلا
finished_atstringلا
created_atstringنعم
itemsContentRunItem[]نعم

الأخطاء التي يمكن أن تُرجعها نقطة النهاية هذه

401 · 403 · 404