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.