AnsweredAssumed Answered

Listing documents in documentLibrary folder

Question asked by rohitsahasrabudhe on Jun 26, 2015
I am trying to get a list of documents/folders under the documentLibrary for one of the sites I have created/ The endpoint used is

http://localhost:801/alfresco/service/api/node/workspace/SpacesStore/b359cb9e-a2d0-4e0d-a17b-61d587497c2b/children

Even if I use 'descendants' in place of 'children' it gives 404 error. I tried to map this with the documentation

GET /alfresco/service/api/node/{store_type}/{store_id}/{id}/descendants?types={types}&filter={filter?}&depth={depth?}

in my case store_type is workspace, store_id is SpacesStore and id is the UID for documentLibrary folder.

I had a look at the stackoverflow issue http://stackoverflow.com/questions/28206322/get-all-folder-and-documents-in-repository-alfresco-restful but it did not help resolve this issue.

It's a complete bottleneck as I am unable to list the documents created in my site. Any help would be greatly appreciated.

Outcomes