hosting
POST /v1/connector/backup/complete
Report a finished backup — called by the Zinn® WordPress connector plugin.
Упълномощаване
Този крайpoint е публичен. Той не изисква данни за удостоверяване и организация — това е съдържанието, което нашият собствен маркетинг сайт и AI машини за отговори четат.
Този ендпойнт не изисква идентификатор на организация. Вашият ключ вече идентифицира организацията, към която принадлежи, и отговорът е ограничен до нея.
Опитайте
Заменете всичко в квадратни скоби със собствени стойности, а ключовия заместващ символ – с ключ от вашето табло за управление.
curl -X POST https://api.zinndigital.com/v1/connector/backup/complete \
-H "Content-Type: application/json" \
-d '{ "job_id": <string>, "status": <string<uploaded, failed>> }'Влязохте ли в профила си? API конзолата във вашето табло за управление попълва действителното идентификационно число на вашата организация и вашия собствен ключ и изпълнява заявката спрямо реалното API, за да можете да видите действителния отговор. Отворете този крайpoint в API конзолата
Детайли
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.
Тяло на заявката
| Име | Тип | Задължително | Какво представлява |
|---|---|---|---|
job_id | string | Да | — |
status | string<uploaded, failed> | Да | — |
size_bytes | integer | Не | The plugin's own figure. A cross-check only — the recorded size comes from HEAD-ing the stored object. |
detail | string | Не | Why it failed. Kept for staff and never rendered to the customer: untranslated English that can carry a path from their server. |
Грешки, които този крайpoint може да върне
422 · 429