AnsweredAssumed Answered

get all child elements under particular site using alfresco restAPI

Question asked by shinu on Feb 24, 2015
Latest reply on Feb 24, 2015 by mitpatoliya
i have created site ,name as testing under that created folder test.I am uploading images under test1 as sub folder under test by using rest API.i can get noderef of site by using url http://localhost:8081/alfresco/service/api/sites/testing

it give result like this { "url": "/alfresco/service/api/sites/testing", "sitePreset": "site-dashboard", "shortName": "testing", "title": "Sample: Web Site Design Project", "description": "This is a Sample Alfresco Team site.", "node": "/alfresco/service/api/node/workspace/SpacesStore/b4cff62a-664d-4d45-9302-98723eac1319", "tagScope": "/alfresco/service/api/tagscopes/workspace/SpacesStore/b4cff62a-664d-4d45-9302-98723eac1319", "siteManagers": [ "admin", "mjackson" ], "isPublic": true, "visibility": "PUBLIC" } but i tried to get children of this by giving url

http://localhost:8081/alfresco/service/api/node/workspace/SpacesStore/b4cff62a-664d-4d45-9302-98723eac1319/children
How get all children elements  under particular site using restAPI

it give 404 error please help this.I am using REST API .The purpose of this to get noderef of uploaded file or filename

Outcomes