listFiles( )


Retrieves a list of files in the Media Manager.

To retrieve a list of files within a specific folder in the Media Manager, specify the folder's ID in the parentFolderId parameter. If no folder is specified, the method retrieves the list of files in the root folder of the Media Manager.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Bookings Services and Settings
Manage Media Manager
Read Media Manager
Manage Portfolio
Manage Restaurants - all permissions
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
optionsListFilesOptions

Options to use when listing media files.

Returns
Return Type:Promise<ListFilesResponse>
Did this help?