Skip to content

Commit

Permalink
Merge branch 'feat-develop' into '1.x'
Browse files Browse the repository at this point in the history
feat: LED-2128 change service class

See merge request magesuite/brand-management!26
  • Loading branch information
Piotr Matras committed Feb 8, 2021
2 parents 89af722 + 3a8383b commit e79dc71
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions etc/webapi.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,25 @@
xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Webapi:etc/webapi.xsd">

<route url="/V1/brands" method="POST">
<service class="\MageSuite\BrandManagement\Api\BrandsRepositoryInterface" method="create"/>
<service class="MageSuite\BrandManagement\Api\BrandsRepositoryInterface" method="create"/>
<resources>
<resource ref="MageSuite_BrandManagement::create_brands" />
</resources>
</route>
<route url="/V1/brands" method="GET">
<service class="\MageSuite\BrandManagement\Api\BrandsRepositoryInterface" method="getAllBrands"/>
<service class="MageSuite\BrandManagement\Api\BrandsRepositoryInterface" method="getAllBrands"/>
<resources>
<resource ref="MageSuite_BrandManagement::list_brands" />
</resources>
</route>
<route url="/V1/brands" method="PUT">
<service class="\MageSuite\BrandManagement\Api\BrandsRepositoryInterface" method="update"/>
<service class="MageSuite\BrandManagement\Api\BrandsRepositoryInterface" method="update"/>
<resources>
<resource ref="MageSuite_BrandManagement::update_brands" />
</resources>
</route>
<route url="/V1/brands/:id" method="DELETE">
<service class="\MageSuite\BrandManagement\Api\BrandsRepositoryInterface" method="deleteById"/>
<service class="MageSuite\BrandManagement\Api\BrandsRepositoryInterface" method="deleteById"/>
<resources>
<resource ref="MageSuite_BrandManagement::delete_brands" />
</resources>
Expand Down

0 comments on commit e79dc71

Please sign in to comment.