postVeřejné API v1

/api/v1/backup/complete

Assembles the parts, checks the stored size against the declared size and registers the file. Idempotent: repeating the call returns the same backup. The copy to the backup datacentre follows asynchronously (isMirrored).

backupbackupComplete

Tělo požadavku

application/json
idstringPovinné

Backup id returned by /backup/start.

Délka: 16
PříkladaB3dE5fG7hJ9kL1m
partsobject[]Povinné

Every part 1..partCount exactly once.

Každá položka pole:
partNumberstring | integerPovinné
Jedna z 2 možností:
Varianta 1
stringinteger
Výchozí: 0
Varianta 2
integer
Rozsah: 1–∞
etagstringPovinné

Value of the ETag header returned by the part PUT.

Délka: 1–∞
sha256stringVolitelné

SHA-256 of the whole file (hex), stored for later verification.

Ukázka požadavku

curl -X POST "https://api.bizkithub.com/api/v1/backup/complete?apiKey=YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "id": "aB3dE5fG7hJ9kL1m",
  "parts": [
    {
      "etag": "example_etag"
    }
  ],
  "sha256": "example_sha256"
}'