hosting
POST /v1/connector/backup/complete
Report a finished backup — called by the Zinn® WordPress connector plugin.
Autentizace
Tento koncový bod je veřejný. Nevyžaduje žádná pověření ani organizaci – je to to, co čte náš vlastní marketingový web a naše AI vyhledávače.
Tento koncový bod nevyžaduje žádné ID organizace. Váš klíč již identifikuje organizaci, ke které patří, a odpověď je na ni omezena.
Vyzvednout
Nahraďte cokoli v závorkách vlastními hodnotami a zástupný symbol klíče klíčem z vašeho řídicího panelu.
curl -X POST https://api.zinndigital.com/v1/connector/backup/complete \
-H "Content-Type: application/json" \
-d '{ "job_id": <string>, "status": <string<uploaded, failed>> }'Přihlášeni? Konzole API ve vašem dashboardu automaticky doplní vaše skutečné ID organizace i váš vlastní klíč a odešle požadavek na živé API, abyste viděli reálnou odpověď. Otevřete tento koncový bod v konzoli API
Podrobnosti
Settles the job the plugin claimed. Same bearer token, same silent treatment of an unknown one. ⛔ **The reported `size_bytes` is a cross-check, not the record.** We HEAD the stored object ourselves, because a truncated upload that reports success is indistinguishable from a good one until somebody tries to restore it — and because a site could otherwise report `uploaded` having written nothing, leaving a restore button over an object that does not exist. A `failed` report settles the row so it is not left running for ever. The detail is kept for staff and never shown to the customer: it is untranslated English and can carry a filesystem path from their server.
Tělo požadavku
| Název | Typ | Požadováno | Co to je |
|---|---|---|---|
job_id | string | Ano | — |
status | string<uploaded, failed> | Ano | — |
size_bytes | integer | Ne | The plugin's own figure. A cross-check only — the recorded size comes from HEAD-ing the stored object. |
detail | string | Ne | Why it failed. Kept for staff and never rendered to the customer: untranslated English that can carry a path from their server. |
Chyby, které může tento koncový bod vrátit
422 · 429