wiki.getAttachments returns 'perms' according to documentation