hosting

POST /v1/connector/backup/complete

Report a finished backup — called by the Zinn® WordPress connector plugin.

Све hosting крајње тачке

Сва документација за програмере →

Аутентификација

Ова крајња тачка је јавна. Не захтева никакве акредитиве нити организацију — то је оно што читају наш сопствени маркетиншки сајт и машине за одговоре са вештачком интелигенцијом.

Ова крајња тачка не прихвата id организације. Ваш кључ већ идентификује организацију којој припада, а одговор је ограничен на њу.

Испробајте

Замените све што је у угластим заградама сопственим вредностима, а чувар места кључа кључем са своје контролне табле.

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 конзола на вашој контролној табли попуњава ваш прави id организације и ваш сопствени кључ, и покреће захтев према живом 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_idstringДа—
statusstring<uploaded, failed>Да—
size_bytesintegerНеThe plugin's own figure. A cross-check only — the recorded size comes from HEAD-ing the stored object.
detailstringНеWhy it failed. Kept for staff and never rendered to the customer: untranslated English that can carry a path from their server.

Грешке које ова крајња тачка може вратити

422 · 429