As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
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