Skip to main content

Upload File

POST 

https://files-integration.inspectorio.com/signed-upload/:session_id

Upload File

Request​

Path Parameters

    session_id stringrequired

Body

    filebinaryrequired

Responses​

File uploaded

Schema
    data object
    contentTypestringrequired

    ContentType of the file

    Example: ms-application/excel
    createdAtstring

    Uploaded Time

    Example: 2022-07-25T09:46:12+00:00
    createdBystringrequired

    User Id who upload the file

    Example: uuuu
    dataSourcestringrequired

    Source of uploaded file

    Example: integration-api
    extensionstringrequired

    Extension of the file

    Example: xls
    fileIdstringrequired

    Unique identifier of the file.

    Example: ef9cd482-596d-7a5d-8155-137463f056fd
    fileNamestringrequired

    Name of the uploaded file (final name).

    Example: ab8cd482-596d-7a5d-8155-137463f243ac.xls
    fileSizeintegerrequired

    File size in bytes

    Example: 100500
    fullHashSumstringrequired

    MD5 sum

    Example: C9025CC0FD86FF0A2B6B53AF58ACDE1B
    lightHashSumstringrequired

    MD5 sum by first 2048 bytes

    Example: C9025CC0FD86FF0A2B6B53AF58ACDE1B
    orgIdstringrequired

    Org Id of the file

    Example: xxxx
    originalExtensionstringrequired

    Original extension of the file

    Example: xls
    originalNamestringrequired

    Original name of the uploaded file.

    Example: original file name
    productstringrequired

    Name of the product

    Possible values: [sight, rise, tracking]

    Example: sight
    storage object
    currentstringrequired

    Storage type

    Example: standard
    pathstringrequired

    Relative path to the file

    Example: /sight/xxxx/uuuu/ab8cd482-596d-7a5d-8155-137463f243ac.xls
    ttlinteger

    Expiration time

    storageNamestringrequired

    Relative path of the file in our storage

    Example: /sight/xxxx/uuuu/ab8cd482-596d-7a5d-8155-137463f243ac.xls
    updatedAtstring

    Updated Time

    Example: 2022-07-25T09:46:12+00:00
    updatedBystringrequired

    User Id who upload the file

    Example: uuuu
    userIdstringrequired

    User Id who upload the file

    Example: uuuu
curl -L -X POST 'https://files-integration.inspectorio.com/signed-upload/:session_id' \
-H 'Content-Type: multipart/form-data' \
-H 'Accept: application/json'
Request Collapse all
Base URL
https://files-integration.inspectorio.com
Parameters
— pathrequired
Body
required
file
ResponseClear

Click the Send API Request button above and see the response here!