![]() 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/old/vendor/magento/module-downloadable/Test/Mftf/Metadata/ |
<?xml version="1.0" encoding="UTF-8"?> <!-- /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ --> <operations xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:mftf:DataGenerator/etc/dataOperation.xsd"> <operation name="CreateDownloadableLink" dataType="downloadable_link" type="create" auth="adminOauth" url="/V1/products/{sku}/downloadable-links" method="POST"> <contentType>application/json</contentType> <object dataType="downloadable_link" key="link"> <field key="title">string</field> <field key="sort_order">integer</field> <field key="is_shareable">integer</field> <field key="price">number</field> <field key="number_of_downloads">integer</field> <field key="link_type">string</field> <field key="link_file">string</field> <field key="link_file_content">link_file_content</field> <field key="file_data">string</field> <field key="link_url">string</field> <field key="sample_type">string</field> <field key="sample_file">string</field> <field key="sample_file_content">sample_file_content</field> <field key="sample_url">string</field> </object> <field key="isGlobalScopeContent">boolean</field> </operation> </operations>