##// END OF EJS Templates
Simplified request format. Now request type and version are in the root tag,...
neko259 -
r779:be6e741d decentral
parent child Browse files
Show More
@@ -1,16 +1,8 b''
1 <request>
1 <request version="1" type="get">
2 <version>
2 <type>get</type>
3 <protocol>1</protocol>
3 <model>post</model>
4 <models>
4 <filter>
5 <post>1</post>
5 <id>id1/1</id>
6 </models>
6 <id>id2/56</id>
7 </version>
7 </filter>
8 <data>
9 <type>get</type>
10 <model>post</model>
11 <options>
12 <id>id1/1</id>
13 <id>id2/56</id>
14 </options>
15 </data>
16 </request>
8 </request>
@@ -1,32 +1,22 b''
1 <?xml version="1.1" encoding="UTF-8" ?>
1 <?xml version="1.1" encoding="UTF-8" ?>
2 <request>
2 <request version="3" type="pull">
3 <version>
3 <model>post</model>
4 <protocol>1</protocol>
4 <filter>
5 <models>
5 <version>3</version>
6 <post>1</post>
6 <timestamp_from>0</timestamp_from>
7 </models>
7 <timestamp_to>0</timestamp_to>
8 </version>
8 <tags>
9 <data>
9 <tag>tag1</tag>
10 <!-- Request type -->
10 </tags>
11 <type>pull</type>
11 </filter>
12 <!-- Model which we wish to pull -->
12 <hosts>
13 <model>post</model>
13 <allow>
14 <options>
14 <host>*</host>
15 <timestamp_from>0</timestamp_from>
15 </allow>
16 <timestamp_to>0</timestamp_to>
16 <deny></deny>
17 <tags>
17 <pools>
18 <tag>tag1</tag>
18 <pool>test1</pool>
19 </tags>
19 <pool>test2</pool>
20 </options>
20 </pools>
21 <hosts>
21 </hosts>
22 <allow>
23 <host>*</host>
24 </allow>
25 <deny></deny>
26 <pools>
27 <pool>test1</pool>
28 <pool>test2</pool>
29 </pools>
30 </hosts>
31 </data>
32 </request>
22 </request>
General Comments 0
You need to be logged in to leave comments. Login now