6.2 Create Document
POST https://{{domain}}/api/v2/document/create
Create or Update a Document its metadata
Request:
JSON object
- DocumentGUID (guid, optional): In case of existing document GUID specified it will be updated;
- Name (string, required)
- Meta (JSON object; required)
- Size (int, optional): size in bytes
- Pages (array; required)
- Width (real, required): width in Units
- Height (real, required): height in Units
- IsAsset (bool, optional): default
false
; defines if document is Asset; - IsTemporary (bool, optional): default
false
; defines is document is temporary
Response
200 OK
{
"Message": "Document successfully saved",
"DocumentGUID": "guid"
}