REST API - Maintenance (Read-only mode)

Available since v. 2.35.0


Get current status

Available ONLY for Confluence System Administrators

Method type: GET

URL: {CONFLUENCE_URL}/rest/extender/1.0/maintenance/status

Response format: JSON

Example response:

{ "readOnlyMode": true, "bannerMessageOn": true, "bannerMessageText": "RO Enabled - please wait" }
{ "readOnlyMode": false, "bannerMessageOn": false, "bannerMessageText": "This site is read-only while we complete some maintenance. You can't create or edit pages right now." }
{ "readOnlyMode": false, "bannerMessageOn": true, "bannerMessageText": "RO Enabled - please wait" }

 


Change status

Available ONLY for Confluence System Administrators

Method type: POST

URL: {CONFLUENCE_URL}/rest/extender/1.0/maintenance/set

Request format: JSON

Example request:

Response format: JSON

Example response:

 

 

Â