DLI DC3 Object Model Reference
|
object | config/ |
Object representing configuration server |
This object contains the following items:
Sample requests
write command:
requests.put('http://192.168.0.100/restapi/config/',auth=auth,headers=headers,json=<...>)
Sample JS request
read command:
request.get({url:"config/"},function(error,response,body) {console.log(body)});
⇒
<...>
array | config/links/ |
List of user-defined links to display in the web UI |
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This array represents a value in persistent storage.
This array contains Link elements.
Sample uom
library link creation command:
uom.insert(uom.config.links,1,{description="test 5",href="test_url7"})
Sample curl
write command:
curl --digest -u admin:1234 -H "X-CSRF: x" -X PUT -H "Content-type: application/json" -H "Accept: application/json" --data-binary "[{\"description\":\"test 5\",\"href\":\"test_url7\"},{\"description\":\"test 3\",\"href\":\"test_url5\"}]" "http://192.168.0.100/restapi/config/links/"
See also Links list: Link
object | config/links/N/ |
User-defined link |
Retrieving the value is denied if not administrative user
This object represents a value in persistent storage.
This object contains the following items:
href | URI |
description | Description |
Sample JS request
write command (note that _link_index
is a variable):
request.put({url:"config/links/"+_link_index.toString()+"/",body:{"description":"test 3","href":"test_url5"}});
Sample requests
write command (note that _link_index
is a variable):
requests.put('http://192.168.0.100/restapi/config/links/'+str(_link_index)+'/',auth=auth,headers=headers,json={'description': 'test 5', 'href': 'test_url7'})
string | config/links/N/href/ |
The target URI of the link |
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This string represents a value in persistent storage.
Sample requests
read command (note that _link_index
is a variable):
print(requests.get('http://192.168.0.100/restapi/config/links/'+str(_link_index)+'/href/',auth=auth,headers=headers).json())
⇒
'test_url5'
Sample uom
library write command (note that _link_index
is a variable):
uom.config.links[_link_index].href="test_url5"
string | config/links/N/description/ |
The textual representation of the link |
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This string represents a value in persistent storage.
Sample curl
write command (note that :link_index
is a URL template argument):
curl --digest -u admin:1234 -H "X-CSRF: x" -X PUT -H "Content-type: application/json" -H "Accept: application/json" --data-binary "\"test 5\"" "http://192.168.0.100/restapi/config/links/:link_index/description/"
Sample CLI write command (note that link_index
is a variable):
uom set "config/links/${link_index}/description" "\"test 3\""
array | config/plots/ |
List of plots to display in the web UI |
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This array represents a value in persistent storage.
This array contains Plot elements.
Sample requests
plot creation command:
requests.post('http://192.168.0.100/restapi/config/plots/',auth=auth,headers=headers,json={'x2': {'min': None, 'softmax': None, 'max': None, 'tics': None, 'mtics': None, 'softmin': None}, 'y2': {'min': None, 'softmax': None, 'max': None, 'tics': None, 'mtics': None, 'softmin': None}, 'data': [{'ds': 'buses.0.voltage', 'style': {'type': 'solid', 'style': 'lines', 'width': 1, 'color': 'FF0000', 'axes': 'x1y1', 'marker': 'plus', 'size': 0}, 'title': 'Bus A voltage'}, {'ds': 'buses.1.voltage', 'style': {'type': 'solid', 'style': 'lines', 'width': 1, 'color': '0000FF', 'axes': 'x1y1', 'marker': 'plus', 'size': 0}, 'title': 'Bus B voltage'}], 'width': 640, 'title': 'Bus voltages', 'display': False, 'y1': {'min': 0, 'softmax': 110, 'max': None, 'tics': None, 'mtics': None, 'softmin': None}, 'x1': {'min': None, 'softmax': None, 'max': None, 'tics': None, 'mtics': None, 'softmin': None}, 'height': 480})
Sample uom
library plot creation command:
uom.insert(uom.config.plots,8,{data={{ds="battery_voltage",style={axes="x1y1",color="FF0000",marker="plus",size=0,style="lines",type="solid",width=1},title="Battery voltage"}},display=true,height=480,title="Battery voltage",width=640,x1={max=null,min=null,mtics=null,softmax=null,softmin=null,tics=null},x2={max=null,min=null,mtics=null,softmax=null,softmin=null,tics=null},y1={max=null,min=0,mtics=null,softmax=null,softmin=null,tics=null},y2={max=null,min=null,mtics=null,softmax=null,softmin=null,tics=null}})
object | config/plots/N/ |
Configuration of plot for measured values |
This object contains the following items:
title | Title |
display | Display |
width | Width |
height | Height |
x1 | X1 axis settings |
x2 | X2 axis settings |
y1 | Y1 axis settings |
y2 | Y2 axis settings |
data | Plot lines |
Sample uom
library read command (note that _plot_index
is a variable):
print(uom.dump(uom.config.plots[_plot_index]))
⇒
Sample requests
read command (note that _plot_index
is a variable):
print(requests.get('http://192.168.0.100/restapi/config/plots/'+str(_plot_index)+'/',auth=auth,headers=headers).json())
⇒
See also Plot: Title
See also Plot: Display
See also Plot: Width
See also Plot: Height
See also Plot: X1 axis settings
See also Plot: X2 axis settings
See also Plot: Y1 axis settings
See also Plot: Y2 axis settings
See also Plot: Plot lines
string | config/plots/N/title/ |
The title of the plot |
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This string represents a value in persistent storage.
Sample curl
read command (note that :plot_index
is a URL template argument):
curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/plots/:plot_index/title/"
⇒
"Temperature"
Sample requests
write command (note that _plot_index
is a variable):
requests.put('http://192.168.0.100/restapi/config/plots/'+str(_plot_index)+'/title/',auth=auth,headers=headers,json='Battery voltage')
sum (boolean) | config/plots/N/display/ |
Indicates whether the plot should be displayed |
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This sum represents a value in persistent storage.
This sum can assume the following values:
constant true | Shown | The plot is shown | |
constant false | Hidden | The plot is hidden |
Sample uom
library write command (note that _plot_index
is a variable):
uom.config.plots[_plot_index].display=true
Sample CLI read command (note that plot_index
is a variable):
uom get "config/plots/${plot_index}/display"
⇒
false
number | config/plots/N/width/ |
The width of the plot |
The value represents screen length, the standard unit of which is the pixel (px).
The value is subject to the following constraints: all of the following is true:
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This number represents a value in persistent storage.
Sample CLI write command (note that plot_index
is a variable):
uom set "config/plots/${plot_index}/width" "640"
Sample requests
read command (note that _plot_index
is a variable):
print(requests.get('http://192.168.0.100/restapi/config/plots/'+str(_plot_index)+'/width/',auth=auth,headers=headers).json())
⇒
640
number | config/plots/N/height/ |
The height of the plot |
The value represents screen length, the standard unit of which is the pixel (px).
The value is subject to the following constraints: all of the following is true:
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This number represents a value in persistent storage.
Sample CLI read command (note that plot_index
is a variable):
uom get "config/plots/${plot_index}/height"
⇒
480
Sample CLI write command (note that plot_index
is a variable):
uom set "config/plots/${plot_index}/height" "480"
object | config/plots/N/x1/ |
Configuration for X1 axis |
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This object is composite, i.e. is modified as a whole.
This object represents a value in persistent storage.
This object contains the following items:
min | Minimum, if any |
max | Maximum, if any |
softmin | Soft minimum, if any |
softmax | Soft maximum, if any |
tics | Major tick interval, if any |
mtics | Minor ticks per major tick, if any |
Sample requests
read command (note that _plot_index
is a variable):
print(requests.get('http://192.168.0.100/restapi/config/plots/'+str(_plot_index)+'/x1/',auth=auth,headers=headers).json())
⇒
{'min': None, 'softmax': None, 'max': None, 'tics': None, 'mtics': None, 'softmin': None}
Sample curl
write command (note that :plot_index
is a URL template argument):
curl --digest -u admin:1234 -H "X-CSRF: x" -X PUT -H "Content-type: application/json" -H "Accept: application/json" --data-binary "{\"min\":null,\"softmax\":null,\"max\":null,\"tics\":null,\"mtics\":null,\"softmin\":null}" "http://192.168.0.100/restapi/config/plots/:plot_index/x1/"
sum (optional number) | config/plots/N/x1/min/ |
Minimum value to display on the axis, if any |
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This sum is a part of a composite value which is modified as a whole.
This sum represents a value in persistent storage.
This sum can assume the following values:
constant null | Automatic | The maximum value is derived from data and the soft maximum | |
number | Minimum | Minimum value to display on the axis |
Sample CLI read command (note that plot_index
is a variable):
uom get "config/plots/${plot_index}/x1/min"
⇒
null
Sample curl
read command (note that :plot_index
is a URL template argument):
curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/plots/:plot_index/x1/min/"
⇒
null
sum (optional number) | config/plots/N/x1/max/ |
Maximum value to display on the axis, if any |
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This sum is a part of a composite value which is modified as a whole.
This sum represents a value in persistent storage.
This sum can assume the following values:
constant null | Automatic | The minimum value is derived from data and the soft minimum | |
number | Maximum | Maximum value to display on the axis |
Sample uom
library write command (note that _plot_index
is a variable):
uom.config.plots[_plot_index].x1.max=null
Sample curl
write command (note that :plot_index
is a URL template argument):
curl --digest -u admin:1234 -H "X-CSRF: x" -X PUT -H "Content-type: application/json" -H "Accept: application/json" --data-binary "null" "http://192.168.0.100/restapi/config/plots/:plot_index/x1/max/"
sum (optional number) | config/plots/N/x1/softmin/ |
Minimum value to display on the axis unless values exist below it, if any |
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This sum is a part of a composite value which is modified as a whole.
This sum represents a value in persistent storage.
This sum can assume the following values:
constant null | None | No soft maximum defined | |
number | Soft minimum | Minimum value to display on the axis unless values exist below it |
Sample CLI write command (note that plot_index
is a variable):
uom set "config/plots/${plot_index}/x1/softmin" "null"
Sample uom
library read command (note that _plot_index
is a variable):
print(uom.dump(uom.config.plots[_plot_index].x1.softmin))
⇒
null
sum (optional number) | config/plots/N/x1/softmax/ |
Maximum value to display on the axis unless values exist above it, if any |
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This sum is a part of a composite value which is modified as a whole.
This sum represents a value in persistent storage.
This sum can assume the following values:
constant null | None | No soft minimum defined | |
number | Soft maximum | Maximum value to display on the axis unless values exist above it |
Sample CLI read command (note that plot_index
is a variable):
uom get "config/plots/${plot_index}/x1/softmax"
⇒
null
Sample JS request
read command (note that _plot_index
is a variable):
request.get({url:"config/plots/"+_plot_index.toString()+"/x1/softmax/"},function(error,response,body) {console.log(body)});
⇒
null
sum (optional number) | config/plots/N/x1/tics/ |
The interval, in value units, between major ticks of the axis, if any |
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This sum is a part of a composite value which is modified as a whole.
This sum represents a value in persistent storage.
This sum can assume the following values:
constant null | Automatic | The tick interval is derived from data and size | |
number | Major tick interval | The interval, in value units, between major ticks of the axis |
Sample curl
write command (note that :plot_index
is a URL template argument):
curl --digest -u admin:1234 -H "X-CSRF: x" -X PUT -H "Content-type: application/json" -H "Accept: application/json" --data-binary "null" "http://192.168.0.100/restapi/config/plots/:plot_index/x1/tics/"
Sample CLI read command (note that plot_index
is a variable):
uom get "config/plots/${plot_index}/x1/tics"
⇒
null
sum (optional number) | config/plots/N/x1/mtics/ |
The number of minor ticks between two major ticks, if any |
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This sum is a part of a composite value which is modified as a whole.
This sum represents a value in persistent storage.
This sum can assume the following values:
constant null | None | There are no minor ticks | |
number | Minor ticks per major tick | The number of minor ticks between two major ticks | all of the following is true: |
Sample JS request
write command (note that _plot_index
is a variable):
request.put({url:"config/plots/"+_plot_index.toString()+"/x1/mtics/",body:null});
Sample uom
library read command (note that _plot_index
is a variable):
print(uom.dump(uom.config.plots[_plot_index].x1.mtics))
⇒
null
object | config/plots/N/x2/ |
Configuration for X2 axis |
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This object is composite, i.e. is modified as a whole.
This object represents a value in persistent storage.
This object contains the following items:
min | Minimum, if any |
max | Maximum, if any |
softmin | Soft minimum, if any |
softmax | Soft maximum, if any |
tics | Major tick interval, if any |
mtics | Minor ticks per major tick, if any |
Sample JS request
write command (note that _plot_index
is a variable):
request.put({url:"config/plots/"+_plot_index.toString()+"/x2/",body:{"min":null,"softmax":null,"max":null,"tics":null,"mtics":null,"softmin":null}});
Sample requests
read command (note that _plot_index
is a variable):
print(requests.get('http://192.168.0.100/restapi/config/plots/'+str(_plot_index)+'/x2/',auth=auth,headers=headers).json())
⇒
{'min': None, 'softmax': None, 'max': None, 'tics': None, 'mtics': None, 'softmin': None}
sum (optional number) | config/plots/N/x2/min/ |
Minimum value to display on the axis, if any |
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This sum is a part of a composite value which is modified as a whole.
This sum represents a value in persistent storage.
This sum can assume the following values:
constant null | Automatic | The maximum value is derived from data and the soft maximum | |
number | Minimum | Minimum value to display on the axis |
Sample curl
read command (note that :plot_index
is a URL template argument):
curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/plots/:plot_index/x2/min/"
⇒
null
Sample requests
write command (note that _plot_index
is a variable):
requests.put('http://192.168.0.100/restapi/config/plots/'+str(_plot_index)+'/x2/min/',auth=auth,headers=headers,json=None)
sum (optional number) | config/plots/N/x2/max/ |
Maximum value to display on the axis, if any |
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This sum is a part of a composite value which is modified as a whole.
This sum represents a value in persistent storage.
This sum can assume the following values:
constant null | Automatic | The minimum value is derived from data and the soft minimum | |
number | Maximum | Maximum value to display on the axis |
Sample CLI write command (note that plot_index
is a variable):
uom set "config/plots/${plot_index}/x2/max" "null"
Sample requests
read command (note that _plot_index
is a variable):
print(requests.get('http://192.168.0.100/restapi/config/plots/'+str(_plot_index)+'/x2/max/',auth=auth,headers=headers).json())
⇒
None
sum (optional number) | config/plots/N/x2/softmin/ |
Minimum value to display on the axis unless values exist below it, if any |
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This sum is a part of a composite value which is modified as a whole.
This sum represents a value in persistent storage.
This sum can assume the following values:
constant null | None | No soft maximum defined | |
number | Soft minimum | Minimum value to display on the axis unless values exist below it |
Sample uom
library write command (note that _plot_index
is a variable):
uom.config.plots[_plot_index].x2.softmin=null
Sample CLI write command (note that plot_index
is a variable):
uom set "config/plots/${plot_index}/x2/softmin" "null"
sum (optional number) | config/plots/N/x2/softmax/ |
Maximum value to display on the axis unless values exist above it, if any |
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This sum is a part of a composite value which is modified as a whole.
This sum represents a value in persistent storage.
This sum can assume the following values:
constant null | None | No soft minimum defined | |
number | Soft maximum | Maximum value to display on the axis unless values exist above it |
Sample requests
read command (note that _plot_index
is a variable):
print(requests.get('http://192.168.0.100/restapi/config/plots/'+str(_plot_index)+'/x2/softmax/',auth=auth,headers=headers).json())
⇒
None
Sample JS request
read command (note that _plot_index
is a variable):
request.get({url:"config/plots/"+_plot_index.toString()+"/x2/softmax/"},function(error,response,body) {console.log(body)});
⇒
null
sum (optional number) | config/plots/N/x2/tics/ |
The interval, in value units, between major ticks of the axis, if any |
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This sum is a part of a composite value which is modified as a whole.
This sum represents a value in persistent storage.
This sum can assume the following values:
constant null | Automatic | The tick interval is derived from data and size | |
number | Major tick interval | The interval, in value units, between major ticks of the axis |
Sample uom
library read command (note that _plot_index
is a variable):
print(uom.dump(uom.config.plots[_plot_index].x2.tics))
⇒
null
Sample uom
library write command (note that _plot_index
is a variable):
uom.config.plots[_plot_index].x2.tics=null
sum (optional number) | config/plots/N/x2/mtics/ |
The number of minor ticks between two major ticks, if any |
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This sum is a part of a composite value which is modified as a whole.
This sum represents a value in persistent storage.
This sum can assume the following values:
constant null | None | There are no minor ticks | |
number | Minor ticks per major tick | The number of minor ticks between two major ticks | all of the following is true: |
Sample requests
write command (note that _plot_index
is a variable):
requests.put('http://192.168.0.100/restapi/config/plots/'+str(_plot_index)+'/x2/mtics/',auth=auth,headers=headers,json=None)
Sample JS request
write command (note that _plot_index
is a variable):
request.put({url:"config/plots/"+_plot_index.toString()+"/x2/mtics/",body:null});
object | config/plots/N/y1/ |
Configuration for Y1 axis |
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This object is composite, i.e. is modified as a whole.
This object represents a value in persistent storage.
This object contains the following items:
min | Minimum, if any |
max | Maximum, if any |
softmin | Soft minimum, if any |
softmax | Soft maximum, if any |
tics | Major tick interval, if any |
mtics | Minor ticks per major tick, if any |
Sample CLI read command (note that plot_index
is a variable):
uom get "config/plots/${plot_index}/y1"
⇒
{"min":0,"softmax":null,"max":null,"tics":null,"mtics":null,"softmin":null}
Sample curl
write command (note that :plot_index
is a URL template argument):
curl --digest -u admin:1234 -H "X-CSRF: x" -X PUT -H "Content-type: application/json" -H "Accept: application/json" --data-binary "{\"min\":0,\"softmax\":110,\"max\":null,\"tics\":null,\"mtics\":null,\"softmin\":null}" "http://192.168.0.100/restapi/config/plots/:plot_index/y1/"
sum (optional number) | config/plots/N/y1/min/ |
Minimum value to display on the axis, if any |
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This sum is a part of a composite value which is modified as a whole.
This sum represents a value in persistent storage.
This sum can assume the following values:
constant null | Automatic | The maximum value is derived from data and the soft maximum | |
number | Minimum | Minimum value to display on the axis |
Sample requests
write command (note that _plot_index
is a variable):
requests.put('http://192.168.0.100/restapi/config/plots/'+str(_plot_index)+'/y1/min/',auth=auth,headers=headers,json=0)
Sample uom
library read command (note that _plot_index
is a variable):
print(uom.dump(uom.config.plots[_plot_index].y1.min))
⇒
0
sum (optional number) | config/plots/N/y1/max/ |
Maximum value to display on the axis, if any |
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This sum is a part of a composite value which is modified as a whole.
This sum represents a value in persistent storage.
This sum can assume the following values:
constant null | Automatic | The minimum value is derived from data and the soft minimum | |
number | Maximum | Maximum value to display on the axis |
Sample curl
read command (note that :plot_index
is a URL template argument):
curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/plots/:plot_index/y1/max/"
⇒
null
Sample CLI read command (note that plot_index
is a variable):
uom get "config/plots/${plot_index}/y1/max"
⇒
null
sum (optional number) | config/plots/N/y1/softmin/ |
Minimum value to display on the axis unless values exist below it, if any |
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This sum is a part of a composite value which is modified as a whole.
This sum represents a value in persistent storage.
This sum can assume the following values:
constant null | None | No soft maximum defined | |
number | Soft minimum | Minimum value to display on the axis unless values exist below it |
Sample requests
write command (note that _plot_index
is a variable):
requests.put('http://192.168.0.100/restapi/config/plots/'+str(_plot_index)+'/y1/softmin/',auth=auth,headers=headers,json=None)
Sample uom
library read command (note that _plot_index
is a variable):
print(uom.dump(uom.config.plots[_plot_index].y1.softmin))
⇒
null
sum (optional number) | config/plots/N/y1/softmax/ |
Maximum value to display on the axis unless values exist above it, if any |
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This sum is a part of a composite value which is modified as a whole.
This sum represents a value in persistent storage.
This sum can assume the following values:
constant null | None | No soft minimum defined | |
number | Soft maximum | Maximum value to display on the axis unless values exist above it |
Sample uom
library write command (note that _plot_index
is a variable):
uom.config.plots[_plot_index].y1.softmax=110
Sample requests
write command (note that _plot_index
is a variable):
requests.put('http://192.168.0.100/restapi/config/plots/'+str(_plot_index)+'/y1/softmax/',auth=auth,headers=headers,json=None)
sum (optional number) | config/plots/N/y1/tics/ |
The interval, in value units, between major ticks of the axis, if any |
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This sum is a part of a composite value which is modified as a whole.
This sum represents a value in persistent storage.
This sum can assume the following values:
constant null | Automatic | The tick interval is derived from data and size | |
number | Major tick interval | The interval, in value units, between major ticks of the axis |
Sample uom
library read command (note that _plot_index
is a variable):
print(uom.dump(uom.config.plots[_plot_index].y1.tics))
⇒
null
Sample requests
read command (note that _plot_index
is a variable):
print(requests.get('http://192.168.0.100/restapi/config/plots/'+str(_plot_index)+'/y1/tics/',auth=auth,headers=headers).json())
⇒
None
sum (optional number) | config/plots/N/y1/mtics/ |
The number of minor ticks between two major ticks, if any |
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This sum is a part of a composite value which is modified as a whole.
This sum represents a value in persistent storage.
This sum can assume the following values:
constant null | None | There are no minor ticks | |
number | Minor ticks per major tick | The number of minor ticks between two major ticks | all of the following is true: |
Sample JS request
write command (note that _plot_index
is a variable):
request.put({url:"config/plots/"+_plot_index.toString()+"/y1/mtics/",body:null});
Sample CLI write command (note that plot_index
is a variable):
uom set "config/plots/${plot_index}/y1/mtics" "null"
object | config/plots/N/y2/ |
Configuration for Y2 axis |
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This object is composite, i.e. is modified as a whole.
This object represents a value in persistent storage.
This object contains the following items:
min | Minimum, if any |
max | Maximum, if any |
softmin | Soft minimum, if any |
softmax | Soft maximum, if any |
tics | Major tick interval, if any |
mtics | Minor ticks per major tick, if any |
Sample requests
write command (note that _plot_index
is a variable):
requests.put('http://192.168.0.100/restapi/config/plots/'+str(_plot_index)+'/y2/',auth=auth,headers=headers,json={'min': None, 'softmax': None, 'max': None, 'tics': None, 'mtics': None, 'softmin': None})
Sample curl
read command (note that :plot_index
is a URL template argument):
curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/plots/:plot_index/y2/"
⇒
{"min":null,"softmax":null,"max":null,"tics":null,"mtics":null,"softmin":null}
sum (optional number) | config/plots/N/y2/min/ |
Minimum value to display on the axis, if any |
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This sum is a part of a composite value which is modified as a whole.
This sum represents a value in persistent storage.
This sum can assume the following values:
constant null | Automatic | The maximum value is derived from data and the soft maximum | |
number | Minimum | Minimum value to display on the axis |
Sample JS request
read command (note that _plot_index
is a variable):
request.get({url:"config/plots/"+_plot_index.toString()+"/y2/min/"},function(error,response,body) {console.log(body)});
⇒
0
Sample uom
library read command (note that _plot_index
is a variable):
print(uom.dump(uom.config.plots[_plot_index].y2.min))
⇒
0
sum (optional number) | config/plots/N/y2/max/ |
Maximum value to display on the axis, if any |
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This sum is a part of a composite value which is modified as a whole.
This sum represents a value in persistent storage.
This sum can assume the following values:
constant null | Automatic | The minimum value is derived from data and the soft minimum | |
number | Maximum | Maximum value to display on the axis |
Sample CLI write command (note that plot_index
is a variable):
uom set "config/plots/${plot_index}/y2/max" "null"
Sample uom
library read command (note that _plot_index
is a variable):
print(uom.dump(uom.config.plots[_plot_index].y2.max))
⇒
null
sum (optional number) | config/plots/N/y2/softmin/ |
Minimum value to display on the axis unless values exist below it, if any |
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This sum is a part of a composite value which is modified as a whole.
This sum represents a value in persistent storage.
This sum can assume the following values:
constant null | None | No soft maximum defined | |
number | Soft minimum | Minimum value to display on the axis unless values exist below it |
Sample curl
read command (note that :plot_index
is a URL template argument):
curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/plots/:plot_index/y2/softmin/"
⇒
null
Sample requests
write command (note that _plot_index
is a variable):
requests.put('http://192.168.0.100/restapi/config/plots/'+str(_plot_index)+'/y2/softmin/',auth=auth,headers=headers,json=None)
sum (optional number) | config/plots/N/y2/softmax/ |
Maximum value to display on the axis unless values exist above it, if any |
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This sum is a part of a composite value which is modified as a whole.
This sum represents a value in persistent storage.
This sum can assume the following values:
constant null | None | No soft minimum defined | |
number | Soft maximum | Maximum value to display on the axis unless values exist above it |
Sample CLI write command (note that plot_index
is a variable):
uom set "config/plots/${plot_index}/y2/softmax" "null"
Sample requests
write command (note that _plot_index
is a variable):
requests.put('http://192.168.0.100/restapi/config/plots/'+str(_plot_index)+'/y2/softmax/',auth=auth,headers=headers,json=None)
sum (optional number) | config/plots/N/y2/tics/ |
The interval, in value units, between major ticks of the axis, if any |
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This sum is a part of a composite value which is modified as a whole.
This sum represents a value in persistent storage.
This sum can assume the following values:
constant null | Automatic | The tick interval is derived from data and size | |
number | Major tick interval | The interval, in value units, between major ticks of the axis |
Sample uom
library read command (note that _plot_index
is a variable):
print(uom.dump(uom.config.plots[_plot_index].y2.tics))
⇒
null
Sample CLI write command (note that plot_index
is a variable):
uom set "config/plots/${plot_index}/y2/tics" "null"
sum (optional number) | config/plots/N/y2/mtics/ |
The number of minor ticks between two major ticks, if any |
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This sum is a part of a composite value which is modified as a whole.
This sum represents a value in persistent storage.
This sum can assume the following values:
constant null | None | There are no minor ticks | |
number | Minor ticks per major tick | The number of minor ticks between two major ticks | all of the following is true: |
Sample curl
write command (note that :plot_index
is a URL template argument):
curl --digest -u admin:1234 -H "X-CSRF: x" -X PUT -H "Content-type: application/json" -H "Accept: application/json" --data-binary "null" "http://192.168.0.100/restapi/config/plots/:plot_index/y2/mtics/"
Sample curl
read command (note that :plot_index
is a URL template argument):
curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/plots/:plot_index/y2/mtics/"
⇒
null
object | config/plots/N/data/N/style/ |
Style of the plot line |
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This object is a part of a composite value which is modified as a whole.
This object represents a value in persistent storage.
This object contains the following items:
style | Line style |
type | Line type |
color | Line color |
width | Line width |
marker | Marker type |
size | Marker size |
axes | Base axes |
Sample uom
library write command (note that _plot_index
and _plot_line_configuration_index
are variables):
uom.config.plots[_plot_index].data[_plot_line_configuration_index].style={axes="x1y1",color="0000FF",marker="plus",size=0,style="lines",type="solid",width=1}
Sample uom
library read command (note that _plot_index
and _plot_line_configuration_index
are variables):
print(uom.dump(uom.config.plots[_plot_index].data[_plot_line_configuration_index].style))
⇒
{axes="x1y1",color="FF0000",marker="plus",size=0,style="lines",type="solid",width=1}
string | config/plots/N/data/N/style/style/ |
The style of the line |
The value is subject to the following constraints: plot styles[the value]
This string is a part of a composite value which is modified as a whole.
This string represents a value in persistent storage.
Sample uom
library read command (note that _plot_index
and _plot_line_configuration_index
are variables):
print(uom.dump(uom.config.plots[_plot_index].data[_plot_line_configuration_index].style.style))
⇒
"lines"
Sample CLI write command (note that plot_index
and plot_line_configuration_index
are variables):
uom set "config/plots/${plot_index}/data/${plot_line_configuration_index}/style/style" "\"lines\""
string | config/plots/N/data/N/style/type/ |
The type of the line |
The value is subject to the following constraints: line types[the value]
This string is a part of a composite value which is modified as a whole.
This string represents a value in persistent storage.
Sample CLI write command (note that plot_index
and plot_line_configuration_index
are variables):
uom set "config/plots/${plot_index}/data/${plot_line_configuration_index}/style/type" "\"solid\""
Sample JS request
write command (note that _plot_index
and _plot_line_configuration_index
are variables):
request.put({url:"config/plots/"+_plot_index.toString()+"/data/"+_plot_line_configuration_index.toString()+"/style/type/",body:"solid"});
string | config/plots/N/data/N/style/color/ |
The color of the line |
The value is subject to the following constraints: the value matches ^[0-9A-F]{6}$
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This string is a part of a composite value which is modified as a whole.
This string represents a value in persistent storage.
Sample JS request
write command (note that _plot_index
and _plot_line_configuration_index
are variables):
request.put({url:"config/plots/"+_plot_index.toString()+"/data/"+_plot_line_configuration_index.toString()+"/style/color/",body:"FF0000"});
Sample uom
library write command (note that _plot_index
and _plot_line_configuration_index
are variables):
uom.config.plots[_plot_index].data[_plot_line_configuration_index].style.color="0000FF"
number | config/plots/N/data/N/style/width/ |
The width of the line |
The value represents screen length, the standard unit of which is the pixel (px).
The value is subject to the following constraints: all of the following is true:
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This number is a part of a composite value which is modified as a whole.
This number represents a value in persistent storage.
Sample requests
read command (note that _plot_index
and _plot_line_configuration_index
are variables):
print(requests.get('http://192.168.0.100/restapi/config/plots/'+str(_plot_index)+'/data/'+str(_plot_line_configuration_index)+'/style/width/',auth=auth,headers=headers).json())
⇒
1
Sample JS request
read command (note that _plot_index
and _plot_line_configuration_index
are variables):
request.get({url:"config/plots/"+_plot_index.toString()+"/data/"+_plot_line_configuration_index.toString()+"/style/width/"},function(error,response,body) {console.log(body)});
⇒
1
string | config/plots/N/data/N/style/marker/ |
The type of the marker |
The value is subject to the following constraints: marker types[the value]
This string is a part of a composite value which is modified as a whole.
This string represents a value in persistent storage.
Sample CLI write command (note that plot_index
and plot_line_configuration_index
are variables):
uom set "config/plots/${plot_index}/data/${plot_line_configuration_index}/style/marker" "\"plus\""
Sample curl
read command (note that :plot_index
and :plot_line_configuration_index
are URL template arguments):
curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/plots/:plot_index/data/:plot_line_configuration_index/style/marker/"
⇒
"plus"
number | config/plots/N/data/N/style/size/ |
The size of the markers |
The value represents screen length, the standard unit of which is the pixel (px).
The value is subject to the following constraints: all of the following is true:
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This number is a part of a composite value which is modified as a whole.
This number represents a value in persistent storage.
Sample uom
library write command (note that _plot_index
and _plot_line_configuration_index
are variables):
uom.config.plots[_plot_index].data[_plot_line_configuration_index].style.size=0
Sample requests
read command (note that _plot_index
and _plot_line_configuration_index
are variables):
print(requests.get('http://192.168.0.100/restapi/config/plots/'+str(_plot_index)+'/data/'+str(_plot_line_configuration_index)+'/style/size/',auth=auth,headers=headers).json())
⇒
0
string | config/plots/N/data/N/style/axes/ |
The axes on which the line should be plotted. Units of lines plotted on the same axes must match |
The value is subject to the following constraints: axes[the value]
This string is a part of a composite value which is modified as a whole.
This string represents a value in persistent storage.
Sample JS request
read command (note that _plot_index
and _plot_line_configuration_index
are variables):
request.get({url:"config/plots/"+_plot_index.toString()+"/data/"+_plot_line_configuration_index.toString()+"/style/axes/"},function(error,response,body) {console.log(body)});
⇒
"x1y1"
Sample JS request
write command (note that _plot_index
and _plot_line_configuration_index
are variables):
request.put({url:"config/plots/"+_plot_index.toString()+"/data/"+_plot_line_configuration_index.toString()+"/style/axes/",body:"x1y1"});
array | config/plots/N/data/ |
Configurations of values to plot |
This array is composite, i.e. is modified as a whole.
This array contains Plot line configuration elements.
Sample CLI plot line configuration creation command (note that plot_index
is a variable):
uom insert "config/plots/${plot_index}/data/0" "{\"ds\":\"environment.illuminance\",\"style\":{\"type\":\"solid\",\"style\":\"lines\",\"width\":1,\"color\":\"FF0000\",\"axes\":\"x1y1\",\"marker\":\"plus\",\"size\":0},\"title\":\"Illuminance\"}"
Sample uom
library plot line configuration creation command (note that _plot_index
is a variable):
local composite=uom.copy(uom.config.plots[_plot_index].data) uom.insert(composite,2,{ds="buses.1.current",style={axes="x1y1",color="0000FF",marker="plus",size=0,style="lines",type="solid",width=1},title="Bus B current"}) uom.config.plots[_plot_index].data=composite
object | config/plots/N/data/N/ |
Properties of a plot line |
This object is a part of a composite value which is modified as a whole.
This object contains the following items:
ds | Data source |
title | Title |
style | Style |
Sample curl
deletion command (note that :plot_index
and :plot_line_configuration_index
are URL template arguments):
curl --digest -u admin:1234 -H "X-CSRF: x" -X DELETE -H "Accept: application/json" "http://192.168.0.100/restapi/config/plots/:plot_index/data/:plot_line_configuration_index/"
Sample curl
read command (note that :plot_index
and :plot_line_configuration_index
are URL template arguments):
curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/plots/:plot_index/data/:plot_line_configuration_index/"
⇒
{"ds":"buses.1.current","style":{"type":"solid","style":"lines","width":1,"color":"0000FF","axes":"x1y1","marker":"plus","size":0},"title":"Bus B current"}
string | config/plots/N/data/N/ds/ |
Identifier of the data source to use |
The value is subject to the following constraints: measured values[the value]
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This string is a part of a composite value which is modified as a whole.
This string represents a value in persistent storage.
Sample JS request
write command (note that _plot_index
and _plot_line_configuration_index
are variables):
request.put({url:"config/plots/"+_plot_index.toString()+"/data/"+_plot_line_configuration_index.toString()+"/ds/",body:"relay_voltage"});
Sample uom
library read command (note that _plot_index
and _plot_line_configuration_index
are variables):
print(uom.dump(uom.config.plots[_plot_index].data[_plot_line_configuration_index].ds))
⇒
"relay_voltage"
string | config/plots/N/data/N/title/ |
The title of the plot line |
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This string is a part of a composite value which is modified as a whole.
This string represents a value in persistent storage.
Sample CLI write command (note that plot_index
and plot_line_configuration_index
are variables):
uom set "config/plots/${plot_index}/data/${plot_line_configuration_index}/title" "\"Temperature\""
Sample JS request
read command (note that _plot_index
and _plot_line_configuration_index
are variables):
request.get({url:"config/plots/"+_plot_index.toString()+"/data/"+_plot_line_configuration_index.toString()+"/title/"},function(error,response,body) {console.log(body)});
⇒
"Relay voltage"
See also Plot line configuration: Style
array | config/meters/ |
List of meters to display in the web UI |
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This array represents a value in persistent storage.
This array contains Meter configuration elements.
Sample requests
read command:
print(requests.get('http://192.168.0.100/restapi/config/meters/',auth=auth,headers=headers).json())
⇒
<...>
Sample curl
write command:
curl --digest -u admin:1234 -H "X-CSRF: x" -X PUT -H "Content-type: application/json" -H "Accept: application/json" --data-binary "..." "http://192.168.0.100/restapi/config/meters/"
object | config/meters/N/ |
Configuration of meter for a measured value |
This object contains the following items:
title | Title |
display | Display |
data | Data source |
width | Width |
height | Height |
scale | Display scale |
decimals | Decimals |
color | Arrow color |
min_value | Minimum value |
sectors | Meter sectors |
Sample JS request
read command (note that _meter_configuration_index
is a variable):
request.get({url:"config/meters/"+_meter_configuration_index.toString()+"/"},function(error,response,body) {console.log(body)});
⇒
Sample uom
library deletion command (note that _meter_configuration_index
is a variable):
uom.remove(uom.config.meters,_meter_configuration_index)
See also Meter configuration: Title
See also Meter configuration: Display
See also Meter configuration: Data source
See also Meter configuration: Width
See also Meter configuration: Height
See also Meter configuration: Display scale
See also Meter configuration: Decimals
See also Meter configuration: Arrow color
See also Meter configuration: Minimum value
See also Meter configuration: Meter sectors
string | config/meters/N/title/ |
The title of the meter |
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This string represents a value in persistent storage.
Sample JS request
read command (note that _meter_configuration_index
is a variable):
request.get({url:"config/meters/"+_meter_configuration_index.toString()+"/title/"},function(error,response,body) {console.log(body)});
⇒
"Bus B voltage"
Sample uom
library write command (note that _meter_configuration_index
is a variable):
uom.config.meters[_meter_configuration_index].title="Bus A current"
sum (boolean) | config/meters/N/display/ |
Indicates whether the meter should be displayed |
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This sum represents a value in persistent storage.
This sum can assume the following values:
constant true | Shown | The meter is shown | |
constant false | Hidden | The meter is hidden |
Sample curl
write command (note that :meter_configuration_index
is a URL template argument):
curl --digest -u admin:1234 -H "X-CSRF: x" -X PUT -H "Content-type: application/json" -H "Accept: application/json" --data-binary "true" "http://192.168.0.100/restapi/config/meters/:meter_configuration_index/display/"
Sample uom
library write command (note that _meter_configuration_index
is a variable):
uom.config.meters[_meter_configuration_index].display=false
string | config/meters/N/data/ |
Identifier of the data source to use |
The value is subject to the following constraints: measured values[the value]
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This string represents a value in persistent storage.
Sample requests
write command (note that _meter_configuration_index
is a variable):
requests.put('http://192.168.0.100/restapi/config/meters/'+str(_meter_configuration_index)+'/data/',auth=auth,headers=headers,json='environment.temperature')
Sample uom
library write command (note that _meter_configuration_index
is a variable):
uom.config.meters[_meter_configuration_index].data="buses.0.current"
number | config/meters/N/width/ |
The width of the meter |
The value represents screen length, the standard unit of which is the pixel (px).
The value is subject to the following constraints: all of the following is true:
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This number represents a value in persistent storage.
Sample uom
library read command (note that _meter_configuration_index
is a variable):
print(uom.dump(uom.config.meters[_meter_configuration_index].width))
⇒
128
Sample JS request
read command (note that _meter_configuration_index
is a variable):
request.get({url:"config/meters/"+_meter_configuration_index.toString()+"/width/"},function(error,response,body) {console.log(body)});
⇒
128
number | config/meters/N/height/ |
The height of the meter |
The value represents screen length, the standard unit of which is the pixel (px).
The value is subject to the following constraints: all of the following is true:
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This number represents a value in persistent storage.
Sample CLI write command (note that meter_configuration_index
is a variable):
uom set "config/meters/${meter_configuration_index}/height" "64"
Sample uom
library write command (note that _meter_configuration_index
is a variable):
uom.config.meters[_meter_configuration_index].height=64
string | config/meters/N/scale/ |
The scale function to use for display |
The value is subject to the following constraints: plot scales[the value]
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This string represents a value in persistent storage.
Sample requests
write command (note that _meter_configuration_index
is a variable):
requests.put('http://192.168.0.100/restapi/config/meters/'+str(_meter_configuration_index)+'/scale/',auth=auth,headers=headers,json='linear')
Sample JS request
write command (note that _meter_configuration_index
is a variable):
request.put({url:"config/meters/"+_meter_configuration_index.toString()+"/scale/",body:"linear"});
number | config/meters/N/decimals/ |
Number of decimal places to show in displayed value |
The value represents count, the standard unit of which is the time (times).
The value is subject to the following constraints: all of the following is true:
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This number represents a value in persistent storage.
Sample uom
library read command (note that _meter_configuration_index
is a variable):
print(uom.dump(uom.config.meters[_meter_configuration_index].decimals))
⇒
2
Sample curl
read command (note that :meter_configuration_index
is a URL template argument):
curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/meters/:meter_configuration_index/decimals/"
⇒
0
string | config/meters/N/color/ |
The color of the meter arrow |
The value is subject to the following constraints: the value matches ^[0-9A-F]{6}$
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This string represents a value in persistent storage.
Sample requests
write command (note that _meter_configuration_index
is a variable):
requests.put('http://192.168.0.100/restapi/config/meters/'+str(_meter_configuration_index)+'/color/',auth=auth,headers=headers,json='')
Sample JS request
read command (note that _meter_configuration_index
is a variable):
request.get({url:"config/meters/"+_meter_configuration_index.toString()+"/color/"},function(error,response,body) {console.log(body)});
⇒
""
number | config/meters/N/min_value/ |
The minimum value to be displayed on the meter |
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This number represents a value in persistent storage.
Sample JS request
write command (note that _meter_configuration_index
is a variable):
request.put({url:"config/meters/"+_meter_configuration_index.toString()+"/min_value/",body:90});
Sample curl
read command (note that :meter_configuration_index
is a URL template argument):
curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/meters/:meter_configuration_index/min_value/"
⇒
0
array | config/meters/N/sectors/ |
Configuration of meter sectors |
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This array is composite, i.e. is modified as a whole.
This array represents a value in persistent storage.
This array contains Sector configuration elements.
Sample curl
read command (note that :meter_configuration_index
is a URL template argument):
curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/meters/:meter_configuration_index/sectors/"
⇒
[{"color":"0000FF","name":"Cold","value":273},{"color":"00FF00","name":"Optimal","value":322},{"color":"FF0000","name":"Hot","value":366}]
Sample uom
library sector configuration creation command (note that _meter_configuration_index
is a variable):
local composite=uom.copy(uom.config.meters[_meter_configuration_index].sectors) uom.insert(composite,2,{color="EEEE00",name="Medium",value=4.5}) uom.config.meters[_meter_configuration_index].sectors=composite
object | config/meters/N/sectors/N/ |
Configuration of a meter sector |
This object is a part of a composite value which is modified as a whole.
This object contains the following items:
name | Name |
value | Maximum value |
color | Color |
Sample CLI write command (note that meter_configuration_index
and sector_configuration_index
are variables):
uom set "config/meters/${meter_configuration_index}/sectors/${sector_configuration_index}" "{\"color\":\"FF0000\",\"name\":\"High\",\"value\":140}"
Sample uom
library write command (note that _meter_configuration_index
and _sector_configuration_index
are variables):
uom.config.meters[_meter_configuration_index].sectors[_sector_configuration_index]={color="0000FF",name="Low",value=10}
string | config/meters/N/sectors/N/name/ |
The name of the sector |
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This string is a part of a composite value which is modified as a whole.
This string represents a value in persistent storage.
Sample requests
write command (note that _meter_configuration_index
and _sector_configuration_index
are variables):
requests.put('http://192.168.0.100/restapi/config/meters/'+str(_meter_configuration_index)+'/sectors/'+str(_sector_configuration_index)+'/name/',auth=auth,headers=headers,json='High')
Sample CLI read command (note that meter_configuration_index
and sector_configuration_index
are variables):
uom get "config/meters/${meter_configuration_index}/sectors/${sector_configuration_index}/name"
⇒
"Optimal"
number | config/meters/N/sectors/N/value/ |
The maximum value for the sector |
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This number is a part of a composite value which is modified as a whole.
This number represents a value in persistent storage.
Sample curl
read command (note that :meter_configuration_index
and :sector_configuration_index
are URL template arguments):
curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/meters/:meter_configuration_index/sectors/:sector_configuration_index/value/"
⇒
15
Sample requests
write command (note that _meter_configuration_index
and _sector_configuration_index
are variables):
requests.put('http://192.168.0.100/restapi/config/meters/'+str(_meter_configuration_index)+'/sectors/'+str(_sector_configuration_index)+'/value/',auth=auth,headers=headers,json=366)
string | config/meters/N/sectors/N/color/ |
The color of the sector |
The value is subject to the following constraints: the value matches ^[0-9A-F]{6}$
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This string is a part of a composite value which is modified as a whole.
This string represents a value in persistent storage.
Sample JS request
read command (note that _meter_configuration_index
and _sector_configuration_index
are variables):
request.get({url:"config/meters/"+_meter_configuration_index.toString()+"/sectors/"+_sector_configuration_index.toString()+"/color/"},function(error,response,body) {console.log(body)});
⇒
"0000FF"
Sample requests
write command (note that _meter_configuration_index
and _sector_configuration_index
are variables):
requests.put('http://192.168.0.100/restapi/config/meters/'+str(_meter_configuration_index)+'/sectors/'+str(_sector_configuration_index)+'/color/',auth=auth,headers=headers,json='FF0000')
string | config/contact/ |
The person or entity responsible for this unit and information on how to contact them |
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This string represents a value in persistent storage.
Changes to this string do not take effect immediately.
Sample curl
write command:
curl --digest -u admin:1234 -H "X-CSRF: x" -X PUT -H "Content-type: application/json" -H "Accept: application/json" --data-binary "\"support@example.com\"" "http://192.168.0.100/restapi/config/contact/"
Sample curl
read command:
curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/contact/"
⇒
"support@example.com"
map | config/contacts/ |
Contacts related to the unit in different ways |
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This map represents a value in persistent storage.
This map contains Contact elements.
Sample CLI contact creation command:
uom insert "config/contacts/support" "{\"phone\":\"+34223220010127\",\"fax\":null,\"name\":\"Support\",\"email\":\"support@foo.example.com\"}"
Sample curl
contact creation command:
curl --digest -u admin:1234 -H "X-CSRF: x" -X PUT -H "Content-type: application/json" -H "Accept: application/json" --data-binary "{\"phone\":null,\"fax\":\"+352552721358860\",\"name\":\"Features\",\"email\":null}" "http://192.168.0.100/restapi/config/contacts/features/"
See also Related contacts: Contact
object | config/contacts/S/ |
Contact properties |
The value is subject to the following constraints: not index of the value matches ^(|$.*)$
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This object represents a value in persistent storage.
This object contains the following items:
name | Name |
Email, if any | |
phone | Phone number, if any |
fax | Fax number, if any |
Sample requests
write command (note that _contact
is a variable):
requests.put('http://192.168.0.100/restapi/config/contacts/'+_contact+'/',auth=auth,headers=headers,json={'phone': '+82008422431103', 'fax': None, 'name': 'Features', 'email': None})
Sample uom
library read command (note that _contact
is a variable):
print(uom.dump(uom.config.contacts[_contact]))
⇒
{email=null,fax=null,name="Engineering",phone=null}
string | config/contacts/S/name/ |
Contact name |
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This string represents a value in persistent storage.
Sample uom
library write command (note that _contact
is a variable):
uom.config.contacts[_contact].name="Support"
Sample JS request
read command (note that _contact
is a variable):
request.get({url:"config/contacts/"+_contact+"/name/"},function(error,response,body) {console.log(body)});
⇒
"Engineering"
sum (optional string) | config/contacts/S/email/ |
Contact email address, if any |
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This sum represents a value in persistent storage.
This sum can assume the following values:
constant null | None | No email address stored | |
string | Contact email address | the value is not equal to "" |
Sample curl
read command (note that :contact
is a URL template argument):
curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/contacts/:contact/email/"
⇒
"support@foo.example.com"
Sample JS request
write command (note that _contact
is a variable):
request.put({url:"config/contacts/"+_contact+"/email/",body:"support@foo.example.com"});
sum (optional string) | config/contacts/S/phone/ |
Contact phone number, if any |
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This sum represents a value in persistent storage.
This sum can assume the following values:
constant null | None | No phone number stored | |
string | Phone number | Contact phone number | the value is not equal to "" |
Sample JS request
read command (note that _contact
is a variable):
request.get({url:"config/contacts/"+_contact+"/phone/"},function(error,response,body) {console.log(body)});
⇒
null
Sample JS request
write command (note that _contact
is a variable):
request.put({url:"config/contacts/"+_contact+"/phone/",body:"+019327477711642"});
sum (optional string) | config/contacts/S/fax/ |
Contact fax number, if any |
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This sum represents a value in persistent storage.
This sum can assume the following values:
constant null | None | No fax number stored | |
string | Fax number | Contact fax number | the value is not equal to "" |
Sample JS request
write command (note that _contact
is a variable):
request.put({url:"config/contacts/"+_contact+"/fax/",body:null});
Sample uom
library write command (note that _contact
is a variable):
uom.config.contacts[_contact].fax=null
string | config/location/ |
The physical location of this unit (e.g. '1st floor, rack 9') |
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This string represents a value in persistent storage.
Changes to this string do not take effect immediately.
Sample uom
library read command:
print(uom.dump(uom.config.location))
⇒
"Server room"
Sample JS request
read command:
request.get({url:"config/location/"},function(error,response,body) {console.log(body)});
⇒
"Server room"
string | config/oid/ |
Object identifier of unit model (should be registered under dliRegistration OID) |
Retrieving the value is denied if not administrative user
This string does not support direct modification.
This string represents a value in persistent storage.
Sample JS request
read command:
request.get({url:"config/oid/"},function(error,response,body) {console.log(body)});
⇒
"1.3.6.1.4.1.45770.1.3"
Sample curl
read command:
curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/oid/"
⇒
"1.3.6.1.4.1.45770.1.3"
string | config/version/ |
Version number of frontend software |
Retrieving the value is denied if not administrative user
This string does not support direct modification.
This string represents a value in persistent storage.
Sample requests
read command:
print(requests.get('http://192.168.0.100/restapi/config/version/',auth=auth,headers=headers).json())
⇒
'1.8.1.0'
Sample CLI read command:
uom get "config/version"
⇒
"1.8.1.0"
string | config/bootloader_id/ |
Hash of bootloader |
Retrieving the value is denied if not administrative user
This string does not support direct modification.
This string represents a value in persistent storage.
Sample requests
read command:
print(requests.get('http://192.168.0.100/restapi/config/bootloader_id/',auth=auth,headers=headers).json())
⇒
'1bd734eca0945a82e72c5321d12237f43dc62a2cac1f6915041683855a8818c4'
Sample CLI read command:
uom get "config/bootloader_id"
⇒
"eb508c7a022c018333945e0208e21b20681f4894ac0ad9e0d7536566e59f0cf7"
string | config/art_id/ |
Hash of ART settings |
Retrieving the value is denied if not administrative user
This string does not support direct modification.
This string represents a value in persistent storage.
Sample uom
library read command:
print(uom.dump(uom.config.art_id))
⇒
"1a14a474625cfb67e0443c8fdbe0949aeaf9f6d69329e90da52e1adf5b0f09ae"
Sample curl
read command:
curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/art_id/"
⇒
"b937de29e430dc4ecec44f3840de187d1b5f9788bb897d84b49f3d87d56fddcf"
string | config/hardware_id/ |
Identifier of unit hardware model |
Retrieving the value is denied if not administrative user
This string does not support direct modification.
This string represents a value in persistent storage.
Sample curl
read command:
curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/hardware_id/"
⇒
"EPCR5"
Sample CLI read command:
uom get "config/hardware_id"
⇒
"EPCR5"
string | config/serial/ |
Unit's serial number |
Retrieving the value is denied if not administrative user
This string does not support direct modification.
This string represents a value in persistent storage.
Sample curl
read command:
curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/serial/"
⇒
"DC32203123456"
Sample requests
read command:
print(requests.get('http://192.168.0.100/restapi/config/serial/',auth=auth,headers=headers).json())
⇒
'DC32203123456'
string | config/outlet_label/ |
User-visible label for an outlet controlled by a relay |
This string does not support direct modification.
This string represents a value in persistent storage.
Sample CLI read command:
uom get "config/outlet_label"
⇒
"Outlet"
Sample requests
read command:
print(requests.get('http://192.168.0.100/restapi/config/outlet_label/',auth=auth,headers=headers).json())
⇒
'Outlet'
string | config/brand_company_name/ |
The name of the company which produced the device |
Retrieving the value is denied if not administrative user
This string does not support direct modification.
This string represents a value in persistent storage.
Sample curl
read command:
curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/brand_company_name/"
⇒
"Digital Loggers, Inc."
Sample uom
library read command:
print(uom.dump(uom.config.brand_company_name))
⇒
"Digital Loggers, Inc."
string | config/brand_name/ |
Default brand name, unless overridden |
Retrieving the value is denied if not administrative user
This string does not support direct modification.
This string represents a value in persistent storage.
Sample curl
read command:
curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/brand_name/"
⇒
"Ethernet Power Controller"
Sample CLI read command:
uom get "config/brand_name"
⇒
"Ethernet Power Controller"
string | config/brand_url/ |
Default brand URL, unless overridden |
Retrieving the value is denied if not administrative user
This string does not support direct modification.
This string represents a value in persistent storage.
Sample requests
read command:
print(requests.get('http://192.168.0.100/restapi/config/brand_url/',auth=auth,headers=headers).json())
⇒
'https://bar.example.com:8443/foo/foo/foo/foo/bar/bar/quux/bar.html'
Sample uom
library read command:
print(uom.dump(uom.config.brand_url))
⇒
"http://baz.example.com/foo/quux/quux.htm"
string | config/brand_manual_url/ |
Brand product manual URL |
Retrieving the value is denied if not administrative user
This string does not support direct modification.
This string represents a value in persistent storage.
Sample curl
read command:
curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/brand_manual_url/"
⇒
"https://foo.example.com:28443/bar/bar/baz/quux/foo/quux/foo/baz/quux/baz/quux.htm"
Sample requests
read command:
print(requests.get('http://192.168.0.100/restapi/config/brand_manual_url/',auth=auth,headers=headers).json())
⇒
'https://foo.example.com:48443/quux.htm'
string | config/brand_faq_url/ |
Brand product FAQ URL |
Retrieving the value is denied if not administrative user
This string does not support direct modification.
This string represents a value in persistent storage.
Sample uom
library read command:
print(uom.dump(uom.config.brand_faq_url))
⇒
"https://foo.example.com/foo/baz.html"
Sample curl
read command:
curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/brand_faq_url/"
⇒
"https://baz.example.com:18443/foo/bar.html"
string | config/brand_product_info_url/ |
Brand product information URL |
Retrieving the value is denied if not administrative user
This string does not support direct modification.
This string represents a value in persistent storage.
Sample curl
read command:
curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/brand_product_info_url/"
⇒
"https://foo.example.com:443/foo.htm"
Sample JS request
read command:
request.get({url:"config/brand_product_info_url/"},function(error,response,body) {console.log(body)});
⇒
"http://foo.example.com/quux/baz/baz/bar.htm"
string | config/support_email/ |
Product support email |
Retrieving the value is denied if not administrative user
This string does not support direct modification.
This string represents a value in persistent storage.
Sample CLI read command:
uom get "config/support_email"
⇒
"support@example.com"
Sample curl
read command:
curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/support_email/"
⇒
"support@example.com"
string | config/register_url/ |
Default registration URL, unless overridden |
Retrieving the value is denied if not administrative user
This string does not support direct modification.
This string represents a value in persistent storage.
Sample CLI read command:
uom get "config/register_url"
⇒
"https://baz.example.com/quux/foo.htm"
Sample JS request
read command:
request.get({url:"config/register_url/"},function(error,response,body) {console.log(body)});
⇒
"http://bar.example.com/baz/quux/baz.html"
string | config/support_url/ |
Default support URL, unless overridden |
Retrieving the value is denied if not administrative user
This string does not support direct modification.
This string represents a value in persistent storage.
Sample curl
read command:
curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/support_url/"
⇒
"https://bar.example.com:58443/quux/bar/bar/baz.htm"
Sample requests
read command:
print(requests.get('http://192.168.0.100/restapi/config/support_url/',auth=auth,headers=headers).json())
⇒
'http://bar.example.com:6/baz.html'
string | config/update_url/ |
Default update URL, unless overridden |
Retrieving the value is denied if not administrative user
This string does not support direct modification.
This string represents a value in persistent storage.
Sample JS request
read command:
request.get({url:"config/update_url/"},function(error,response,body) {console.log(body)});
⇒
"https://baz.example.com:28443/baz/bar/foo/foo/quux/quux/quux.htm"
Sample uom
library read command:
print(uom.dump(uom.config.update_url))
⇒
"https://foo.example.com/foo/bar/bar/bar.htm"
sum (optional string) | config/custom_brand_company_name/ |
User-visible brand company name, if any |
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This sum represents a value in persistent storage.
This sum can assume the following values:
constant null | Default | Use default brand company name | |
string | Custom brand company name | User-visible brand company name | the value is not equal to "" |
Sample requests
write command:
requests.put('http://192.168.0.100/restapi/config/custom_brand_company_name/',auth=auth,headers=headers,json='Whatever Systems Inc.')
Sample uom
library write command:
uom.config.custom_brand_company_name="Whatever Systems Inc."
sum (optional string) | config/custom_brand_name/ |
User-visible product brand name, if any |
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This sum represents a value in persistent storage.
This sum can assume the following values:
constant null | Default | Use default product brand name | |
string | Custom brand name | User-visible product brand name | the value is not equal to "" |
Sample JS request
write command:
request.put({url:"config/custom_brand_name/",body:"Amazing Controller III"});
Sample CLI read command:
uom get "config/custom_brand_name"
⇒
"Amazing Controller III"
sum (optional string) | config/custom_brand_url/ |
User-visible brand URL, if any |
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This sum represents a value in persistent storage.
This sum can assume the following values:
constant null | Default | Use default brand URL | |
string | Custom brand URL | User-visible brand URL | the value is not equal to "" |
Sample uom
library write command:
uom.config.custom_brand_url="https://baz.example.com/foo/quux/foo/quux.htm"
Sample JS request
read command:
request.get({url:"config/custom_brand_url/"},function(error,response,body) {console.log(body)});
⇒
"https://foo.example.com/quux.html"
sum (optional string) | config/custom_brand_logo/ |
User-visible brand logo URL, if any |
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This sum represents a value in persistent storage.
This sum can assume the following values:
constant null | Default | Use default brand logo | |
string | Custom brand logo URL | User-visible brand logo URL | the value is not equal to "" |
Sample curl
write command:
curl --digest -u admin:1234 -H "X-CSRF: x" -X PUT -H "Content-type: application/json" -H "Accept: application/json" --data-binary "\"http://baz.example.com:5/quux/foo/baz/foo/baz.gif\"" "http://192.168.0.100/restapi/config/custom_brand_logo/"
Sample requests
read command:
print(requests.get('http://192.168.0.100/restapi/config/custom_brand_logo/',auth=auth,headers=headers).json())
⇒
'http://foo.example.com:5/quux.svg'
sum (optional number) | config/custom_brand_logo_width/ |
User-visible brand logo width, if any |
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This sum represents a value in persistent storage.
This sum can assume the following values:
constant null | Default | Use default brand logo width | |
number | Custom brand logo width | User-visible brand logo width |
Sample uom
library write command:
uom.config.custom_brand_logo_width=22
Sample requests
read command:
print(requests.get('http://192.168.0.100/restapi/config/custom_brand_logo_width/',auth=auth,headers=headers).json())
⇒
22
sum (optional number) | config/custom_brand_logo_height/ |
User-visible brand logo height, if any |
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This sum represents a value in persistent storage.
This sum can assume the following values:
constant null | Default | Use default brand logo height | |
number | Custom brand logo height | User-visible brand logo height |
Sample requests
read command:
print(requests.get('http://192.168.0.100/restapi/config/custom_brand_logo_height/',auth=auth,headers=headers).json())
⇒
32
Sample JS request
write command:
request.put({url:"config/custom_brand_logo_height/",body:32});
sum (optional string) | config/custom_support_email/ |
User-visible product support email, if any |
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This sum represents a value in persistent storage.
This sum can assume the following values:
constant null | Default | Use default support email | |
string | Custom support email | User-visible product support email | the value is not equal to "" |
Sample CLI write command:
uom set "config/custom_support_email" "\"support@example.com\""
Sample CLI read command:
uom get "config/custom_support_email"
⇒
"support@example.com"
sum (optional string) | config/custom_register_url/ |
User-visible registration URL, if any |
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This sum represents a value in persistent storage.
This sum can assume the following values:
constant null | Default | Use default registration URL | |
string | Custom registration URL | User-visible registration URL | the value is not equal to "" |
Sample CLI read command:
uom get "config/custom_register_url"
⇒
"http://foo.example.com:8009/baz/baz/baz/quux.htm"
Sample JS request
read command:
request.get({url:"config/custom_register_url/"},function(error,response,body) {console.log(body)});
⇒
"http://bar.example.com:9/bar/foo/baz.html"
sum (optional string) | config/custom_support_url/ |
User-visible support URL, if any |
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This sum represents a value in persistent storage.
This sum can assume the following values:
constant null | Default | Use default support URL | |
string | Custom support URL | User-visible support URL | the value is not equal to "" |
Sample JS request
write command:
request.put({url:"config/custom_support_url/",body:"https://baz.example.com/foo/foo/foo.html"});
Sample curl
read command:
curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/custom_support_url/"
⇒
"https://baz.example.com/foo.html"
sum (optional string) | config/custom_update_url/ |
User-visible update URL, if any |
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This sum represents a value in persistent storage.
This sum can assume the following values:
constant null | Default | Use default update URL | |
string | Custom update URL | User-visible update URL | the value is not equal to "" |
Sample CLI write command:
uom set "config/custom_update_url" "\"http://foo.example.com:80/quux.html\""
Sample curl
read command:
curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/custom_update_url/"
⇒
"http://bar.example.com:8065/baz/bar.htm"
sum (optional string) | config/custom_help_url/ |
User-visible help URL, if any |
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This sum represents a value in persistent storage.
This sum can assume the following values:
constant null | Internal help | Use the internal embedded help system | |
string | Custom help URL | User-visible help URL | the value is not equal to "" |
Sample CLI write command:
uom set "config/custom_help_url" "\"http://foo.example.com:80/foo/quux/bar.htm\""
Sample uom
library read command:
print(uom.dump(uom.config.custom_help_url))
⇒
"http://foo.example.com/baz/baz/baz.html"
sum (optional enumerated string) | config/customization_status/ |
Status of customization options |
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This sum represents a value in persistent storage.
This sum can assume the following values:
constant null | Default | Customization options can be changed and/or locked | |
constant "open" | Open | Customization options can be changed, but cannot be locked | |
constant "locked" | Locked | Customization options are locked and cannot be changed |
Sample requests
read command:
print(requests.get('http://192.168.0.100/restapi/config/customization_status/',auth=auth,headers=headers).json())
⇒
'locked'
Sample JS request
write command:
request.put({url:"config/customization_status/",body:"locked"});
sum (boolean) | config/registration_status/ |
Status of the unit registration |
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This sum represents a value in persistent storage.
This sum can assume the following values:
constant true | Defined | The user has either registered the unit, or refused to do so | |
constant false | Undefined | The user hasn't decided on registering the unit and needs to be reminded |
Sample JS request
write command:
request.put({url:"config/registration_status/",body:true});
Sample JS request
read command:
request.get({url:"config/registration_status/"},function(error,response,body) {console.log(body)});
⇒
false
sum (boolean) | config/refresh_enabled/ |
Periodically refresh web UI status page |
Changing the value is denied if not administrative user
This sum represents a value in persistent storage.
This sum can assume the following values:
constant true | Enabled | The feature is enabled | |
constant false | Disabled | The feature is disabled |
Sample requests
write command:
requests.put('http://192.168.0.100/restapi/config/refresh_enabled/',auth=auth,headers=headers,json=True)
Sample uom
library read command:
print(uom.dump(uom.config.refresh_enabled))
⇒
false
number | config/refresh_delay_minutes/ |
Status page refresh delay, if refresh is enabled |
The value represents time, the standard unit of which is the second (s).
The value is subject to the following constraints: the value is greater than 0
Changing the value is denied if not administrative user
This number represents a value in persistent storage.
Sample uom
library write command:
uom.config.refresh_delay_minutes=1
Sample CLI read command:
uom get "config/refresh_delay_minutes"
⇒
1
string | config/image_format/ |
Default image format for plots and meters |
The value is subject to the following constraints: image formats[the value]
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This string represents a value in persistent storage.
Sample uom
library write command:
uom.config.image_format="jpg"
Sample requests
write command:
requests.put('http://192.168.0.100/restapi/config/image_format/',auth=auth,headers=headers,json='png')
string | config/hostname/ |
Host name of the unit (sent by DHCP client, redirected to on network configuration changes when next IP address is unknown) |
The value is subject to the following constraints: the value matches ^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]).)*([A-Za-z]([A-Za-z0-9-]*[A-Za-z0-9])?|[A-Za-z0-9][A-Za-z0-9-]*[A-Za-z]([A-Za-z0-9-]*[A-Za-z0-9])?)$
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This string represents a value in persistent storage.
Changes to this string do not take effect immediately.
Sample curl
write command:
curl --digest -u admin:1234 -H "X-CSRF: x" -X PUT -H "Content-type: application/json" -H "Accept: application/json" --data-binary "\"bar.example.com\"" "http://192.168.0.100/restapi/config/hostname/"
Sample CLI write command:
uom set "config/hostname" "\"foo.example.com\""
string | config/timezone/ |
System time zone |
The value is subject to the following constraints: known timezones[the value]
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This string represents a value in persistent storage.
Sample JS request
read command:
request.get({url:"config/timezone/"},function(error,response,body) {console.log(body)});
⇒
"UTC"
Sample requests
read command:
print(requests.get('http://192.168.0.100/restapi/config/timezone/',auth=auth,headers=headers).json())
⇒
'UTC'
array | config/http_ports/ |
HTTP port bindings |
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This array is composite, i.e. is modified as a whole.
This array represents a value in persistent storage.
This array represents an unordered set (order of its elements doesn't matter, and each value should not be supplied more than once).
Changes to this array do not take effect immediately.
This array contains Port binding elements.
Sample curl
write command:
curl --digest -u admin:1234 -H "X-CSRF: x" -X PUT -H "Content-type: application/json" -H "Accept: application/json" --data-binary "[{\"port\":\"5\",\"address\":\"192.168.0.22\"},{\"port\":\"4\",\"address\":\"192.168.0.27\"}]" "http://192.168.0.100/restapi/config/http_ports/"
Sample requests
port binding creation command:
requests.post('http://192.168.0.100/restapi/config/http_ports/',auth=auth,headers=headers,json={'port': '4', 'address': '192.168.0.69'})
See also HTTP ports: Port binding
object | config/http_ports/N/ |
Address and port to bind service to |
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This object is a part of a composite value which is modified as a whole.
This object represents a value in persistent storage.
Changes to this object do not take effect immediately.
This object contains the following items:
address | Address |
port | Port |
Sample uom
library deletion command (note that _port_binding_index
is a variable):
local composite=uom.copy(uom.config.http_ports) uom.remove(composite,_port_binding_index) uom.config.http_ports=composite
Sample JS request
write command (note that _port_binding_index
is a variable):
request.put({url:"config/http_ports/"+_port_binding_index.toString()+"/",body:{"port":"8","address":"192.168.0.20"}});
sum (string) | config/http_ports/N/address/ |
Address to listen on |
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This sum is a part of a composite value which is modified as a whole.
This sum represents a value in persistent storage.
Changes to this sum do not take effect immediately.
This sum can assume the following values:
string | IPv4 address | IPv4 address to listen on | the value matches ^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]).){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$ |
string | IPv6 address | IPv6 address to listen on | the value matches ^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]).){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))$ |
Sample requests
read command (note that _port_binding_index
is a variable):
print(requests.get('http://192.168.0.100/restapi/config/http_ports/'+str(_port_binding_index)+'/address/',auth=auth,headers=headers).json())
⇒
'192.168.0.15'
Sample requests
write command (note that _port_binding_index
is a variable):
requests.put('http://192.168.0.100/restapi/config/http_ports/'+str(_port_binding_index)+'/address/',auth=auth,headers=headers,json='192.168.0.2')
number | config/http_ports/N/port/ |
Port number to bind to |
The value is subject to the following constraints: all of the following is true:
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This number is a part of a composite value which is modified as a whole.
This number represents a value in persistent storage.
Changes to this number do not take effect immediately.
Sample CLI read command (note that port_binding_index
is a variable):
uom get "config/http_ports/${port_binding_index}/port"
⇒
"8060"
Sample CLI write command (note that port_binding_index
is a variable):
uom set "config/http_ports/${port_binding_index}/port" "\"1\""
array | config/https_ports/ |
HTTPS port bindings |
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This array is composite, i.e. is modified as a whole.
This array represents a value in persistent storage.
This array represents an unordered set (order of its elements doesn't matter, and each value should not be supplied more than once).
Changes to this array do not take effect immediately.
This array contains Port binding elements.
Sample uom
library write command:
uom.config.https_ports={{address="192.168.0.93",port="80"},{address="192.168.0.4",port="8046"}}
Sample requests
port binding creation command:
requests.post('http://192.168.0.100/restapi/config/https_ports/',auth=auth,headers=headers,json={'port': '8066', 'address': '192.168.0.6'})
See also HTTPS ports: Port binding
object | config/https_ports/N/ |
Address and port to bind service to |
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This object is a part of a composite value which is modified as a whole.
This object represents a value in persistent storage.
Changes to this object do not take effect immediately.
This object contains the following items:
address | Address |
port | Port |
Sample CLI deletion command (note that port_binding_index
is a variable):
uom remove "config/https_ports/${port_binding_index}"
Sample uom
library write command (note that _port_binding_index
is a variable):
uom.config.https_ports[_port_binding_index]={address="192.168.0.10",port="7"}
sum (string) | config/https_ports/N/address/ |
Address to listen on |
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This sum is a part of a composite value which is modified as a whole.
This sum represents a value in persistent storage.
Changes to this sum do not take effect immediately.
This sum can assume the following values:
string | IPv4 address | IPv4 address to listen on | the value matches ^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]).){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$ |
string | IPv6 address | IPv6 address to listen on | the value matches ^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]).){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))$ |
Sample requests
write command (note that _port_binding_index
is a variable):
requests.put('http://192.168.0.100/restapi/config/https_ports/'+str(_port_binding_index)+'/address/',auth=auth,headers=headers,json='192.168.0.6')
Sample JS request
read command (note that _port_binding_index
is a variable):
request.get({url:"config/https_ports/"+_port_binding_index.toString()+"/address/"},function(error,response,body) {console.log(body)});
⇒
"192.168.0.58"
number | config/https_ports/N/port/ |
Port number to bind to |
The value is subject to the following constraints: all of the following is true:
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This number is a part of a composite value which is modified as a whole.
This number represents a value in persistent storage.
Changes to this number do not take effect immediately.
Sample curl
write command (note that :port_binding_index
is a URL template argument):
curl --digest -u admin:1234 -H "X-CSRF: x" -X PUT -H "Content-type: application/json" -H "Accept: application/json" --data-binary "\"8056\"" "http://192.168.0.100/restapi/config/https_ports/:port_binding_index/port/"
Sample CLI write command (note that port_binding_index
is a variable):
uom set "config/https_ports/${port_binding_index}/port" "\"80\""
object | config/https_cert/ |
HTTPS certificate configuration |
Retrieving the value is denied if not administrative user
This object contains the following items:
Sample uom
library write command:
uom.config.https_cert=<...>
Sample JS request
write command:
request.put({url:"config/https_cert/",body:<...>});
number | config/https_cert/bits/ |
Size of new private keys |
The value represents count, the standard unit of which is the time (times).
The value is subject to the following constraints: all of the following is true:
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This number represents a value in persistent storage.
Sample curl
write command:
curl --digest -u admin:1234 -H "X-CSRF: x" -X PUT -H "Content-type: application/json" -H "Accept: application/json" --data-binary "8192" "http://192.168.0.100/restapi/config/https_cert/bits/"
Sample requests
write command:
requests.put('http://192.168.0.100/restapi/config/https_cert/bits/',auth=auth,headers=headers,json=4096)
map | config/https_cert/distinguished_name/ |
New certificate distinguished name elements |
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This map is composite, i.e. is modified as a whole.
This map represents a value in persistent storage.
This map contains Values elements.
Sample requests
values creation command:
requests.put('http://192.168.0.100/restapi/config/https_cert/distinguished_name/commonName/',auth=auth,headers=headers,json=['Digital Loggers Unit'])
Sample uom
library values creation command:
local composite=uom.copy(uom.config.https_cert.distinguished_name) uom.insert(composite,"stateOrProvinceName",{"California"}) uom.config.https_cert.distinguished_name=composite
See also Distinguished name: Values
sum (enumerated string) | config/https_cert/string_mask/ |
The set of string types to use for new certificates |
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This sum represents a value in persistent storage.
This sum can assume the following values:
constant "default" | OpenSSL default | PrintableString, T61String and BMPString | |
constant "pkix" | PKIX | PrintableString and BMPString | |
constant "utf8only" | UTF-8 strings only | UTF8String | |
constant "nombstr" | No multibyte strings | PrintableString and T61String |
Sample JS request
write command:
request.put({url:"config/https_cert/string_mask/",body:"default"});
Sample CLI write command:
uom set "config/https_cert/string_mask" "\"pkix\""
sum (optional array) | config/https_cert/domains/ |
Explicit domain name list to certify for when enrolling certificate, if any |
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This sum represents a value in persistent storage.
This sum can assume the following values:
constant null | Use hostname | Certify for the current hostname when enrolling certificate | |
array | Domain names override | Explicit domain name list to certify for when enrolling certificate |
Sample curl
write command:
curl --digest -u admin:1234 -H "X-CSRF: x" -X PUT -H "Content-type: application/json" -H "Accept: application/json" --data-binary "[\"foo.example.com\",\"baz.example.com\"]" "http://192.168.0.100/restapi/config/https_cert/domains/"
Sample requests
write command:
requests.put('http://192.168.0.100/restapi/config/https_cert/domains/',auth=auth,headers=headers,json=None)
See also Domain names override, if any: Domain names override
sum (optional array) | config/https_cert/addresses/ |
Explicit list of addresses to certify for when enrolling certificate, if any |
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This sum represents a value in persistent storage.
This sum can assume the following values:
constant null | Use all known addresses | Certify for all current addresses when enrolling certificate automatically | |
array | Addresses override | Explicit list of addresses to certify for when enrolling certificate |
Sample requests
read command:
print(requests.get('http://192.168.0.100/restapi/config/https_cert/addresses/',auth=auth,headers=headers).json())
⇒
None
Sample JS request
write command:
request.put({url:"config/https_cert/addresses/",body:["3.15.250.122","15.251.39.35","26.22.180.21","5.20.6.26"]});
See also Addresses override, if any: Addresses override
sum (boolean) | config/https_cert/automatic_renewal/ |
Automatic renewal of certificate at or near expiry |
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This sum represents a value in persistent storage.
This sum can assume the following values:
constant true | Enabled | The feature is enabled | |
constant false | Disabled | The feature is disabled |
Sample CLI write command:
uom set "config/https_cert/automatic_renewal" "false"
Sample CLI read command:
uom get "config/https_cert/automatic_renewal"
⇒
false
string | config/https_cert/renewal_method/ |
Method to use when renewing the certificate |
The value is subject to the following constraints: renewal methods[the value]
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This string represents a value in persistent storage.
Sample JS request
write command:
request.put({url:"config/https_cert/renewal_method/",body:"acmev2"});
Sample CLI write command:
uom set "config/https_cert/renewal_method" "\"acmev2\""
See also HTTPS certificate settings: Data
sum (variant) | config/https_cert/csr/ |
The certificate signing request to sign (read may fail if key generation is in progress) |
Retrieving the value is denied if not administrative user
This sum does not support direct modification.
This sum can change as if by itself or indirectly because of other actions.
Changes to this sum cannot be tracked.
This sum can assume the following values:
string | HTTPS certificate signing request | The certificate signing request you need to sign in order to obtain an HTTPS certificate for the unit, to be honored by an external entity | |
constant false | Certificate signing request generation failure | No valid certificate signing request could be generated, check distinguished name settings |
Sample requests
read command:
print(requests.get('http://192.168.0.100/restapi/config/https_cert/csr/',auth=auth,headers=headers).json())
⇒
'-----BEGIN CERTIFICATE REQUEST-----\nMIIgXcxq7B+9z683LYiKYC0txkPlhXMLFY2oA/fKDgVCofIAE0WoEZiCJ7+1gNOy\nn8USUj90xzhGAyIjnZIVoeeohLB5K9a7J5cpqnronZ4+XOjK+2soiWcPuqXE08OL\n0B5q2wde0eCRNZSRR\n-----END CERTIFICATE REQUEST-----\n'
Sample uom
library read command:
print(uom.dump(uom.config.https_cert.csr))
⇒
string | config/https_cert/cert/ |
HTTPS certificate chain presented by the unit to clients (read may fail if renewal is in progress) |
The value contains PEM format data (has native MIME type application/x-pem-file
).
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
Using the string as a field for indexing into the grandparent collection is denied
This string represents a value in persistent storage.
This string can change as if by itself or indirectly because of other actions.
Changes to this string cannot be tracked.
Changes to this string may have an effect besides setting value.
Changes to this string do not take effect immediately.
Sample JS request
write command:
request.put({url:"config/https_cert/cert/",body:"-----BEGIN CERTIFICATE-----\nMIIvXI3FQSH0iHTzfo1cM01zT6CteViA4S6enCvEgDGPXlOCZSryUuy+1Bthibup\nUtFQ7xfQMCCnRoFImmDlmGyfzhHtXNw1HBUQ99tXO5LsvdAiPPUChSuhABajbXnu\nHLwTEUuMrmIVy1wOX9603pCHQyu+mol4AhZQCTp4G7bEBXfkjnnod054+04nrrt1\nSUnyJtETVVg2BRo/EceHklImr5ej+hJTB7SX1j0YEjdRARSR37kqu2dmAHWB+rgC\n9l1unc9XFdji6BoGxfA0IzCbVPcM6rNIcRCQ3OzK1i3AwtStYewtd9V9b7Xk+x2d\nH3Th2qlnvxjpPdN4aHjlovMxS6yPAbqUhJBm9yZ5vJwKzKQZdAKR5jPasO020sYj\nmVOk5VgRS1QoT/SgMvo6LP+mS2oKdYYQ4zBBUtfyw5nQ7F7WByeZNeLrj9CNknpq\n02HvjGsr3J/LSXYQC7qsUhcgw/QjqHVtLpp45iyA1zXVW6ykFodmWFTSGwB7Dj1a\nshfafsdeP9BX7ypxbcTt5xA29KHuNtTGb8sG0WwSi80r6rpkUJecGqgSAzMZtsrU\nkm3\n-----END CERTIFICATE-----\n"});
Sample requests
write command:
requests.put('http://192.168.0.100/restapi/config/https_cert/cert/',auth=auth,headers=headers,json='-----BEGIN CERTIFICATE-----\nMIIG7dOfkZEkoERP/7k77fiCOGLZyuH5V8NfooKZOaJCrndtxN043kIU1g30aN76\nnNK7ykkIzb5dU31W96HTcK9iNm6Wvh2i4Ps3AcO9EWolbrHm+bGdySMLFUtACyuJ\nmOZPolfLZQyRkkRM15LVTim+cyCbtY/gzb6oMo9yF7P0utOx+lTTUGU6Fik8HlrG\nz4knFj2O95I2VG3HlZn13wI==\n-----END CERTIFICATE-----\n')
string | config/https_cert/key/ |
The key used by the HTTPS certificate presented by the unit; certificate will be renewed as a side effect of writing; writing actual data is not recommended, please use the certificate request signing path instead |
The value contains PEM format data (has native MIME type application/x-pem-file
).
Retrieving the value is denied
Changing the value is denied if not administrative user
Using the string as a field for indexing into the grandparent collection is denied
This string represents a value in persistent storage.
This string can change as if by itself or indirectly because of other actions.
Changes to this string cannot be tracked.
Changes to this string may have an effect besides setting value.
Changes to this string do not take effect immediately.
This string should be displayed in a secure manner.
Representation of the resource cannot be obtained. Attempts to do so via a JSON API will succeed but return '{"$ref":""}' which means "the value of this resource".
Sample uom
library write command:
uom.config.https_cert.key="-----BEGIN PRIVATE KEY-----\ MIIwVoeJL9TpYRvkMgJN2Y8T9+OBPvvsE0plrT4Cea1C2zzQgJpku+E3+eHQaCJq\ c6djKIJOXNNWq3sgqmg4shl98LOTCfernIa8cwZ9KyiB2atvMa/EInQS9qyOVcFJ\ sTZo2l81TL64F1Ss2jAsAf10dRYGitDbMpPRaaU4ycADff6kPJcb+gee7Cxs5BTU\ vxdVSjT5wjnbsX1BAeBsIr0Xpuf0O92J7iqcRKjN4W/y429GjM92EBb36G5WSAsc\ jEM3zmAVo8bsJuci3gzHH2QaAz3NrhIaxggwSsSH049M/n55U4On9qOMpTlhA3H7\ +4FsZYvgkIhYQo2WDsi4G5wmtdyzx6lxD0qobmVL4CwW1+3G==\ -----END PRIVATE KEY-----\ "
Sample CLI write command:
uom set "config/https_cert/key" "\"-----BEGIN PRIVATE KEY-----\\nMII4DwVw2vRuRGVtr4tsxHaoX6G+muZ5OjBdfiZke0e6J9/BFv4CCg1lpJmcEMje\\nHogtYKwDSFOTSgPZveFzQ5IDjZcTDkQXZ6Q8TMNxeoR7UtiQX+Pz5kCrJqKZbm6A\\nZLOylMcZqm4jUXGVyFdiUU2Kqexdm8YMVzKHMzsClzxGWEnUWQD0wIMnyKQlU/70\\nUJNTBbEBZWjqKEMmUOjonWn7zYe+ig/C/PhD1yQdVATrRsexHOm4waEv8uwsay5c\\norRnI4IVaAySrwlFjsCJ67T14Me3UHTJ9w6T1R/ddz5Vvtmfl++u8UyFtdKNwpi5\\nqbpHcSxcaSYTFDFFDAQj8hcn2/ktjrgaSVu5+sjaLH4cWLulYLUj27X68H0u8iVd\\nPkEITrfmxIIJD4uaadfjAouTqoeZJIql243YylKw3fGIlAuMpZ60N0VErAqBUgzZ\\n27lpUhvAzDx97K/jT17VZNNlEbGwarjf/UVVCQhBffNp0OZV=\\n-----END PRIVATE KEY-----\\n\""
See also HTTPS certificate settings: Renew certificate
See also HTTPS certificate settings: Generate key
See also HTTPS certificate settings: Known DN OIDs
map | config/https_cert/known_renewal_methods/ |
Known renewal methods |
Retrieving the value is denied if not administrative user
This map is composite, i.e. is modified as a whole.
This map does not support direct modification.
This map contains Renewal method elements.
Creating elements in this collection is not supported.
Sample uom
library read command:
print(uom.dump(uom.config.https_cert.known_renewal_methods))
⇒
<...>
Sample curl
read command:
curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/https_cert/known_renewal_methods/"
⇒
...
See also Renewal methods: Renewal method
array | config/https_cert/distinguished_name/S/ |
Distinguished name element value set |
The value is subject to the following constraints: any of the following is true:
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This array is a part of a composite value which is modified as a whole.
This array represents a value in persistent storage.
This array contains Value elements.
Sample requests
read command (note that _values
is a variable):
print(requests.get('http://192.168.0.100/restapi/config/https_cert/distinguished_name/'+_values+'/',auth=auth,headers=headers).json())
⇒
['California']
Sample CLI value creation command (note that values
is a variable):
uom insert "config/https_cert/distinguished_name/${values}/0" "\"California\""
string | config/https_cert/distinguished_name/S/N/ |
Distinguished name element value |
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This string is a part of a composite value which is modified as a whole.
This string represents a value in persistent storage.
Sample requests
write command (note that _values
and _value_index
are variables):
requests.put('http://192.168.0.100/restapi/config/https_cert/distinguished_name/'+_values+'/'+str(_value_index)+'/',auth=auth,headers=headers,json='Digital Loggers Unit')
Sample curl
write command (note that :values
and :value_index
are URL template arguments):
curl --digest -u admin:1234 -H "X-CSRF: x" -X PUT -H "Content-type: application/json" -H "Accept: application/json" --data-binary "\"Santa Clara\"" "http://192.168.0.100/restapi/config/https_cert/distinguished_name/:values/:value_index/"
(possibly) array | config/https_cert/domains/ |
Explicit domain name list to certify for when enrolling certificate |
This array contains Hostname elements.
Sample requests
hostname creation command:
requests.post('http://192.168.0.100/restapi/config/https_cert/domains/',auth=auth,headers=headers,json='baz.example.com')
Sample JS request
hostname creation command:
request.post({url:"config/https_cert/domains/",body:"baz.example.com"});
string | config/https_cert/domains/N/ |
Hostname to certify for |
The value is subject to the following constraints: the value matches ^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]).)*([A-Za-z]([A-Za-z0-9-]*[A-Za-z0-9])?|[A-Za-z0-9][A-Za-z0-9-]*[A-Za-z]([A-Za-z0-9-]*[A-Za-z0-9])?)$
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This string represents a value in persistent storage.
Sample curl
write command (note that :hostname_index
is a URL template argument):
curl --digest -u admin:1234 -H "X-CSRF: x" -X PUT -H "Content-type: application/json" -H "Accept: application/json" --data-binary "\"baz.example.com\"" "http://192.168.0.100/restapi/config/https_cert/domains/:hostname_index/"
Sample uom
library read command (note that _hostname_index
is a variable):
print(uom.dump(uom.config.https_cert.domains[_hostname_index]))
⇒
"baz.example.com"
(possibly) array | config/https_cert/addresses/ |
Explicit list of addresses to certify for when enrolling certificate |
This array contains IPv4 address elements.
Sample CLI IPv4 address creation command:
uom insert "config/https_cert/addresses/0" "\"42.154.7.238\""
Sample curl
IPv4 address creation command:
curl --digest -u admin:1234 -H "X-CSRF: x" -H "Content-type: application/json" -H "Accept: application/json" --data-binary "\"210.167.216.153\"" "http://192.168.0.100/restapi/config/https_cert/addresses/"
string | config/https_cert/addresses/N/ |
IPv4 address to certify for, in dotted quad notation |
The value is subject to the following constraints: the value matches ^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]).){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This string represents a value in persistent storage.
Sample requests
write command (note that _ipv4_address_index
is a variable):
requests.put('http://192.168.0.100/restapi/config/https_cert/addresses/'+str(_ipv4_address_index)+'/',auth=auth,headers=headers,json='254.96.3.3')
Sample CLI read command (note that ipv4_address_index
is a variable):
uom get "config/https_cert/addresses/${ipv4_address_index}"
⇒
"58.253.251.0"
map | config/https_cert/renewal_data/ |
Renewal-method-specific data |
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This map represents a value in persistent storage.
This map contains Data item elements.
Sample requests
write command:
requests.put('http://192.168.0.100/restapi/config/https_cert/renewal_data/',auth=auth,headers=headers,json={'username': 'q9', 'password': 'BL', 'est_url': 'https://]%8d%e9]]p', 'auth': 'digest'})
Sample CLI data item creation command:
uom insert "config/https_cert/renewal_data/days" "\"6310\""
string | config/https_cert/renewal_data/S/ |
Item of renewal-method-specific data |
The value is subject to the following constraints: the value matches renewal methods[certificate renewal method].data_items[index of the value].regexp
Retrieving the value is denied if any of the following is true:
Changing the value is denied if any of the following is true:
Using the string as a field for indexing into the grandparent collection is denied if any of the following is true:
This string represents a value in persistent storage.
This string should be displayed in a secure manner if all of the following is true:
Sample CLI write command (note that data_item
is a variable):
uom set "config/https_cert/renewal_data/${data_item}" "\"734\""
Sample curl
read command (note that :data_item
is a URL template argument):
curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/https_cert/renewal_data/:data_item/"
⇒
"]]%B2] %B1 ]"
call | config/https_cert/renew_cert/ |
Initiate attempt to renew the certificate using the selected method |
Performing the function call is denied if any of the following is true:
The call has no arguments (supply empty tuple).
The call returns the following results:
Sample JS request
invocation:
request.post({url:"config/https_cert/renew_cert/",body:[]});
⇒
(no output)
Sample requests
invocation:
requests.post('http://192.168.0.100/restapi/config/https_cert/renew_cert/',auth=auth,headers=headers,json={})
⇒
(no output)
constant null | config/https_cert/renew_cert/results: 1/ |
No additional information available |
This constant does not correspond to an actual resource.
call | config/https_cert/generate_key/ |
Initiate generation of a new private key; certificate renewal will be attempted as a side effect; if that fails, the key is unchanged |
Performing the function call is denied if any of the following is true:
The call has no arguments (supply empty tuple).
The call returns the following results:
Sample JS request
invocation:
request.post({url:"config/https_cert/generate_key/",body:[]});
⇒
(no output)
Sample requests
invocation:
requests.post('http://192.168.0.100/restapi/config/https_cert/generate_key/',auth=auth,headers=headers,json={})
⇒
(no output)
constant null | config/https_cert/generate_key/results: 1/ |
No additional information available |
This constant does not correspond to an actual resource.
map | config/https_cert/known_dn_oids/ |
Known distinguished name element object identifiers |
Retrieving the value is denied if not administrative user
This map does not support direct modification.
This map contains OID elements.
Creating elements in this collection is not supported.
Sample CLI read command:
uom get "config/https_cert/known_dn_oids"
⇒
Sample uom
library read command:
print(uom.dump(uom.config.https_cert.known_dn_oids))
⇒
string | config/https_cert/known_dn_oids/S/ |
Object identifier value |
Retrieving the value is denied if not administrative user
This string does not support direct modification.
Sample uom
library read command (note that _oid
is a variable):
print(uom.dump(uom.config.https_cert.known_dn_oids[_oid]))
⇒
"2.5.4.17"
Sample requests
read command (note that _oid
is a variable):
print(requests.get('http://192.168.0.100/restapi/config/https_cert/known_dn_oids/'+_oid+'/',auth=auth,headers=headers).json())
⇒
'2.5.4.11'
object | config/https_cert/known_renewal_methods/S/data_items/S/ |
Properties of data item |
This object is a part of a composite value which is modified as a whole.
This object contains the following items:
name | Name |
regexp | Regular expression |
secret | Secret |
Sample uom
library read command (note that _renewal_method
and _data_item_properties
are variables):
print(uom.dump(uom.config.https_cert.known_renewal_methods[_renewal_method].data_items[_data_item_properties]))
⇒
{name="ACMEv2 directory endpoint URL",regexp="^https?://(]|[!#&'()*+,/:;=?@[$A-Za-z0-9._~-]|(%[0-9A-Fa-f][0-9A-Fa-f]))+$",secret=false}
Sample JS request
write command (note that _renewal_method
and _data_item_properties
are variables):
request.put({url:"config/https_cert/known_renewal_methods/"+_renewal_method+"/data_items/"+_data_item_properties+"/",body:{"regexp":"^(rsa|dsa|dh)$","name":"ACMEv1 default account key type","secret":false}});
string | config/https_cert/known_renewal_methods/S/data_items/S/name/ |
Data item name |
Retrieving the value is denied if not administrative user
This string is a part of a composite value which is modified as a whole.
This string does not support direct modification.
Sample uom
library read command (note that _renewal_method
and _data_item_properties
are variables):
print(uom.dump(uom.config.https_cert.known_renewal_methods[_renewal_method].data_items[_data_item_properties].name))
⇒
"Number of days to issue new certificates for"
Sample curl
read command (note that :renewal_method
and :data_item_properties
are URL template arguments):
curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/https_cert/known_renewal_methods/:renewal_method/data_items/:data_item_properties/name/"
⇒
"ACMEv1 directory endpoint URL"
string | config/https_cert/known_renewal_methods/S/data_items/S/regexp/ |
Regular expression which the data item must match |
Retrieving the value is denied if not administrative user
This string is a part of a composite value which is modified as a whole.
This string does not support direct modification.
Sample CLI read command (note that renewal_method
and data_item_properties
are variables):
uom get "config/https_cert/known_renewal_methods/${renewal_method}/data_items/${data_item_properties}/regexp"
⇒
"^[1-9][0-9]*$"
Sample curl
read command (note that :renewal_method
and :data_item_properties
are URL template arguments):
curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/https_cert/known_renewal_methods/:renewal_method/data_items/:data_item_properties/regexp/"
⇒
"^((]|[!#&'()*+,/:;=?@[$A-Za-z0-9._~-]|(%[0-9A-Fa-f][0-9A-Fa-f]))| )+$"
sum (boolean) | config/https_cert/known_renewal_methods/S/data_items/S/secret/ |
Flag indicating whether the data item can contain private information |
Retrieving the value is denied if not administrative user
This sum is a part of a composite value which is modified as a whole.
This sum does not support direct modification.
This sum can assume the following values:
constant true | Secret | The data item can contain private information | |
constant false | Not secret | The data item contains only public information |
Sample uom
library read command (note that _renewal_method
and _data_item_properties
are variables):
print(uom.dump(uom.config.https_cert.known_renewal_methods[_renewal_method].data_items[_data_item_properties].secret))
⇒
true
Sample CLI read command (note that renewal_method
and data_item_properties
are variables):
uom get "config/https_cert/known_renewal_methods/${renewal_method}/data_items/${data_item_properties}/secret"
⇒
false
object | config/https_cert/known_renewal_methods/S/ |
Method of certificate renewal |
Retrieving the value is denied if not administrative user
This object is a part of a composite value which is modified as a whole.
This object contains the following items:
name | Name |
data_items | Supported data items |
Sample JS request
read command (note that _renewal_method
is a variable):
request.get({url:"config/https_cert/known_renewal_methods/"+_renewal_method+"/"},function(error,response,body) {console.log(body)});
⇒
Sample requests
write command (note that _renewal_method
is a variable):
requests.put('http://192.168.0.100/restapi/config/https_cert/known_renewal_methods/'+_renewal_method+'/',auth=auth,headers=headers,json={'name': 'Obtain a certificate from an ACME v2 endpoint (e.g. Let\'s Encrypt)', 'data_items': {'acmev2_auth_algorithm': {'regexp': '^(RS256|RS384|RS512|ES256|ES384|ES512)$', 'name': 'ACMEv2 authentication algorithm', 'secret': False}, 'acmev2_contacts': {'regexp': '^((]|[!#&\'()*+,/:;=?@[$A-Za-z0-9._~-]|(%[0-9A-Fa-f][0-9A-Fa-f]))| )+$', 'name': 'ACMEv2 contact URLs, whitespace-separated', 'secret': False}, 'acmev2_agreement': {'regexp': '^((]|[!#&\'()*+,/:;=?@[$A-Za-z0-9._~-]|(%[0-9A-Fa-f][0-9A-Fa-f]))| )+$', 'name': 'ACMEv2 service agreement', 'secret': False}, 'acmev2_url': {'regexp': '^https?://(]|[!#&\'()*+,/:;=?@[$A-Za-z0-9._~-]|(%[0-9A-Fa-f][0-9A-Fa-f]))+$', 'name': 'ACMEv2 directory endpoint URL', 'secret': False}}})
string | config/https_cert/known_renewal_methods/S/name/ |
Renewal method name |
Retrieving the value is denied if not administrative user
This string is a part of a composite value which is modified as a whole.
This string does not support direct modification.
Sample CLI read command (note that renewal_method
is a variable):
uom get "config/https_cert/known_renewal_methods/${renewal_method}/name"
⇒
"Obtain a certificate via EST (Enrollment over Secure Transport)"
Sample curl
read command (note that :renewal_method
is a URL template argument):
curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/https_cert/known_renewal_methods/:renewal_method/name/"
⇒
"Obtain a certificate via EST (Enrollment over Secure Transport)"
map | config/https_cert/known_renewal_methods/S/data_items/ |
Properties of supported data items |
Retrieving the value is denied if not administrative user
This map is a part of a composite value which is modified as a whole.
This map does not support direct modification.
This map contains Data item properties elements.
Creating elements in this collection is not supported.
Sample JS request
read command (note that _renewal_method
is a variable):
request.get({url:"config/https_cert/known_renewal_methods/"+_renewal_method+"/data_items/"},function(error,response,body) {console.log(body)});
⇒
{"days":{"regexp":"^[1-9][0-9]*$","name":"Number of days to issue new certificates for","secret":false}}
Sample uom
library read command (note that _renewal_method
is a variable):
print(uom.dump(uom.config.https_cert.known_renewal_methods[_renewal_method].data_items))
⇒
See also Supported data items: Data item properties
map | config/certificates/ |
Map of known certificates and their settings |
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This map represents a value in persistent storage.
Changes to this map do not take effect immediately.
This map contains Certificate elements.
Sample requests
read command:
print(requests.get('http://192.168.0.100/restapi/config/certificates/',auth=auth,headers=headers).json())
⇒
Sample curl
write command:
curl --digest -u admin:1234 -H "X-CSRF: x" -X PUT -H "Content-type: application/json" -H "Accept: application/json" --data-binary "{\"SecureBazProtect_Root_Certification_Authority_7\":{\"data\":\"-----BEGIN CERTIFICATE-----\\nMIIwr7uEIVckxW1NPT0TCZn/6OFxwz1kBJh3SbJn6xY4UbTv5WPK5CMEdeBZdFJr\\nw4eFtnDRtj3MfAu4X0IwGyaUXDlt4Nw1TaIMNXqGGvfy6a2gdNcwLCQvSCoZbkc5\\nwTkUK1mFjlOJp4yDiubxLWQZK/B4eIRaoB48FtQ+eqJUxIkgDLdau3AE5OLljoMX\\nSiH=\\n-----END CERTIFICATE-----\\n\",\"status\":true},\"iVeriBazSign_Root_Certification_Authority_3\":{\"data\":\"-----BEGIN CERTIFICATE-----\\nMII1XdXoAth4iV2eR6KkARcZVPB3uUPv0czaFWPSQ6Z8deo4m9rydTX8vlEpFflI\\nvYIK1kTcv7GkD2v51ZabkWM+Mef8zyvvXDGa+lDvuVf8abFeAsFxPexnJcxJbsE9\\nWl6I/1DWjN7KfnXY2UzjRn24kOidetmBfuWgylCh9L2r9bQD5PzZC2gzSOd7HPLy\\nteIft0rF4iQh8gpagPpk5pCVSMpujoEdSZJMbAeiv4P4nFhTgWDoMSKrr9laz0ES\\nZrEmVyhcOoPfVvM29BQeXHVi36i6MBky2/kZzSCNGe3nZSrkfIPDcwyh2gqRtbPy\\nAXbel/xP5k/ZcmFwBUZ7SHC97f3k41NHa+xM0u==\\n-----END CERTIFICATE-----\\n\",\"status\":false}}" "http://192.168.0.100/restapi/config/certificates/"
See also Certificate collection: Certificate
object | config/certificates/S/ |
Certificate settings |
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This object represents a value in persistent storage.
Changes to this object do not take effect immediately.
This object contains the following items:
data | Data |
status | Trust status |
Sample uom
library write command (note that _certificate
is a variable):
uom.config.certificates[_certificate]={data="-----BEGIN CERTIFICATE-----\ MIIenwDKGBqhvUISHGCEJzb+bzIP/Whs/jXpfm9y+/fvVzNoGb3cbgdDfxfgTNYV\ KovVmvWSq2SEtksyMTe/jKzO0Snb+vjKkesWaP/QTTgNDZLc30eoMdCO6006xlSh\ LE0mFTGkAf+l0dq3HeRxts3vuBtggb71s9p7f5urmvcpYTus8Lp1Euz85sroU+rM\ hWroQibMLRwrLp/je3+Y29gx0US1MqD3M5upqWBCz83Kz54dA4CFFvDIQhLoXauw\ olYKzmJ7rg7ynm9u/QAwfUMNrBxS5tAwekGdWcnOJwM7jX1k+Ehgk43cH04PwHLa\ eEbH1/d+OmjyqTy4BfrHlTboa0ktNLy2bZLfa+f/nPzdvyk6dbPP50Dh3zbTKZXy\ udlvJmjkmMfk7oOlEpsH2aM1BrOnOMyJ/kFLX+5JNn4WcUIsJA9OnXS/OsppFo9H\ Qe6QmRqaYNC2h4OuGohpHjEAY3RMEkwhO38BW+n4N/946Z+OOiEiRUu/aLOr5LYW\ jjyjX36ZFCirD7GyN+QuuRUFsMN\ -----END CERTIFICATE-----\ ",status=false}
Sample uom
library deletion command (note that _certificate
is a variable):
uom.remove(uom.config.certificates,_certificate)
string | config/certificates/S/data/ |
Certificate data |
The value contains PEM format data (has native MIME type application/x-pem-file
).
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This string represents a value in persistent storage.
Changes to this string do not take effect immediately.
Sample CLI read command (note that certificate
is a variable):
uom get "config/certificates/${certificate}/data"
⇒
"-----BEGIN CERTIFICATE-----\nMII7eif02fk4FL5Iio4Tq9B0g10LUfSiTKs73XA7CxEUJLo1AuX03k2mo47Imb0G\nQ0ScAhaQBvo/z+wW0/H5n5CxQ+YTGWOjZsLmZyDnt1ps1lP4miCaqQXGR6lkfATF\nr1epH=\n-----END CERTIFICATE-----\n"
Sample JS request
read command (note that _certificate
is a variable):
request.get({url:"config/certificates/"+_certificate+"/data/"},function(error,response,body) {console.log(body)});
⇒
"-----BEGIN CERTIFICATE-----\nMII12l+wPPDGgMjloYlHUUt8N4367C+tMAwRxxONNef30Pqqzc8T61dV8jeHxeBK\nno5CCUstavJQlI2woBzSi7CNRA1eWuoKjwYxRRq1MAT8VY4Jl4oUE0thCxMlrB5b\ngYb7PeVb8g\n-----END CERTIFICATE-----\n"
sum (boolean) | config/certificates/S/status/ |
Whether the certificate is trusted by default |
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This sum represents a value in persistent storage.
Changes to this sum do not take effect immediately.
This sum can assume the following values:
constant true | Trusted | The certificate is trusted by all software with default settings | |
constant false | Untrusted | The certificate is not trusted by all software with default settings |
Sample curl
read command (note that :certificate
is a URL template argument):
curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/certificates/:certificate/status/"
⇒
true
Sample JS request
write command (note that _certificate
is a variable):
request.put({url:"config/certificates/"+_certificate+"/status/",body:true});
map | config/crls/ |
Map of known certificate revocation lists and their settings |
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This map represents a value in persistent storage.
Changes to this map do not take effect immediately.
This map contains Certificate revocation list elements.
Sample curl
read command:
curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/crls/"
⇒
Sample CLI certificate revocation list creation command:
uom insert "config/crls/iCyberFooSign_Root_CA_3" "{\"data\":\"-----BEGIN X509 CRL-----\\nMIIVHoQ08Zr7EHHnGYncrVfkSWvM+8p2+iZHX0KhbBrsV9fnjTQa+5LTeGreQgiR\\nlyL5gyJXrqiXeR0520CPVsiNX83GbUbMSyU8xpiogRLLvNSzQhPya7L7IQQvx1IQ\\npbzfJnLn8iiYBh+u6zVGKfan5Wk8qAAgn9L7ziw8ReifMjaVi5n2mNrtwc2moFSc\\nqmQYia0NJhm2HHmP5rBVj5RLAEARjouZaL8JxAjGuVLCp8ex/rTlzw69BIcx7XWk\\nh3sup9oLW1Agh8iZdTYackowNl4wIqr/vkwlvk6RoI8WTs56Mgj+QXxq\\n-----END X509 CRL-----\\n\",\"status\":true}"
See also Certificate revocation list collection: Certificate revocation list
object | config/crls/S/ |
Certificate revocation list settings |
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This object represents a value in persistent storage.
Changes to this object do not take effect immediately.
This object contains the following items:
data | Data |
status | Usage status |
Sample requests
deletion command (note that _certificate_revocation_list
is a variable):
requests.delete('http://192.168.0.100/restapi/config/crls/'+_certificate_revocation_list+'/',auth=auth,headers=headers)
Sample requests
write command (note that _certificate_revocation_list
is a variable):
requests.put('http://192.168.0.100/restapi/config/crls/'+_certificate_revocation_list+'/',auth=auth,headers=headers,json={'data': '-----BEGIN X509 CRL-----\nMIIhfhdhrHIGcrfRHQBsv9WaKysY2wC1PYl4GOn7i6QK+5oHX/9TBi4Xgy5lvKpK\nRB+FLiNn3NuthSvtx6b2gI1n4y8vJ2VmGW2dERQKrKEYo9RmI3q/OtpUszPB2w+K\n3zjWP4OmKzbWRNrXEsx8hS1gtFkqF\n-----END X509 CRL-----\n', 'status': True})
string | config/crls/S/data/ |
CRL data |
The value contains PEM format data (has native MIME type application/x-pem-file
).
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This string represents a value in persistent storage.
Changes to this string do not take effect immediately.
Sample CLI read command (note that certificate_revocation_list
is a variable):
uom get "config/crls/${certificate_revocation_list}/data"
⇒
"-----BEGIN X509 CRL-----\nMIIGX6QUwcXN1gRcAxNImg/mVWtGxz5/6nIgwkAsNjGQPj3chSwT9yFgU9zS85TG\nyrY9jxu/OKlUySzvx8uDrOOqtYyMrsAqjl/TjwV8GGeFkdAio4xfVMWOxUnoN+f7\nhcVd8gwQKBB+OvoUtT0F0RCWF1vFi31PiZ3sF/IcCWccSR7=\n-----END X509 CRL-----\n"
Sample curl
write command (note that :certificate_revocation_list
is a URL template argument):
curl --digest -u admin:1234 -H "X-CSRF: x" -X PUT -H "Content-type: application/json" -H "Accept: application/json" --data-binary "\"-----BEGIN X509 CRL-----\\nMIIAPo4EN3F/M/f+ECgoW6wQNvMFtYJcYGpz5vDV/VWNWBOmQ4byCXPbTntMMD/w\\nvdm88ofgBCuc+KjbIx9jZeXT1vj3rFwmuix2XdllrfNr/6TK4e4gJdANYvSQAOC5\\nA9gpxRhcrZez2+4j4m3kzSJuwl5L+CUAOB0LekzWJeVNec7lPCWOgrJddQ+dfVq3\\ntRNdRvy5RMm4WYVk4vRyE4bh5FMc5SL/vkfMgdT70FEZ==\\n-----END X509 CRL-----\\n\"" "http://192.168.0.100/restapi/config/crls/:certificate_revocation_list/data/"
sum (boolean) | config/crls/S/status/ |
Whether the certificate revocation list is used by default |
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This sum represents a value in persistent storage.
Changes to this sum do not take effect immediately.
This sum can assume the following values:
constant true | Used | The certificate revocation list is used by all software with default settings | |
constant false | Unused | The certificate revocation list is not used by all software with default settings |
Sample JS request
write command (note that _certificate_revocation_list
is a variable):
request.put({url:"config/crls/"+_certificate_revocation_list+"/status/",body:false});
Sample CLI read command (note that certificate_revocation_list
is a variable):
uom get "config/crls/${certificate_revocation_list}/status"
⇒
false
sum (boolean) | config/ssh_enabled/ |
Whether the SSH server should be enabled |
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This sum represents a value in persistent storage.
Changes to this sum do not take effect immediately.
This sum can assume the following values:
constant true | Enabled | The feature is enabled | |
constant false | Disabled | The feature is disabled |
Sample CLI write command:
uom set "config/ssh_enabled" "false"
Sample requests
write command:
requests.put('http://192.168.0.100/restapi/config/ssh_enabled/',auth=auth,headers=headers,json=False)
number | config/ssh_port/ |
Port number of the SSH server |
The value is subject to the following constraints: all of the following is true:
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This number represents a value in persistent storage.
Changes to this number do not take effect immediately.
Sample curl
write command:
curl --digest -u admin:1234 -H "X-CSRF: x" -X PUT -H "Content-type: application/json" -H "Accept: application/json" --data-binary "22" "http://192.168.0.100/restapi/config/ssh_port/"
Sample requests
write command:
requests.put('http://192.168.0.100/restapi/config/ssh_port/',auth=auth,headers=headers,json=22)
array | config/ssh_authorized_keys/ |
List of public keys allowed to log in |
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This array is composite, i.e. is modified as a whole.
This array represents a value in persistent storage.
Changes to this array do not take effect immediately.
This array contains SSH authorized key elements.
Sample curl
read command:
curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/ssh_authorized_keys/"
⇒
[{"data":"ssh-ed25519 0N===","options":"qusr,bwy=7,qr=49901357,ojwnr=2","comment":"zzaw"},{"data":"ssh-rsa rH5g6==","options":"","comment":"nzpm"}]
Sample CLI SSH authorized key creation command:
uom insert "config/ssh_authorized_keys/0" "{\"data\":\"ssh-dss X=\",\"options\":\"\",\"comment\":\"\"}"
See also SSH authorized keys: SSH authorized key
object | config/ssh_authorized_keys/N/ |
Public key allowed to log in |
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This object is a part of a composite value which is modified as a whole.
This object represents a value in persistent storage.
Changes to this object do not take effect immediately.
This object contains the following items:
data | Data |
options | Options |
comment | Comment |
Sample CLI deletion command (note that ssh_authorized_key_index
is a variable):
uom remove "config/ssh_authorized_keys/${ssh_authorized_key_index}"
Sample requests
deletion command (note that _ssh_authorized_key_index
is a variable):
requests.delete('http://192.168.0.100/restapi/config/ssh_authorized_keys/'+str(_ssh_authorized_key_index)+'/',auth=auth,headers=headers)
string | config/ssh_authorized_keys/N/data/ |
Public key data |
The value is subject to the following constraints: the value matches ^(([0-9])+ *([0-9])+ *([0-9])+|(ecdsa-sha2-nistp256|ecdsa-sha2-nistp384|ecdsa-sha2-nistp521|ssh-ed25519|ssh-dss|ssh-rsa) *([0-9A-Za-z+/]+[=]{0,3}))$
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This string is a part of a composite value which is modified as a whole.
This string represents a value in persistent storage.
Changes to this string do not take effect immediately.
Sample CLI read command (note that ssh_authorized_key_index
is a variable):
uom get "config/ssh_authorized_keys/${ssh_authorized_key_index}/data"
⇒
"ssh-ed25519 E="
Sample uom
library write command (note that _ssh_authorized_key_index
is a variable):
uom.config.ssh_authorized_keys[_ssh_authorized_key_index].data="ecdsa-sha2-nistp521 skCI="
string | config/ssh_authorized_keys/N/options/ |
Public key options |
The value is subject to the following constraints: the value matches ^([^ "]+|"[^"]*")*$
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This string is a part of a composite value which is modified as a whole.
This string represents a value in persistent storage.
Changes to this string do not take effect immediately.
Sample CLI write command (note that ssh_authorized_key_index
is a variable):
uom set "config/ssh_authorized_keys/${ssh_authorized_key_index}/options" "\"nkdixxnte=om,cg=37,aybrz=890372\""
Sample curl
read command (note that :ssh_authorized_key_index
is a URL template argument):
curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/ssh_authorized_keys/:ssh_authorized_key_index/options/"
⇒
"ufm=06,m"
string | config/ssh_authorized_keys/N/comment/ |
Public key comment |
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This string is a part of a composite value which is modified as a whole.
This string represents a value in persistent storage.
Changes to this string do not take effect immediately.
Sample JS request
write command (note that _ssh_authorized_key_index
is a variable):
request.put({url:"config/ssh_authorized_keys/"+_ssh_authorized_key_index.toString()+"/comment/",body:""});
Sample curl
write command (note that :ssh_authorized_key_index
is a URL template argument):
curl --digest -u admin:1234 -H "X-CSRF: x" -X PUT -H "Content-type: application/json" -H "Accept: application/json" --data-binary "\"\"" "http://192.168.0.100/restapi/config/ssh_authorized_keys/:ssh_authorized_key_index/comment/"
sum (boolean) | config/ntp_server_enabled/ |
Whether the device should act as NTP server |
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This sum represents a value in persistent storage.
Changes to this sum do not take effect immediately.
This sum can assume the following values:
constant true | Enabled | The feature is enabled | |
constant false | Disabled | The feature is disabled |
Sample uom
library write command:
uom.config.ntp_server_enabled=false
Sample uom
library read command:
print(uom.dump(uom.config.ntp_server_enabled))
⇒
true
array | config/ntp_peers/ |
List of NTP servers to get time information from |
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This array represents a value in persistent storage.
Changes to this array do not take effect immediately.
This array contains NTP peer elements.
Sample CLI NTP peer creation command:
uom insert "config/ntp_peers/1" "\"1.ntp-pool.example.com\""
Sample uom
library read command:
print(uom.dump(uom.config.ntp_peers))
⇒
{"0.ntp-pool.example.com","1.ntp-pool.example.com","2.ntp-pool.example.com","3.ntp-pool.example.com"}
sum (string) | config/ntp_peers/N/ |
NTP server to get time information from |
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This sum represents a value in persistent storage.
Changes to this sum do not take effect immediately.
This sum can assume the following values:
string | Hostname | Hostname | the value matches ^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]).)*([A-Za-z]([A-Za-z0-9-]*[A-Za-z0-9])?|[A-Za-z0-9][A-Za-z0-9-]*[A-Za-z]([A-Za-z0-9-]*[A-Za-z0-9])?)$ |
string | IPv4 address | IPv4 address in dotted quad notation | the value matches ^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]).){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$ |
Sample requests
deletion command (note that _ntp_peer_index
is a variable):
requests.delete('http://192.168.0.100/restapi/config/ntp_peers/'+str(_ntp_peer_index)+'/',auth=auth,headers=headers)
Sample requests
read command (note that _ntp_peer_index
is a variable):
print(requests.get('http://192.168.0.100/restapi/config/ntp_peers/'+str(_ntp_peer_index)+'/',auth=auth,headers=headers).json())
⇒
'0.ntp-pool.example.com'
sum (enumerated number) | config/syslog_minimal_severity/ |
Threshold severity for system messages, below which they are not logged |
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This sum represents a value in persistent storage.
Changes to this sum do not take effect immediately.
This sum can assume the following values:
constant 1 | Emergency | Log when unit becomes unstable or unusable | |
constant 2 | Alert | Log conditions requiring immediate action | |
constant 3 | Critical | Log critical conditions | |
constant 4 | Error | Log error conditions | |
constant 5 | Warning | Log warning conditions | |
constant 6 | Notice | Log normal but significant conditions | |
constant 7 | Informational | Log informational messages | |
constant 8 | Debug | Log tracing and debugging messages |
Sample uom
library write command:
uom.config.syslog_minimal_severity=8
Sample uom
library read command:
print(uom.dump(uom.config.syslog_minimal_severity))
⇒
8
sum (optional string) | config/syslog_ip_address/ |
Host name or IPv4 address of the syslog server to forward log messages to, if any |
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This sum represents a value in persistent storage.
Changes to this sum do not take effect immediately.
This sum can assume the following values:
constant null | Syslog server disabled | System log messages are not forwarded to a server | |
string | Hostname | Hostname | the value matches ^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]).)*([A-Za-z]([A-Za-z0-9-]*[A-Za-z0-9])?|[A-Za-z0-9][A-Za-z0-9-]*[A-Za-z]([A-Za-z0-9-]*[A-Za-z0-9])?)$ |
string | IPv4 address | IPv4 address in dotted quad notation | the value matches ^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]).){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$ |
Sample curl
write command:
curl --digest -u admin:1234 -H "X-CSRF: x" -X PUT -H "Content-type: application/json" -H "Accept: application/json" --data-binary "null" "http://192.168.0.100/restapi/config/syslog_ip_address/"
Sample JS request
write command:
request.put({url:"config/syslog_ip_address/",body:null});
sum (boolean) | config/allow_jsonrpc/ |
Enable HTTP clients to perform JSON-RPC requests |
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This sum represents a value in persistent storage.
This sum can assume the following values:
constant true | Enabled | The feature is enabled | |
constant false | Disabled | The feature is disabled |
Sample uom
library write command:
uom.config.allow_jsonrpc=true
Sample curl
write command:
curl --digest -u admin:1234 -H "X-CSRF: x" -X PUT -H "Content-type: application/json" -H "Accept: application/json" --data-binary "false" "http://192.168.0.100/restapi/config/allow_jsonrpc/"
sum (boolean) | config/allow_jsonrpc_nonadmin/ |
Enable JSON-RPC API requests from users which are not administrators |
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This sum represents a value in persistent storage.
This sum can assume the following values:
constant true | Enabled | The feature is enabled | |
constant false | Disabled | The feature is disabled |
Sample JS request
read command:
request.get({url:"config/allow_jsonrpc_nonadmin/"},function(error,response,body) {console.log(body)});
⇒
true
Sample JS request
write command:
request.put({url:"config/allow_jsonrpc_nonadmin/",body:true});
sum (boolean) | config/allow_restapi/ |
Enable HTTP clients to perform REST-like API requests |
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This sum represents a value in persistent storage.
This sum can assume the following values:
constant true | Enabled | The feature is enabled | |
constant false | Disabled | The feature is disabled |
Sample JS request
write command:
request.put({url:"config/allow_restapi/",body:true});
Sample curl
write command:
curl --digest -u admin:1234 -H "X-CSRF: x" -X PUT -H "Content-type: application/json" -H "Accept: application/json" --data-binary "true" "http://192.168.0.100/restapi/config/allow_restapi/"
sum (boolean) | config/allow_restapi_nonadmin/ |
Enable REST-like API requests from users which are not administrators |
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This sum represents a value in persistent storage.
This sum can assume the following values:
constant true | Enabled | The feature is enabled | |
constant false | Disabled | The feature is disabled |
Sample curl
read command:
curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/allow_restapi_nonadmin/"
⇒
false
Sample uom
library write command:
uom.config.allow_restapi_nonadmin=false
array | config/allow_restapi_origins/ |
List of origins permitted to access the REST-like API |
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This array represents a value in persistent storage.
This array represents an unordered set (order of its elements doesn't matter, and each value should not be supplied more than once).
This array contains Allowed REST-like API client origin elements.
Sample requests
allowed REST-like API client origin creation command:
requests.post('http://192.168.0.100/restapi/config/allow_restapi_origins/',auth=auth,headers=headers,json='http://bar.example.com:4')
Sample CLI allowed REST-like API client origin creation command:
uom insert "config/allow_restapi_origins/2" "\"http://bar.example.com:8007\""
string | config/allow_restapi_origins/N/ |
Origin permitted to access the REST-like API |
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This string represents a value in persistent storage.
Sample requests
deletion command (note that _allowed_rest_like_api_client_origin_index
is a variable):
requests.delete('http://192.168.0.100/restapi/config/allow_restapi_origins/'+str(_allowed_rest_like_api_client_origin_index)+'/',auth=auth,headers=headers)
Sample CLI read command (note that allowed_rest_like_api_client_origin_index
is a variable):
uom get "config/allow_restapi_origins/${allowed_rest_like_api_client_origin_index}"
⇒
"https://baz.example.com:38443"
sum (boolean) | config/allow_coapws/ |
Enable HTTP clients to establish CoAP over WebSockets connections |
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This sum represents a value in persistent storage.
This sum can assume the following values:
constant true | Enabled | The feature is enabled | |
constant false | Disabled | The feature is disabled |
Sample curl
write command:
curl --digest -u admin:1234 -H "X-CSRF: x" -X PUT -H "Content-type: application/json" -H "Accept: application/json" --data-binary "false" "http://192.168.0.100/restapi/config/allow_coapws/"
Sample requests
write command:
requests.put('http://192.168.0.100/restapi/config/allow_coapws/',auth=auth,headers=headers,json=True)
sum (boolean) | config/allow_coapws_nonadmin/ |
Enable CoAP over WebSockets connections from users which are not administrators |
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This sum represents a value in persistent storage.
This sum can assume the following values:
constant true | Enabled | The feature is enabled | |
constant false | Disabled | The feature is disabled |
Sample curl
write command:
curl --digest -u admin:1234 -H "X-CSRF: x" -X PUT -H "Content-type: application/json" -H "Accept: application/json" --data-binary "true" "http://192.168.0.100/restapi/config/allow_coapws_nonadmin/"
Sample uom
library read command:
print(uom.dump(uom.config.allow_coapws_nonadmin))
⇒
true
array | config/allow_coapws_origins/ |
List of origins permitted to access CoAP over WebSockets |
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This array represents a value in persistent storage.
This array represents an unordered set (order of its elements doesn't matter, and each value should not be supplied more than once).
This array contains Allowed CoAP over WebSockets client origin elements.
Sample CLI allowed CoAP over WebSockets client origin creation command:
uom insert "config/allow_coapws_origins/1" "\"https://baz.example.com:443\""
Sample requests
read command:
print(requests.get('http://192.168.0.100/restapi/config/allow_coapws_origins/',auth=auth,headers=headers).json())
⇒
['http://foo.example.com:8062']
string | config/allow_coapws_origins/N/ |
Origin permitted to access CoAP over WebSockets |
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This string represents a value in persistent storage.
Sample uom
library write command (note that _allowed_coap_over_websockets_client_origin_index
is a variable):
uom.config.allow_coapws_origins[_allowed_coap_over_websockets_client_origin_index]="http://bar.example.com:9"
Sample curl
read command (note that :allowed_coap_over_websockets_client_origin_index
is a URL template argument):
curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/allow_coapws_origins/:allowed_coap_over_websockets_client_origin_index/"
⇒
"https://baz.example.com"
sum (boolean) | config/relax_nonhtml_methods/ |
Enable HTTP clients to perform PUT/PATCH/DELETE API requests without a CSRF protection header (currently cannot be sent via an HTML form) |
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This sum represents a value in persistent storage.
This sum can assume the following values:
constant true | Enabled | The feature is enabled | |
constant false | Disabled | The feature is disabled |
Sample CLI write command:
uom set "config/relax_nonhtml_methods" "false"
Sample uom
library read command:
print(uom.dump(uom.config.relax_nonhtml_methods))
⇒
true
sum (boolean) | config/relax_nonhtml_content_types/ |
Enable HTTP clients to perform API requests with e.g. application/json or application/json-rpc without a CSRF protection header (currently cannot be sent via an HTML form) |
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This sum represents a value in persistent storage.
This sum can assume the following values:
constant true | Enabled | The feature is enabled | |
constant false | Disabled | The feature is disabled |
Sample uom
library write command:
uom.config.relax_nonhtml_content_types=true
Sample CLI write command:
uom set "config/relax_nonhtml_content_types" "true"
sum (boolean) | config/allow_plaintext_logins/ |
Allow HTTP clients to authenticate using Basic authentication or plaintext login form |
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This sum represents a value in persistent storage.
This sum can assume the following values:
constant true | Enabled | The feature is enabled | |
constant false | Disabled | The feature is disabled |
Sample curl
write command:
curl --digest -u admin:1234 -H "X-CSRF: x" -X PUT -H "Content-type: application/json" -H "Accept: application/json" --data-binary "true" "http://192.168.0.100/restapi/config/allow_plaintext_logins/"
Sample curl
read command:
curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/allow_plaintext_logins/"
⇒
false
sum (boolean) | config/allow_plaintext_url_logins/ |
Allow HTTP clients to authenticate to certain API types by supplying plaintext credentials in URL |
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This sum represents a value in persistent storage.
This sum can assume the following values:
constant true | Enabled | The feature is enabled | |
constant false | Disabled | The feature is disabled |
Sample CLI read command:
uom get "config/allow_plaintext_url_logins"
⇒
[]
Sample JS request
read command:
request.get({url:"config/allow_plaintext_url_logins/"},function(error,response,body) {console.log(body)});
⇒
[]
sum (boolean) | config/allow_modifying_get/ |
Allow HTTP clients to use GET web UI requests for changing state |
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This sum represents a value in persistent storage.
This sum can assume the following values:
constant true | Enabled | The feature is enabled | |
constant false | Disabled | The feature is disabled |
Sample JS request
write command:
request.put({url:"config/allow_modifying_get/",body:true});
Sample CLI write command:
uom set "config/allow_modifying_get" "true"
sum (boolean) | config/name_always_visible/ |
Flag enabling visibility of relay name |
Changing the value is denied if not administrative user
This sum represents a value in persistent storage.
This sum can assume the following values:
constant true | Everywhere | Relay name visible everywhere, including the login page | |
constant false | Authorized users only | Relay name visible only on pages which require authorization |
Sample requests
read command:
print(requests.get('http://192.168.0.100/restapi/config/name_always_visible/',auth=auth,headers=headers).json())
⇒
True
Sample uom
library read command:
print(uom.dump(uom.config.name_always_visible))
⇒
false
sum (boolean) | config/hide_passwords/ |
Whether user passwords should be hidden |
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This sum represents a value in persistent storage.
This sum can assume the following values:
constant true | Hide | Do not display user passwords in web UI | |
constant false | Show | Display user passwords in web UI |
Sample uom
library write command:
uom.config.hide_passwords=false
Sample curl
read command:
curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/hide_passwords/"
⇒
false
sum (boolean) | config/hide_wifi_key/ |
Whether the WiFi key should be hidden |
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This sum represents a value in persistent storage.
This sum can assume the following values:
constant true | Hide | Do not display WiFi key in web UI | |
constant false | Show | Display WiFi key in web UI |
Sample curl
read command:
curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/hide_wifi_key/"
⇒
false
Sample CLI write command:
uom set "config/hide_wifi_key" "false"
number | config/lockout_delay_minutes/ |
Time during which, after several unsuccessful logins, subsequent logins are denied |
The value represents time, the standard unit of which is the second (s).
The value is subject to the following constraints: the value is greater or equal to 0
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This number represents a value in persistent storage.
Sample CLI write command:
uom set "config/lockout_delay_minutes" "60"
Sample uom
library read command:
print(uom.dump(uom.config.lockout_delay_minutes))
⇒
60
sum (boolean) | config/protect_firmware/ |
Protect firmware from being overwritten |
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This sum represents a value in persistent storage.
This sum can assume the following values:
constant true | Protected | Associated object cannot be changed | |
constant false | Not protected | Associated object can be changed |
Sample curl
write command:
curl --digest -u admin:1234 -H "X-CSRF: x" -X PUT -H "Content-type: application/json" -H "Accept: application/json" --data-binary "true" "http://192.168.0.100/restapi/config/protect_firmware/"
Sample requests
read command:
print(requests.get('http://192.168.0.100/restapi/config/protect_firmware/',auth=auth,headers=headers).json())
⇒
True
sum (boolean) | config/protect_admin/ |
Protect admin settings from being modified |
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This sum represents a value in persistent storage.
This sum can assume the following values:
constant true | Protected | Associated object cannot be changed | |
constant false | Not protected | Associated object can be changed |
Sample uom
library read command:
print(uom.dump(uom.config.protect_admin))
⇒
true
Sample JS request
read command:
request.get({url:"config/protect_admin/"},function(error,response,body) {console.log(body)});
⇒
true
sum (boolean) | config/protect_network/ |
Protect network settings from being modified |
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This sum represents a value in persistent storage.
This sum can assume the following values:
constant true | Protected | Associated object cannot be changed | |
constant false | Not protected | Associated object can be changed |
Sample curl
read command:
curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/protect_network/"
⇒
false
Sample curl
write command:
curl --digest -u admin:1234 -H "X-CSRF: x" -X PUT -H "Content-type: application/json" -H "Accept: application/json" --data-binary "true" "http://192.168.0.100/restapi/config/protect_network/"
sum (boolean) | config/protect_private_config/ |
Protect private configuration settings from being stored in backups |
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This sum represents a value in persistent storage.
This sum can assume the following values:
constant true | Protected | Associated object cannot be changed | |
constant false | Not protected | Associated object can be changed |
Sample requests
write command:
requests.put('http://192.168.0.100/restapi/config/protect_private_config/',auth=auth,headers=headers,json=True)
Sample CLI read command:
uom get "config/protect_private_config"
⇒
false
sum (boolean) | config/protect_restore/ |
Protect settings from being restored from backups |
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This sum represents a value in persistent storage.
This sum can assume the following values:
constant true | Protected | Associated object cannot be changed | |
constant false | Not protected | Associated object can be changed |
Sample CLI write command:
uom set "config/protect_restore" "true"
Sample requests
read command:
print(requests.get('http://192.168.0.100/restapi/config/protect_restore/',auth=auth,headers=headers).json())
⇒
True
sum (boolean) | config/protect_maintenance/ |
Disable remote maintenance support |
Retrieving the value is denied if not administrative user
Changing the value is denied if any of the following is true:
This sum represents a value in persistent storage.
This sum can assume the following values:
constant true | Protected | Associated object cannot be changed | |
constant false | Not protected | Associated object can be changed |
Sample curl
read command:
curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/protect_maintenance/"
⇒
true
Sample uom
library write command:
uom.config.protect_maintenance=true
sum (variant) | config/protect_notification/ |
Protect notification settings from being modified |
Retrieving the value is denied if all of the following is true:
Changing the value is denied if any of the following is true:
This sum represents a value in persistent storage.
This sum can assume the following values:
constant true | Protected | Associated object cannot be changed, and its security-related parameters cannot be read | |
constant false | Not protected | Associated object can be changed, and its security-related parameters can be read | |
constant "sender" | Protect sender configuration | Associated object cannot be changed, and its security-related parameters cannot be read; properties not related to sender configuration can still be read and changed |
Sample uom
library read command:
print(uom.dump(uom.config.protect_notification))
⇒
false
Sample CLI write command:
uom set "config/protect_notification" "false"
sum (boolean) | config/upgrade_notify_beep/ |
Indicate firmware upgrade progress by beeping |
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This sum represents a value in persistent storage.
This sum can assume the following values:
constant true | Enabled | The feature is enabled | |
constant false | Disabled | The feature is disabled |
Sample uom
library read command:
print(uom.dump(uom.config.upgrade_notify_beep))
⇒
true
Sample curl
write command:
curl --digest -u admin:1234 -H "X-CSRF: x" -X PUT -H "Content-type: application/json" -H "Accept: application/json" --data-binary "false" "http://192.168.0.100/restapi/config/upgrade_notify_beep/"
sum (boolean) | config/upgrade_notify_blink/ |
Indicate firmware upgrade progress by blinking |
Retrieving the value is denied if not administrative user
Changing the value is denied if not administrative user
This sum represents a value in persistent storage.
This sum can assume the following values:
constant true | Enabled | The feature is enabled | |
constant false | Disabled | The feature is disabled |
Sample uom
library read command:
print(uom.dump(uom.config.upgrade_notify_blink))
⇒
false
Sample requests
read command:
print(requests.get('http://192.168.0.100/restapi/config/upgrade_notify_blink/',auth=auth,headers=headers).json())
⇒
True
map | config/known_quantities/ |
Map of known physical quantities |
This map does not support direct modification.
This map represents a value in persistent storage.
This map contains Quantity elements.
Creating elements in this collection is not supported.
Sample uom
library read command:
print(uom.dump(uom.config.known_quantities))
⇒
<...>
Sample curl
read command:
curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/known_quantities/"
⇒
...
object | config/known_quantities/S/ |
Physical quantity |
This object contains the following items:
name | Name |
units | Known units |
preferred_unit | Preferred unit, if any |
Sample requests
read command (note that _quantity
is a variable):
print(requests.get('http://192.168.0.100/restapi/config/known_quantities/'+_quantity+'/',auth=auth,headers=headers).json())
⇒
{'preferred_unit': None, 'name': 'Energy', 'units': {'kWh': {'offset': 0, 'internal': True, 'name': 'kilowatt-hour', 'scale': 2.77777778e-07}, 'J': {'offset': 0, 'internal': True, 'name': 'joule', 'scale': 1}}}
Sample uom
library write command (note that _quantity
is a variable):
uom.config.known_quantities[_quantity]={name="Time",preferred_unit=null,units={s={internal=false,name="second",offset=0,scale=1}}}
See also Quantity: Name
See also Quantity: Known units
See also Quantity: Preferred unit, if any
string | config/known_quantities/S/name/ |
Quantity name |
This string does not support direct modification.
This string represents a value in persistent storage.
Sample requests
read command (note that _quantity
is a variable):
print(requests.get('http://192.168.0.100/restapi/config/known_quantities/'+_quantity+'/name/',auth=auth,headers=headers).json())
⇒
'Energy'
Sample JS request
read command (note that _quantity
is a variable):
request.get({url:"config/known_quantities/"+_quantity+"/name/"},function(error,response,body) {console.log(body)});
⇒
"Voltage"
map | config/known_quantities/S/units/ |
Map of known units for quantity |
Changing the value is denied if not administrative user
This map is composite, i.e. is modified as a whole.
This map represents a value in persistent storage.
This map contains Unit elements.
Sample curl
read command (note that :quantity
is a URL template argument):
curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/known_quantities/:quantity/units/"
⇒
{"lx":{"offset":0,"internal":true,"name":"lux","scale":1},"fc":{"offset":0,"internal":true,"name":"foot-candle","scale":0.09290226681531}}
Sample JS request
unit creation command (note that _quantity
is a variable):
request.put({url:"config/known_quantities/"+_quantity+"/units/kWh/",body:{"offset":0,"name":"kilowatt-hour","scale":2.77777778e-07}});
object | config/known_quantities/S/units/S/ |
Unit of physical quantity |
Changing the value is denied if not administrative user
This object is a part of a composite value which is modified as a whole.
This object does not support direct modification if internal.
This object represents a value in persistent storage.
This object contains the following items:
name | Name |
scale | Scaling factor |
offset | Offset |
internal | Internal |
Sample JS request
write command (note that _quantity
and _unit
are variables):
request.put({url:"config/known_quantities/"+_quantity+"/units/"+_unit+"/",body:{"offset":0,"name":"joule","scale":1}});
Sample curl
write command (note that :quantity
and :unit
are URL template arguments):
curl --digest -u admin:1234 -H "X-CSRF: x" -X PUT -H "Content-type: application/json" -H "Accept: application/json" --data-binary "{\"offset\":0,\"internal\":false,\"name\":\"lux\",\"scale\":1}" "http://192.168.0.100/restapi/config/known_quantities/:quantity/units/:unit/"
string | config/known_quantities/S/units/S/name/ |
Unit name |
Changing the value is denied if not administrative user
This string is a part of a composite value which is modified as a whole.
This string does not support direct modification if internal.
This string represents a value in persistent storage.
Sample JS request
write command (note that _quantity
and _unit
are variables):
request.put({url:"config/known_quantities/"+_quantity+"/units/"+_unit+"/name/",body:"pixel"});
Sample CLI read command (note that quantity
and unit
are variables):
uom get "config/known_quantities/${quantity}/units/${unit}/name"
⇒
"ampere"
number | config/known_quantities/S/units/S/scale/ |
Scaling factor for conversion from standard SI unit |
Changing the value is denied if not administrative user
This number is a part of a composite value which is modified as a whole.
This number does not support direct modification if internal.
This number represents a value in persistent storage.
Sample JS request
read command (note that _quantity
and _unit
are variables):
request.get({url:"config/known_quantities/"+_quantity+"/units/"+_unit+"/scale/"},function(error,response,body) {console.log(body)});
⇒
1
Sample CLI write command (note that quantity
and unit
are variables):
uom set "config/known_quantities/${quantity}/units/${unit}/scale" "2.77777778e-07"
number | config/known_quantities/S/units/S/offset/ |
Offset for conversion from standard SI unit |
Changing the value is denied if not administrative user
This number is a part of a composite value which is modified as a whole.
This number does not support direct modification if internal.
This number represents a value in persistent storage.
Sample uom
library write command (note that _quantity
and _unit
are variables):
uom.config.known_quantities[_quantity].units[_unit].offset=0
Sample JS request
read command (note that _quantity
and _unit
are variables):
request.get({url:"config/known_quantities/"+_quantity+"/units/"+_unit+"/offset/"},function(error,response,body) {console.log(body)});
⇒
0
sum (boolean) | config/known_quantities/S/units/S/internal/ |
Flag indicating whether this measurement unit is internal |
This sum is a part of a composite value which is modified as a whole.
This sum does not support direct modification.
This sum represents a value in persistent storage.
This sum can assume the following values:
constant true | Internal | This unit is internal and cannot be modified | |
constant false | User | This unit is user-supplied and can be modified |
Sample requests
read command (note that _quantity
and _unit
are variables):
print(requests.get('http://192.168.0.100/restapi/config/known_quantities/'+_quantity+'/units/'+_unit+'/internal/',auth=auth,headers=headers).json())
⇒
True
Sample curl
read command (note that :quantity
and :unit
are URL template arguments):
curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/known_quantities/:quantity/units/:unit/internal/"
⇒
true
sum (optional string) | config/known_quantities/S/preferred_unit/ |
Default UI unit for quantity, if any |
Changing the value is denied if not administrative user
This sum represents a value in persistent storage.
This sum can assume the following values:
constant null | Standard unit | UI shows quantity in SI units | |
string | Preferred unit | Default UI unit for quantity | known units[the value] |
Sample uom
library read command (note that _quantity
is a variable):
print(uom.dump(uom.config.known_quantities[_quantity].preferred_unit))
⇒
null
Sample requests
read command (note that _quantity
is a variable):
print(requests.get('http://192.168.0.100/restapi/config/known_quantities/'+_quantity+'/preferred_unit/',auth=auth,headers=headers).json())
⇒
'fc'
map | config/known_timezones/ |
Map of known time zones |
Retrieving the value is denied if not administrative user
This map is composite, i.e. is modified as a whole.
This map does not support direct modification.
This map represents a value in persistent storage.
This map contains Timezone elements.
Creating elements in this collection is not supported.
Sample JS request
read command:
request.get({url:"config/known_timezones/"},function(error,response,body) {console.log(body)});
⇒
Sample curl
read command:
curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/known_timezones/"
⇒
string | config/known_timezones/S/ |
Time zone name |
Retrieving the value is denied if not administrative user
This string is a part of a composite value which is modified as a whole.
This string does not support direct modification.
This string represents a value in persistent storage.
Sample curl
read command (note that :timezone
is a URL template argument):
curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/known_timezones/:timezone/"
⇒
"UTC+7"
Sample uom
library read command (note that _timezone
is a variable):
print(uom.dump(uom.config.known_timezones[_timezone]))
⇒
"UTC+1"
map | config/known_protection_bits/ |
Map of known protection bits |
Retrieving the value is denied if not administrative user
This map is composite, i.e. is modified as a whole.
This map does not support direct modification.
This map contains Protection bit elements.
Creating elements in this collection is not supported.
Sample curl
read command:
curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/known_protection_bits/"
⇒
Sample JS request
read command:
request.get({url:"config/known_protection_bits/"},function(error,response,body) {console.log(body)});
⇒
See also Known protection bits: Protection bit
object | config/known_protection_bits/S/ |
Protection bit properties |
Retrieving the value is denied if not administrative user
This object is a part of a composite value which is modified as a whole.
This object contains the following items:
name | Name |
status | Protection status |
Sample curl
write command (note that :protection_bit
is a URL template argument):
curl --digest -u admin:1234 -H "X-CSRF: x" -X PUT -H "Content-type: application/json" -H "Accept: application/json" --data-binary "{\"name\":\"Private configuration protection\",\"status\":\"You have enabled that and that service which allows to bypass this protection\"}" "http://192.168.0.100/restapi/config/known_protection_bits/:protection_bit/"
Sample CLI write command (note that protection_bit
is a variable):
uom set "config/known_protection_bits/${protection_bit}" "{\"name\":\"Firmware protection\",\"status\":\"You have enabled that and that service which allows to bypass this protection\"}"
string | config/known_protection_bits/S/name/ |
Protection bit name |
This string is a part of a composite value which is modified as a whole.
This string does not support direct modification.
Sample JS request
read command (note that _protection_bit
is a variable):
request.get({url:"config/known_protection_bits/"+_protection_bit+"/name/"},function(error,response,body) {console.log(body)});
⇒
"Private configuration protection"
Sample requests
read command (note that _protection_bit
is a variable):
print(requests.get('http://192.168.0.100/restapi/config/known_protection_bits/'+_protection_bit+'/name/',auth=auth,headers=headers).json())
⇒
'Private configuration protection'
sum (variant) | config/known_protection_bits/S/status/ |
Status of protection |
Retrieving the value is denied if not administrative user
This sum is a part of a composite value which is modified as a whole.
This sum does not support direct modification.
This sum can change as if by itself or indirectly because of other actions.
Changes to this sum cannot be tracked.
This sum can assume the following values:
constant true | Enabled | Protection is enabled and effective | |
constant false | Disabled | Protection is disabled | |
string | Ineffective | Protection is enabled, but not effective for the following reason |
Sample JS request
read command (note that _protection_bit
is a variable):
request.get({url:"config/known_protection_bits/"+_protection_bit+"/status/"},function(error,response,body) {console.log(body)});
⇒
"You have enabled that and that service which allows to bypass this protection"
Sample uom
library read command (note that _protection_bit
is a variable):
print(uom.dump(uom.config.known_protection_bits[_protection_bit].status))
⇒
false
map | config/known_component_versions/ |
Map of known component version ranges and their status |
This map is composite, i.e. is modified as a whole.
This map does not support direct modification.
This map represents a value in persistent storage.
This map contains Component information elements.
Creating elements in this collection is not supported.
Sample CLI read command:
uom get "config/known_component_versions"
⇒
...
Sample requests
read command:
print(requests.get('http://192.168.0.100/restapi/config/known_component_versions/',auth=auth,headers=headers).json())
⇒
<...>
object | config/known_component_versions/S/ |
Version information for a component |
This object is a part of a composite value which is modified as a whole.
This object does not support direct modification.
This object represents a value in persistent storage.
This object contains the following items:
name | Name |
path | Path |
versions | Versions |
unknown_version_warning | Unknown version warning |
Sample requests
read command (note that _component_information
is a variable):
print(requests.get('http://192.168.0.100/restapi/config/known_component_versions/'+_component_information+'/',auth=auth,headers=headers).json())
⇒
<...>
Sample uom
library read command (note that _component_information
is a variable):
print(uom.dump(uom.config.known_component_versions[_component_information]))
⇒
See also Component information: Name
See also Component information: Path
See also Component information: Versions
See also Component information: Unknown version warning
string | config/known_component_versions/S/name/ |
Component name |
This string is a part of a composite value which is modified as a whole.
This string does not support direct modification.
This string represents a value in persistent storage.
Sample uom
library read command (note that _component_information
is a variable):
print(uom.dump(uom.config.known_component_versions[_component_information].name))
⇒
"ART EEPROM"
Sample CLI read command (note that component_information
is a variable):
uom get "config/known_component_versions/${component_information}/name"
⇒
"AVR"
array | config/known_component_versions/S/path/ |
Component version path relative to object model root |
This array is a part of a composite value which is modified as a whole.
This array does not support direct modification.
This array represents a value in persistent storage.
This array contains Path component elements.
Creating elements in this collection is not supported.
Sample JS request
read command (note that _component_information
is a variable):
request.get({url:"config/known_component_versions/"+_component_information+"/path/"},function(error,response,body) {console.log(body)});
⇒
["config","art_id"]
Sample CLI read command (note that component_information
is a variable):
uom get "config/known_component_versions/${component_information}/path"
⇒
["relay","version"]
sum (variant) | config/known_component_versions/S/path/N/ |
Element of component version path |
This sum is a part of a composite value which is modified as a whole.
This sum does not support direct modification.
This sum represents a value in persistent storage.
This sum can assume the following values:
string | String | String path component | |
number | Number | Number path component |
Sample requests
read command (note that _component_information
and _path_component_index
are variables):
print(requests.get('http://192.168.0.100/restapi/config/known_component_versions/'+_component_information+'/path/'+str(_path_component_index)+'/',auth=auth,headers=headers).json())
⇒
'config'
Sample curl
read command (note that :component_information
and :path_component_index
are URL template arguments):
curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/known_component_versions/:component_information/path/:path_component_index/"
⇒
"version"
sum (variant) | config/known_component_versions/S/versions/N/1/N/ |
Condition for matching the version |
This sum is a part of a composite value which is modified as a whole.
This sum can assume the following values:
string | Exact match | Matches this exact version | |
tuple | Range match | Matches dot-separated versions in this range, including start but excluding end |
Sample requests
write command (note that _component_information
, _version_data_index
and _version_match_item_index
are variables):
requests.put('http://192.168.0.100/restapi/config/known_component_versions/'+_component_information+'/versions/'+str(_version_data_index)+'/0/'+str(_version_match_item_index)+'/',auth=auth,headers=headers,json=['1.5.49.0', None])
Sample uom
library write command (note that _component_information
, _version_data_index
and _version_match_item_index
are variables):
uom.config.known_component_versions[_component_information].versions[_version_data_index][1][_version_match_item_index]="848e459c57f80e6cd9382b5018db388cd0a153ebbe4bca7a4b3678680443ccfa"
(possibly) tuple | config/known_component_versions/S/versions/N/1/N/ |
Matches dot-separated versions in this range, including start but excluding end |
This tuple is a part of a composite value which is modified as a whole.
This tuple does not support direct modification.
This tuple represents a value in persistent storage.
This tuple contains the following items:
1 | Range start, if any |
2 | Range end, if any |
sum (optional string) | config/known_component_versions/S/versions/N/1/N/1/ |
Start of range to match (included), if any |
This sum is a part of a composite value which is modified as a whole.
This sum does not support direct modification.
This sum represents a value in persistent storage.
This sum can assume the following values:
constant null | No range start limit | Match arbitrarily old versions | |
string | Range start | Start of range to match (included) |
Sample curl
read command (note that :component_information
, :version_data_index
and :version_match_item_index
are URL template arguments):
curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/known_component_versions/:component_information/versions/:version_data_index/0/:version_match_item_index/0/"
⇒
null
Sample JS request
read command (note that _component_information
, _version_data_index
and _version_match_item_index
are variables):
request.get({url:"config/known_component_versions/"+_component_information+"/versions/"+_version_data_index.toString()+"/0/"+_version_match_item_index.toString()+"/0/"},function(error,response,body) {console.log(body)});
⇒
null
sum (optional string) | config/known_component_versions/S/versions/N/1/N/2/ |
End of range to match (excluded), if any |
This sum is a part of a composite value which is modified as a whole.
This sum does not support direct modification.
This sum represents a value in persistent storage.
This sum can assume the following values:
constant null | No range end limit | Match arbitrarily new versions | |
string | Range end | End of range to match (excluded) |
Sample uom
library read command (note that _component_information
, _version_data_index
and _version_match_item_index
are variables):
print(uom.dump(uom.config.known_component_versions[_component_information].versions[_version_data_index][1][_version_match_item_index][2]))
⇒
null
Sample CLI read command (note that component_information
, version_data_index
and version_match_item_index
are variables):
uom get "config/known_component_versions/${component_information}/versions/${version_data_index}/0/${version_match_item_index}/1"
⇒
null
tuple | config/known_component_versions/S/versions/N/2/N/ |
Known issue description |
This tuple is a part of a composite value which is modified as a whole.
This tuple does not support direct modification.
This tuple represents a value in persistent storage.
This tuple contains the following items:
1 | Kind |
2 | Title |
3 | Description |
4 | Importance |
Sample uom
library read command (note that _component_information
, _version_data_index
and _issue_index
are variables):
print(uom.dump(uom.config.known_component_versions[_component_information].versions[_version_data_index][2][_issue_index]))
⇒
{"missing-feature","","",0.7}
Sample JS request
read command (note that _component_information
, _version_data_index
and _issue_index
are variables):
request.get({url:"config/known_component_versions/"+_component_information+"/versions/"+_version_data_index.toString()+"/1/"+_issue_index.toString()+"/"},function(error,response,body) {console.log(body)});
⇒
["bug","","",0.5]
sum (enumerated string) | config/known_component_versions/S/versions/N/2/N/1/ |
Kind of issue |
This sum is a part of a composite value which is modified as a whole.
This sum does not support direct modification.
This sum represents a value in persistent storage.
This sum can assume the following values:
constant "bug" | Bug | Problem present in the version(s) | |
constant "missing-feature" | Missing feature | Feature not present in the version(s) |
Sample curl
read command (note that :component_information
, :version_data_index
and :issue_index
are URL template arguments):
curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/known_component_versions/:component_information/versions/:version_data_index/1/:issue_index/0/"
⇒
"missing-feature"
Sample JS request
read command (note that _component_information
, _version_data_index
and _issue_index
are variables):
request.get({url:"config/known_component_versions/"+_component_information+"/versions/"+_version_data_index.toString()+"/1/"+_issue_index.toString()+"/0/"},function(error,response,body) {console.log(body)});
⇒
"bug"
string | config/known_component_versions/S/versions/N/2/N/2/ |
Title of the issue |
This string is a part of a composite value which is modified as a whole.
This string does not support direct modification.
This string represents a value in persistent storage.
Sample requests
read command (note that _component_information
, _version_data_index
and _issue_index
are variables):
print(requests.get('http://192.168.0.100/restapi/config/known_component_versions/'+_component_information+'/versions/'+str(_version_data_index)+'/1/'+str(_issue_index)+'/1/',auth=auth,headers=headers).json())
⇒
''
Sample JS request
read command (note that _component_information
, _version_data_index
and _issue_index
are variables):
request.get({url:"config/known_component_versions/"+_component_information+"/versions/"+_version_data_index.toString()+"/1/"+_issue_index.toString()+"/1/"},function(error,response,body) {console.log(body)});
⇒
""
string | config/known_component_versions/S/versions/N/2/N/3/ |
Textual description of the issue |
This string is a part of a composite value which is modified as a whole.
This string does not support direct modification.
This string represents a value in persistent storage.
Sample curl
read command (note that :component_information
, :version_data_index
and :issue_index
are URL template arguments):
curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/known_component_versions/:component_information/versions/:version_data_index/1/:issue_index/2/"
⇒
""
Sample uom
library read command (note that _component_information
, _version_data_index
and _issue_index
are variables):
print(uom.dump(uom.config.known_component_versions[_component_information].versions[_version_data_index][2][_issue_index][3]))
⇒
""
number | config/known_component_versions/S/versions/N/2/N/4/ |
Relative importance of the issue |
This number is a part of a composite value which is modified as a whole.
This number does not support direct modification.
This number represents a value in persistent storage.
Sample JS request
read command (note that _component_information
, _version_data_index
and _issue_index
are variables):
request.get({url:"config/known_component_versions/"+_component_information+"/versions/"+_version_data_index.toString()+"/1/"+_issue_index.toString()+"/3/"},function(error,response,body) {console.log(body)});
⇒
0.8
Sample curl
read command (note that :component_information
, :version_data_index
and :issue_index
are URL template arguments):
curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/known_component_versions/:component_information/versions/:version_data_index/1/:issue_index/3/"
⇒
0.5
array | config/known_component_versions/S/versions/ |
List of known versions or ranges |
This array is a part of a composite value which is modified as a whole.
This array does not support direct modification.
This array represents a value in persistent storage.
This array contains Version data elements.
Creating elements in this collection is not supported.
Sample CLI read command (note that component_information
is a variable):
uom get "config/known_component_versions/${component_information}/versions"
⇒
Sample curl
read command (note that :component_information
is a URL template argument):
curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/known_component_versions/:component_information/versions/"
⇒
tuple | config/known_component_versions/S/versions/N/ |
Version information |
This tuple is a part of a composite value which is modified as a whole.
This tuple does not support direct modification.
This tuple represents a value in persistent storage.
This tuple contains the following items:
1 | Version match |
2 | Issues |
Sample requests
read command (note that _component_information
and _version_data_index
are variables):
print(requests.get('http://192.168.0.100/restapi/config/known_component_versions/'+_component_information+'/versions/'+str(_version_data_index)+'/',auth=auth,headers=headers).json())
⇒
[['6313a31c4f3add53d65985524af44a8be9e8d05109cd610486d0b330d251ddcb'], [['missing-feature', '', '', 0.3], ['bug', '', '', 0.8], ['missing-feature', '', '', 0.5]]]
Sample CLI read command (note that component_information
and version_data_index
are variables):
uom get "config/known_component_versions/${component_information}/versions/${version_data_index}"
⇒
...
array | config/known_component_versions/S/versions/N/1/ |
Conditions for matching the version |
This array is a part of a composite value which is modified as a whole.
This array does not support direct modification.
This array represents a value in persistent storage.
This array contains Version match item elements.
Creating elements in this collection is not supported.
Sample uom
library read command (note that _component_information
and _version_data_index
are variables):
print(uom.dump(uom.config.known_component_versions[_component_information].versions[_version_data_index][1]))
⇒
{"0899e60994b294e14629f48be8781e017ab61b0afcc90ba52ce116dfe480382b","d1481e8db2e6c38919b77b6c36fc8af5c3ed26bd9945ccfe6b5e6baa296a4601","ffd6abf4f41c4f3f5161b0357eadfb7ea444f39f8abc9ece020b23092b716f00"}
Sample curl
read command (note that :component_information
and :version_data_index
are URL template arguments):
curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/known_component_versions/:component_information/versions/:version_data_index/0/"
⇒
["059b12c1ba407dc9d6d19839737d16c1b5dc89e4425cf15d83e2c2c45317ad85"]
See also Version match: Version match item
array | config/known_component_versions/S/versions/N/2/ |
Known issues with components in this range |
This array is a part of a composite value which is modified as a whole.
This array does not support direct modification.
This array represents a value in persistent storage.
This array contains Issue elements.
Creating elements in this collection is not supported.
Sample JS request
read command (note that _component_information
and _version_data_index
are variables):
request.get({url:"config/known_component_versions/"+_component_information+"/versions/"+_version_data_index.toString()+"/1/"},function(error,response,body) {console.log(body)});
⇒
[["bug","","",0.2],["bug","","",0.6],["bug","","",0.5]]
Sample curl
read command (note that :component_information
and :version_data_index
are URL template arguments):
curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/known_component_versions/:component_information/versions/:version_data_index/1/"
⇒
[["bug","","",0.7],["bug","","",0.7],["missing-feature","","",1],["bug","","",0.8]]
See also Issues: Issue
string | config/known_component_versions/S/unknown_version_warning/ |
Warning to display if version matched no entries |
This string is a part of a composite value which is modified as a whole.
This string does not support direct modification.
This string represents a value in persistent storage.
Sample curl
read command (note that :component_information
is a URL template argument):
curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/known_component_versions/:component_information/unknown_version_warning/"
⇒
"Boot, reboot, upgrade state conservation, power-up state restoration, etc. issues possible"
Sample uom
library read command (note that _component_information
is a variable):
print(uom.dump(uom.config.known_component_versions[_component_information].unknown_version_warning))
⇒
"WiFi and/or boot issues possible"
array | config/relay_ports/ |
List of devices to which relay modules are connected |
Retrieving the value is denied if not administrative user
This array does not support direct modification.
This array represents a value in persistent storage.
This array is expected to be visible to advanced users only.
This array contains Relay port elements.
Creating elements in this collection is not supported.
Sample requests
read command:
print(requests.get('http://192.168.0.100/restapi/config/relay_ports/',auth=auth,headers=headers).json())
⇒
['ttyATH0']
Sample CLI read command:
uom get "config/relay_ports"
⇒
["ttyATH0"]
string | config/relay_ports/N/ |
Filename of a relay module device |
Retrieving the value is denied if not administrative user
This string does not support direct modification.
This string represents a value in persistent storage.
This string is expected to be visible to advanced users only.
Sample CLI read command (note that relay_port_index
is a variable):
uom get "config/relay_ports/${relay_port_index}"
⇒
"ttyATH0"
Sample JS request
read command (note that _relay_port_index
is a variable):
request.get({url:"config/relay_ports/"+_relay_port_index.toString()+"/"},function(error,response,body) {console.log(body)});
⇒
"ttyATH0"