Get attachments for a page with optional filtering
Get parameters
action = "getMatching" or "getAll"
pageName = Page name to get attachments from
matching = Regex expression to match files (required for "getMatching")
Get examples:
// Simple URL - get matching files
/OpenForum/Actions/GetAttachments?action=getMatching&pageName=/MyPage&matching=.*\.js$
// Using JSON.get - get all files
JSON.get('/OpenForum/Actions/GetAttachments', 'getAll', 'pageName=/MyPage')
.onSuccess(function(result) {
console.log('Attachments:', result);
}).go();
/OpenForum/Actions/GetAttachments Sevice API Version 0.0.2