Last active
August 29, 2015 13:56
-
-
Save xcommerce-gists/9210793 to your computer and use it in GitHub Desktop.
Temporary Magento gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<!-- | |
/** | |
* {license_notice} | |
* | |
* @copyright {copyright} | |
* @license {license_link} | |
*/ | |
--> | |
<config> | |
<service class="\Magento\TestModule1\Service\V1\AllSoapAndRestInterface" baseUrl="/V1/testmodule1"> | |
<rest-route httpMethod="GET" method="item" resources="Magento_TestModule1::resource1">/:id</rest-route> | |
</service> | |
<service class="\Magento\TestModule1\Service\V2\AllSoapAndRestInterface" baseUrl="/V2/testmodule1"> | |
<rest-route httpMethod="GET" method="item" resources="Magento_TestModule1::resource1">/:id</rest-route> | |
<rest-route httpMethod="POST" method="create" resources="Magento_TestModule1::resource1, Magento_TestModule1::resource2"></rest-route> | |
<rest-route httpMethod="DELETE" method="delete" isSecure="true" resources="Magento_TestModule1::resource2">/:id</rest-route> | |
</service> | |
</config> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment