Show More
@@ -1,24 +1,25 b'' | |||
|
1 | <?xml version="1.1" encoding="UTF-8" ?> | |
|
1 | 2 | <request> |
|
2 | 3 | <version> |
|
3 | 4 | <protocol>1</protocol> |
|
4 | 5 | <models> |
|
5 | 6 | <post>1</post> |
|
6 | 7 | </models> |
|
7 | 8 | </version> |
|
8 | 9 | <data> |
|
9 | 10 | <type>sync</type> |
|
10 | 11 | <timestamp>0</timestamp> |
|
11 | 12 | <hosts> |
|
12 | 13 | <allow> |
|
13 | 14 | <host>*</host> |
|
14 | 15 | </allow> |
|
15 | 16 | <deny></deny> |
|
16 | 17 | <pools> |
|
17 | 18 | <pool>test1</pool> |
|
18 | 19 | <pool>test2</pool> |
|
19 | 20 | </pools> |
|
20 | 21 | </hosts> |
|
21 | 22 | <!-- Get only posts id to load posts later (maybe from several hosts) --> |
|
22 | 23 | <id-only>true</id-only> |
|
23 | 24 | </data> |
|
24 | 25 | </request> |
@@ -1,22 +1,23 b'' | |||
|
1 | <?xml version="1.1" encoding="UTF-8" ?> | |
|
1 | 2 | <response> |
|
2 | 3 | <status>success</status> |
|
3 | 4 | <posts> |
|
4 | 5 | <post> |
|
5 | 6 | <id>id1/1</id> |
|
6 | 7 | <title>13</title> |
|
7 | 8 | <text>Thirteen</text> |
|
8 | 9 | <thread>id1/12</thread> |
|
9 | 10 | <pub-time>12</pub-time> |
|
10 | 11 | <edit-time>13</edit-time> |
|
11 | 12 | </post> |
|
12 | 13 | <post> |
|
13 | 14 | <id>id1/2</id> |
|
14 | 15 | </post> |
|
15 | 16 | <post> |
|
16 | 17 | <id>id2/1</id> |
|
17 | 18 | </post> |
|
18 | 19 | <post> |
|
19 | 20 | <id>id2/5</id> |
|
20 | 21 | </post> |
|
21 | 22 | </posts> |
|
22 | 23 | </response> |
General Comments 0
You need to be logged in to leave comments.
Login now