/
githubmirror
/
magento2
Обзор
Документация
Войти
/
githubmirror
/
magento2
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
2.4-develop
dev/tests/api-functional/_files/Magento/TestModule4/etc/webapi.xml
39 строк
2 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/testmodule4/:id"> <service class="Magento\TestModule4\Service\V1\DataObjectServiceInterface" method="getData" /> <resources> <resource ref="Magento_TestModule4::resource1" /> </resources> </route> <route method="GET" url="/V1/testmodule4/scalar/:id"> <service class="Magento\TestModule4\Service\V1\DataObjectServiceInterface" method="scalarResponse" /> <resources> <resource ref="Magento_TestModule4::resource1" /> </resources> </route> <route method="POST" url="/V1/testmodule4/:id"> <service class="Magento\TestModule4\Service\V1\DataObjectServiceInterface" method="updateData" /> <resources> <resource ref="Magento_TestModule4::resource2" /> </resources> </route> <route method="POST" url="/V1/testmodule4/:id/nested"> <service class="Magento\TestModule4\Service\V1\DataObjectServiceInterface" method="nestedData" /> <resources> <resource ref="Magento_TestModule4::resource3" /> </resources> </route> <route method="POST" url="/V1/testmodule4/extensibleDataObject/:id"> <service class="Magento\TestModule4\Service\V1\DataObjectServiceInterface" method="extensibleDataObject" /> <resources> <resource ref="Magento_TestModule4::resource3" /> </resources> </route> </routes>