List media files and folders
livereacting_list_mediaList the video, audio and image files in this LiveReacting account's media library, and optionally the folders they are organised into. Use the returned file ids when building a playlist. A file whose issues.errors is not empty cannot go in a playlist until the problem is fixed, which usually means encoding it with livereacting_encode_media first. Files and folders are paginated separately: offset pages the files, folderOffset pages the folders. Set includeFolders: true to get folders as well, which also requires type. To add a file, use livereacting_upload_file for a file on the customer's machine, livereacting_import_from_url for a direct link to a media file, or livereacting_import_media for a Google Drive, Dropbox or YouTube link.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Only return files of this type. Required when includeFolders is true. | |
| limit | No | How many files to return. Defaults to 50. | |
| offset | No | Skip this many files. Use the nextOffset from a truncated response. | |
| search | No | Match this text against the file name. At least 3 characters. | |
| folderId | No | Only return files inside this folder. Pass the string "null" for files at the root of the library. Omit to return files from every folder. | |
| folderLimit | No | How many folders to return. Defaults to 50. | |
| folderOffset | No | Skip this many folders. Folders page independently of files. | |
| includeFolders | No | Also return the folders of this type. Requires `type`. Defaults to false. |