Tus
Endpoint
pluginApi.media.tusUploadUrlHeaders
Metadata
{
relativePath: 'null',
name: 'title.png',
type: 'image/png',
filetype: 'image/png',
filename: 'title.png'
}Last updated
Tus-js-client
Uppy
The tus endpoint can be obtained through the pluginApi:
pluginApi.media.tusUploadUrlWe do not require any additional headers other than the one specified at Headers. However, all Tus headers should be passed as normal.
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