/
githubmirror
/
magento2
Обзор
Документация
Войти
/
githubmirror
/
magento2
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
2.4-develop
dev/tests/api-functional/_files/Magento/TestModule5/etc/webapi.xml
79 строк
3 KB
Alexandra Zota
ACP2E-4019: CE copyright updates for 2.4.9-beta1
22 окт 2025, 10:44
22 окт 2025, 10:44
264bea2
Код
Авторство
О чём код?
<?xml version="1.0"?> <!-- /** * Copyright 2015 Adobe * All Rights Reserved. */ --> <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/TestModule5/:entityId"> <service class="Magento\TestModule5\Service\V1\AllSoapAndRestInterface" method="item" /> <resources> <resource ref="Magento_TestModule5::resource1" /> </resources> </route> <route method="GET" url="/V1/TestModule5"> <service class="Magento\TestModule5\Service\V1\AllSoapAndRestInterface" method="items" /> <resources> <resource ref="Magento_TestModule5::resource2" /> </resources> </route> <route method="POST" url="/V1/TestModule5"> <service class="Magento\TestModule5\Service\V1\AllSoapAndRestInterface" method="create" /> <resources> <resource ref="Magento_TestModule5::resource3" /> </resources> </route> <route method="PUT" url="/V1/TestModule5/:entityId"> <service class="Magento\TestModule5\Service\V1\AllSoapAndRestInterface" method="update" /> <resources> <resource ref="Magento_TestModule5::resource1" /> <resource ref="Magento_TestModule5::resource2" /> </resources> </route> <route method="PUT" url="/V1/TestModule5/:parentId/nestedResource/:entityId"> <service class="Magento\TestModule5\Service\V1\AllSoapAndRestInterface" method="nestedUpdate" /> <resources> <resource ref="Magento_TestModule5::resource1" /> <resource ref="Magento_TestModule5::resource2" /> </resources> </route> <route method="PUT" url="/V1/TestModule5/OverrideService/:parentId/nestedResource/:entityId"> <service class="Magento\TestModule5\Service\V1\OverrideServiceInterface" method="scalarUpdate" /> <resources> <resource ref="Magento_TestModule5::resource1" /> <resource ref="Magento_TestModule5::resource2" /> </resources> </route> <route method="GET" url="/V2/TestModule5/:id"> <service class="Magento\TestModule5\Service\V2\AllSoapAndRestInterface" method="item" /> <resources> <resource ref="Magento_TestModule5::resource1" /> </resources> </route> <route method="GET" url="/V2/TestModule5"> <service class="Magento\TestModule5\Service\V2\AllSoapAndRestInterface" method="items" /> <resources> <resource ref="Magento_TestModule5::resource2" /> </resources> </route> <route method="POST" url="/V2/TestModule5"> <service class="Magento\TestModule5\Service\V2\AllSoapAndRestInterface" method="create" /> <resources> <resource ref="Magento_TestModule5::resource3" /> </resources> </route> <route method="PUT" url="/V2/TestModule5/:id"> <service class="Magento\TestModule5\Service\V2\AllSoapAndRestInterface" method="update" /> <resources> <resource ref="Magento_TestModule5::resource1" /> <resource ref="Magento_TestModule5::resource2" /> </resources> </route> <route method="DELETE" url="/V2/TestModule5/:id"> <service class="Magento\TestModule5\Service\V2\AllSoapAndRestInterface" method="delete" /> <resources> <resource ref="Magento_TestModule5::resource1" /> </resources> </route> </routes>