1234567891011121314151617181920212223 |
- <?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="CreateCMSPage" dataType="cms_page" type="create" auth="adminOauth" url="/V1/cmsPage" method="POST">
- <contentType>application/json</contentType>
- <object key="page" dataType="cms_page">
- <field key="identifier">string</field>
- <field key="title">string</field>
- <field key="content_heading">string</field>
- <field key="active">true</field>
- <field key="content">string</field>
- </object>
- </operation>
- <operation name="DeleteCMS" dataType="cms_page" type="delete" auth="adminOauth" url="/V1/cmsPage/{id}" method="DELETE">
- <contentType>application/json</contentType>
- </operation>
- </operations>
|