PythonConfluenceAPI icon indicating copy to clipboard operation
PythonConfluenceAPI copied to clipboard

Adding 'wiki' representation for 'convert_contentbody_to_new_type'.

Open kymikoloco opened this issue 8 years ago • 0 comments

The Confluence REST API seemingly supports converting from wiki format to (at least) their storage format. However, the function convert_contentbody_to_new_type disallows old_representation to be 'wiki', as it looks like it was taken from their docs directly.

I have tested this locally with 2.7.10 and 3.5.2, and on my Confluence Server 5.10.1 it correctly returns the storage format.

See the Confluence Dev Content Conversion examples for the suggested usage.

kymikoloco avatar Mar 20 '17 20:03 kymikoloco