Skip to content

Commit fbfcb18

Browse files
authored
Merge pull request #312 from dacog/patch-2
add limit restriction for get_all_pages_from_space
2 parents 6fcb4c2 + 62314f5 commit fbfcb18

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/confluence.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,9 @@ Get page info
3535
3636
# Get all pages from Space
3737
# contet_type can be 'page' or 'blogpost'. Defaults to 'page'
38-
# expand is a comma separated list of properties to expand on the content.
39-
confluence.get_all_pages_from_space(space, start=0, limit=500, status=None, expand=None, content_type='page')
38+
# expand is a comma separated list of properties to expand on the content.
39+
# max limit is 100. For more you have to loop over start values.
40+
confluence.get_all_pages_from_space(space, start=0, limit=100, status=None, expand=None, content_type='page')
4041
4142
# Get list of pages from trash
4243
confluence.get_all_pages_from_space_trash(space, start=0, limit=500, status='trashed', content_type='page')

0 commit comments

Comments
 (0)