用于python的合流rest api客户端
pyfluence的Python项目详细描述
#pyfluence
----
Atlassian Confluence的Python2.7 rest API客户端
<;!--[![构建状态](https://travis-ci.org/pygithub/pygithub.svg?branch=master)(https://travis ci.org/pygithub/pygithub)-->;
<;!--[![pypi](https://img.shields.io/pypi/dm/pygithub.svg)(https://pypi.python.org/pypi?%3action=search&;term=pygithub&;submit=search)-->;
<;!--[![阅读文档](https://img.shields.io/badge/docs-latest-brightgreen.svg?style=flat)(http://pygithub.readthedocs.org/en/stable)-->;
<;!--[![许可证](https://img.shields.io/badge/license lgpl blue.svg)(https://en.wikipedia.org/wiki/gnu lesser_general_public_license)-->;
这个库允许您使用其rest api查看、编辑和删除Atlassian Confluence实例中的实体
[Confluence api v3]:https://docs.atlassian.com/confluence/rest/latest/
[Confluence]:https://www.atlassian.com/software/confluence
然后在这个空间中创建一个页面
content-ob=confluence.创建内容(
space-key=space-ob['key'],
type=“page”,
title=“测试父页”,
html-markup=<;h1>;这是一个测试页<;h1>;,
;然后您可以更新页面
self.confluence.update内容(
br/>space key=space-ob['key''key'],
style/>html
html>;这是一个测试页<;这是一个测试页>space_key=space_ob[“key”],
id=content_ob[“id”],
html_markup=“<;h1>;这是一个更新,
update_type=co.update_replace
)”
````
您可以按照以下说明操作:
https://developer.atlassian.com/server/framework/atlassian sdk/downloads/
unittest pyfluence/tests/test_confluence.py
>在此处查看汇流:
----
Atlassian Confluence的Python2.7 rest API客户端
<;!--[![构建状态](https://travis-ci.org/pygithub/pygithub.svg?branch=master)(https://travis ci.org/pygithub/pygithub)-->;
<;!--[![pypi](https://img.shields.io/pypi/dm/pygithub.svg)(https://pypi.python.org/pypi?%3action=search&;term=pygithub&;submit=search)-->;
<;!--[![阅读文档](https://img.shields.io/badge/docs-latest-brightgreen.svg?style=flat)(http://pygithub.readthedocs.org/en/stable)-->;
<;!--[![许可证](https://img.shields.io/badge/license lgpl blue.svg)(https://en.wikipedia.org/wiki/gnu lesser_general_public_license)-->;
这个库允许您使用其rest api查看、编辑和删除Atlassian Confluence实例中的实体
[Confluence api v3]:https://docs.atlassian.com/confluence/rest/latest/
[Confluence]:https://www.atlassian.com/software/confluence
然后在这个空间中创建一个页面
content-ob=confluence.创建内容(
space-key=space-ob['key'],
type=“page”,
title=“测试父页”,
html-markup=<;h1>;这是一个测试页<;h1>;,
;然后您可以更新页面
self.confluence.update内容(
br/>space key=space-ob['key''key'],
style/>html
html>;这是一个测试页<;这是一个测试页>space_key=space_ob[“key”],
id=content_ob[“id”],
html_markup=“<;h1>;这是一个更新,
update_type=co.update_replace
)”
````
您可以按照以下说明操作:
https://developer.atlassian.com/server/framework/atlassian sdk/downloads/
unittest pyfluence/tests/test_confluence.py
>在此处查看汇流: