Apex
CloudFiles Client

Create Links

this method is used to create cloudfiles link docid\ ruyegmb59ipabacotpnuf (s) global static list\<link> createlinks( list\<types createlinkinput> linkinputs, string library, string runas ) parameters linkinputs list of types createlinkinput docid\ ntx7rvdpbap55zt4qugbi objects library type of library example sharepoint you can get this value from content library docid\ wtj62wux2a6hgfwvpm4ij runas email id of the user on whom behalf the function should run if you want to run the action as automation user, supply integrationuser return type list of link docid\ ruyegmb59ipabacotpnuf objects example list\<cldfs types createlinkinput> createlinkinputs = new list\<cldfs types createlinkinput>{ new cldfs types createlinkinput( '01pljoyloawjbfgbse7fhk5akosimdio6h', 'file', '006do000004p2bzyai', 'test name', 'b!zfa15hrs1uy9ph3vw5tfjahfp1lrylzavdwlnhyyq8sa l6ejxb tjbmyuxi1qfl' ) }; list\<cldfs link> links = cldfs client createlinks(createlinkinputs,'sharepoint','integrationuser');