You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Data upload can be done using various mechanisms : 

Using the REST API

Request:

URL 
URLhttps://uploaddata.bmdw.org
endpoint

/pydio/api/v2/io/bmdwxmlupload/UPD-ION0000-C.pgp

UPD-ION0000-C.pgp is the filename to be used

HEADER 
Authorizationbasic
Content-Typeapplication/x-www-form-urlencoded
X-Rename-If-Existstrue
Response 
XML
<?xml version="1.0" encoding="UTF-8" ?>
<tree>
<nodes_diff>
<add>
<treeis_file="true" filename="/UPD-ION0000-C12.pgp" mimestring_id="23" icon="mime_empty.png" fonticon="file" file_group="1"file_owner="1" ajxp_readonly="false" file_perms="0666" ajxp_modiftime="1490728602" bytesize="6387" ajxp_relativetime="Modified today at 19:16" ajxp_description="Modified today at 19:16" filesize="6.24 KB" md5="4a95dd3138a1ed69fa7d77eb7d1c1696" mimestring="File"node_repository_id="0228a1d8bf6005dff74f366c6432cb81" text="UPD-ION0000-C12.pgp" ajxp_im_time="1490728602"/>
</add>
</nodes_diff>
</tree>

 

 

  • No labels