links

POST /v1/content/run-schedules

Post to these sites every N hours.

すべての links エンドポイント

認証

ベアラー トークンとして API キーを送信します。このエンドポイントでは仕様に特定の権限が記載されていないため、キーに必要な最小限の権限を付与し、推測するのではなくレスポンスを確認してください。

このエンドポイントは組織IDを受け付けません。お使いのキーによって所属する組織がすでに特定されており、レスポンスはその組織にスコープされます。

試してみる

アングルブラケット内のすべてをご自身の値に置き換え、キーのプレースホルダーをご利用中のダッシュボードのキーに置き換えてください。

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

ログインしていますか?ダッシュボード内のAPIコンソールでは、実際の組織IDやお客様ご自身のキーが自動入力され、ライブAPIに対してリクエストが実行されるため、実際のレスポンスを確認することができます。 API コンソールでこのエンドポイントを開く

詳細

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.

リクエスト本文

名前タイプ必須これがその内容です
briefstringいいえ
site_idsstring[]いいえ
anchorsContentRunAnchor[]いいえ
categorystringいいえ
publish_policyContentRunPublishPolicyいいえHow far a run may go on its own. `draft_only` is the default and puts nothing live.
interval_hoursintegerいいえ
enabledbooleanいいえ
recipe_idstringいいえ

返信

名前タイプ必須これがその内容です
idstringはい
enabledbooleanはい
interval_hoursintegerはい
next_run_atstringはい
last_run_atstringいいえ
last_run_idstringいいえ
briefstringはい
categorystringいいえ
publish_policyContentRunPublishPolicyはいHow far a run may go on its own. `draft_only` is the default and puts nothing live.
site_idsstring[]はい
recipe_idstringいいえ

このエンドポイントが返すエラー

401 · 403 · 422