<?xml version="1.0"?>
<!--
 /**
  * BSS Commerce Co.
  *
  * NOTICE OF LICENSE
  *
  * This source file is subject to the EULA
  * that is bundled with this package in the file LICENSE.txt.
  * It is also available through the world-wide-web at this URL:
  * http://bsscommerce.com/Bss-Commerce-License.txt
  *
  * @category   BSS
  * @package    Bss_CatalogPermission
  * @author     Extension Team
  * @copyright  Copyright (c) 2022 BSS Commerce Co. ( http://bsscommerce.com )
  * @license    http://bsscommerce.com/Bss-Commerce-License.txt
  */
 -->
<routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Webapi:etc/webapi.xsd">
    <route url="/V1/cmsPage/:id" method="PUT">
        <service method="save" class="Bss\CatalogPermission\Api\CmsPageRepositoryInterface"/>
        <resources>
            <resource ref="Bss_CatalogPermission::api_permission"/>
        </resources>
    </route>
    <route url="/V1/cmsPage" method="POST">
        <service method="save" class="Bss\CatalogPermission\Api\CmsPageRepositoryInterface"/>
        <resources>
            <resource ref="Bss_CatalogPermission::api_permission"/>
        </resources>
    </route>
</routes>
