##// END OF EJS Templates
Use 'models' tag in response, this allowes us to add new models in future
Use 'models' tag in response, this allowes us to add new models in future

File last commit:

r763:7bed6029 decentral
r763:7bed6029 decentral
Show More
sync_response.xml
30 lines | 734 B | application/xml | XmlLexer
neko259
Added XML header to the samples
r761 <?xml version="1.1" encoding="UTF-8" ?>
neko259
Added sample xmls to the protocol specification
r760 <response>
<status>success</status>
neko259
Use 'models' tag in response, this allowes us to add new models in future
r763 <models>
neko259
Added sample xmls to the protocol specification
r760 <post>
<id>id1/1</id>
<title>13</title>
<text>Thirteen</text>
<thread>id1/12</thread>
<pub-time>12</pub-time>
<edit-time>13</edit-time>
</post>
<post>
<id>id1/2</id>
neko259
Added tags to the xml response sample
r762 <title>13</title>
<text>Thirteen</text>
<pub-time>12</pub-time>
<edit-time>13</edit-time>
<tags>
<tag>tag1</tag>
</tags>
neko259
Added sample xmls to the protocol specification
r760 </post>
<post>
<id>id2/1</id>
</post>
<post>
<id>id2/5</id>
</post>
neko259
Use 'models' tag in response, this allowes us to add new models in future
r763 </models>
neko259
Added sample xmls to the protocol specification
r760 </response>