we're able to create the asset through the API with following xml syntax:

<?xml version="1.0"?>
<node>
  <name>Headphones1</name>
  <type>mgnl:asset</type>
  <path>/demo-project/img/Headphones1</path>
 <properties>
    <property>
      <name>mediaType</name>
      <type>String</type>
      <multiple>false</multiple>
      <values>
        <value>image</value>
      </values>
    </property>
    <property>
      <name>name</name>
      <type>String</type>
      <multiple>false</multiple>
      <values>
        <value>Headphones1</value>
      </values>
    </property>
 </properties>
 </node>

However, it is unclear how to add the resource (with the base64 data and file 
info) to this call.

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=43da5975-b688-4697-9065-db71e678e85b


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to