links

POST /v1/content/run-schedules

Post to these sites every N hours.

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

אימות

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

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

נסה זאת

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

curl -X POST https://api.zinndigital.com/v1/content/run-schedules \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{  }'

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

פרטים

Creates a cadence. The first run happens one interval from now, not immediately — a customer setting up a daily schedule at 4pm expects one tomorrow, not one before they have finished reading the form. Gated on `links.edit`. The cadence is served by a durable workflow on the worker, not by a job that calls this API back, so a scheduled run behaves identically to one started by hand. Minimum interval is one hour: anything finer on a private network is a footprint.

גוף הבקשה

שםסוגנדרשמה זה
briefstringלא
site_idsstring[]לא
anchorsContentRunAnchor[]לא
categorystringלא
publish_policyContentRunPublishPolicyלאHow far a run may go on its own. `draft_only` is the default and puts nothing live.
interval_hoursintegerלא
enabledbooleanלא
recipe_idstringלא

תשובה

שםסוגנדרשמה זה
idstringכן
enabledbooleanכן
interval_hoursintegerכן
next_run_atstringכן
last_run_atstringלא
last_run_idstringלא
briefstringכן
categorystringלא
publish_policyContentRunPublishPolicyכןHow far a run may go on its own. `draft_only` is the default and puts nothing live.
site_idsstring[]כן
recipe_idstringלא

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

401 · 403 · 422