Skip to content

Commit

Permalink
Confluence: add parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
gonchik committed Jan 9, 2022
1 parent ee63f63 commit f99f094
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion atlassian/confluence.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def get_page_child_by_type(self, page_id, type="page", start=None, limit=None, e
params["limit"] = int(limit)
if expand is not None:
params["expand"] = expand

url = "rest/api/content/{page_id}/child/{type}".format(page_id=page_id, type=type)
log.info(url)

Expand Down
2 changes: 1 addition & 1 deletion docs/confluence.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Get page info
confluence.page_exists(space, title)
# Provide content by type (page, blog, comment)
confluence.get_page_child_by_type(page_id, type='page', start=None, limit=None)
confluence.get_page_child_by_type(page_id, type='page', start=None, limit=None, expand=None)
# Provide content id from search result by title and space
confluence.get_page_id(space, title)
Expand Down

0 comments on commit f99f094

Please sign in to comment.