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/old/vendor/magento/module-catalog/Test/Mftf/Metadata/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/old/vendor/magento/module-catalog/Test/Mftf/Metadata/CategoryMeta.xml
<?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="CreateCategory" dataType="category" type="create" auth="adminOauth" url="/V1/categories" method="POST">
        <contentType>application/json</contentType>
        <object key="category" dataType="category">
            <field key="parent_id">integer</field>
            <field key="name">string</field>
            <field key="is_active">boolean</field>
            <field key="position">integer</field>
            <field key="level">integer</field>
            <field key="children">string</field>
            <field key="created_at">string</field>
            <field key="updated_at">string</field>
            <field key="path">string</field>
            <field key="include_in_menu">boolean</field>
            <array key="available_sort_by">
                <value>string</value>
            </array>
            <field key="extension_attributes">empty_extension_attribute</field>
            <array key="custom_attributes">
                <value>custom_attribute</value>
            </array>
        </object>
    </operation>

    <operation name="UpdateCategory" dataType="category" type="update" auth="adminOauth" url="/V1/categories/{id}" method="PUT">
        <contentType>application/json</contentType>
        <object key="category" dataType="category">
            <field key="id">integer</field>
            <field key="parent_id">integer</field>
            <field key="name">string</field>
            <field key="is_active">boolean</field>
            <field key="position">integer</field>
            <field key="level">integer</field>
            <field key="children">string</field>
            <field key="created_at">string</field>
            <field key="updated_at">string</field>
            <field key="path">string</field>
            <array key="available_sort_by">
                <value>string</value>
            </array>
            <field key="include_in_menu">boolean</field>
            <field key="extension_attributes">empty_extension_attribute</field>
            <array key="custom_attributes">
                <value>custom_attribute</value>
            </array>
        </object>
    </operation>

    <operation name="DeleteCategory" dataType="category" type="delete" auth="adminOauth" url="/V1/categories/{id}" method="DELETE">
        <contentType>application/json</contentType>
    </operation>

    <operation name="AssignProductToCategory" dataType="category_product_link" type="create" auth="adminOauth" url="/V1/categories/{id}/products" method="POST">
        <contentType>application/json</contentType>
        <object key="productLink" dataType="category_product_link">
            <field key="sku">string</field>
            <field key="category_id">string</field>
        </object>
    </operation>
</operations>

Spamworldpro Mini