2

我想获得上下文页面融合,使用了python模块atlassian-python-api

https://github.com/AstroTech/atlassian-python-api

找到了如何创建新页面的示例

from atlassian import Confluence

confluence = Confluence(
    url='http://localhost:8090',
    username='admin',
    password='admin')

status = confluence.create_page(
    space='DEMO',
    title='This is the title',
    body='This is the body. You can use <strong>HTML tags</strong>!')

print(status)

如何获取上下文,例如此页面 http://conf01:8080/pages/viewpage.action?pageId=111113

4

1 回答 1

0

根据示例,您可以使用get_page_by_titleget_page_by_id获取页面内容。

于 2017-11-16T15:16:40.533 回答