Upload
Upload is the built-in node label of resumable file uploads, see . The properties describe the progress and the finalization of the upload. The machine state (chunkIds, lastChunkId and hashState) is internal and never returned. Properties which start with _ are internal to the API and not part of any schema.
The definition below is generated from the code of the API. Schemas of built-in types can extend it, but never overrule it, see built-in .
{ "name": "Upload", "kind": "node", "mode": "partial", "properties": { "uploadLength": { "type": "integer", "required": false }, "uploadOffset": { "type": "integer", "required": true }, "uploadComplete": { "type": "boolean", "required": true }, "uploadTarget": { "type": "elementId", "required": true }, "uploadOwner": { "type": "elementId", "required": true }, "extension": { "type": "string", "required": true }, "expires": { "type": "datetime", "required": true }, "chunkIds": { "type": "list", "required": false, "visibility": "internal", "items": { "type": "string", "nullable": false } }, "lastChunkId": { "type": "string", "required": false, "visibility": "internal" }, "hashState": { "type": "string", "required": false, "visibility": "internal" }, "targetHadFileAtCreation": { "type": "boolean", "required": false }, "finalizationState": { "type": "string", "required": false, "enum": [ "finalizing", "completed", "failed" ] }, "finalizationError": { "type": "string", "required": false } }, "files": null, "rules": [], "placement": null}