AnsweredAssumed Answered

How to overwrite content without versioning and how to update mimeType

Question asked by janardhanc on Nov 5, 2018

How to upload new content without creating new version? Created the object with cm:autoVersion false, but that still creates a new version with I upload new content. Tried rest PUT with nodes/nodeid/content?overwrite=true, but that fails.


How to change the mimeType of a content? Tried rest PUT properties update with nodes/nodeid with following, {"content" : {"mimeType" : "application/octet-stream"}} but that fails. Tried rest PUT with nodes/nodeid?mimeType="application/octet-stream", fails. Tried PUT with nodes/nodeid/content with header content-type "application/octet-stream", fails.


Please advise.


Thank you.