cancel
Showing results for 
Search instead for 
Did you mean: 

How to get file name list from nuxeo folder using rest api?

Mustafa_Mustafa
Champ in-the-making
Champ in-the-making

I upload files to nuxeo document under folder. Now I need to get file info list using folder UUID. Using http://127.0.0.1:8080/nuxeo/api/v1/id/{folder_id} endpoint I get only folder information, but not files info inside a folder. Which endpoint I should use?

1 REPLY 1

Gregory_Carlin
Elite Collaborator
Elite Collaborator

Hello,

With curl -X POST 'http://127.0.0.1/nuxeo/site/automation/Document.GetChildren' -H 'Nuxeo-Transaction-Timeout: 3' -H 'X-NXproperties: *' -H 'X-NXRepository: default' -H 'X-NXVoidOperation: false' -H 'content-type: application/json' -d '{"params":{},"input":"{folder_id}","context":{}}' -u Administrator:<PASSWORD>

Regards

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.