title: Is there a way to fetch custom filters for a particular category in Magento 2 using Rest api?
body: <p>I am using the url below to fetch the products in a particular category and it works fine.</p>
  
  <pre><code>/rest/default/V1/products?searchCriteria[filterGroups][0][filters][0][field]=category_id&amp;searchCriteria[filterGroups][0][filters][0][value]=262&amp;searchCriteria[filterGroups][0][filters][0][conditionType]=eq&amp;searchCriteria[filterGroups][1][filters][0][field]=visibility&amp;searchCriteria[filterGroups][1][filters][0][value]=4&amp;searchCriteria[filterGroups][1][filters][0][conditionType]=eq&amp;searchCriteria[pageSize]=10&amp;searchCriteria[currentPage]=0
  </code></pre>
  
  <p>The only issue is that I would like to show filters based on the categories selected. For eg a price filter works for every category but a size and color filter would only work for clothing category while screen size would work for electronics. </p>
  
  <p>Any idea on how to fetch the filters for <strong>each category</strong>?</p>