Authenticatie
Stuur een API-sleutel mee als bearer token. Dit eindpunt vermeldt geen specifieke toestemming in de specificatie, dus geef uw sleutel de minimale rechten die nodig zijn en controleer het antwoord in plaats van zomaar wat aan te nemen.
Dit eindpunt vereist geen organisatie-id. Uw sleutel identificeert al de organisatie waartoe deze behoort, en het antwoord is hierop afgestemd.
Probeer het
Vervang alles tussen punthaakjes door uw eigen waarden en de sleutelplaatsvervanger door een sleutel uit uw dashboard.
curl -X GET https://api.zinndigital.com/v1/content/runs \
-H "Authorization: Bearer zdk_live_…"Ingelogd? De API-console in je dashboard vult je echte organisatie-id en je eigen sleutel in, en voert het verzoek uit tegen de live API zodat je de daadwerkelijke respons kunt zien. Open dit eindpunt in de API-console
Details
Every run this organisation has started, newest first, each with its per-site outcomes. Gated on `links.view`. A **run** is one *"write this brief and put it on these sites"*. It executes as a durable Temporal workflow rather than on a request thread, so a provider outage, a rate limit or a worker restart pauses or retries it instead of losing it. The `state` says where it got to; `totals` says how many sites worked; `items` says what happened to each one and why.
Parameters
| Naam | Type | Verplicht | Wat dit is |
|---|---|---|---|
state (query) | ContentRunState | Nee | Only runs in this state. |
limit (query) | integer | Nee | — |
offset (query) | integer | Nee | — |
Reactie
| Naam | Type | Verplicht | Wat dit is |
|---|---|---|---|
items | ContentRun[] | Ja | — |
total | integer | Ja | — |
offset | integer | Ja | — |
limit | integer | Ja | — |
has_more | boolean | Ja | — |
Fouten die dit eindpunt kan retourneren
401 · 403