links

POST /v1/content/run-schedules

Post to these sites every N hours.

Gbogbo àwọn links endpoints

Ìfàṣẹ́pọ̀

Fi bọ́kì kọ́kọ́ (bearer token) ránṣẹ́ gẹ́gẹ́ bí àmì ìdánimọ̀ API. Ibùdó yìí kò sọ àṣẹ pàtó kan nínú àlàyé rẹ̀, nítorí náà fún kọ́kọ́ rẹ̀ ní ohun tó kéré jù lọ tí ó nílò kí o sì ṣàyẹ̀wò ìdáhùn náà dípò kí o kàn rò ó.

Ojú abánisọ̀rọ̀ yìí kò gba id ajọ kankan. Kọ́kọ́rọ́ rẹ ti mọ ajọ ti o jẹ ti e, a o si fèsì nipa rẹ̀.

Gbiyanju rẹ

Rọ́pọ̀ èyíkéyìí nínú àwọn àmì ìtọ́ka < > pẹ̀lú iye tirẹ̀, àti àmì ìdánimọ̀ bọ́tìnnì náà pẹ̀lú bọ́tìnnì kan láti inú dásibọ̀ọ̀dù rẹ.

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

Ṣé o ti wọlé? Iwọ̀n api ní nú ìgbékalẹ̀ rẹ kún id àjọ gidi rẹ ati bọtini tirẹ, o si nṣiṣẹ ibeere na lòdì si api gidi ki o le rii esi gidi na. Ṣí ojú abáná yìí sílẹ̀ nínú kọnsólù API

Àwọn kúlẹ̀kúlẹ̀

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.

Akoonu ibeere naa

OrúkọIruTí a nílòKini o jẹ
briefstringBẹẹkọ
site_idsstring[]Bẹẹkọ
anchorsContentRunAnchor[]Bẹẹkọ
categorystringBẹẹkọ
publish_policyContentRunPublishPolicyBẹẹkọHow far a run may go on its own. `draft_only` is the default and puts nothing live.
interval_hoursintegerBẹẹkọ
enabledbooleanBẹẹkọ
recipe_idstringBẹẹkọ

Idahun

OrúkọIruTí a nílòKini o jẹ
idstringBẹẹni
enabledbooleanBẹẹni
interval_hoursintegerBẹẹni
next_run_atstringBẹẹni
last_run_atstringBẹẹkọ
last_run_idstringBẹẹkọ
briefstringBẹẹni
categorystringBẹẹkọ
publish_policyContentRunPublishPolicyBẹẹniHow far a run may go on its own. `draft_only` is the default and puts nothing live.
site_idsstring[]Bẹẹni
recipe_idstringBẹẹkọ

Awọn aṣiṣe ti ibudo ipari yii le da pada

401 · 403 · 422