confluence-python-lib
confluence-python-lib copied to clipboard
How to get Web Link from get_content() on a page ?
Hello,
I want to have the URL for the end-user to be able to click to the Wiki page. Seems the info is in _links.webui, but cannot retrieve that on a Content object. Limited to Attachement ? seems to be so in code.
Can you please help here ?
In class Content, init
if self.type == ContentType.ATTACHMENT:
self.links = json['_links'] # type: Dict[str, Any]
Why such a limitation to Attachments ?
don't see why such restriction.