You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.rst
+37Lines changed: 37 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -95,6 +95,43 @@ The traditional jql method is deprecated for Jira Cloud users, as Atlassian has
95
95
data = jira.enhanced_jql(JQL)
96
96
print(data)
97
97
98
+
Using Confluence v2 API
99
+
_______________________
100
+
101
+
The library now supports Confluence's v2 API for Cloud instances. The v2 API provides improved performance, new content types, and more consistent endpoint patterns.
102
+
103
+
.. code-block:: python
104
+
105
+
from atlassian import Confluence
106
+
107
+
# Initialize with v2 API
108
+
confluence = Confluence(
109
+
url='https://your-instance.atlassian.net/wiki',
110
+
username='your-email@example.com',
111
+
password='your-api-token',
112
+
api_version=2, # Specify API version 2
113
+
cloud=True# v2 API is only available for cloud instances
0 commit comments