links
PATCH /v1/content/run-schedules/{scheduleId}
Change or pause a cadence.
Ì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 PATCH https://api.zinndigital.com/v1/content/run-schedules/{scheduleId} \
-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ẹ̀
Any subset of the fields. Setting `enabled` to false stops future runs and leaves every run it has already made alone. Gated on `links.edit`.
Àwọn ìpìlẹ̀
| Orúkọ | Iru | Tí a nílò | Kini o jẹ |
|---|---|---|---|
scheduleId (path) | string | Bẹẹni | — |
Akoonu ibeere naa
| Orúkọ | Iru | Tí a nílò | Kini o jẹ |
|---|---|---|---|
brief | string | Bẹẹkọ | — |
site_ids | string[] | Bẹẹkọ | — |
anchors | ContentRunAnchor[] | Bẹẹkọ | — |
category | string | Bẹẹkọ | — |
publish_policy | ContentRunPublishPolicy | Bẹẹkọ | How far a run may go on its own. `draft_only` is the default and puts nothing live. |
interval_hours | integer | Bẹẹkọ | — |
enabled | boolean | Bẹẹkọ | — |
recipe_id | string | Bẹẹkọ | — |
Idahun
| Orúkọ | Iru | Tí a nílò | Kini o jẹ |
|---|---|---|---|
id | string | Bẹẹni | — |
enabled | boolean | Bẹẹni | — |
interval_hours | integer | Bẹẹni | — |
next_run_at | string | Bẹẹni | — |
last_run_at | string | Bẹẹkọ | — |
last_run_id | string | Bẹẹkọ | — |
brief | string | Bẹẹni | — |
category | string | Bẹẹkọ | — |
publish_policy | ContentRunPublishPolicy | Bẹẹni | How far a run may go on its own. `draft_only` is the default and puts nothing live. |
site_ids | string[] | Bẹẹni | — |
recipe_id | string | Bẹẹkọ | — |
Awọn aṣiṣe ti ibudo ipari yii le da pada
401 · 403 · 404 · 422