In Magento 2's REST API, there is an option to search a product using various search criteria. As you know, an example is given below:
http://magentohost/rest/V1/products?searchCriteria[filter_groups][0][filters][0][field]=name& searchCriteria[filter_groups][0][filters][0][value]=%macbook%& searchCriteria[filter_groups][0][filters][0][condition_type]=like
But I have not found an option to search by category.
How can we do that?