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> |
@@ -1,37 +1,37 b'' | |||||
1 | <?xml version="1.1" encoding="UTF-8" ?> |
|
1 | <?xml version="1.1" encoding="UTF-8" ?> | |
2 | <response> |
|
2 | <response> | |
3 | <status>success</status> |
|
3 | <status>success</status> | |
4 | <models> |
|
4 | <models> | |
5 | <model name="post"> |
|
5 | <model name="post"> | |
6 |
<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> | |
10 | <pub-time>12</pub-time> |
|
10 | <pub-time>12</pub-time> | |
11 | <edit-time>13</edit-time> |
|
11 | <edit-time>13</edit-time> | |
12 | <!-- |
|
12 | <!-- | |
13 | Next and previous are the links to sequential models. |
|
13 | Next and previous are the links to sequential models. | |
14 | In the case of an image board, next are replies and previous |
|
14 | In the case of an image board, next are replies and previous | |
15 | are the posts we replied to. |
|
15 | are the posts we replied to. | |
16 | --> |
|
16 | --> | |
17 | <previous> |
|
17 | <previous> | |
18 |
<id |
|
18 | <id key="id1" local-id="3" /> | |
19 |
<id |
|
19 | <id key="id23" local-id="5" /> | |
20 | </previous> |
|
20 | </previous> | |
21 | <next> |
|
21 | <next> | |
22 |
<id |
|
22 | <id key="id2" local-id="3" /> | |
23 |
<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 |
|
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> | |
31 | <edit-time>13</edit-time> |
|
31 | <edit-time>13</edit-time> | |
32 | <tags> |
|
32 | <tags> | |
33 | <tag>tag1</tag> |
|
33 | <tag>tag1</tag> | |
34 | </tags> |
|
34 | </tags> | |
35 | </model> |
|
35 | </model> | |
36 | </models> |
|
36 | </models> | |
37 | </response> |
|
37 | </response> |
@@ -1,10 +1,10 b'' | |||||
1 | <?xml version="1.1" encoding="UTF-8" ?> |
|
1 | <?xml version="1.1" encoding="UTF-8" ?> | |
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