-
Notifications
You must be signed in to change notification settings - Fork 664
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'refs/remotes/origin/master'
- Loading branch information
Showing
4 changed files
with
79 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
from atlassian import Confluence | ||
|
||
confluence = Confluence( | ||
url="<instance_url>", | ||
username="<atlassian_username>", | ||
password="api_key", | ||
) | ||
""" | ||
This is example on how to use confluence whiteboard endponds | ||
Currently only available on confluence cloud | ||
""" | ||
# create whiteboard. First parameter is a spaceID (not spacekey!), | ||
# second param is a name of whiteboard (optional), third one is a parent pageid (optional) | ||
confluence.create_whiteboard("42342", "My whiteboard", "545463") | ||
|
||
# To delete of get whiteboard, use whiteboard id | ||
# https://<instance_name>/wiki/spaces/<space_key>/whiteboard/<whiteboard_id> | ||
# Deleting a whiteboard moves the whiteboard to the trash, where it can be restored later | ||
confluence.delete_whiteboard("42342") | ||
confluence.get_whiteboard("42342") |