Types

DocumentMassUploadItem

idrequired
integer
The file's id within the upload.
filenamerequired
string
The name the document gets, which is the file's name in the zip without any folder-id prefix.
folder_idrequired
string | null (uuid)
The folder the file is meant for. Null when the mapping file named none or an unusable one.
statusrequired
string
pending: not tried yet. succeeded: the document was added. failed: it was not, and error says why.One of: pending, succeeded, failed
document_idrequired
string | null (uuid)
The document that was added. Null unless the file succeeded.
errorrequired
string | null
Why the file could not be added. Null unless it failed.
revert_outcomerequired
string | null
What the latest revert did with the document: deleted, missing (already gone) or failed. Null if no revert has reached it.One of: deleted, missing, failed
revert_reasonrequired
string | null
Why the revert failed for the document.
created_atrequired
string (date-time)
When the file was found in the zip.
updated_atrequired
string (date-time)
When the file last changed.

Used by (1)