Upload raw document content
post
/custom-actions/upload/documents/{document gid}/contents
Adds document content to an existing document. The Content-Type header for the HTTP POST must match the type of content being uploaded.
This content will be scanned for viruses and the content verified to match the specified type.
Only one document content can be created for an existing document.
Request
There are no request parameters for this operation.
Supported Media Types
- */*
Response
200 Response
Indicates document content has been successfully uploaded and validated.
400 Response
Indicates document content already exists for the specified document.
404 Response
Indicates the specified document does not exist.
405 Response
Indicates the operation being attempted was not supported.
500 Response
Indicates there was an internal persistence error and to check the application exception logs.