Skip to content

Commit bf7ba62

Browse files
committed
Merge master into confluence-v2-implementation
2 parents 0214848 + ceaf357 commit bf7ba62

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

docs/confluence.rst

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,26 @@ Get spaces info
246246
# Get Space export download url
247247
confluence.get_space_export(space_key, export_type)
248248
249+
Space
250+
-----
251+
252+
.. code-block:: python
253+
254+
# Archive the given Space identified by spaceKey.
255+
# This method is idempotent i.e.,
256+
# if the Space is already archived then no action will be taken.
257+
confluence.archive_space(space_key)
258+
259+
# Get trash contents of space
260+
confluence.get_trashed_contents_by_space(space_key, cursor=None, expand=None, limit=100)
261+
262+
# Remove all trash contents of space
263+
confluence.remove_trashed_contents_by_space(space_key)
264+
265+
266+
267+
268+
249269
Get space permissions
250270
---------------------
251271

@@ -349,6 +369,12 @@ Users and Groups
349369
# Change calling user's password
350370
confluence.change_my_password(oldpass, newpass)
351371
372+
# Add given user to a group
373+
confluence.add_user_to_group(username, group_name)
374+
375+
# Remove given user from a group
376+
confluence.remove_user_from_group(username, group_name)
377+
352378
CQL
353379
---
354380

0 commit comments

Comments
 (0)