Finalize upload as a new document
POST {{baseUrl}}/.api/api.svc/file_upload/:fileUploadId/create_document?watermarkText=&mod_asDraft=
Creates a new document from the completed file upload identified by the fileUploadId. This has the effect of deleting the file upload object if the document was created successfully.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
watermarkText | null | String |
Text to be superimposed over the preview of the file. This does not edit the file itself, so if the file is downloaded the watermark will not be included.
Example:
Copyright A {{$randomLastName}}, 2023
|
| mod_asDraft
| null | | Boolean
If true, the document will be created as a draft and not published to the folder location specified. From here it can be assigned for moderation and review before publishing.
Default: false |