Skip to content

Commit ef46389

Browse files
Gonchik TsymzhitovGonchik Tsymzhitov
authored andcommitted
Confluence: Synchrony method
1 parent 5d596d9 commit ef46389

2 files changed

Lines changed: 19 additions & 1 deletion

File tree

atlassian/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.13.11
1+
1.13.12

atlassian/confluence.py

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -953,6 +953,24 @@ def health_check(self):
953953
response = self.get('rest/supportHealthCheck/1.0/check/')
954954
return response
955955

956+
def synchrony_enable(self):
957+
"""
958+
Enable Synchrony
959+
:return:
960+
"""
961+
headers = {'X-Atlassian-Token': 'no-check'}
962+
url = 'rest/synchrony-interop/enable'
963+
return self.post(url, headers=headers)
964+
965+
def synchrony_disable(self):
966+
"""
967+
Disable Synchrony
968+
:return:
969+
"""
970+
headers = {'X-Atlassian-Token': 'no-check'}
971+
url = 'rest/synchrony-interop/disable'
972+
return self.post(url, headers=headers)
973+
956974
def check_access_mode(self):
957975
return self.get("rest/api/accessmode")
958976

0 commit comments

Comments
 (0)