Hi all,
I have to download a doc file using download API provide by out of the box. So for that I am passing node-id of particular file which i need to downlaod in API-Create a new download.
It is calling this link: http://localhost:8080/alfresco/api/-default-/public/alfresco/versions/1/downloads . From that I am getting download-id and I am passing it to another API-Get a download.
Link: http://localhost:8080/alfresco/api/-default-/public/alfresco/versions/1/downloads/{downloadId} . In response body status is showing "Done" but nothing is downloading for it.
Status and body is showing expected results but that doc file is still not downloading.
Can anyone help in this?
Thanks,
Dhrumil
To download the file you also need to call following api where nodeId is returned by API-Get .
http://localhost:8080/alfresco/api/-default-/public/alfresco/versions/1/nodes/{nodeId}/content
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.