Get url to update large document
GET/documents/:documentId/upload
Returns a URL that can be used to upload documents for a specific documentId; this endpoint is required in order to add content that is larger than 5 MB. If versions are enabled, this will create a new version of the document.
Request
Path Parameters
documentId stringrequired
Document Identifier
Query Parameters
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
200 OK
Response Headers
Access-Control-Allow-Origin
string
Access-Control-Allow-Methods
string
Access-Control-Allow-Headers
string
- application/json
- Schema
- Example (from schema)
Schema
documentId string
Document Identifier
url string
Document content url
headers
object
{
"documentId": "string",
"url": "string",
"headers": {}
}
Loading...