Retrieves a list of folders in the Media Manager.
The listFolders()
function returns a Promise that resolves to information about the specified folders and cursor information.
To retrieve a list of folders within a specific folder in the Media Manager, pass the specific folder's ID in the parentFolderId
parameter. If no folder is specified, the function retrieves only the list of folders within the root folder of the Media Manager.
To retrieve a list of (non-permanently) deleted folders, use the listDeletedFolders()
function.
You can only call this method when authenticated as a Wix app or Wix user identity.
Options to use when listing folders from the Media Manager.