12345678910111213141516171819202122232425262728293031323334353637383940 |
- <?xml version="1.0"?>
- <!--
- /**
- * Copyright © Magento, Inc. All rights reserved.
- * See COPYING.txt for license details.
- */
- -->
- <routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Webapi:etc/webapi.xsd">
- <route url="/V1/eav/attribute-sets/list" method="GET">
- <service class="Magento\Eav\Api\AttributeSetRepositoryInterface" method="getList"/>
- <resources>
- <resource ref="Magento_Catalog::sets"/>
- </resources>
- </route>
- <route url="/V1/eav/attribute-sets/:attributeSetId" method="GET">
- <service class="Magento\Eav\Api\AttributeSetRepositoryInterface" method="get"/>
- <resources>
- <resource ref="Magento_Catalog::sets"/>
- </resources>
- </route>
- <route url="/V1/eav/attribute-sets/:attributeSetId" method="DELETE">
- <service class="Magento\Eav\Api\AttributeSetRepositoryInterface" method="deleteById"/>
- <resources>
- <resource ref="Magento_Catalog::sets"/>
- </resources>
- </route>
- <route url="/V1/eav/attribute-sets" method="POST">
- <service class="Magento\Eav\Api\AttributeSetManagementInterface" method="create"/>
- <resources>
- <resource ref="Magento_Catalog::sets"/>
- </resources>
- </route>
- <route url="/V1/eav/attribute-sets/:attributeSetId" method="PUT">
- <service class="Magento\Eav\Api\AttributeSetRepositoryInterface" method="save"/>
- <resources>
- <resource ref="Magento_Catalog::sets"/>
- </resources>
- </route>
- </routes>
|