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

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?

0 votes

1 answers

37 views

ANSWER



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

0 votes