webapi.xml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?xml version="1.0"?>
  2. <!--
  3. /**
  4. * Copyright © Magento, Inc. All rights reserved.
  5. * See COPYING.txt for license details.
  6. */
  7. -->
  8. <routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  9. xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Webapi:etc/webapi.xsd">
  10. <route url="/V1/bulk/:bulkUuid/detailed-status" method="GET">
  11. <service class="Magento\AsynchronousOperations\Api\BulkStatusInterface" method="getBulkDetailedStatus"/>
  12. <resources>
  13. <resource ref="Magento_Logging::system_magento_logging_bulk_operations" />
  14. </resources>
  15. </route>
  16. <route url="/V1/bulk/:bulkUuid/status" method="GET">
  17. <service class="Magento\AsynchronousOperations\Api\BulkStatusInterface" method="getBulkShortStatus"/>
  18. <resources>
  19. <resource ref="Magento_Logging::system_magento_logging_bulk_operations" />
  20. </resources>
  21. </route>
  22. <route url="/V1/bulk/:bulkUuid/operation-status/:status" method="GET">
  23. <service class="Magento\AsynchronousOperations\Api\BulkStatusInterface" method="getOperationsCountByBulkIdAndStatus"/>
  24. <resources>
  25. <resource ref="Magento_Logging::system_magento_logging_bulk_operations" />
  26. </resources>
  27. </route>
  28. <route url="/V1/bulk" method="GET">
  29. <service class="Magento\AsynchronousOperations\Api\OperationRepositoryInterface" method="getList"/>
  30. <resources>
  31. <resource ref="Magento_Logging::system_magento_logging_bulk_operations" />
  32. </resources>
  33. </route>
  34. </routes>