magento2-docker/app/code/IpSupply/CategoryApi/etc/webapi.xml

10 lines
444 B
XML
Executable File

<?xml version="1.0"?>
<routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Webapi:etc/webapi.xsd">
<route method="GET" url="/V1/client/get-product-by-category">
<service class="IpSupply\CategoryApi\Api\Interface\CategoryApiInterface" method="getProductByCategory"/>
<resources>
<resource ref="anonymous"/>
</resources>
</route>
</routes>