AnsweredAssumed Answered

How to upload new version of file using its file id by REST

Question asked by hari on Dec 16, 2015
Latest reply on Nov 3, 2016 by luharry
Hello Everyone,

I was able to upload the files using REST with "/alfresco/service/api/upload/?alf_ticket="+authTicket.
Now when I upload the same file again using the above url pattern, its getting uploaded as a new version but I have a problem here.

I am storing my files in the following folder structure under the site's document library - year/month/doctype/<my files go here>
Now when I want to upload a new version for a file uploaded in November, it creates a new file in December folder since its December now.

Hence I would like to know how we can upload a newer version of file using the DocumentID using REST API.