09-16-2020 06:30 AM
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
09-16-2020 08:31 AM
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
Explore our Alfresco products with the links below. Use labels to filter content by product module.