16 lines
618 B
XML
Executable File
16 lines
618 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 url="V1/banner" method="GET">
|
|
<service class="Kai\Banner\Api\BannerRepositoryInterface" method="getData"/>
|
|
<resources>
|
|
<resource ref="anonymous"/>
|
|
</resources>
|
|
</route>
|
|
<route url="V1/banner" method="POST">
|
|
<service class="Kai\Banner\Api\BannerRepositoryInterface" method="postData"/>
|
|
<resources>
|
|
<resource ref="anonymous"/>
|
|
</resources>
|
|
</route>
|
|
</routes>
|