Skip to main content

Get url to add large document

GET 

/documents/upload

Returns a URL that can be used to upload document content and create a new document; this endpoint (whether GET or POST) is required in order to add content that is larger than 5 MB

Request

Query Parameters

    path string

    The upload file's path

    siteId string

    Site Identifier

    checksumType string

    Possible values: [SHA1, SHA256]

    Checksum Type

    checksum string

    Checksum value

    contentLength integer

    Indicates the size of the entity-body

    duration integer

    Indicates the number of hours request is valid for

    shareKey string

    Share Identifier

Responses

200 OK

Response Headers

  • Access-Control-Allow-Origin

    string

  • Access-Control-Allow-Methods

    string

  • Access-Control-Allow-Headers

    string

Schema

    documentId string

    Document Identifier

    url string

    Document content url

    headers

    object

Loading...