API version: 0.3.0

---

# Upload

`Upload` is the built-in node label of resumable file uploads, see [uploads](/reference/elements/upload.md).
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 schemas](/reference/schemas/built-in-schemas.md).

```json
{
  "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
}
```

---

Home: [Ember Nexus API docs](/index.md)

Full site map: [llms.txt](/llms.txt)

Previous: [Token](/reference/schemas/built-in-schemas/token.md)

Next: [Group](/reference/schemas/built-in-schemas/group.md)
