The Confluence.get_all_pages_from_space() implementation is wrong.
The Confluence.get_all_pages_from_space() implementation is wrong.
Based on the official document https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page/#api-spaces-id-pages-get, the url should be url = "https://{your-domain}/wiki/api/v2/spaces/{id}/pages". But in the code, the url is url = "rest/api/content".
The implementation is not wrong, but it is still using the original (i.e. v1) API schema. See here: https://github.com/atlassian-api/atlassian-python-api/issues/1200
Hi ! I am planning to add implement with the following condition : if self.cloud: url = wiki/api/v2/pages/{id} else: url = "rest/api/content".