Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/cartforge.co/vendor/magento/module-inventory-api/etc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/cartforge.co/vendor/magento/module-inventory-api/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">
    <!-- Source -->
    <route url="/V1/inventory/sources" method="GET">
        <service class="Magento\InventoryApi\Api\SourceRepositoryInterface" method="getList"/>
        <resources>
            <resource ref="Magento_InventoryApi::source"/>
        </resources>
    </route>
    <route url="/V1/inventory/sources/:sourceCode" method="GET">
        <service class="Magento\InventoryApi\Api\SourceRepositoryInterface" method="get"/>
        <resources>
            <resource ref="Magento_InventoryApi::source"/>
        </resources>
    </route>
    <route url="/V1/inventory/sources" method="POST">
        <service class="Magento\InventoryApi\Api\SourceRepositoryInterface" method="save"/>
        <resources>
            <resource ref="Magento_InventoryApi::source_edit"/>
        </resources>
    </route>
    <route url="/V1/inventory/sources/:sourceCode" method="PUT">
        <service class="Magento\InventoryApi\Api\SourceRepositoryInterface" method="save"/>
        <resources>
            <resource ref="Magento_InventoryApi::source_edit"/>
        </resources>
    </route>
    <route url="/V1/inventory/get-sources-assigned-to-stock-ordered-by-priority/:stockId" method="GET">
        <service class="Magento\InventoryApi\Api\GetSourcesAssignedToStockOrderedByPriorityInterface" method="execute"/>
        <resources>
            <resource ref="Magento_InventoryApi::source"/>
        </resources>
    </route>
    <!-- Stock -->
    <route url="/V1/inventory/stocks" method="GET">
        <service class="Magento\InventoryApi\Api\StockRepositoryInterface" method="getList"/>
        <resources>
            <resource ref="Magento_InventoryApi::stock"/>
        </resources>
    </route>
    <route url="/V1/inventory/stocks/:stockId" method="GET">
        <service class="Magento\InventoryApi\Api\StockRepositoryInterface" method="get"/>
        <resources>
            <resource ref="Magento_InventoryApi::stock"/>
        </resources>
    </route>
    <route url="/V1/inventory/stocks" method="POST">
        <service class="Magento\InventoryApi\Api\StockRepositoryInterface" method="save"/>
        <resources>
            <resource ref="Magento_InventoryApi::stock_edit"/>
        </resources>
    </route>
    <route url="/V1/inventory/stocks/:stockId" method="DELETE">
        <service class="Magento\InventoryApi\Api\StockRepositoryInterface" method="deleteById"/>
        <resources>
            <resource ref="Magento_InventoryApi::stock_delete"/>
        </resources>
    </route>
    <route url="/V1/inventory/stocks/:stockId" method="PUT">
        <service class="Magento\InventoryApi\Api\StockRepositoryInterface" method="save"/>
        <resources>
            <resource ref="Magento_InventoryApi::stock_edit"/>
        </resources>
    </route>
    <!-- StockSourceLink -->
    <route url="/V1/inventory/stock-source-links" method="GET">
        <service class="Magento\InventoryApi\Api\GetStockSourceLinksInterface" method="execute"/>
        <resources>
            <resource ref="Magento_InventoryApi::stock_source_link"/>
        </resources>
    </route>
    <route url="/V1/inventory/stock-source-links" method="POST">
        <service class="Magento\InventoryApi\Api\StockSourceLinksSaveInterface" method="execute"/>
        <resources>
            <resource ref="Magento_InventoryApi::stock_source_link"/>
        </resources>
    </route>
    <route url="/V1/inventory/stock-source-links-delete" method="POST">
        <service class="Magento\InventoryApi\Api\StockSourceLinksDeleteInterface" method="execute"/>
        <resources>
            <resource ref="Magento_InventoryApi::stock_source_link"/>
        </resources>
    </route>
    <!-- SourceItem -->
    <route url="/V1/inventory/source-items" method="GET">
        <service class="Magento\InventoryApi\Api\SourceItemRepositoryInterface" method="getList"/>
        <resources>
            <resource ref="Magento_InventoryApi::source"/>
        </resources>
    </route>
    <route url="/V1/inventory/source-items" method="POST">
        <service class="Magento\InventoryApi\Api\SourceItemsSaveInterface" method="execute"/>
        <resources>
            <resource ref="Magento_InventoryApi::stock_source_item_assign"/>
        </resources>
    </route>
    <route url="/V1/inventory/source-items-delete" method="POST">
        <service class="Magento\InventoryApi\Api\SourceItemsDeleteInterface" method="execute"/>
        <resources>
            <resource ref="Magento_InventoryApi::stock_source_item_assign"/>
        </resources>
    </route>
</routes>

Spamworldpro Mini