Skip to content

Commit 41e7b64

Browse files
committed
Crowd: update docs
1 parent ceaf357 commit 41e7b64

File tree

3 files changed

+35
-1
lines changed

3 files changed

+35
-1
lines changed

docs/crowd.rst

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ Manage groups
3838
# Get group's members
3939
crowd.group_members(group, kind='direct', max_results=99999)
4040
41+
# Create new group method
42+
crowd.group_create(groupname, description, active=True)
43+
4144
Get memberships
4245
----------------
4346

@@ -51,3 +54,32 @@ Get memberships
5154
# ...
5255
# }
5356
crowd.memberships
57+
58+
Healthcheck
59+
-------------
60+
61+
.. code-block:: python
62+
63+
# Check if the Crowd server is reachable
64+
crowd.health_check()
65+
66+
# Provide plugins info
67+
crowd.get_plugins_info()
68+
69+
# Provide plugin info
70+
crowd.get_plugin_info(plugin_key)
71+
72+
# Provide plugin license info
73+
crowd.get_plugin_license_info(plugin_key)
74+
75+
# Provide plugin path for upload into Jira e.g. useful for auto deploy
76+
crowd.upload_plugin(plugin_path)
77+
78+
# Delete plugin
79+
crowd.delete_plugin(plugin_key)
80+
81+
# Check plugin manager status
82+
crowd.check_plugin_manager_status()
83+
84+
# Update plugin license
85+
crowd.update_plugin_license(plugin_key, license_key)

examples/confluence/confluence_attach_file.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
# https://pypi.org/project/python-magic/
99
import magic
10+
1011
from atlassian import Confluence
1112

1213
logging.basicConfig(level=logging.DEBUG)

examples/confluence/confluence_download_attachments_from_page.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
from atlassian import Confluence
21
import os
32

3+
from atlassian import Confluence
4+
45
host = "<cloud_instance_url/wiki>"
56
username = "<user_email>"
67
password = "<API_TOKEN>"

0 commit comments

Comments
 (0)