Search for resources based on type and metadata.
The type of the resource to search for.
Metadata key-value pairs to filter resources.
A promise resolving to a list of resources matching the criteria.
Search for resources based on type and metadata.