[POST] /file
/api/dms/objects/{objectId}/contents/file
Description | To replace the content of a specific DMS object with the given {objectId}, send the request with metadata as request body. This endpoint accepts only one content file at a time. To update/replace multiple content files, use POST /api/dms/objects/{objectId}. |
|---|---|
Request | POST |
Request | Content type: application/octet-stream |
Response | JSON |
Minimum Version | 3.0.0 |
Request | The new content file is passed as binary in the request body. |
Result | [{
"cid":"1",
"length":433994,
"mimeType":"application/pdf",
"fileName":"1.pdf"
}] |