links

GET /v1/content/runs/{runId}

One run, with every site's outcome.

Gbogbo àwọn links endpoints

Ì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 GET https://api.zinndigital.com/v1/content/runs/{runId} \
  -H "Authorization: Bearer zdk_live_…"

Ṣé 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ẹ̀

The whole run screen in one call. Gated on `links.view`. 404 rather than 403 for a run in another tenant — a 403 would confirm the row exists.

Àwọn ìpìlẹ̀

OrúkọIruTí a nílòKini o jẹ
runId (path)stringBẹẹni

Idahun

OrúkọIruTí a nílòKini o jẹ
idstringBẹẹni
stateContentRunStateBẹẹniWhere a run got to. `partial` is a real, honest, terminal answer and not a euphemism: some sites published and some did not, nothing is left to try, and the failures can be resu…
publish_policyContentRunPublishPolicyBẹẹniHow far a run may go on its own. `draft_only` is the default and puts nothing live.
recipe_idstringBẹẹkọ
briefstringBẹẹni
categorystringBẹẹkọ
post_idstringBẹẹkọThe article this run wrote. Written once and reused for every site, so a resumed run places the SAME copy rather than paying for a second generation.
attemptintegerBẹẹniWhich pass over the failures this is. 0 is the original run.
workflow_idstringBẹẹkọ
totalsContentRunTotalsBẹẹni
reasonContentRunFailureReasonBẹẹkọ
providerstringBẹẹkọ
messagestringBẹẹkọAn English sentence for the customer. Clients should render their own localised text from `reason` and fall back to this only for a code they do not know.
resumablebooleanBẹẹniWhether a resume would actually do anything. False on a paused run with nothing failed — do not offer the button when this is false.
started_atstringBẹẹkọ
finished_atstringBẹẹkọ
created_atstringBẹẹni
itemsContentRunItem[]Bẹẹni

Awọn aṣiṣe ti ibudo ipari yii le da pada

401 · 403 · 404