@@ -11,32 +11,34 @@ Besides `/suggester` and `/search` endpoints, everything is accessible from `loc
11
11
### return XML representation of configuration [GET ]
12
12
13
13
+ Response 200 (application/xml)
14
+ + Body
14
15
15
- ```
16
- <?xml version =" 1.0" encoding =" UTF-8" ?>
17
- <java version =" 1.8.0_172" class =" java.beans.XMLDecoder" >
18
- <object class =" org.opengrok.indexer.configuration.Configuration" id =" Configuration0" >
19
- <void property =" allowLeadingWildcard" >
20
- <boolean >true</boolean >
21
- </void >
22
- </object >
23
- </java >
24
- ```
16
+ ```
17
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
18
+ <java version =" 1.8.0_172" class =" java.beans.XMLDecoder" >
19
+ <object class =" org.opengrok.indexer.configuration.Configuration" id =" Configuration0" >
20
+ <void property =" allowLeadingWildcard" >
21
+ <boolean >true</boolean >
22
+ </void >
23
+ </object >
24
+ </java >
25
+ ```
25
26
26
27
### sets configuration from XML representation [POST ]
27
28
28
29
+ Request (application/xml)
29
-
30
- ```
31
- <?xml version="1.0" encoding="UTF- 8"?>
32
- <java version="1.8.0_172" class="java.beans.XMLDecoder">
33
- <object class="org.opengrok.indexer.configuration.Configuration" id="Configuration0">
34
- <void property="allowLeadingWildcard">
35
- <boolean>true</boolean>
36
- </void>
37
- </object>
38
- </java>
39
- ```
30
+ + Body
31
+
32
+ ```
33
+ <?xml version="1.0" encoding="UTF-8"?>
34
+ <java version="1.8.0_172" class="java.beans.XMLDecoder">
35
+ <object class="org.opengrok.indexer.configuration.Configuration" id="Configuration0">
36
+ <void property="allowLeadingWildcard">
37
+ <boolean>true</boolean>
38
+ </void>
39
+ </object>
40
+ </java>
41
+ ```
40
42
41
43
+ Response 201 (application/json)
42
44
@@ -378,6 +380,7 @@ Repository type is separated from the repository path with a colon.
378
380
+ Request (text/ plain)
379
381
+ Body
380
382
381
- lines of path description file
383
+ / foo bar
384
+ / foo/ foo bar bar
382
385
383
386
+ Response 204
0 commit comments