File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ abstract class AbstractApi
26
26
/**
27
27
* default rest API prefix for confluence
28
28
*/
29
- private const URI_PREFIX = '/rest/api/ ' ;
29
+ private const URI_PREFIX = '/rest/api ' ;
30
30
31
31
private ConfluenceClient $ client ;
32
32
Original file line number Diff line number Diff line change @@ -33,6 +33,11 @@ class ContentBody implements Hydratable
33
33
* confluence representation
34
34
*/
35
35
public const REPRESENTATION_STYLED_VIEW = 'styled_view ' ;
36
+
37
+ /**
38
+ * confluence representation (wiki markup)
39
+ */
40
+ public const REPRESENTATION_WIKI = 'wiki ' ;
36
41
37
42
/**
38
43
* @example <ac:link><ri:user ri:userkey="a-valid-account-id" /></ac:link>
@@ -64,6 +69,7 @@ public static function isSupported(string $representation): bool
64
69
self ::REPRESENTATION_VIEW ,
65
70
self ::REPRESENTATION_EXPORT_VIEW ,
66
71
self ::REPRESENTATION_STYLED_VIEW ,
72
+ self ::REPRESENTATION_WIKI ,
67
73
], true ));
68
74
}
69
75
You can’t perform that action at this time.
0 commit comments