We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0073d5 commit f5f0882Copy full SHA for f5f0882
atlassian/confluence.py
@@ -1543,7 +1543,7 @@ def update_page(
1543
data["metadata"]["properties"]["content-appearance-draft"] = {"value": "full-width"}
1544
data["metadata"]["properties"]["content-appearance-published"] = {"value": "full-width"}
1545
try:
1546
- response = self.put("rest/api/content/{0}".format(page_id), data=data)
+ response = self.put("rest/api/content/{0}?status=current".format(page_id), data=data)
1547
except HTTPError as e:
1548
if e.response.status_code == 400:
1549
raise ApiValueError(
0 commit comments