How to get file name list from nuxeo folder using rest api?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2020 11:52 AM
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2020 04:32 PM
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
