How to get folder and files structure of Attachments folder via API?

27229

With normal folder in the Files module, I can use Api to get folders and files structure.

- /{version}/sites/{siteId}/folders --> get root folders of the site

- /{version}/folders/{folderid}/items" --> to get folders items of a parent folder

- /{version}/files --> get list of files under a folder

 

How can I do the same with Attachment folder?