ai

GET /v1/ai/site-publications/{publicationId}

How far a publication has got.

Tutti gli endpoint ai

Autenticazione

Invia una chiave API come token di tipo bearer. La chiave deve disporre dell'autorizzazione sites.view; una chiave sprovvista di tale autorizzazione viene rifiutata con 403 anziché 404.

Questo endpoint non richiede alcun ID organizzazione. La tua chiave identifica già l'organizzazione a cui appartiene e la risposta è limitata ad essa.

Provalo

Sostituisci qualsiasi elemento tra parentesi angolari con i tuoi valori e il segnaposto key con una chiave dalla tua dashboard.

curl -X GET https://api.zinndigital.com/v1/ai/site-publications/{publicationId} \
  -H "Authorization: Bearer zdk_live_…"

Hai effettuato l'accesso? La console API nella tua dashboard inserisce il tuo ID organizzazione reale e la tua chiave personale, ed esegue la richiesta sull'API live in modo da poter vedere la risposta effettiva. Apri questo endpoint nella console API

Dettagli

`step` is the stage currently running and `steps` is the full ordered list, so a client renders progress without hardcoding the workflow's shape. `status` `held` is neither success nor failure: the generated files are safe in the repository and nothing on the site was overwritten, because the destination held files we did not put there. The customer chooses which version wins on the site's sync screen. Do not retry a `held` publication automatically. Requires `sites.view`.

Parametri

NomeTipoObbligatorioChe cos'è
publicationId (path)Uuid

Risposta

NomeTipoObbligatorioChe cos'è
publicationSiteMakerPublication

Errori che questo endpoint può restituire

401 · 403 · 404 · 429