##// END OF EJS Templates
New model id format
neko259 -
r792:507fd1cf decentral
parent child Browse files
Show More
@@ -1,7 +1,7 b''
1 1 <?xml version="1.1" encoding="UTF-8" ?>
2 2 <request version="1.0" type="get">
3 3 <model version="1.0" name="post">
4 <id>id1/1</id>
5 <id>id2/56</id>
4 <id key="id1" local-id="1" />
5 <id key="id1" local-id="2" />
6 6 </model>
7 7 </request>
@@ -3,7 +3,7 b''
3 3 <status>success</status>
4 4 <models>
5 5 <model name="post">
6 <id>id1/1</id>
6 <id key="id1" local-id="1" />
7 7 <title>13</title>
8 8 <text>Thirteen</text>
9 9 <thread>id1/12</thread>
@@ -15,16 +15,16 b''
15 15 are the posts we replied to.
16 16 -->
17 17 <previous>
18 <id>id1/3</id>
19 <id>id23/5</id>
18 <id key="id1" local-id="3" />
19 <id key="id23" local-id="5" />
20 20 </previous>
21 21 <next>
22 <id>id2/3</id>
23 <id>id43/5</id>
22 <id key="id2" local-id="3" />
23 <id key="id43" local-id="5" />
24 24 </next>
25 25 </model>
26 26 <model name="post">
27 <id>id1/2</id>
27 <id key="id1" local-id="id2" />
28 28 <title>13</title>
29 29 <text>Thirteen</text>
30 30 <pub-time>12</pub-time>
@@ -2,9 +2,9 b''
2 2 <response>
3 3 <status>success</status>
4 4 <models>
5 <id>id1/1</id>
6 <id>id1/2</id>
7 <id>id2/1</id>
8 <id>id2/5</id>
5 <id key="id1" local-id="1" />
6 <id key="id1" local-id="2" />
7 <id key="id2" local-id="1" />
8 <id key="id2" local-id="5" />
9 9 </models>
10 10 </response>
General Comments 0
You need to be logged in to leave comments. Login now