links

POST /v1/content/run-schedules

Post to these sites every N hours.

Tutti gli endpoint links

Autenticazione

Invia una chiave API come bearer token. Questo endpoint non specifica un permesso specifico nella specifica, quindi assegna alla tua chiave i permessi minimi necessari e verifica la risposta invece di fare supposizioni.

Questo endpoint non richiede alcun ID organizzazione. La tua chiave identifica già l'organizzazione a cui appartiene e la risposta è limitata ad essa.

Provalo

Sostituisci qualsiasi elemento tra parentesi angolari con i tuoi valori e il segnaposto key con una chiave dalla tua dashboard.

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

Hai effettuato l'accesso? La console API nella tua dashboard inserisce il tuo ID organizzazione reale e la tua chiave personale, ed esegue la richiesta sull'API live in modo da poter vedere la risposta effettiva. Apri questo endpoint nella console API

Dettagli

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.

Corpo della richiesta

NomeTipoObbligatorioChe cos'è
briefstringNo
site_idsstring[]No
anchorsContentRunAnchor[]No
categorystringNo
publish_policyContentRunPublishPolicyNoHow far a run may go on its own. `draft_only` is the default and puts nothing live.
interval_hoursintegerNo
enabledbooleanNo
recipe_idstringNo

Risposta

NomeTipoObbligatorioChe cos'è
idstring
enabledboolean
interval_hoursinteger
next_run_atstring
last_run_atstringNo
last_run_idstringNo
briefstring
categorystringNo
publish_policyContentRunPublishPolicyHow far a run may go on its own. `draft_only` is the default and puts nothing live.
site_idsstring[]
recipe_idstringNo

Errori che questo endpoint può restituire

401 · 403 · 422