Log in
Interface

SearchAssetsInterface

Magento\MediaGalleryApi\Api\SearchAssetsInterface

What it does

This interface defines a contract for searching media gallery assets in Magento 2.

Developers use this to retrieve media assets (images, videos, etc.) based on specific search criteria such as filters, sorting, and pagination.

It's the primary API for querying the media gallery when building custom functionality that needs to find and list media files.

Public Methods

  • execute()