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