links

POST /v1/content/run-schedules

Post to these sites every N hours.

Bütün links nöqtələri

Doğrulama

API açarını bearer token kimi göndərin. Bu səhifə spresifikasiyada xüsusi icazə tələb etmir, buna görə də açarınıza ehtiyac duyduğu minimum səviyyədə icazə verin və güman etmək əvəzinə cavabı yoxlayın.

Bu endpoint heç bir təşkilat ID-si tələb etmir. Sizin açarınız artıq aid olduğu təşkilatı müəyyən edir və cavab həmin təşkilat üçün məhdudlaşdırılır.

Sınaqdan keçir

Bucaqlı mötərizələrdə olan hór şeyi öz qiymətlərinizlə, açar yertutucusunu isə idarə panelinizdən bir açarla əvəz edin.

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

Sistemə daxil olmusunuz? İdarə panelinizdəki API konsolu real təşkilatınızın identifikatorunu və öz açarınızı avtomatik doldurur, sorğunu canlı API-yə qarşı icra edir ki, siz faktiki cavabı görə biləsiniz. Bu son nöqtəni API konsolunda açın

Təfərrüatlar

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.

Sorğu gövdəsi

AdTipTələb olunurNədir
briefstringXeyr
site_idsstring[]Xeyr
anchorsContentRunAnchor[]Xeyr
categorystringXeyr
publish_policyContentRunPublishPolicyXeyrHow far a run may go on its own. `draft_only` is the default and puts nothing live.
interval_hoursintegerXeyr
enabledbooleanXeyr
recipe_idstringXeyr

Cavab

AdTipTələb olunurNədir
idstringBəli
enabledbooleanBəli
interval_hoursintegerBəli
next_run_atstringBəli
last_run_atstringXeyr
last_run_idstringXeyr
briefstringBəli
categorystringXeyr
publish_policyContentRunPublishPolicyBəliHow far a run may go on its own. `draft_only` is the default and puts nothing live.
site_idsstring[]Bəli
recipe_idstringXeyr

Bu son nöqtənin qaytara biləcəyi xətalar

401 · 403 · 422