Tus

Tus-js-client

Uppy

Endpoint

The tus endpoint can be obtained through the pluginApi:

pluginApi.media.tusUploadUrl

Headers

We do not require any additional headers other than the one specified at Headers. However, all Tus headers should be passed as normal.

Metadata

At the moment of writing, we only read the metadata for the file's original name and to infer the file extension based on that.

We recommend to pass the same metadata as it would appear when you use Uppy since that is what we use. Here's an example of one:

{
  relativePath: 'null',
  name: 'title.png',
  type: 'image/png',
  filetype: 'image/png',
  filename: 'title.png'
}

Last updated