Important:
- This is a handler function. Implement it only as part of the service plugin.
- When developing websites or building apps with Blocks, use Velo service plugins.
Retrieves a list of items based on the provided filtering, sorting, and paging preferences.