links

GET /v1/content/runs/{runId}

One run, with every site's outcome.

Sve links krajnje tačke

Autentifikacija

Pošaljite API ključ kao bearer token. Ova krajnja tačka ne navodi specifičnu dozvolu u specifikaciji, zato dodelite svom ključu minimum potrebnih ovlašćenja i proverite odgovor umesto da pretpostavljate.

Ovaj krajnji tačka ne prihvata ID organizacije. Vaš ključ već identifikuje organizaciju kojoj pripada, a odgovor je ograničen na nju.

Isprobajte

Zamenite bilo šta u uglastim zagradama sopstvenim vrednostima, a ključni placeholder sa ključem sa vaše kontrolne table.

curl -X GET https://api.zinndigital.com/v1/content/runs/{runId} \
  -H "Authorization: Bearer zdk_live_…"

Prijavljeni ste? API konzola na vašoj kontrolnoj tabli automatski popunjava ID vaše stvarne organizacije i vaš sopstveni ključ, i izvršava zahtev nad API-jem uživo tako da možete videti stvarni odgovor. Otvorite ovu krajnju tačku u API konzoli

Detalji

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.

Parametri

NazivVrstaObaveznoŠta je ovo
runId (path)stringDa

Odgovor

NazivVrstaObaveznoŠta je ovo
idstringDa
stateContentRunStateDaWhere 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_policyContentRunPublishPolicyDaHow far a run may go on its own. `draft_only` is the default and puts nothing live.
recipe_idstringNe
briefstringDa
categorystringNe
post_idstringNeThe 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.
attemptintegerDaWhich pass over the failures this is. 0 is the original run.
workflow_idstringNe
totalsContentRunTotalsDa
reasonContentRunFailureReasonNe
providerstringNe
messagestringNeAn 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.
resumablebooleanDaWhether a resume would actually do anything. False on a paused run with nothing failed — do not offer the button when this is false.
started_atstringNe
finished_atstringNe
created_atstringDa
itemsContentRunItem[]Da

Greške koje ovaj krajnji tačka može da vrati

401 · 403 · 404