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