Skip to content

Commit 41d273e

Browse files
author
andreas-j-hauser
committed
issue atlassian-api#280: adapt documentation
1 parent 3e5be76 commit 41d273e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/confluence.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,10 @@ Page actions
9292
# automatically version the new file and keep the old one
9393
confluence.attach_file(filename, page_id=None, title=None, space=None, comment=None)
9494
95+
# Attach (upload) a content to a page, if it exists it will update the
96+
# automatically version the new file and keep the old one
97+
confluence.attach_content(content, name=None, content_type=None, page_id=None, title=None, space=None, comment=None)
98+
9599
# Export page as PDF
96100
# api_version needs to be set to 'cloud' when exporting from Confluence Cloud.
97101
confluence.export_page(page_id)

0 commit comments

Comments
 (0)