links

POST /v1/content/run-schedules

Post to these sites every N hours.

Semua titik akhir links

Autentikasi

Kirimkan kunci API sebagai token bearer. Titik akhir ini tidak menyatakan izin tertentu dalam spesifikasi, jadi berikan kunci Anda izin minimum yang diperlukan dan periksa responsnya alih-alih berasumsi.

Endpoint ini tidak memerlukan id organisasi. Kunci Anda telah mengidentifikasi organisasi tempatnya berafiliasi, dan respons akan dibatasi untuk organisasi tersebut.

Coba

Ganti apa pun di dalam tanda kurung sudut dengan nilai Anda sendiri, dan placeholder kunci dengan kunci dari dasbor Anda.

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

Sudah masuk? Konsol API di dasbor Anda akan mengisi ID organisasi asli dan kunci Anda sendiri, serta menjalankan permintaan terhadap API langsung sehingga Anda dapat melihat respons aktualnya. Buka titik akhir ini di konsol API

Detail

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.

Isi permintaan

NamaJenisWajibTentang apa ini
briefstringTidak
site_idsstring[]Tidak
anchorsContentRunAnchor[]Tidak
categorystringTidak
publish_policyContentRunPublishPolicyTidakHow far a run may go on its own. `draft_only` is the default and puts nothing live.
interval_hoursintegerTidak
enabledbooleanTidak
recipe_idstringTidak

Tanggapan

NamaJenisWajibTentang apa ini
idstringYa
enabledbooleanYa
interval_hoursintegerYa
next_run_atstringYa
last_run_atstringTidak
last_run_idstringTidak
briefstringYa
categorystringTidak
publish_policyContentRunPublishPolicyYaHow far a run may go on its own. `draft_only` is the default and puts nothing live.
site_idsstring[]Ya
recipe_idstringTidak

Kesalahan yang dapat dikembalikan oleh titik akhir ini

401 · 403 · 422