Hey All!\
I'm currently using the endpoint PUT http://localhost:8080/alfresco/api/-default-/public/alfresco/versions/1/nodes/:id/content to update the content of my documents in Alfresco. However, I've encountered an issue where this endpoint only updates the string contents of the document or a text file. My requirement is to reupload a document of any type with a newer version.
I'm seeking guidance on how to achieve this functionality using the Alfresco API. Specifically, I need a solution that allows me to upload documents of various file types and update them with newer versions using the mentioned endpoint or any alternative approach that may be available.
Any insights or suggestions on how to accomplish this would be greatly appreciated.
Thank you for your assistance.