Skip to main content

Upload File

POST 

/signed-upload/:session_id

Upload File

Request​

Path Parameters

    session_id stringrequired

Body

    file binaryrequired

Responses​

File uploaded

Schema

    data

    object

    contentType stringrequired

    ContentType of the file

    createdAt string

    Uploaded Time

    createdBy stringrequired

    User Id who upload the file

    dataSource stringrequired

    Source of uploaded file

    extension stringrequired

    Extension of the file

    fileId stringrequired

    Unique identifier of the file.

    fileName stringrequired

    Name of the uploaded file (final name).

    fileSize integerrequired

    File size in bytes

    fullHashSum stringrequired

    MD5 sum

    lightHashSum stringrequired

    MD5 sum by first 2048 bytes

    orgId stringrequired

    Org Id of the file

    originalExtension stringrequired

    Original extension of the file

    originalName stringrequired

    Original name of the uploaded file.

    product stringrequired

    Possible values: [sight, rise, tracking]

    Name of the product

    storage

    object

    current stringrequired

    Storage type

    path stringrequired

    Relative path to the file

    ttl integer

    Expiration time

    storageName stringrequired

    Relative path of the file in our storage

    updatedAt string

    Updated Time

    updatedBy stringrequired

    User Id who upload the file

    userId stringrequired

    User Id who upload the file

Loading...