Skip to content

Commit 8df7c18

Browse files
committed
Confluence: add parameters
1 parent 8693ea1 commit 8df7c18

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

atlassian/confluence.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def get_page_child_by_type(self, page_id, type="page", start=None, limit=None, e
7474
params["limit"] = int(limit)
7575
if expand is not None:
7676
params["expand"] = expand
77-
77+
7878
url = "rest/api/content/{page_id}/child/{type}".format(page_id=page_id, type=type)
7979
log.info(url)
8080

docs/confluence.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Get page info
1010
confluence.page_exists(space, title)
1111
1212
# Provide content by type (page, blog, comment)
13-
confluence.get_page_child_by_type(page_id, type='page', start=None, limit=None)
13+
confluence.get_page_child_by_type(page_id, type='page', start=None, limit=None, expand=None)
1414
1515
# Provide content id from search result by title and space
1616
confluence.get_page_id(space, title)

0 commit comments

Comments
 (0)