##// END OF EJS Templates
Clarified the sync document
Clarified the sync document

File last commit:

r838:2b96b9e7 decentral
r839:b2941d7f decentral
Show More
response_get.xml
45 lines | 1.5 KiB | application/xml | XmlLexer
<?xml version="1.1" encoding="UTF-8" ?>
<response>
<!--
Valid statuses are 'success' and 'error'.
-->
<status>success</status>
<models>
<model name="post">
<!--
Content tag is the data that is signed by signatures and must
not be changed for the post from other node.
-->
<content>
<id key="id1" type="ecdsa" local-id="1" />
<title>13</title>
<text>Thirteen</text>
<thread>id1/12</thread>
<pub-time>12</pub-time>
</content>
<!--
There can be several signatures for one model. At least one
signature must be made with the key used in global ID.
-->
<signatures>
<signature key="id1" type="ecdsa" value="dhefhtreh" />
<signature key="id45" type="ecdsa" value="dsgfgdhefhtreh" />
</signatures>
</model>
<model name="post">
<content>
<id key="id1" type="ecdsa" local-id="id2" />
<title>13</title>
<text>Thirteen</text>
<pub-time>12</pub-time>
<edit-time>13</edit-time>
<tags>
<tag>tag1</tag>
</tags>
</content>
<signatures>
<signature key="id2" type="ecdsa" value="dehdfh" />
</signatures>
</model>
</models>
</response>