hosting
POST /v1/connector/backup/complete
Report a finished backup — called by the Zinn® WordPress connector plugin.
Автентифікація
Ця кінцева точка є публічною. Вона не потребує жодних облікових даних чи організації — це те, що читають наш власний маркетинговий сайт та пошукові системи на основі штучного інтелекту.
Цей кінцевий пункт не потребує ідентифікатора організації. Ваш ключ уже ідентифікує організацію, якій він належить, і відповідь обмежується її межами.
Спробувати
Замініть усе в кутових дужках власними значеннями, а заповнювач ключа — ключем із вашої панелі керування.
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, щоб ви могли побачити справжню відповідь. Відкрийте цю кінцеву точку в консолі 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. |
Помилки, які може повертати ця кінцева точка
422 · 429