123456789101112131415161718192021222324252627282930 |
- <?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">
- <!-- Currency -->
- <route url="/V1/directory/currency" method="GET">
- <service class="Magento\Directory\Api\CurrencyInformationAcquirerInterface" method="getCurrencyInfo"/>
- <resources>
- <resource ref="anonymous" />
- </resources>
- </route>
- <!-- Country and Region -->
- <route url="/V1/directory/countries" method="GET">
- <service class="Magento\Directory\Api\CountryInformationAcquirerInterface" method="getCountriesInfo"/>
- <resources>
- <resource ref="anonymous" />
- </resources>
- </route>
- <route url="/V1/directory/countries/:countryId" method="GET">
- <service class="Magento\Directory\Api\CountryInformationAcquirerInterface" method="getCountryInfo"/>
- <resources>
- <resource ref="anonymous" />
- </resources>
- </route>
- </routes>
|