listFiles( )


Retrieves a list of files in the Media Manager.

について listFiles() function returns a Promise that resolves to an array of the specified files' descriptors and cursor information.

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

To retrieve a list of (non-permanently) deleted files, use the listDeletedFiles() 関数である。

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.
メソッド宣言
コピー
メソッド・パラメータ
optionsListFilesOptions

Options to use when listing media files.

リターン
Return Type:Promise<ListFilesResponse>
役に立ちましたか?
はい
いいえ