I am trying to calculate the total folder and file count along with total fize size(folders+files in it) in a document library using java. Also, need to calculate the count of total records in a given datalist. I found a public api which returns the folder,file count with size of items in it but I am not able to hit the uri with java code due to authentication issue.
The URL is - /alfresco/service/slingshot/doclib/doclist/{type}/site/{site}/{container}/{path}
Is there any other way (e.g. a java public api) that can be used to address this kind of requirement.
I have not verified these, but there are some simliar posts in the hub related to doing this - maybe check them out:
https://hub.alfresco.com/t5/alfresco-content-services-forum/find-number-of-files-in-repository-folde...
and
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.