This page describes the REST endpoints that are added by the @PLUGIN@ plugin.
Please also take note of the general information on the REST API.
Get the Readonly status.
GET /config/server/@PLUGIN@~readonly HTTP/1.0
As response a string is returned with the Readonly status, either on
or off
.
HTTP/1.1 200 OK Content-Disposition: attachment Content-Type: application/json;charset=UTF-8 )]}' "on"
Set the system in Readonly status.
PUT /config/server/@PLUGIN@~readonly HTTP/1.0
As response a string is returned with the Readonly status, either on
or off
.
HTTP/1.1 200 OK Content-Disposition: attachment Content-Type: application/json;charset=UTF-8 )]}' "on"
Set the system in Read-Write status.
DELETE /config/server/@PLUGIN@~readonly HTTP/1.0
As response a string is returned with the Readonly status, either on
or off
.
HTTP/1.1 200 OK Content-Disposition: attachment Content-Type: application/json;charset=UTF-8 )]}' "off"