links

GET /v1/content/runs/{runId}

One run, with every site's outcome.

Dukkan links wuraren ƙarshe

Tabbatar da Asali

Aiko da maɓallin API a matsayin bearer token. Wannan ma'anar ba ta bayyana takamaiman izini ba a cikin ƙayyadaddun bayanai, don haka ba wa maɓallin ku mafi ƙarancin abin da yake buƙata kuma ku bincika amsar maimakon yin zato.

Wannan wurin ƙarewa ba ya buƙatar ID na ƙungiya. Maɓallin ku ya riga ya gano ƙungiyar da yake ciki, kuma an iyakance amsa a kanta.

Gwada

May gurbin komai da ke cikin kusurwa da ƙimar ka, kuma may gurbin maballi da maballi daga allon sarrafa ka.

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

An shiga? Na'urar sarrafa API da ke cikin sashin kulawarka tana cika ainihin lambar ƙungiyarka da maɓallinka naka, sannan tana gudanar da buƙatar a kan ainihin API don haka zaka iya ganin amsar gaske. Buɗe wannan tashar a cikin na'urar kula da API

Bayani

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.

Sigogi

SunaNau'iAna buƙataAbin da yake
runId (path)stringEh

Martani

SunaNau'iAna buƙataAbin da yake
idstringEh
stateContentRunStateEhWhere 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_policyContentRunPublishPolicyEhHow far a run may go on its own. `draft_only` is the default and puts nothing live.
recipe_idstringA'a
briefstringEh
categorystringA'a
post_idstringA'aThe 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.
attemptintegerEhWhich pass over the failures this is. 0 is the original run.
workflow_idstringA'a
totalsContentRunTotalsEh
reasonContentRunFailureReasonA'a
providerstringA'a
messagestringA'aAn 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.
resumablebooleanEhWhether a resume would actually do anything. False on a paused run with nothing failed — do not offer the button when this is false.
started_atstringA'a
finished_atstringA'a
created_atstringEh
itemsContentRunItem[]Eh

Kuskuren da wannan matsaya za ta iya maido wa

401 · 403 · 404