Get a backup import
/backups/imports/{import_id}/read Read: looks, changes nothing. Scopes
Its upload or restore progress, and what the file holds once checked. Panel operators only.
Path parameters
import_idstringrequiredThe backup import's id.
Response
200 OK
idstringrequiredfilenamestringrequiredsize_bytesintegerrequiredreceivedintegerrequiredBytes uploaded so far.
statusstringrequireduploading- uploadingready- readyrestoring- restoringcompleted- completedfailed- failed
One of:
"uploading""ready""restoring""completed""failed"phasestringrequiredmessagestringrequiredcreated_bystringrequiredcreated_atstringrequiredupdated_atstringrequiredencryptedbooleanarchiveobjectrequiredWhat the file holds; empty until it is checked.
created_atstringscopestringcontents_labelstringcomponentsobject[]{key, label, kind}for each part the file holds.filesstring[]databaseobjectpanel_imagestringadminsobject[]{username, is_active}of the administrators in the file.admins_knownbooleanaccountsobjectproblemstringcan be nullWhy this file cannot be restored here, if it cannot.
optionsobjectrequiredWhat the restore was asked to do.
outcomeobjectrequiredWhat the restore did, once it has finished.
chunk_bytesintegerOnly when the upload starts: send the file in pieces of at most this size.
expected_offsetintegerOnly when a piece was not written: send again from this byte.
adminsobjectOnly after a check: the file's administrators against this panel's.
knownbooleanrequiredFalse for older backups that do not record their administrators.
theirsstring[]requiredminestring[]requiredonly_theirsstring[]requiredonly_minestring[]requireddifferbooleanrequirednone_in_backupbooleanrequired
Errors
- 401 No credential, or one that is wrong, expired or revoked.
- 403 The account, or the key's or app's scopes, may not do this.
- 404 Nothing with this id, or nothing the account can see.
- 429 Slow down: wait the seconds in the Retry-After header, then try again.