Skip to content

Commit c70a0e2

Browse files
author
Gonchik Tsymzhitov
committed
Review the latest doc of Confluence for get page_by_id
1 parent 2b7c356 commit c70a0e2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

atlassian/confluence.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,7 @@ def get_page_by_id(self, page_id, expand=None, status=None, version=None):
188188
:param page_id: Content ID
189189
:param status: (str) list of Content statuses to filter results on. Default value: [current]
190190
:param version: (int)
191-
:param expand: OPTIONAL: A comma separated list of properties to expand on the content.
192-
Default value: history,space,version
191+
:param expand: OPTIONAL: Default value: history,space,version
193192
We can also specify some extensions such as extensions.inlineProperties
194193
(for getting inline comment-specific properties) or extensions.resolution
195194
for the resolution status of each comment in the results

examples/confluence/confluence-get-space-permissions.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# coding=utf-8
22
from atlassian import Confluence
3-
from var import config
3+
#from var import config
44
import logging
55
from pprint import pprint
66

@@ -16,4 +16,5 @@
1616
password=CONFLUENCE_PASSWORD,
1717
timeout=180)
1818

19+
confluence.allow_redirects = False
1920
pprint(confluence.get_space_permissions("DOC"))

0 commit comments

Comments
 (0)