##// END OF EJS Templates
Moved signatures block to the model block. All the signed content is in the 'content' block now. Removed edit time, previous and next posts links from the XML sync output because they can be computed from the post itself and can be changed locally for foreign posts (which breaks the signature)
Moved signatures block to the model block. All the signed content is in the 'content' block now. Removed edit time, previous and next posts links from the XML sync output because they can be computed from the post itself and can be changed locally for foreign posts (which breaks the signature)

File last commit:

r788:9cb16299 decentral
r838:2b96b9e7 decentral
Show More
request_pull.xml
17 lines | 541 B | application/xml | XmlLexer
neko259
Renamed sync to pull in request and response
r777 <?xml version="1.1" encoding="UTF-8" ?>
neko259
Edited info about version
r786 <request version="1.0" type="pull">
neko259
Updated request and response samples to the simplier model definitions
r788 <model version="1.0" name="post">
neko259
Simplified request format. Now request type and version are in the root tag,...
r779 <timestamp_from>0</timestamp_from>
<timestamp_to>0</timestamp_to>
<tags>
<tag>tag1</tag>
</tags>
neko259
Updated request 'pull' to show how we filter the sender hosts
r783 <sender>
<allow>
<key>abcehy3h9t</key>
<key>ehoehyoe</key>
</allow>
<!-- There can be only allow block (all other are denied) or deny block (all other are allowed) -->
</sender>
neko259
Updated request and response samples to the simplier model definitions
r788 </model>
neko259
Renamed sync to pull in request and response
r777 </request>