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
2626 /**
2727 * default rest API prefix for confluence
2828 */
29- private const URI_PREFIX = '/rest/api/ ' ;
29+ private const URI_PREFIX = '/rest/api ' ;
3030
3131 private ConfluenceClient $ client ;
3232
Original file line number Diff line number Diff line change @@ -33,6 +33,11 @@ class ContentBody implements Hydratable
3333 * confluence representation
3434 */
3535 public const REPRESENTATION_STYLED_VIEW = 'styled_view ' ;
36+
37+ /**
38+ * confluence representation (wiki markup)
39+ */
40+ public const REPRESENTATION_WIKI = 'wiki ' ;
3641
3742 /**
3843 * @example <ac:link><ri:user ri:userkey="a-valid-account-id" /></ac:link>
@@ -64,6 +69,7 @@ public static function isSupported(string $representation): bool
6469 self ::REPRESENTATION_VIEW ,
6570 self ::REPRESENTATION_EXPORT_VIEW ,
6671 self ::REPRESENTATION_STYLED_VIEW ,
72+ self ::REPRESENTATION_WIKI ,
6773 ], true ));
6874 }
6975
You can’t perform that action at this time.
0 commit comments