Document
objects.
username/api_key
OAuth2 login
cookies
token
authenticationpage_id
values to load the corresponding pages.
space_key
value to load all pages within the specified confluence space.
page_ids
and space_key
are provided, the loader will return the union of pages from both lists.
Hint: Both space_key
and page_id
can be found in the URL of a Confluence page:https://yoursite.atlassian.com/wiki/spaces/{space_key}/pages/{page_id}
Document
objects by setting the boolean parameter include_attachments to True
(default: False
). When enabled, all attachments are downloaded and their text content is extracted and added to the Document.
Currently supported attachment types:
.pdf
).png
).jpeg
, .jpg
).svg
).doc
, .docx
).xls
, .xlsx
)limit
parameter specifies how many documents will be retrieved in a single call, not how many documents will be retrieved in total.
By default the code will return up to 1000 documents in 50 documents batches. To control the total number of documents use the max_pages
parameter.
Plese note the maximum value for the limit
parameter in the atlassian-python-api package is currently 100.