Apex
CloudFiles Client
Get Attachments
to use docid\ gdcjs5yujzzox2qlipohj action via apex you can utilize the listattachments method in the client class function definition as follows global static list\<list\<attachment>> listattachments( list\<string> parentids, string runas ) parameters list\<string> parentids this will be the salesforce record ids of the records where files/folder are attached string runas, usually this would be a static value 'integrationuser' return type return type is a list\<list< docid 7vdkfats tonll2jilgsg >> example list\<string> parentids = new list\<string>{ '001dl00000zjiyiqap', '0010y00000b1q2hqav' }; list\<list\<cldfs attachment>> returnedattachments = cldfs client listattachments( parentids, 'integrationuser' );