File: /var/www/vhost/disk-apps/magento.bikenow.co/vendor/magento/module-bundle/etc/webapi.xml
<?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">
<route url="/V1/bundle-products/:sku/links/:optionId" method="POST">
<service class="Magento\Bundle\Api\ProductLinkManagementInterface" method="addChildByProductSku"/>
<resources>
<resource ref="Magento_Catalog::products"/>
</resources>
</route>
<route url="/V1/bundle-products/:sku/links/:id" method="PUT">
<service class="Magento\Bundle\Api\ProductLinkManagementInterface" method="saveChild"/>
<resources>
<resource ref="Magento_Catalog::products"/>
</resources>
</route>
<route url="/V1/bundle-products/:productSku/children" method="GET">
<service class="Magento\Bundle\Api\ProductLinkManagementInterface" method="getChildren"/>
<resources>
<resource ref="Magento_Catalog::products"/>
</resources>
</route>
<route url="/V1/bundle-products/:sku/options/:optionId/children/:childSku" method="DELETE">
<service class="Magento\Bundle\Api\ProductLinkManagementInterface" method="removeChild"/>
<resources>
<resource ref="Magento_Catalog::products"/>
</resources>
</route>
<route url="/V1/bundle-products/:sku/options/all" method="GET">
<service class="Magento\Bundle\Api\ProductOptionRepositoryInterface" method="getList" />
<resources>
<resource ref="Magento_Catalog::products" />
</resources>
</route>
<route url="/V1/bundle-products/options/types" method="GET">
<service class="Magento\Bundle\Api\ProductOptionTypeListInterface" method="getItems" />
<resources>
<resource ref="Magento_Catalog::products" />
</resources>
</route>
<route url="/V1/bundle-products/:sku/options/:optionId" method="GET">
<service class="Magento\Bundle\Api\ProductOptionRepositoryInterface" method="get" />
<resources>
<resource ref="Magento_Catalog::products" />
</resources>
</route>
<route url="/V1/bundle-products/options/add" method="POST">
<service class="Magento\Bundle\Api\ProductOptionManagementInterface" method="save" />
<resources>
<resource ref="Magento_Catalog::products" />
</resources>
</route>
<route url="/V1/bundle-products/options/:optionId" method="PUT">
<service class="Magento\Bundle\Api\ProductOptionManagementInterface" method="save" />
<resources>
<resource ref="Magento_Catalog::products" />
</resources>
</route>
<route url="/V1/bundle-products/:sku/options/:optionId" method="DELETE">
<service class="Magento\Bundle\Api\ProductOptionRepositoryInterface" method="deleteById" />
<resources>
<resource ref="Magento_Catalog::products" />
</resources>
</route>
</routes>