upload-new

POST /upload-new

Handles the uploading of a file in chunks to AWS S3

Request

  • Base URL
    http://localhost:25100
  • Auth
    none declared

Request body multipart/form-data

aliasNamestring required

An alias name for the file

collectionIdstring required

The ID of the collection to which the file belongs

bundleIdstring

The ID of the bundle to which the file belongs

filestring binary required

Specifies the file to be uploaded

isPublishablestring required

A boolean indicating whether the file is publishable

licencestring required

The type of license associated with the file

licenceUrlstring required

A URL linking to the license associated with the file

pathstring required

The path where the file will be stored

resumableChunkNumberinteger required

The index of the current chunk being uploaded, the first chunk is 1 not base 0

resumableChunkSizeinteger required

The size of each chunk in bytes

resumableFilenamestring required

The name of the file being uploaded

resumableIdentifierstring required

A unique identifier for the file upload session

resumableTypestring required

The MIME type of the file being uploaded

resumableTotalChunksinteger required

The total number of chunks the file is divided into

resumableTotalSizeinteger required

The total size of the file in bytes

datasetIdstring required

The dataset ID that the file relates to

editionstring required

The edition that the file relates to

versionstring required

The version that the file relates to

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.