Objects
Upload
A multipart upload.
Fields
idstringrequiredThe upload ID (
upl_followed by 32 hex characters).filenamestringrequiredThe file name (without folders).
content_typestringrequiredThe declared content type; empty if not declared.
sizeinteger (int64)requiredThe file size in bytes.
sha256string | nullrequiredThe SHA-256 of the file, declared at creation or at
complete;nullif not known yet.part_sizeinteger (int64)requiredThe size of each part except the last (from 5 to 100 MiB).
part_countintegerrequiredThe number of parts.
≥ 1, ≤ 1000
parts_receivedintegerrequiredThe number of received parts.
≥ 0
The received parts by number (empty in the
POST /v1/uploadsresponse).reject_reasonstring | nullrequiredThe rejection reason (
rejected):checksum_mismatch,type_mismatch,unsupported_format,infected,scan_unavailable,unsafe_content. The enumeration may grow;nullif not rejected.reject_detailsobject | nullrequiredDetails of the rejection (the extension, the declared and detected format, checksums);
nullif not rejected.created_atstring (date-time)requiredWhen the upload was created.
expires_atstring (date-time)requiredThe deadline to complete the upload and, once it is ready, to use it.
completed_atstring (date-time) | nullrequiredWhen the check finished (
readyorrejected).consumed_atstring (date-time) | nullrequiredWhen the upload was used (by a card, an archive or an import).