Actions24
Media → List
AI-generatedSummary
List files and folders within a specified Joomla media directory, optionally filtering results by file name search.
Inputs
- Folder Path (required) — Specify the folder path to list files from, e.g., "images" or "images/banners".
- Options — Optional filters to refine the listing, such as a search string to filter files by name.
Output shape
a JSON array of media files and folders found within the specified folder path.
The listing is based on the specified folder under Joomla's media management, with optional filtering by file name via the 'search' option. Results are returned as data from the Joomla '/media/files' API endpoint.
Examples
Example 1: List all files in the 'images/banners' folder, optionally filtering names containing 'logo'.
Set the Folder Path parameter to 'images/banners'. Provide a 'Search' string in the Options to filter files by name if desired.