cancel
Showing results for 
Search instead for 
Did you mean: 

How do I list folders in the site?

grauenwolf
Champ in-the-making
Champ in-the-making
Given this URL

    http://localhost:8080/alfresco/service/api/sites/test-3

{
   "url": "\/alfresco\/service\/api\/sites\/test-3",
   "sitePreset": "site-dashboard",
   "shortName": "test-3",
   "title": "Test 3",
   "description": "",
   "node": "\/alfresco\/service\/api\/node\/workspace\/SpacesStore\/0352afea-797f-4b9e-be27-3bf37e54a2f1",
   "tagScope": "\/alfresco\/service\/api\/tagscopes\/workspace\/SpacesStore\/0352afea-797f-4b9e-be27-3bf37e54a2f1",
   "siteManagers":
   [
         "admin"
   ],
   "isPublic": true,
   "visibility": "PUBLIC"
}

how do I get a list of folders for the site?
1 REPLY 1

mitpatoliya
Star Collaborator
Star Collaborator
If you are talking about the share site then I do not think there is any webscript which gives the list of folders inside site.
But as site in share is ultimately as a space only.
I guess you can use this script which list down all the folder content.
GET /alfresco/service/sample/folder/{path}