younifyd
Menu

Upload Tus Chunk

Upload TUS Chunk

PATCH/files/tus/{id}

Use it in a workflow

  1. Add a step and choose the Directus connector.
  2. Pick the Upload Tus Chunk action (under Files).
  3. Fill in the fields below, then reference the result from later steps as {{uploadTusChunk.response.data}}.

Request

Path parameters

idstringrequired

TUS upload session identifier.

Headers

Upload-Offsetintegerrequired

Byte offset at which this chunk begins within the file.

Tus-Resumablestringrequired

TUS protocol version. Must be `1.0.0`.

One of1.0.0

Content-Typestringrequired

Must be `application/offset+octet-stream`.

One ofapplication/offset+octet-stream

Response

Returns 204 with a any. Read it in later steps with {{uploadTusChunk.response.data.<field>}}.

Need more? See the Directus guide for connection setup and behaviour shared by every action.

Was this page helpful?