DLI EPCDC32 Object Model Reference
20210819T211304Z
Configuration server object
objectconfig/
Object representing configuration server
dot_inline_dotgraph_143.png

This object contains the following items:

linksLinks list
plotsPlots list
metersMeters list
contactPrimary unit contact
contactsRelated contacts
locationUnit location
oidModel OID
versionVersion number
hardware_idHardware ID
serialSerial number
outlet_labelOutlet label
brand_company_nameBrand company name
brand_nameBrand name
brand_urlBrand URL
brand_manual_urlBrand manual URL
brand_faq_urlBrand FAQ URL
brand_product_info_urlBrand product information URL
support_emailSupport email
register_urlRegistration URL
support_urlSupport URL
update_urlUpdate URL
custom_brand_company_nameCustom brand company name, if any
custom_brand_nameCustom brand name, if any
custom_brand_urlCustom brand URL, if any
custom_brand_logoCustom brand logo URL, if any
custom_brand_logo_widthCustom brand logo width, if any
custom_brand_logo_heightCustom brand logo height, if any
custom_support_emailCustom support email, if any
custom_register_urlCustom registration URL, if any
custom_support_urlCustom support URL, if any
custom_update_urlCustom update URL, if any
custom_help_urlCustom help URL, if any
customization_statusCustomization status
registration_statusRegistration status
refresh_enabledEnable page refresh
refresh_delay_minutesPage refresh delay
image_formatPreferred image format
hostnameUnit hostname
timezoneTime zone
http_portsHTTP ports
https_portsHTTPS ports
https_certHTTPS certificate settings
certificatesCertificate collection
crlsCertificate revocation list collection
ssh_enabledSSH enabled
ssh_portSSH port number
ssh_authorized_keysSSH authorized keys
ntp_server_enabledNTP server enabled
ntp_peersNTP peers
syslog_minimal_severitySyslog threshold severity
syslog_ip_addressSyslog server address, if any
allow_jsonrpcAllow JSON-RPC
allow_jsonrpc_nonadminAllow non-administrative users to perform JSON-RPC requests
allow_restapiAllow REST-like API
allow_restapi_nonadminAllow non-administrative users to access REST-like API
allow_restapi_originsAllowed REST-like API client origins
allow_coapwsAllow CoAP over WebSockets
allow_coapws_nonadminAllow non-administrative users to access CoAP over WebSockets
allow_coapws_originsAllowed CoAP over WebSockets client origins
relax_nonhtml_methodsRelax non-HTML method CSRF checks
relax_nonhtml_content_typesRelax non-HTML content type CSRF checks
allow_plaintext_loginsAllow plaintext logins
allow_plaintext_url_loginsAllow plaintext URL logins
allow_modifying_getAllow state-changing GET requests
name_always_visibleRelay name visibility
hide_passwordsHide user passwords
hide_wifi_keyHide WiFi key
lockout_delay_minutesSecurity lockout duration
protect_firmwareProtect firmware
protect_adminProtect admin login
protect_networkProtect network settings
protect_private_configProtect private settings
protect_restoreProtect from restore
protect_maintenanceProtect from maintenance
protect_notificationProtect notification settings
upgrade_notify_beepBeep on upgrade
upgrade_notify_blinkBlink on upgrade
known_quantitiesKnown quantities
known_timezonesKnown timezones
known_protection_bitsKnown protection bits
relay_portsRelay ports

Sample CLI read command:

uom get config

...

Sample curl read command:

curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/"

...

Browse more samples

Links list

arrayconfig/links/
List of user-defined links to display in the web UI
dot_inline_dotgraph_144.png

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 CLI read command:

uom get "config/links"

[{"description":"test 5","href":"test_url7"},{"description":"test 3","href":"test_url5"}]

Sample JS request link creation command:

request.post({url:"config/links/",body:{"description":"test 5","href":"test_url7"}});

Browse more samples

See also Links list: Link

Links list: Link

objectconfig/links/N/
User-defined link
dot_inline_dotgraph_145.png

Retrieving the value is denied if not administrative user

This object represents a value in persistent storage.

This object contains the following items:

hrefURI
descriptionDescription

Sample uom library write command (note that _link_index is a variable):

uom.config.links[_link_index]={description="test 3",href="test_url5"}

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 "{\"description\":\"test 3\",\"href\":\"test_url5\"}" "http://192.168.0.100/restapi/config/links/:link_index/"

Browse more samples

URI

stringconfig/links/N/href/
The target URI of the link
dot_inline_dotgraph_146.png

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 _link_index is a variable):

uom.config.links[_link_index].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)+'/href/',auth=auth,headers=headers,json='test_url7')

Browse more samples

Description

stringconfig/links/N/description/
The textual representation of the link
dot_inline_dotgraph_147.png

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)+'/description/',auth=auth,headers=headers).json())

'test 3'

Sample JS request read command (note that _link_index is a variable):

request.get({url:"config/links/"+_link_index.toString()+"/description/"},function(error,response,body) {console.log(body)});

"test 5"

Browse more samples

Plots list

arrayconfig/plots/
List of plots to display in the web UI
dot_inline_dotgraph_148.png

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.current', 'style': {'type': 'solid', 'style': 'lines', 'width': 1, 'color': 'FF0000', 'axes': 'x1y1', 'marker': 'plus', 'size': 0}, 'title': 'Bus A current'}, {'ds': 'buses.1.current', 'style': {'type': 'solid', 'style': 'lines', 'width': 1, 'color': '0000FF', 'axes': 'x1y1', 'marker': 'plus', 'size': 0}, 'title': 'Bus B current'}], 'width': 640, 'title': 'Bus currents', 'display': False, 'y1': {'min': 0, 'softmax': 1, 'max': None, 'tics': None, 'mtics': None, 'softmin': None}, 'x1': {'min': None, 'softmax': None, 'max': None, 'tics': None, 'mtics': None, 'softmin': None}, 'height': 480})

Sample requests write command:

requests.put('http://192.168.0.100/restapi/config/plots/',auth=auth,headers=headers,json=<...>)

Browse more samples

Plot

objectconfig/plots/N/
Configuration of plot for measured values
dot_inline_dotgraph_149.png

This object contains the following items:

titleTitle
displayDisplay
widthWidth
heightHeight
x1X1 axis settings
x2X2 axis settings
y1Y1 axis settings
y2Y2 axis settings
dataPlot lines

Sample JS request read command (note that _plot_index is a variable):

request.get({url:"config/plots/"+_plot_index.toString()+"/"},function(error,response,body) {console.log(body)});

Sample JS request write command (note that _plot_index is a variable):

request.put({url:"config/plots/"+_plot_index.toString()+"/",body:{"x2":{"min":null,"softmax":null,"max":null,"tics":null,"mtics":null,"softmin":null},"y2":{"min":0,"softmax":1,"max":null,"tics":null,"mtics":null,"softmin":null},"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.0.current","style":{"type":"solid","style":"lines","width":1,"color":"0000FF","axes":"x1y2","marker":"plus","size":0},"title":"Bus A current"}],"width":640,"title":"Bus A status","display":true,"y1":{"min":0,"softmax":110,"max":null,"tics":null,"mtics":null,"softmin":null},"x1":{"min":null,"softmax":null,"max":null,"tics":null,"mtics":null,"softmin":null},"height":480}});

Browse more samples

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

Plot: Title

stringconfig/plots/N/title/
The title of the plot
dot_inline_dotgraph_150.png

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 _plot_index is a variable):

print(requests.get('http://192.168.0.100/restapi/config/plots/'+str(_plot_index)+'/title/',auth=auth,headers=headers).json())

'Bus A status'

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='Bus voltages')

Browse more samples

Plot: Display

sum (boolean)config/plots/N/display/
Indicates whether the plot should be displayed
dot_inline_dotgraph_151.png

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 trueShownThe plot is shown
constant falseHiddenThe plot is hidden

Sample CLI read command (note that plot_index is a variable):

uom get "config/plots/${plot_index}/display"

true

Sample CLI write command (note that plot_index is a variable):

uom set "config/plots/${plot_index}/display" "true"

Browse more samples

Plot: Width

numberconfig/plots/N/width/
The width of the plot
dot_inline_dotgraph_152.png

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}/width"

640

Sample requests write command (note that _plot_index is a variable):

requests.put('http://192.168.0.100/restapi/config/plots/'+str(_plot_index)+'/width/',auth=auth,headers=headers,json=640)

Browse more samples

Plot: Height

numberconfig/plots/N/height/
The height of the plot
dot_inline_dotgraph_153.png

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 JS request read command (note that _plot_index is a variable):

request.get({url:"config/plots/"+_plot_index.toString()+"/height/"},function(error,response,body) {console.log(body)});

480

Browse more samples

Plot: X1 axis settings

objectconfig/plots/N/x1/
Configuration for X1 axis
dot_inline_dotgraph_154.png

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:

minMinimum, if any
maxMaximum, if any
softminSoft minimum, if any
softmaxSoft maximum, if any
ticsMajor tick interval, if any
mticsMinor ticks per major tick, if any

Sample uom library write command (note that _plot_index is a variable):

uom.config.plots[_plot_index].x1={max=null,min=null,mtics=null,softmax=null,softmin=null,tics=null}

Sample JS request read command (note that _plot_index is a variable):

request.get({url:"config/plots/"+_plot_index.toString()+"/x1/"},function(error,response,body) {console.log(body)});

{"min":null,"softmax":null,"max":null,"tics":null,"mtics":null,"softmin":null}

Browse more samples

Minimum, if any

sum (optional number)config/plots/N/x1/min/
Minimum value to display on the axis, if any
dot_inline_dotgraph_155.png

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 nullAutomaticThe maximum value is derived from data and the soft maximum
numberMinimumMinimum value to display on 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/min/"

Sample CLI write command (note that plot_index is a variable):

uom set "config/plots/${plot_index}/x1/min" "null"

Browse more samples

Maximum, if any

sum (optional number)config/plots/N/x1/max/
Maximum value to display on the axis, if any
dot_inline_dotgraph_156.png

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 nullAutomaticThe minimum value is derived from data and the soft minimum
numberMaximumMaximum 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/x1/max/"

null

Sample uom library write command (note that _plot_index is a variable):

uom.config.plots[_plot_index].x1.max=null

Browse more samples

Soft minimum, if any

sum (optional number)config/plots/N/x1/softmin/
Minimum value to display on the axis unless values exist below it, if any
dot_inline_dotgraph_157.png

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 nullNoneNo soft maximum defined
numberSoft minimumMinimum value to display on the axis unless values exist below it

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/softmin/"

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/softmin/',auth=auth,headers=headers).json())

None

Browse more samples

Soft maximum, if any

sum (optional number)config/plots/N/x1/softmax/
Maximum value to display on the axis unless values exist above it, if any
dot_inline_dotgraph_158.png

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 nullNoneNo soft minimum defined
numberSoft maximumMaximum value to display on the axis unless values exist above 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/x1/softmax/"

null

Sample JS request write command (note that _plot_index is a variable):

request.put({url:"config/plots/"+_plot_index.toString()+"/x1/softmax/",body:null});

Browse more samples

Major tick interval, if any

sum (optional number)config/plots/N/x1/tics/
The interval, in value units, between major ticks of the axis, if any
dot_inline_dotgraph_159.png

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 nullAutomaticThe tick interval is derived from data and size
numberMajor tick intervalThe interval, in value units, between major ticks of the axis

Sample JS request read command (note that _plot_index is a variable):

request.get({url:"config/plots/"+_plot_index.toString()+"/x1/tics/"},function(error,response,body) {console.log(body)});

null

Sample CLI write command (note that plot_index is a variable):

uom set "config/plots/${plot_index}/x1/tics" "null"

Browse more samples

Minor ticks per major tick, if any

sum (optional number)config/plots/N/x1/mtics/
The number of minor ticks between two major ticks, if any
dot_inline_dotgraph_160.png

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 nullNoneThere are no minor ticks
numberMinor ticks per major tickThe number of minor ticks between two major ticks

all of the following is true:

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/mtics/',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()+"/x1/mtics/"},function(error,response,body) {console.log(body)});

null

Browse more samples

Plot: X2 axis settings

objectconfig/plots/N/x2/
Configuration for X2 axis
dot_inline_dotgraph_161.png

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:

minMinimum, if any
maxMaximum, if any
softminSoft minimum, if any
softmaxSoft maximum, if any
ticsMajor tick interval, if any
mticsMinor 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)+'/x2/',auth=auth,headers=headers).json())

{'min': None, 'softmax': None, 'max': None, 'tics': None, 'mtics': None, 'softmin': None}

Sample CLI write command (note that plot_index is a variable):

uom set "config/plots/${plot_index}/x2" "{\"min\":null,\"softmax\":null,\"max\":null,\"tics\":null,\"mtics\":null,\"softmin\":null}"

Browse more samples

Minimum, if any

sum (optional number)config/plots/N/x2/min/
Minimum value to display on the axis, if any
dot_inline_dotgraph_162.png

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 nullAutomaticThe maximum value is derived from data and the soft maximum
numberMinimumMinimum value to display on the axis

Sample uom library read command (note that _plot_index is a variable):

print(uom.dump(uom.config.plots[_plot_index].x2.min))

null

Sample uom library write command (note that _plot_index is a variable):

uom.config.plots[_plot_index].x2.min=null

Browse more samples

Maximum, if any

sum (optional number)config/plots/N/x2/max/
Maximum value to display on the axis, if any
dot_inline_dotgraph_163.png

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 nullAutomaticThe minimum value is derived from data and the soft minimum
numberMaximumMaximum value to display on the axis

Sample uom library write command (note that _plot_index is a variable):

uom.config.plots[_plot_index].x2.max=null

Sample CLI write command (note that plot_index is a variable):

uom set "config/plots/${plot_index}/x2/max" "null"

Browse more samples

Soft minimum, if any

sum (optional number)config/plots/N/x2/softmin/
Minimum value to display on the axis unless values exist below it, if any
dot_inline_dotgraph_164.png

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 nullNoneNo soft maximum defined
numberSoft minimumMinimum value to display on the axis unless values exist below it

Sample uom library read command (note that _plot_index is a variable):

print(uom.dump(uom.config.plots[_plot_index].x2.softmin))

null

Sample CLI read command (note that plot_index is a variable):

uom get "config/plots/${plot_index}/x2/softmin"

null

Browse more samples

Soft maximum, if any

sum (optional number)config/plots/N/x2/softmax/
Maximum value to display on the axis unless values exist above it, if any
dot_inline_dotgraph_165.png

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 nullNoneNo soft minimum defined
numberSoft maximumMaximum 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].x2.softmax=null

Sample uom library read command (note that _plot_index is a variable):

print(uom.dump(uom.config.plots[_plot_index].x2.softmax))

null

Browse more samples

Major tick interval, if any

sum (optional number)config/plots/N/x2/tics/
The interval, in value units, between major ticks of the axis, if any
dot_inline_dotgraph_166.png

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 nullAutomaticThe tick interval is derived from data and size
numberMajor tick intervalThe 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 requests write command (note that _plot_index is a variable):

requests.put('http://192.168.0.100/restapi/config/plots/'+str(_plot_index)+'/x2/tics/',auth=auth,headers=headers,json=None)

Browse more samples

Minor ticks per major tick, if any

sum (optional number)config/plots/N/x2/mtics/
The number of minor ticks between two major ticks, if any
dot_inline_dotgraph_167.png

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 nullNoneThere are no minor ticks
numberMinor ticks per major tickThe number of minor ticks between two major ticks

all of the following is true:

Sample JS request read command (note that _plot_index is a variable):

request.get({url:"config/plots/"+_plot_index.toString()+"/x2/mtics/"},function(error,response,body) {console.log(body)});

null

Sample uom library write command (note that _plot_index is a variable):

uom.config.plots[_plot_index].x2.mtics=null

Browse more samples

Plot: Y1 axis settings

objectconfig/plots/N/y1/
Configuration for Y1 axis
dot_inline_dotgraph_168.png

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:

minMinimum, if any
maxMaximum, if any
softminSoft minimum, if any
softmaxSoft maximum, if any
ticsMajor tick interval, if any
mticsMinor ticks per major tick, if any

Sample JS request read command (note that _plot_index is a variable):

request.get({url:"config/plots/"+_plot_index.toString()+"/y1/"},function(error,response,body) {console.log(body)});

{"min":0,"softmax":null,"max":null,"tics":null,"mtics":null,"softmin":null}

Sample JS request write command (note that _plot_index is a variable):

request.put({url:"config/plots/"+_plot_index.toString()+"/y1/",body:{"min":0,"softmax":null,"max":null,"tics":null,"mtics":null,"softmin":null}});

Browse more samples

Minimum, if any

sum (optional number)config/plots/N/y1/min/
Minimum value to display on the axis, if any
dot_inline_dotgraph_169.png

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 nullAutomaticThe maximum value is derived from data and the soft maximum
numberMinimumMinimum value to display on the axis

Sample CLI write command (note that plot_index is a variable):

uom set "config/plots/${plot_index}/y1/min" "0"

Sample JS request write command (note that _plot_index is a variable):

request.put({url:"config/plots/"+_plot_index.toString()+"/y1/min/",body:0});

Browse more samples

Maximum, if any

sum (optional number)config/plots/N/y1/max/
Maximum value to display on the axis, if any
dot_inline_dotgraph_170.png

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 nullAutomaticThe minimum value is derived from data and the soft minimum
numberMaximumMaximum value to display on the axis

Sample uom library read command (note that _plot_index is a variable):

print(uom.dump(uom.config.plots[_plot_index].y1.max))

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)+'/y1/max/',auth=auth,headers=headers,json=None)

Browse more samples

Soft minimum, if any

sum (optional number)config/plots/N/y1/softmin/
Minimum value to display on the axis unless values exist below it, if any
dot_inline_dotgraph_171.png

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 nullNoneNo soft maximum defined
numberSoft minimumMinimum 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].y1.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 "null" "http://192.168.0.100/restapi/config/plots/:plot_index/y1/softmin/"

Browse more samples

Soft maximum, if any

sum (optional number)config/plots/N/y1/softmax/
Maximum value to display on the axis unless values exist above it, if any
dot_inline_dotgraph_172.png

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 nullNoneNo soft minimum defined
numberSoft maximumMaximum value to display on the axis unless values exist above 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/softmax/',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()+"/y1/softmax/",body:110});

Browse more samples

Major tick interval, if any

sum (optional number)config/plots/N/y1/tics/
The interval, in value units, between major ticks of the axis, if any
dot_inline_dotgraph_173.png

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 nullAutomaticThe tick interval is derived from data and size
numberMajor tick intervalThe 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 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/y1/tics/"

Browse more samples

Minor ticks per major tick, if any

sum (optional number)config/plots/N/y1/mtics/
The number of minor ticks between two major ticks, if any
dot_inline_dotgraph_174.png

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 nullNoneThere are no minor ticks
numberMinor ticks per major tickThe number of minor ticks between two major ticks

all of the following is true:

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/mtics/',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.mtics))

null

Browse more samples

Plot: Y2 axis settings

objectconfig/plots/N/y2/
Configuration for Y2 axis
dot_inline_dotgraph_175.png

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:

minMinimum, if any
maxMaximum, if any
softminSoft minimum, if any
softmaxSoft maximum, if any
ticsMajor tick interval, if any
mticsMinor ticks per major tick, if any

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}

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': 0, 'softmax': 1, 'max': None, 'tics': None, 'mtics': None, 'softmin': None})

Browse more samples

Minimum, if any

sum (optional number)config/plots/N/y2/min/
Minimum value to display on the axis, if any
dot_inline_dotgraph_176.png

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 nullAutomaticThe maximum value is derived from data and the soft maximum
numberMinimumMinimum value to display on the axis

Sample CLI write command (note that plot_index is a variable):

uom set "config/plots/${plot_index}/y2/min" "null"

Sample uom library write command (note that _plot_index is a variable):

uom.config.plots[_plot_index].y2.min=null

Browse more samples

Maximum, if any

sum (optional number)config/plots/N/y2/max/
Maximum value to display on the axis, if any
dot_inline_dotgraph_177.png

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 nullAutomaticThe minimum value is derived from data and the soft minimum
numberMaximumMaximum value to display on the axis

Sample uom library write command (note that _plot_index is a variable):

uom.config.plots[_plot_index].y2.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)+'/y2/max/',auth=auth,headers=headers).json())

None

Browse more samples

Soft minimum, if any

sum (optional number)config/plots/N/y2/softmin/
Minimum value to display on the axis unless values exist below it, if any
dot_inline_dotgraph_178.png

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 nullNoneNo soft maximum defined
numberSoft minimumMinimum value to display on the axis unless values exist below it

Sample JS request read command (note that _plot_index is a variable):

request.get({url:"config/plots/"+_plot_index.toString()+"/y2/softmin/"},function(error,response,body) {console.log(body)});

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/y2/softmin/"

Browse more samples

Soft maximum, if any

sum (optional number)config/plots/N/y2/softmax/
Maximum value to display on the axis unless values exist above it, if any
dot_inline_dotgraph_179.png

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 nullNoneNo soft minimum defined
numberSoft maximumMaximum value to display on the axis unless values exist above it

Sample JS request write command (note that _plot_index is a variable):

request.put({url:"config/plots/"+_plot_index.toString()+"/y2/softmax/",body: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/y2/softmax/"

Browse more samples

Major tick interval, if any

sum (optional number)config/plots/N/y2/tics/
The interval, in value units, between major ticks of the axis, if any
dot_inline_dotgraph_180.png

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 nullAutomaticThe tick interval is derived from data and size
numberMajor tick intervalThe interval, in value units, between major ticks of the axis

Sample CLI write command (note that plot_index is a variable):

uom set "config/plots/${plot_index}/y2/tics" "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/tics/',auth=auth,headers=headers,json=None)

Browse more samples

Minor ticks per major tick, if any

sum (optional number)config/plots/N/y2/mtics/
The number of minor ticks between two major ticks, if any
dot_inline_dotgraph_181.png

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 nullNoneThere are no minor ticks
numberMinor ticks per major tickThe number of minor ticks between two major ticks

all of the following is true:

Sample CLI write command (note that plot_index is a variable):

uom set "config/plots/${plot_index}/y2/mtics" "null"

Sample JS request read command (note that _plot_index is a variable):

request.get({url:"config/plots/"+_plot_index.toString()+"/y2/mtics/"},function(error,response,body) {console.log(body)});

null

Browse more samples

Plot line configuration: Style

objectconfig/plots/N/data/N/style/
Style of the plot line
dot_inline_dotgraph_182.png

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:

styleLine style
typeLine type
colorLine color
widthLine width
markerMarker type
sizeMarker size
axesBase axes

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\",\"style\":\"lines\",\"width\":1,\"color\":\"FF0000\",\"axes\":\"x1y1\",\"marker\":\"plus\",\"size\":0}"

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/"},function(error,response,body) {console.log(body)});

{"type":"solid","style":"lines","width":1,"color":"FF0000","axes":"x1y1","marker":"plus","size":0}

Browse more samples

Line style

stringconfig/plots/N/data/N/style/style/
The style of the line
dot_inline_dotgraph_183.png

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 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/style/',auth=auth,headers=headers).json())

'lines'

Sample curl write command (note that :plot_index and :plot_line_configuration_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 "\"lines\"" "http://192.168.0.100/restapi/config/plots/:plot_index/data/:plot_line_configuration_index/style/style/"

Browse more samples

Line type

stringconfig/plots/N/data/N/style/type/
The type of the line
dot_inline_dotgraph_184.png

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 curl write command (note that :plot_index and :plot_line_configuration_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 "\"solid\"" "http://192.168.0.100/restapi/config/plots/:plot_index/data/:plot_line_configuration_index/style/type/"

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.type="solid"

Browse more samples

Line color

stringconfig/plots/N/data/N/style/color/
The color of the line
dot_inline_dotgraph_185.png

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 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="FF0000"

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.color))

"FF0000"

Browse more samples

Line width

numberconfig/plots/N/data/N/style/width/
The width of the line
dot_inline_dotgraph_186.png

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.width=1

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/width" "1"

Browse more samples

Marker type

stringconfig/plots/N/data/N/style/marker/
The type of the marker
dot_inline_dotgraph_187.png

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 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/marker/",body:"plus"});

Sample CLI read command (note that plot_index and plot_line_configuration_index are variables):

uom get "config/plots/${plot_index}/data/${plot_line_configuration_index}/style/marker"

"plus"

Browse more samples

Marker size

numberconfig/plots/N/data/N/style/size/
The size of the markers
dot_inline_dotgraph_188.png

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 CLI read command (note that plot_index and plot_line_configuration_index are variables):

uom get "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

Browse more samples

Base axes

stringconfig/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
dot_inline_dotgraph_189.png

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 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"

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/axes/"

"x1y1"

Browse more samples

Plot: Plot lines

arrayconfig/plots/N/data/
Configurations of values to plot
dot_inline_dotgraph_190.png

This array is composite, i.e. is modified as a whole.

This array contains Plot line configuration elements.

Sample CLI read command (note that plot_index is a variable):

uom get "config/plots/${plot_index}/data"

[{"ds":"battery_voltage","style":{"type":"solid","style":"lines","width":1,"color":"FF0000","axes":"x1y1","marker":"plus","size":0},"title":"Battery voltage"}]

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/data/"

[{"ds":"environment.illuminance","style":{"type":"solid","style":"lines","width":1,"color":"FF0000","axes":"x1y1","marker":"plus","size":0},"title":"Illuminance"}]

Browse more samples

Plot line configuration

objectconfig/plots/N/data/N/
Properties of a plot line
dot_inline_dotgraph_191.png

This object is a part of a composite value which is modified as a whole.

This object contains the following items:

dsData source
titleTitle
styleStyle

Sample requests deletion command (note that _plot_index and _plot_line_configuration_index are variables):

requests.delete('http://192.168.0.100/restapi/config/plots/'+str(_plot_index)+'/data/'+str(_plot_line_configuration_index)+'/',auth=auth,headers=headers)

Sample JS request deletion command (note that _plot_index and _plot_line_configuration_index are variables):

request.delete({url:"config/plots/"+_plot_index.toString()+"/data/"+_plot_line_configuration_index.toString()+"/"});

Browse more samples

Data source

stringconfig/plots/N/data/N/ds/
Identifier of the data source to use
dot_inline_dotgraph_192.png

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 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))

"buses.1.current"

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.total_energy"

Browse more samples

Title

stringconfig/plots/N/data/N/title/
The title of the plot line
dot_inline_dotgraph_193.png

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 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].title))

"Illuminance"

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)+'/title/',auth=auth,headers=headers).json())

'Bus A voltage'

Browse more samples

See also Plot line configuration: Style

Meters list

arrayconfig/meters/
List of meters to display in the web UI
dot_inline_dotgraph_194.png

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 curl meter configuration creation command:

curl --digest -u admin:1234 -H "X-CSRF: x" -H "Content-type: application/json" -H "Accept: application/json" --data-binary "{\"decimals\":0,\"color\":\"\",\"sectors\":[{\"color\":\"0000FF\",\"name\":\"Low\",\"value\":100},{\"color\":\"00FF00\",\"name\":\"Optimal\",\"value\":127},{\"color\":\"FF0000\",\"name\":\"High\",\"value\":140}],\"data\":\"buses.0.voltage\",\"width\":128,\"title\":\"Bus A voltage\",\"display\":false,\"min_value\":90,\"scale\":\"linear\",\"height\":64}" "http://192.168.0.100/restapi/config/meters/"

Sample uom library meter configuration creation command:

uom.insert(uom.config.meters,8,{color="",data="power_voltage",decimals=2,display=false,height=64,min_value=4,scale="linear",sectors={{color="0000FF",name="Low",value=4.9},{color="00FF00",name="Optimal",value=5.5},{color="FF0000",name="High",value=6}},title="Power voltage",width=128})

Browse more samples

Meter configuration

objectconfig/meters/N/
Configuration of meter for a measured value
dot_inline_dotgraph_195.png

This object contains the following items:

titleTitle
displayDisplay
dataData source
widthWidth
heightHeight
scaleDisplay scale
decimalsDecimals
colorArrow color
min_valueMinimum value
sectorsMeter sectors

Sample uom library deletion command (note that _meter_configuration_index is a variable):

uom.remove(uom.config.meters,_meter_configuration_index)

Sample uom library write command (note that _meter_configuration_index is a variable):

uom.config.meters[_meter_configuration_index]={color="",data="battery_voltage",decimals=2,display=true,height=64,min_value=4,scale="linear",sectors={{color="0000FF",name="Low",value=4.3},{color="EEEE00",name="Medium",value=4.5},{color="00FF00",name="High",value=6.4}},title="Battery voltage",width=128}

Browse more samples

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

Meter configuration: Title

stringconfig/meters/N/title/
The title of the meter
dot_inline_dotgraph_196.png

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 :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/title/"

"Temperature"

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"

Browse more samples

Meter configuration: Display

sum (boolean)config/meters/N/display/
Indicates whether the meter should be displayed
dot_inline_dotgraph_197.png

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 trueShownThe meter is shown
constant falseHiddenThe meter is hidden

Sample uom library write command (note that _meter_configuration_index is a variable):

uom.config.meters[_meter_configuration_index].display=false

Sample CLI write command (note that meter_configuration_index is a variable):

uom set "config/meters/${meter_configuration_index}/display" "false"

Browse more samples

Meter configuration: Data source

stringconfig/meters/N/data/
Identifier of the data source to use
dot_inline_dotgraph_198.png

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 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 "\"buses.0.voltage\"" "http://192.168.0.100/restapi/config/meters/:meter_configuration_index/data/"

Sample uom library write command (note that _meter_configuration_index is a variable):

uom.config.meters[_meter_configuration_index].data="relay_voltage"

Browse more samples

Meter configuration: Width

numberconfig/meters/N/width/
The width of the meter
dot_inline_dotgraph_199.png

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}/width" "128"

Sample CLI read command (note that meter_configuration_index is a variable):

uom get "config/meters/${meter_configuration_index}/width"

128

Browse more samples

Meter configuration: Height

numberconfig/meters/N/height/
The height of the meter
dot_inline_dotgraph_200.png

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 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/height/"

64

Sample JS request write command (note that _meter_configuration_index is a variable):

request.put({url:"config/meters/"+_meter_configuration_index.toString()+"/height/",body:64});

Browse more samples

Meter configuration: Display scale

stringconfig/meters/N/scale/
The scale function to use for display
dot_inline_dotgraph_201.png

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='log')

Sample uom library write command (note that _meter_configuration_index is a variable):

uom.config.meters[_meter_configuration_index].scale="linear"

Browse more samples

Meter configuration: Decimals

numberconfig/meters/N/decimals/
Number of decimal places to show in displayed value
dot_inline_dotgraph_202.png

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 JS request write command (note that _meter_configuration_index is a variable):

request.put({url:"config/meters/"+_meter_configuration_index.toString()+"/decimals/",body:0});

Sample uom library write command (note that _meter_configuration_index is a variable):

uom.config.meters[_meter_configuration_index].decimals=2

Browse more samples

Meter configuration: Arrow color

stringconfig/meters/N/color/
The color of the meter arrow
dot_inline_dotgraph_203.png

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 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/color/"

""

Sample CLI write command (note that meter_configuration_index is a variable):

uom set "config/meters/${meter_configuration_index}/color" "\"\""

Browse more samples

Meter configuration: Minimum value

numberconfig/meters/N/min_value/
The minimum value to be displayed on the meter
dot_inline_dotgraph_204.png

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 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)+'/min_value/',auth=auth,headers=headers,json=8)

Sample uom library read command (note that _meter_configuration_index is a variable):

print(uom.dump(uom.config.meters[_meter_configuration_index].min_value))

8

Browse more samples

Meter configuration: Meter sectors

arrayconfig/meters/N/sectors/
Configuration of meter sectors
dot_inline_dotgraph_205.png

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 requests read command (note that _meter_configuration_index is a variable):

print(requests.get('http://192.168.0.100/restapi/config/meters/'+str(_meter_configuration_index)+'/sectors/',auth=auth,headers=headers).json())

[{'color': '0000FF', 'name': 'Cold', 'value': 273}, {'color': '00FF00', 'name': 'Optimal', 'value': 322}, {'color': 'FF0000', 'name': 'Hot', 'value': 366}]

Sample requests sector configuration creation command (note that _meter_configuration_index is a variable):

requests.post('http://192.168.0.100/restapi/config/meters/'+str(_meter_configuration_index)+'/sectors/',auth=auth,headers=headers,json={'color': '0000FF', 'name': 'Low', 'value': 4.9})

Browse more samples

Sector configuration

objectconfig/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:

nameName
valueMaximum value
colorColor

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()+"/"},function(error,response,body) {console.log(body)});

{"color":"FF0000","name":"High","value":15}

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="00FF00",name="Optimal",value=12}

Browse more samples

Name

stringconfig/meters/N/sectors/N/name/
The name of the sector
dot_inline_dotgraph_206.png

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 meter_configuration_index and sector_configuration_index are variables):

uom set "config/meters/${meter_configuration_index}/sectors/${sector_configuration_index}/name" "\"Low\""

Sample curl write command (note that :meter_configuration_index and :sector_configuration_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 "\"Optimal\"" "http://192.168.0.100/restapi/config/meters/:meter_configuration_index/sectors/:sector_configuration_index/name/"

Browse more samples

Maximum value

numberconfig/meters/N/sectors/N/value/
The maximum value for the sector
dot_inline_dotgraph_207.png

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 _meter_configuration_index and _sector_configuration_index are variables):

uom.config.meters[_meter_configuration_index].sectors[_sector_configuration_index].value=15

Sample uom library read command (note that _meter_configuration_index and _sector_configuration_index are variables):

print(uom.dump(uom.config.meters[_meter_configuration_index].sectors[_sector_configuration_index].value))

127

Browse more samples

Color

stringconfig/meters/N/sectors/N/color/
The color of the sector
dot_inline_dotgraph_208.png

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 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="FF0000"

Sample curl write command (note that :meter_configuration_index and :sector_configuration_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 "\"00FF00\"" "http://192.168.0.100/restapi/config/meters/:meter_configuration_index/sectors/:sector_configuration_index/color/"

Browse more samples

Primary unit contact

stringconfig/contact/
The person or entity responsible for this unit and information on how to contact them
dot_inline_dotgraph_209.png

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 write command:

uom.config.contact="support@example.com"

Sample JS request read command:

request.get({url:"config/contact/"},function(error,response,body) {console.log(body)});

"support@example.com"

Browse more samples

Related contacts

mapconfig/contacts/
Contacts related to the unit in different ways
dot_inline_dotgraph_210.png

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 uom library contact creation command:

uom.insert(uom.config.contacts,"sales",{email="sales@foo.example.com",fax=null,name="Sales",phone="+58105148410552"})

Sample requests contact creation command:

requests.put('http://192.168.0.100/restapi/config/contacts/support/',auth=auth,headers=headers,json={'phone': '+432368425056872', 'fax': None, 'name': 'Support', 'email': 'support@baz.example.com'})

Browse more samples

See also Related contacts: Contact

Related contacts: Contact

objectconfig/contacts/S/
Contact properties
dot_inline_dotgraph_211.png

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:

nameName
emailEmail, if any
phonePhone number, if any
faxFax number, if any

Sample uom library write command (note that _contact is a variable):

uom.config.contacts[_contact]={email=null,fax="+744707257177817",name="Engineering",phone="+400476655989698"}

Sample requests deletion command (note that _contact is a variable):

requests.delete('http://192.168.0.100/restapi/config/contacts/'+_contact+'/',auth=auth,headers=headers)

Browse more samples

Name

stringconfig/contacts/S/name/
Contact name
dot_inline_dotgraph_212.png

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 _contact is a variable):

requests.put('http://192.168.0.100/restapi/config/contacts/'+_contact+'/name/',auth=auth,headers=headers,json='Security')

Sample uom library write command (note that _contact is a variable):

uom.config.contacts[_contact].name="Security"

Browse more samples

Email, if any

sum (optional string)config/contacts/S/email/
Contact email address, if any
dot_inline_dotgraph_213.png

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 nullNoneNo email address stored
stringEmailContact email addressthe value is not equal to ""

Sample uom library read command (note that _contact is a variable):

print(uom.dump(uom.config.contacts[_contact].email))

"security@baz.example.com"

Sample JS request write command (note that _contact is a variable):

request.put({url:"config/contacts/"+_contact+"/email/",body:null});

Browse more samples

Phone number, if any

sum (optional string)config/contacts/S/phone/
Contact phone number, if any
dot_inline_dotgraph_214.png

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 nullNoneNo phone number stored
stringPhone numberContact phone numberthe value is not equal to ""

Sample uom library read command (note that _contact is a variable):

print(uom.dump(uom.config.contacts[_contact].phone))

"+4556536411740"

Sample CLI write command (note that contact is a variable):

uom set "config/contacts/${contact}/phone" "\"+7372027484887\""

Browse more samples

Fax number, if any

sum (optional string)config/contacts/S/fax/
Contact fax number, if any
dot_inline_dotgraph_215.png

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 nullNoneNo fax number stored
stringFax numberContact fax numberthe value is not equal to ""

Sample uom library write command (note that _contact is a variable):

uom.config.contacts[_contact].fax=null

Sample uom library read command (note that _contact is a variable):

print(uom.dump(uom.config.contacts[_contact].fax))

null

Browse more samples

Unit location

stringconfig/location/
The physical location of this unit (e.g. '1st floor, rack 9')
dot_inline_dotgraph_216.png

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 JS request write command:

request.put({url:"config/location/",body:"Server room"});

Sample JS request read command:

request.get({url:"config/location/"},function(error,response,body) {console.log(body)});

"Server room"

Browse more samples

Model OID

stringconfig/oid/
Object identifier of unit model (should be registered under dliRegistration OID)
dot_inline_dotgraph_217.png

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/oid/"

"1.3.6.1.4.1.45770.1.3"

Sample uom library read command:

print(uom.dump(uom.config.oid))

"1.3.6.1.4.1.45770.1.3"

Browse more samples

Version number

stringconfig/version/
Version number of frontend software
dot_inline_dotgraph_218.png

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/version/"},function(error,response,body) {console.log(body)});

"1.8.1.0"

Sample uom library read command:

print(uom.dump(uom.config.version))

"1.8.1.0"

Browse more samples

Hardware ID

stringconfig/hardware_id/
Identifier of unit hardware model
dot_inline_dotgraph_219.png

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 JS request read command:

request.get({url:"config/hardware_id/"},function(error,response,body) {console.log(body)});

"EPCR5"

Browse more samples

Serial number

stringconfig/serial/
Unit's serial number
dot_inline_dotgraph_220.png

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/serial"

"EPCDC322203123456"

Sample uom library read command:

print(uom.dump(uom.config.serial))

"EPCDC322203123456"

Browse more samples

Outlet label

stringconfig/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 curl read command:

curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/outlet_label/"

"Outlet"

Sample JS request read command:

request.get({url:"config/outlet_label/"},function(error,response,body) {console.log(body)});

"Outlet"

Browse more samples

Brand company name

stringconfig/brand_company_name/
The name of the company which produced the device
dot_inline_dotgraph_221.png

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/brand_company_name/"},function(error,response,body) {console.log(body)});

"Digital Loggers, Inc."

Sample uom library read command:

print(uom.dump(uom.config.brand_company_name))

"Digital Loggers, Inc."

Browse more samples

Brand name

stringconfig/brand_name/
Default brand name, unless overridden
dot_inline_dotgraph_222.png

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/brand_name"

"Ethernet Power Controller"

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"

Browse more samples

Brand URL

stringconfig/brand_url/
Default brand URL, unless overridden
dot_inline_dotgraph_223.png

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_url))

"http://bar.example.com:1/bar/quux/quux/foo/baz/baz.html"

Sample curl read command:

curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/brand_url/"

"https://bar.example.com:443/baz/baz.html"

Browse more samples

Brand manual URL

stringconfig/brand_manual_url/
Brand product manual URL
dot_inline_dotgraph_224.png

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_manual_url/',auth=auth,headers=headers).json())

'https://bar.example.com/bar/foo.htm'

Sample JS request read command:

request.get({url:"config/brand_manual_url/"},function(error,response,body) {console.log(body)});

"http://baz.example.com:8082/foo/quux.htm"

Browse more samples

Brand FAQ URL

stringconfig/brand_faq_url/
Brand product FAQ URL
dot_inline_dotgraph_225.png

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_faq_url/"

"https://foo.example.com:18443/baz/bar/baz/foo/foo/foo.html"

Sample requests read command:

print(requests.get('http://192.168.0.100/restapi/config/brand_faq_url/',auth=auth,headers=headers).json())

'http://bar.example.com:8015/quux/bar/bar/foo/bar/bar.html'

Browse more samples

Brand product information URL

stringconfig/brand_product_info_url/
Brand product information URL
dot_inline_dotgraph_226.png

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/brand_product_info_url/"},function(error,response,body) {console.log(body)});

"https://bar.example.com:8443/foo/quux/bar/quux/baz/foo.htm"

Sample uom library read command:

print(uom.dump(uom.config.brand_product_info_url))

"http://baz.example.com:8069/foo/foo/foo/quux/quux/quux.html"

Browse more samples

Support email

stringconfig/support_email/
Product support email
dot_inline_dotgraph_227.png

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/support_email/',auth=auth,headers=headers).json())

'support@example.com'

Sample CLI read command:

uom get "config/support_email"

"support@example.com"

Browse more samples

Registration URL

stringconfig/register_url/
Default registration URL, unless overridden
dot_inline_dotgraph_228.png

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/register_url/',auth=auth,headers=headers).json())

'https://bar.example.com/bar/bar/quux.html'

Sample curl read command:

curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/register_url/"

"https://foo.example.com/baz.htm"

Browse more samples

Support URL

stringconfig/support_url/
Default support URL, unless overridden
dot_inline_dotgraph_229.png

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_url"

"https://baz.example.com:58443/quux.htm"

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:38443/quux.htm"

Browse more samples

Update URL

stringconfig/update_url/
Default update URL, unless overridden
dot_inline_dotgraph_230.png

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/update_url/"

"https://bar.example.com:8443/quux/foo/foo/baz/baz/baz/bar/bar.htm"

Sample uom library read command:

print(uom.dump(uom.config.update_url))

"https://foo.example.com/baz.html"

Browse more samples

Custom brand company name, if any

sum (optional string)config/custom_brand_company_name/
User-visible brand company name, if any
dot_inline_dotgraph_231.png

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 nullDefaultUse default brand company name
stringCustom brand company nameUser-visible brand company namethe value is not equal to ""

Sample uom library write command:

uom.config.custom_brand_company_name="Whatever Systems Inc."

Sample JS request read command:

request.get({url:"config/custom_brand_company_name/"},function(error,response,body) {console.log(body)});

"Whatever Systems Inc."

Browse more samples

Custom brand name, if any

sum (optional string)config/custom_brand_name/
User-visible product brand name, if any
dot_inline_dotgraph_232.png

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 nullDefaultUse default product brand name
stringCustom brand nameUser-visible product brand namethe value is not equal to ""

Sample curl read command:

curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/custom_brand_name/"

"Amazing Controller III"

Sample JS request read command:

request.get({url:"config/custom_brand_name/"},function(error,response,body) {console.log(body)});

"Amazing Controller III"

Browse more samples

Custom brand URL, if any

sum (optional string)config/custom_brand_url/
User-visible brand URL, if any
dot_inline_dotgraph_233.png

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 nullDefaultUse default brand URL
stringCustom brand URLUser-visible brand URLthe value is not equal to ""

Sample JS request read command:

request.get({url:"config/custom_brand_url/"},function(error,response,body) {console.log(body)});

"http://foo.example.com:6/foo/baz.html"

Sample uom library write command:

uom.config.custom_brand_url="https://baz.example.com:48443/foo/quux.htm"

Browse more samples

Custom brand logo URL, if any

sum (optional string)config/custom_brand_logo/
User-visible brand logo URL, if any
dot_inline_dotgraph_234.png

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 nullDefaultUse default brand logo
stringCustom brand logo URLUser-visible brand logo URLthe 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 "\"https://foo.example.com:18443/quux/baz.gif\"" "http://192.168.0.100/restapi/config/custom_brand_logo/"

Sample JS request write command:

request.put({url:"config/custom_brand_logo/",body:"http://foo.example.com/foo/quux/bar/quux/quux/quux/foo.jpg"});

Browse more samples

Custom brand logo width, if any

sum (optional number)config/custom_brand_logo_width/
User-visible brand logo width, if any
dot_inline_dotgraph_235.png

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 nullDefaultUse default brand logo width
numberCustom brand logo widthUser-visible brand logo width

Sample JS request read command:

request.get({url:"config/custom_brand_logo_width/"},function(error,response,body) {console.log(body)});

22

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/custom_brand_logo_width/"

Browse more samples

Custom brand logo height, if any

sum (optional number)config/custom_brand_logo_height/
User-visible brand logo height, if any
dot_inline_dotgraph_236.png

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 nullDefaultUse default brand logo height
numberCustom brand logo heightUser-visible brand logo height

Sample uom library read command:

print(uom.dump(uom.config.custom_brand_logo_height))

32

Sample requests write command:

requests.put('http://192.168.0.100/restapi/config/custom_brand_logo_height/',auth=auth,headers=headers,json=32)

Browse more samples

Custom support email, if any

sum (optional string)config/custom_support_email/
User-visible product support email, if any
dot_inline_dotgraph_237.png

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 nullDefaultUse default support email
stringCustom support emailUser-visible product support emailthe value is not equal to ""

Sample CLI read command:

uom get "config/custom_support_email"

"support@example.com"

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/custom_support_email/"

Browse more samples

Custom registration URL, if any

sum (optional string)config/custom_register_url/
User-visible registration URL, if any
dot_inline_dotgraph_238.png

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 nullDefaultUse default registration URL
stringCustom registration URLUser-visible registration URLthe value is not equal to ""

Sample requests read command:

print(requests.get('http://192.168.0.100/restapi/config/custom_register_url/',auth=auth,headers=headers).json())

'http://foo.example.com:8092/baz/bar.htm'

Sample curl read command:

curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/custom_register_url/"

"https://foo.example.com:443/quux/bar/quux.htm"

Browse more samples

Custom support URL, if any

sum (optional string)config/custom_support_url/
User-visible support URL, if any
dot_inline_dotgraph_239.png

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 nullDefaultUse default support URL
stringCustom support URLUser-visible support URLthe value is not equal to ""

Sample JS request write command:

request.put({url:"config/custom_support_url/",body:"https://bar.example.com/baz.html"});

Sample uom library write command:

uom.config.custom_support_url="https://foo.example.com/foo/bar/quux/baz.html"

Browse more samples

Custom update URL, if any

sum (optional string)config/custom_update_url/
User-visible update URL, if any
dot_inline_dotgraph_240.png

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 nullDefaultUse default update URL
stringCustom update URLUser-visible update URLthe value is not equal to ""

Sample uom library read command:

print(uom.dump(uom.config.custom_update_url))

"https://baz.example.com:28443/baz/baz.htm"

Sample CLI write command:

uom set "config/custom_update_url" "\"http://foo.example.com:2/bar.html\""

Browse more samples

Custom help URL, if any

sum (optional string)config/custom_help_url/
User-visible help URL, if any
dot_inline_dotgraph_241.png

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 nullInternal helpUse the internal embedded help system
stringCustom help URLUser-visible help URLthe value is not equal to ""

Sample requests read command:

print(requests.get('http://192.168.0.100/restapi/config/custom_help_url/',auth=auth,headers=headers).json())

'http://bar.example.com:8/bar/quux/quux.html'

Sample uom library read command:

print(uom.dump(uom.config.custom_help_url))

"http://foo.example.com/bar/bar/quux.html"

Browse more samples

Customization status

sum (optional enumerated string)config/customization_status/
Status of customization options
dot_inline_dotgraph_242.png

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 nullDefaultCustomization options can be changed and/or locked
constant "open"OpenCustomization options can be changed, but cannot be locked
constant "locked"LockedCustomization options are locked and cannot be changed

Sample CLI write command:

uom set "config/customization_status" "\"open\""

Sample curl read command:

curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/customization_status/"

null

Browse more samples

Registration status

sum (boolean)config/registration_status/
Status of the unit registration
dot_inline_dotgraph_243.png

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 trueDefinedThe user has either registered the unit, or refused to do so
constant falseUndefinedThe user hasn't decided on registering the unit and needs to be reminded

Sample uom library write command:

uom.config.registration_status=false

Sample requests read command:

print(requests.get('http://192.168.0.100/restapi/config/registration_status/',auth=auth,headers=headers).json())

True

Browse more samples

Enable page refresh

sum (boolean)config/refresh_enabled/
Periodically refresh web UI status page
dot_inline_dotgraph_244.png

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 trueEnabledThe feature is enabled
constant falseDisabledThe feature is disabled

Sample CLI read command:

uom get "config/refresh_enabled"

false

Sample uom library read command:

print(uom.dump(uom.config.refresh_enabled))

false

Browse more samples

Page refresh delay

numberconfig/refresh_delay_minutes/
Status page refresh delay, if refresh is enabled
dot_inline_dotgraph_245.png

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 JS request write command:

request.put({url:"config/refresh_delay_minutes/",body:1});

Sample JS request read command:

request.get({url:"config/refresh_delay_minutes/"},function(error,response,body) {console.log(body)});

1

Browse more samples

Preferred image format

stringconfig/image_format/
Default image format for plots and meters
dot_inline_dotgraph_246.png

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 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 "\"svg\"" "http://192.168.0.100/restapi/config/image_format/"

Sample JS request write command:

request.put({url:"config/image_format/",body:"gif"});

Browse more samples

Unit hostname

stringconfig/hostname/
Host name of the unit (sent by DHCP client, redirected to on network configuration changes when next IP address is unknown)
dot_inline_dotgraph_247.png

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 CLI read command:

uom get "config/hostname"

"baz.example.com"

Sample requests read command:

print(requests.get('http://192.168.0.100/restapi/config/hostname/',auth=auth,headers=headers).json())

'foo.example.com'

Browse more samples

Time zone

stringconfig/timezone/
System time zone
dot_inline_dotgraph_248.png

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 CLI read command:

uom get "config/timezone"

"UTC"

Sample JS request write command:

request.put({url:"config/timezone/",body:"UTC"});

Browse more samples

HTTP ports

arrayconfig/http_ports/
HTTP port bindings
dot_inline_dotgraph_249.png

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 requests port binding creation command:

requests.post('http://192.168.0.100/restapi/config/http_ports/',auth=auth,headers=headers,json={'port': '6', 'address': '192.168.0.7'})

Sample requests read command:

print(requests.get('http://192.168.0.100/restapi/config/http_ports/',auth=auth,headers=headers).json())

[{'port': '8055', 'address': '192.168.0.7'}, {'port': '8058', 'address': '192.168.0.5'}, {'port': '80', 'address': '192.168.0.9'}]

Browse more samples

See also HTTP ports: Port binding

HTTP ports: Port binding

objectconfig/http_ports/N/
Address and port to bind service to
dot_inline_dotgraph_250.png

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:

addressAddress
portPort

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":"9","address":"192.168.0.91"}});

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

Browse more samples

Address

sum (string)config/http_ports/N/address/
Address to listen on
dot_inline_dotgraph_251.png

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:

stringIPv4 addressIPv4 address to listen onthe 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])$
stringIPv6 addressIPv6 address to listen onthe 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 uom library read command (note that _port_binding_index is a variable):

print(uom.dump(uom.config.http_ports[_port_binding_index].address))

"192.168.0.2"

Sample CLI write command (note that port_binding_index is a variable):

uom set "config/http_ports/${port_binding_index}/address" "\"192.168.0.5\""

Browse more samples

Port

numberconfig/http_ports/N/port/
Port number to bind to
dot_inline_dotgraph_252.png

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 uom library read command (note that _port_binding_index is a variable):

print(uom.dump(uom.config.http_ports[_port_binding_index].port))

"8093"

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)+'/port/',auth=auth,headers=headers,json='8098')

Browse more samples

HTTPS ports

arrayconfig/https_ports/
HTTPS port bindings
dot_inline_dotgraph_253.png

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 read command:

print(uom.dump(uom.config.https_ports))

{{address="192.168.0.7",port="8065"},{address="192.168.0.3",port="8075"},{address="192.168.0.9",port="8080"},{address="192.168.0.86",port="8093"},{address="192.168.0.54",port="7"},{address="192.168.0.2",port="5"},{address="192.168.0.79",port="80"}}

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\":\"80\",\"address\":\"192.168.0.51\"},{\"port\":\"80\",\"address\":\"192.168.0.64\"},{\"port\":\"80\",\"address\":\"192.168.0.5\"},{\"port\":\"8074\",\"address\":\"192.168.0.2\"}]" "http://192.168.0.100/restapi/config/https_ports/"

Browse more samples

See also HTTPS ports: Port binding

HTTPS ports: Port binding

objectconfig/https_ports/N/
Address and port to bind service to
dot_inline_dotgraph_254.png

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:

addressAddress
portPort

Sample JS request write command (note that _port_binding_index is a variable):

request.put({url:"config/https_ports/"+_port_binding_index.toString()+"/",body:{"port":"4","address":"192.168.0.56"}});

Sample JS request deletion command (note that _port_binding_index is a variable):

request.delete({url:"config/https_ports/"+_port_binding_index.toString()+"/"});

Browse more samples

Address

sum (string)config/https_ports/N/address/
Address to listen on
dot_inline_dotgraph_255.png

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:

stringIPv4 addressIPv4 address to listen onthe 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])$
stringIPv6 addressIPv6 address to listen onthe 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.61')

Sample CLI read command (note that port_binding_index is a variable):

uom get "config/https_ports/${port_binding_index}/address"

"192.168.0.54"

Browse more samples

Port

numberconfig/https_ports/N/port/
Port number to bind to
dot_inline_dotgraph_256.png

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/https_ports/${port_binding_index}/port"

"8035"

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 "\"6\"" "http://192.168.0.100/restapi/config/https_ports/:port_binding_index/port/"

Browse more samples

HTTPS certificate settings

objectconfig/https_cert/
HTTPS certificate configuration
dot_inline_dotgraph_257.png

Retrieving the value is denied if not administrative user

This object contains the following items:

bitsBits
distinguished_nameDistinguished name
string_maskString mask
domainsDomain names override, if any
addressesAddresses override, if any
automatic_renewalAutomatic renewal
renewal_methodCertificate renewal method
renewal_dataData
csrHTTPS certificate signing request, if it can be generated
certHTTPS certificate chain
keyHTTPS certificate key
renew_certRenew certificate
generate_keyGenerate key
known_dn_oidsKnown DN OIDs
known_renewal_methodsRenewal methods

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/https_cert/"

Sample JS request write command:

request.put({url:"config/https_cert/",body:<...>});

Browse more samples

Bits

numberconfig/https_cert/bits/
Size of new private keys
dot_inline_dotgraph_258.png

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 JS request write command:

request.put({url:"config/https_cert/bits/",body:4096});

Sample uom library read command:

print(uom.dump(uom.config.https_cert.bits))

2048

Browse more samples

Distinguished name

mapconfig/https_cert/distinguished_name/
New certificate distinguished name elements
dot_inline_dotgraph_259.png

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 CLI write command:

uom set "config/https_cert/distinguished_name" "{\"commonName\":[\"Digital Loggers Unit\"],\"countryName\":[\"US\"],\"stateOrProvinceName\":[\"California\"],\"localityName\":[\"Santa Clara\"]}"

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 "{\"commonName\":[\"Digital Loggers Unit\"],\"countryName\":[\"US\"],\"stateOrProvinceName\":[\"California\"],\"localityName\":[\"Santa Clara\"]}" "http://192.168.0.100/restapi/config/https_cert/distinguished_name/"

Browse more samples

See also Distinguished name: Values

String mask

sum (enumerated string)config/https_cert/string_mask/
The set of string types to use for new certificates
dot_inline_dotgraph_260.png

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 defaultPrintableString, T61String and BMPString
constant "pkix"PKIXPrintableString and BMPString
constant "utf8only"UTF-8 strings onlyUTF8String
constant "nombstr"No multibyte stringsPrintableString and T61String

Sample JS request read command:

request.get({url:"config/https_cert/string_mask/"},function(error,response,body) {console.log(body)});

"pkix"

Sample CLI read command:

uom get "config/https_cert/string_mask"

"utf8only"

Browse more samples

Domain names override, if any

sum (optional array)config/https_cert/domains/
Explicit domain name list to certify for when enrolling certificate, if any
dot_inline_dotgraph_261.png

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 nullUse hostnameCertify for the current hostname when enrolling certificate
arrayDomain names overrideExplicit domain name list to certify for when enrolling certificate

Sample CLI read command:

uom get "config/https_cert/domains"

null

Sample CLI write command:

uom set "config/https_cert/domains" "null"

Browse more samples

See also Domain names override, if any: Domain names override

Addresses override, if any

sum (optional array)config/https_cert/addresses/
Explicit list of addresses to certify for when enrolling certificate, if any
dot_inline_dotgraph_262.png

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 nullUse all known addressesCertify for all current addresses when enrolling certificate automatically
arrayAddresses overrideExplicit list of addresses to certify for when enrolling certificate

Sample JS request read command:

request.get({url:"config/https_cert/addresses/"},function(error,response,body) {console.log(body)});

null

Sample requests read command:

print(requests.get('http://192.168.0.100/restapi/config/https_cert/addresses/',auth=auth,headers=headers).json())

None

Browse more samples

See also Addresses override, if any: Addresses override

Automatic renewal

sum (boolean)config/https_cert/automatic_renewal/
Automatic renewal of certificate at or near expiry
dot_inline_dotgraph_263.png

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 trueEnabledThe feature is enabled
constant falseDisabledThe feature is disabled

Sample CLI read command:

uom get "config/https_cert/automatic_renewal"

false

Sample uom library write command:

uom.config.https_cert.automatic_renewal=true

Browse more samples

Certificate renewal method

stringconfig/https_cert/renewal_method/
Method to use when renewing the certificate
dot_inline_dotgraph_264.png

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 CLI write command:

uom set "config/https_cert/renewal_method" "\"acmev1\""

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 "\"acmev1\"" "http://192.168.0.100/restapi/config/https_cert/renewal_method/"

Browse more samples

See also HTTPS certificate settings: Data

HTTPS certificate signing request, if it can be generated

sum (variant)config/https_cert/csr/
The certificate signing request to sign (read may fail if key generation is in progress)
dot_inline_dotgraph_265.png

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:

stringHTTPS certificate signing requestThe 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 falseCertificate signing request generation failureNo valid certificate signing request could be generated, check distinguished name settings

Sample uom library read command:

print(uom.dump(uom.config.https_cert.csr))

"-----BEGIN CERTIFICATE REQUEST-----\
MII28ImkPX5TbuYcaQK9OPzfb5dZWdiiCnnN6Z7X7F1k9bNl1kwS9w7m1nMaR4Jf\
30iCarTdcfF0QJnNnyKxlOk7+BEKt8SyBABn2hRhMijp2WCrVYoHzZQznhJgrof3\
ss\
-----END CERTIFICATE REQUEST-----\
"

Sample requests read command:

print(requests.get('http://192.168.0.100/restapi/config/https_cert/csr/',auth=auth,headers=headers).json())

Browse more samples

HTTPS certificate chain

stringconfig/https_cert/cert/
HTTPS certificate chain presented by the unit to clients (read may fail if renewal is in progress)
dot_inline_dotgraph_266.png

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 requests read command:

print(requests.get('http://192.168.0.100/restapi/config/https_cert/cert/',auth=auth,headers=headers).json())

Sample curl read command:

curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/https_cert/cert/"

Browse more samples

HTTPS certificate key

stringconfig/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
dot_inline_dotgraph_267.png

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 JS request write command:

request.put({url:"config/https_cert/key/",body:<...>});

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 "\"-----BEGIN PRIVATE KEY-----\\nMIIxua1Yc602y5TTKAxGK0kKcVaW/ycwJiuDIxox4r02yVYIiVb3YMPAu0jv/LsK\\naOkPMqGOvFwUZf/BkaZ9mTCWPDuHa+4APqbnhuCd997lq9zalZmY3+4UD+oq/u0Q\\neDTZS6kdFWTRV4C4tnAutg7uU+vP1LBhbgH3o2j4aDX6JmDDZP7T6HOdHJ2KhG2J\\nLPnP8t/NR8jDOypp6IxPibi2f3lx75wUWjwgcy446pJXo8MxTKMBx5FdA1bK8Xrh\\nnNwmU0uKLR8Wq6/BUD9bUooXQ9i+0PHqpDcJFXfd/qAsyC3TRE5x3vVV5EW8fp/U\\ndqLBV/CMB4KQAptQwrWsN2+da8JP9pVpfs0BtFZ5MwXYmR/iJXbjbbMCmhdxX8mD\\npRw412Tzc1l43UPd68FkXTWF7UpHG3L6WHDZLiZ+lK4rrWUzhmjEFFWOmMi2R3Bz\\nQZl88lwVrnMNIL545LMNum9GVEjbRj+tJm2TX++PoNp6kwDsIbFCOQVwgEX8+Y2J\\n6ou7pJxC94z5KsQy7eMa9JHQsRQQVmneahoQ0mfBsfJDXlBhQaHcva2n2VEaH2Fu\\n3Lor10kiLzG7AzanHCiuHWyonZ6rq1cvOQmRTXArWT+jTaW==\\n-----END PRIVATE KEY-----\\n\"" "http://192.168.0.100/restapi/config/https_cert/key/"

Browse more samples

See also HTTPS certificate settings: Renew certificate

See also HTTPS certificate settings: Generate key

See also HTTPS certificate settings: Known DN OIDs

Renewal methods

mapconfig/https_cert/known_renewal_methods/
Known renewal methods
dot_inline_dotgraph_268.png

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 curl read command:

curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/https_cert/known_renewal_methods/"

...

Sample uom library read command:

print(uom.dump(uom.config.https_cert.known_renewal_methods))

<...>

Browse more samples

See also Renewal methods: Renewal method

Distinguished name: Values

arrayconfig/https_cert/distinguished_name/S/
Distinguished name element value set
dot_inline_dotgraph_269.png

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 CLI write command (note that values is a variable):

uom set "config/https_cert/distinguished_name/${values}" "[\"California\"]"

Sample uom library read command (note that _values is a variable):

print(uom.dump(uom.config.https_cert.distinguished_name[_values]))

{"Santa Clara"}

Browse more samples

Value

stringconfig/https_cert/distinguished_name/S/N/
Distinguished name element value
dot_inline_dotgraph_270.png

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 uom library write command (note that _values and _value_index are variables):

uom.config.https_cert.distinguished_name[_values][_value_index]="Digital Loggers Unit"

Sample uom library read command (note that _values and _value_index are variables):

print(uom.dump(uom.config.https_cert.distinguished_name[_values][_value_index]))

"California"

Browse more samples

Domain names override, if any: Domain names override

(possibly) arrayconfig/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"});

Browse more samples

Hostname

stringconfig/https_cert/domains/N/
Hostname to certify for
dot_inline_dotgraph_271.png

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 CLI write command (note that hostname_index is a variable):

uom set "config/https_cert/domains/${hostname_index}" "\"foo.example.com\""

Sample requests write command (note that _hostname_index is a variable):

requests.put('http://192.168.0.100/restapi/config/https_cert/domains/'+str(_hostname_index)+'/',auth=auth,headers=headers,json='foo.example.com')

Browse more samples

Addresses override, if any: Addresses override

(possibly) arrayconfig/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/6" "\"198.16.0.7\""

Sample requests IPv4 address creation command:

requests.post('http://192.168.0.100/restapi/config/https_cert/addresses/',auth=auth,headers=headers,json='196.237.212.93')

Browse more samples

IPv4 address

stringconfig/https_cert/addresses/N/
IPv4 address to certify for, in dotted quad notation
dot_inline_dotgraph_272.png

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 JS request read command (note that _ipv4_address_index is a variable):

request.get({url:"config/https_cert/addresses/"+_ipv4_address_index.toString()+"/"},function(error,response,body) {console.log(body)});

"254.251.65.86"

Sample CLI read command (note that ipv4_address_index is a variable):

uom get "config/https_cert/addresses/${ipv4_address_index}"

"5.5.239.197"

Browse more samples

HTTPS certificate settings: Data

mapconfig/https_cert/renewal_data/
Renewal-method-specific data
dot_inline_dotgraph_273.png

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 JS request write command:

request.put({url:"config/https_cert/renewal_data/",body:{"days":"1"}});

Sample JS request data item creation command:

request.put({url:"config/https_cert/renewal_data/days/",body:"4862"});

Browse more samples

Data item

stringconfig/https_cert/renewal_data/S/
Item of renewal-method-specific data
dot_inline_dotgraph_274.png

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 curl deletion command (note that :data_item is a URL template argument):

curl --digest -u admin:1234 -H "X-CSRF: x" -X DELETE -H "Accept: application/json" "http://192.168.0.100/restapi/config/https_cert/renewal_data/:data_item/"

Sample uom library read command (note that _data_item is a variable):

print(uom.dump(uom.config.https_cert.renewal_data[_data_item]))

"rsa"

Browse more samples

HTTPS certificate settings: Renew certificate

callconfig/https_cert/renew_cert/
Initiate attempt to renew the certificate using the selected method
dot_inline_dotgraph_275.png

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:

  1. Empty result: null

Sample uom library invocation:

uom.config.https_cert.renew_cert()

(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)

Browse more samples

Empty result

constant nullconfig/https_cert/renew_cert/results: 1/
No additional information available

This constant does not correspond to an actual resource.

HTTPS certificate settings: Generate key

callconfig/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
dot_inline_dotgraph_276.png

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:

  1. Empty result: null

Sample requests invocation:

requests.post('http://192.168.0.100/restapi/config/https_cert/generate_key/',auth=auth,headers=headers,json={})

(no output)

Sample CLI invocation:

uom invoke "config/https_cert/generate_key"

(no output)

Browse more samples

Empty result

constant nullconfig/https_cert/generate_key/results: 1/
No additional information available

This constant does not correspond to an actual resource.

HTTPS certificate settings: Known DN OIDs

mapconfig/https_cert/known_dn_oids/
Known distinguished name element object identifiers
dot_inline_dotgraph_277.png

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 requests read command:

print(requests.get('http://192.168.0.100/restapi/config/https_cert/known_dn_oids/',auth=auth,headers=headers).json())

Sample curl read command:

curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/https_cert/known_dn_oids/"

Browse more samples

OID

stringconfig/https_cert/known_dn_oids/S/
Object identifier value
dot_inline_dotgraph_278.png

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.8"

Sample curl read command (note that :oid is a URL template argument):

curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/https_cert/known_dn_oids/:oid/"

"2.5.4.3"

Browse more samples

Supported data items: Data item properties

objectconfig/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:

nameName
regexpRegular expression
secretSecret

Sample CLI write command (note that renewal_method and data_item_properties are variables):

uom set "config/https_cert/known_renewal_methods/${renewal_method}/data_items/${data_item_properties}" "{\"regexp\":\"^[1-9][0-9]*$\",\"name\":\"ACMEv1 default account key size in bits\",\"secret\":false}"

Sample requests read command (note that _renewal_method and _data_item_properties are variables):

print(requests.get('http://192.168.0.100/restapi/config/https_cert/known_renewal_methods/'+_renewal_method+'/data_items/'+_data_item_properties+'/',auth=auth,headers=headers).json())

{'regexp': '^[1-9][0-9]*$', 'name': 'Number of days to issue new certificates for', 'secret': False}

Browse more samples

Name

stringconfig/https_cert/known_renewal_methods/S/data_items/S/name/
Data item name
dot_inline_dotgraph_279.png

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 requests read command (note that _renewal_method and _data_item_properties are variables):

print(requests.get('http://192.168.0.100/restapi/config/https_cert/known_renewal_methods/'+_renewal_method+'/data_items/'+_data_item_properties+'/name/',auth=auth,headers=headers).json())

'Username to authenticate as'

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/"

"Number of days to issue new certificates for"

Browse more samples

Regular expression

stringconfig/https_cert/known_renewal_methods/S/data_items/S/regexp/
Regular expression which the data item must match
dot_inline_dotgraph_280.png

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 JS request read command (note that _renewal_method and _data_item_properties are variables):

request.get({url:"config/https_cert/known_renewal_methods/"+_renewal_method+"/data_items/"+_data_item_properties+"/regexp/"},function(error,response,body) {console.log(body)});

"^[1-9][0-9]*$"

Sample requests read command (note that _renewal_method and _data_item_properties are variables):

print(requests.get('http://192.168.0.100/restapi/config/https_cert/known_renewal_methods/'+_renewal_method+'/data_items/'+_data_item_properties+'/regexp/',auth=auth,headers=headers).json())

'^((]|[!#&\'()*+,/:;=?@[$A-Za-z0-9._~-]|(%[0-9A-Fa-f][0-9A-Fa-f]))| )+$'

Browse more samples

Secret

sum (boolean)config/https_cert/known_renewal_methods/S/data_items/S/secret/
Flag indicating whether the data item can contain private information
dot_inline_dotgraph_281.png

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 trueSecretThe data item can contain private information
constant falseNot secretThe data item contains only public information

Sample requests read command (note that _renewal_method and _data_item_properties are variables):

print(requests.get('http://192.168.0.100/restapi/config/https_cert/known_renewal_methods/'+_renewal_method+'/data_items/'+_data_item_properties+'/secret/',auth=auth,headers=headers).json())

False

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

Browse more samples

Renewal methods: Renewal method

objectconfig/https_cert/known_renewal_methods/S/
Method of certificate renewal
dot_inline_dotgraph_282.png

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:

nameName
data_itemsSupported 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 read command (note that _renewal_method is a variable):

print(requests.get('http://192.168.0.100/restapi/config/https_cert/known_renewal_methods/'+_renewal_method+'/',auth=auth,headers=headers).json())

{'name': 'Generate a self-signed certificate', 'data_items': {'days': {'regexp': '^[1-9][0-9]*$', 'name': 'Number of days to issue new certificates for', 'secret': False}}}

Browse more samples

Name

stringconfig/https_cert/known_renewal_methods/S/name/
Renewal method name
dot_inline_dotgraph_283.png

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 is a variable):

print(uom.dump(uom.config.https_cert.known_renewal_methods[_renewal_method].name))

"Obtain a certificate from an ACME v1 endpoint (e.g. Let's Encrypt)"

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)"

Browse more samples

Supported data items

mapconfig/https_cert/known_renewal_methods/S/data_items/
Properties of supported data items
dot_inline_dotgraph_284.png

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 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/data_items/"

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))

Browse more samples

See also Supported data items: Data item properties

Certificate collection

mapconfig/certificates/
Map of known certificates and their settings
dot_inline_dotgraph_285.png

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 write command:

requests.put('http://192.168.0.100/restapi/config/certificates/',auth=auth,headers=headers,json={'eTrustBaz_Root_Certification_Authority': {'data': '-----BEGIN CERTIFICATE-----\nMIIOTm0fD1JGYaeHvV4DOvr5cz09BCP6UkXzXZemc+2BajUWEaleVdm8doJq1lyY\nX25CqjCvwoeRLu27ZamMkPA3FEqDoLlMQsaGcoBZdr0/m48MgwkRMxWeCNt1lfPB\n/T9qhkTZnUMufkbcU2+Raef+YjlD8yn9Sz/9kVkX06Sht3KN7Krk/XkZGVpQTccx\ne7MAuwC1OwwTGJddBNek8D1f3U9h67KnGizAfC\n-----END CERTIFICATE-----\n', 'status': True}, 'eSecureBar_Primary_CA': {'data': '-----BEGIN CERTIFICATE-----\nMIIjtbXq1zJTM8PRkli5s8FQ0Z0tJ1WCYAxRnVIrVdLuomLYX3gQEysGXv9tyh5X\n+iaJZ5zw0njNMGT2ij1b0bWBUVvb2qg3YHP8PO5RCqqa7Kfs4iU6J0JqYFRc58ig\n7qsXyKmpBMyX2rdnLl6N5zyNQaUb\n-----END CERTIFICATE-----\n', 'status': True}})

Sample uom library read command:

print(uom.dump(uom.config.certificates))

<...>

Browse more samples

See also Certificate collection: Certificate

Certificate collection: Certificate

objectconfig/certificates/S/
Certificate settings
dot_inline_dotgraph_286.png

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:

dataData
statusTrust status

Sample curl deletion command (note that :certificate is a URL template argument):

curl --digest -u admin:1234 -H "X-CSRF: x" -X DELETE -H "Accept: application/json" "http://192.168.0.100/restapi/config/certificates/:certificate/"

Sample JS request write command (note that _certificate is a variable):

request.put({url:"config/certificates/"+_certificate+"/",body:{"data":"-----BEGIN CERTIFICATE-----\nMIIMa5imZCllazQ79/1s7uzQrfgdXDqBMFayNIlyXWk8VBHhCKaLEan6FUlpkc16\n4HyrGWO0gwE+dSLEqbqek58Vxv8+11d8Lc0d9QgsMws/PDGFr6wbE57B0HB3LrDi\nFMfi2X4/Q6QgOiXWe9nlI+ocBtz27iY=\n-----END CERTIFICATE-----\n","status":true}});

Browse more samples

Data

stringconfig/certificates/S/data/
Certificate data
dot_inline_dotgraph_287.png

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 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/data/"

Sample requests write command (note that _certificate is a variable):

requests.put('http://192.168.0.100/restapi/config/certificates/'+_certificate+'/data/',auth=auth,headers=headers,json='-----BEGIN CERTIFICATE-----\nMIIB4ip4x6liDkDqOaifKy//w/pf/6kJYBXfvMlsUWbkHrbhRJNnIPpEQevSngoL\n0ojohEKJ+dAcLexlRGAHWcyS5l9v62G9t0zbGJxHz7wLnt6FAIYixWB2IMzRRGcL\nbyaxvux3qJtkR9wmjfk\n-----END CERTIFICATE-----\n')

Browse more samples

Trust status

sum (boolean)config/certificates/S/status/
Whether the certificate is trusted by default
dot_inline_dotgraph_288.png

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 trueTrustedThe certificate is trusted by all software with default settings
constant falseUntrustedThe 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 read command (note that _certificate is a variable):

request.get({url:"config/certificates/"+_certificate+"/status/"},function(error,response,body) {console.log(body)});

true

Browse more samples

Certificate revocation list collection

mapconfig/crls/
Map of known certificate revocation lists and their settings
dot_inline_dotgraph_289.png

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 CLI write command:

uom set "config/crls" "{\"iTrustFooSign_Primary_Certification_Authority_2\":{\"data\":\"-----BEGIN X509 CRL-----\\nMIIoaOByqlpykS7kvwI4+zyWYH5T4GDSyHHYiUWYGMX0qhnle5se4qAf8I8FaOjZ\\n7QXg/p2ZruGfgwmYbtPoZa7jrk8aJsdSJA9L0Dwt8DYrALQnFscqSlaJVlwqeaJz\\nUKpkHjvWImjgDWx59oZwOvSAsJqSepG9A5wUrr19emrtIp/Ud=\\n-----END X509 CRL-----\\n\",\"status\":true}}"

Sample CLI read command:

uom get "config/crls"

...

Browse more samples

See also Certificate revocation list collection: Certificate revocation list

Certificate revocation list collection: Certificate revocation list

objectconfig/crls/S/
Certificate revocation list settings
dot_inline_dotgraph_290.png

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:

dataData
statusUsage status

Sample uom library deletion command (note that _certificate_revocation_list is a variable):

uom.remove(uom.config.crls,_certificate_revocation_list)

Sample JS request write command (note that _certificate_revocation_list is a variable):

request.put({url:"config/crls/"+_certificate_revocation_list+"/",body:{"data":"-----BEGIN X509 CRL-----\nMII7ODjL0Juy66lgBvZq6sUKdhwCxNqS2SbShLqkhkiptTW4P6xX+Rte9qt6EjaI\nnvadgHNO7GtgNJoKspomUzdN6t7iBLx/HXezr1O/KHhjdV4VLvIrvxF1rPm3nj45\nk58oV99psvSO/+mxIesGww8LiD8SJGl4Nwvu54j+/BP1CC/Xstpop+AYDL0Zdog0\nbwsigsktIo6WpfPjUEZUQ7kn9JR+0TkdQcM6V60px8MmpoVJ24qVDbJPxmPzGAdi\n0qJ9s960YurMPBRW2zmfJBd6ddOpG6eJzzUr9ctjWl6yyaU1ZGjuUM180R+IaedZ\n7QpmKYI5hG4Hn8t3toaGrkIIkduPHT3RwvDHUXOBqVUdfNjZBJr24ANrpIG6oMZk\no1nMS/D+VsgvcF7y7B2=\n-----END X509 CRL-----\n","status":false}});

Browse more samples

Data

stringconfig/crls/S/data/
CRL data
dot_inline_dotgraph_291.png

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 JS request write command (note that _certificate_revocation_list is a variable):

request.put({url:"config/crls/"+_certificate_revocation_list+"/data/",body:"-----BEGIN X509 CRL-----\nMIIUVJTV+GQYDNcou9sGFMmfwJvTgOWlJRGqmmMn2pLHD+579+QQMC6JX1oERK0m\nda40O8rmS4maEyagOzvWISa7i1UlqI3Uu9WJKO5pUuPls0SH/NqKsQTaUzLKHRrC\nNYznfpIaE4TGYmIyceq38RZ7pwRGngvBEv/vkKW\n-----END X509 CRL-----\n"});

Sample CLI read command (note that certificate_revocation_list is a variable):

uom get "config/crls/${certificate_revocation_list}/data"

Browse more samples

Usage status

sum (boolean)config/crls/S/status/
Whether the certificate revocation list is used by default
dot_inline_dotgraph_292.png

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 trueUsedThe certificate revocation list is used by all software with default settings
constant falseUnusedThe certificate revocation list is not used by all software with default settings

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+'/status/',auth=auth,headers=headers,json=False)

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 "true" "http://192.168.0.100/restapi/config/crls/:certificate_revocation_list/status/"

Browse more samples

SSH enabled

sum (boolean)config/ssh_enabled/
Whether the SSH server should be enabled
dot_inline_dotgraph_293.png

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 trueEnabledThe feature is enabled
constant falseDisabledThe feature is disabled

Sample curl read command:

curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/ssh_enabled/"

true

Sample CLI read command:

uom get "config/ssh_enabled"

true

Browse more samples

SSH port number

numberconfig/ssh_port/
Port number of the SSH server
dot_inline_dotgraph_294.png

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 uom library read command:

print(uom.dump(uom.config.ssh_port))

22

Sample JS request write command:

request.put({url:"config/ssh_port/",body:22});

Browse more samples

SSH authorized keys

arrayconfig/ssh_authorized_keys/
List of public keys allowed to log in
dot_inline_dotgraph_295.png

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 uom library write command:

uom.config.ssh_authorized_keys={{comment="",data="ecdsa-sha2-nistp521   Dix2oxXZl==",options="svj,cjcfrv=8277160816,r=bsih,je=4,m=tfxvc"}}

Sample JS request write command:

request.put({url:"config/ssh_authorized_keys/",body:[{"data":"ssh-dss       rymnO===","options":"v","comment":""},{"data":"ecdsa-sha2-nistp256   3d4n6ltA=","options":"iqv=j,cf=2,b=244141635,lchelqhatnnvkub=ux","comment":"h-rkq"},{"data":"ecdsa-sha2-nistp256   6t=","options":"kkikjn=uutmv,ku,p=kcm,xmoiw=h,bti=pgvqdlvvyf,hdi,qt=kwcefgpgvwc","comment":""},{"data":"ssh-dss Mv==","options":"z=9,n=88317941","comment":""},{"data":"ecdsa-sha2-nistp256 Z1N","options":"","comment":""}]});

Browse more samples

See also SSH authorized keys: SSH authorized key

SSH authorized keys: SSH authorized key

objectconfig/ssh_authorized_keys/N/
Public key allowed to log in
dot_inline_dotgraph_296.png

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:

dataData
optionsOptions
commentComment

Sample curl deletion command (note that :ssh_authorized_key_index is a URL template argument):

curl --digest -u admin:1234 -H "X-CSRF: x" -X DELETE -H "Accept: application/json" "http://192.168.0.100/restapi/config/ssh_authorized_keys/:ssh_authorized_key_index/"

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 "{\"data\":\"ecdsa-sha2-nistp521  7=\",\"options\":\"z=0,yul=avnxxj,rwgy=z,l=dm,hnhirief=xj,q=ea,mquauhcw=824057,qnjleplv\",\"comment\":\"\"}" "http://192.168.0.100/restapi/config/ssh_authorized_keys/:ssh_authorized_key_index/"

Browse more samples

Data

stringconfig/ssh_authorized_keys/N/data/
Public key data
dot_inline_dotgraph_297.png

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-dss 3W"

Sample uom library read command (note that _ssh_authorized_key_index is a variable):

print(uom.dump(uom.config.ssh_authorized_keys[_ssh_authorized_key_index].data))

"ecdsa-sha2-nistp256     F/Af3==="

Browse more samples

Options

stringconfig/ssh_authorized_keys/N/options/
Public key options
dot_inline_dotgraph_298.png

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 uom library write command (note that _ssh_authorized_key_index is a variable):

uom.config.ssh_authorized_keys[_ssh_authorized_key_index].options=""

Sample CLI read command (note that ssh_authorized_key_index is a variable):

uom get "config/ssh_authorized_keys/${ssh_authorized_key_index}/options"

"u"

Browse more samples

Comment

stringconfig/ssh_authorized_keys/N/comment/
Public key comment
dot_inline_dotgraph_299.png

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 requests read command (note that _ssh_authorized_key_index is a variable):

print(requests.get('http://192.168.0.100/restapi/config/ssh_authorized_keys/'+str(_ssh_authorized_key_index)+'/comment/',auth=auth,headers=headers).json())

''

Sample CLI write command (note that ssh_authorized_key_index is a variable):

uom set "config/ssh_authorized_keys/${ssh_authorized_key_index}/comment" "\"\""

Browse more samples

NTP server enabled

sum (boolean)config/ntp_server_enabled/
Whether the device should act as NTP server
dot_inline_dotgraph_300.png

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 trueEnabledThe feature is enabled
constant falseDisabledThe feature is disabled

Sample uom library read command:

print(uom.dump(uom.config.ntp_server_enabled))

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/ntp_server_enabled/"

Browse more samples

NTP peers

arrayconfig/ntp_peers/
List of NTP servers to get time information from
dot_inline_dotgraph_301.png

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 requests write command:

requests.put('http://192.168.0.100/restapi/config/ntp_peers/',auth=auth,headers=headers,json=['0.ntp-pool.example.com', '1.ntp-pool.example.com', '2.ntp-pool.example.com', '3.ntp-pool.example.com'])

Sample curl read command:

curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/ntp_peers/"

["0.ntp-pool.example.com","1.ntp-pool.example.com","2.ntp-pool.example.com","3.ntp-pool.example.com"]

Browse more samples

NTP peer

sum (string)config/ntp_peers/N/
NTP server to get time information from
dot_inline_dotgraph_302.png

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:

stringHostnameHostnamethe 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])?)$
stringIPv4 addressIPv4 address in dotted quad notationthe 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 JS request write command (note that _ntp_peer_index is a variable):

request.put({url:"config/ntp_peers/"+_ntp_peer_index.toString()+"/",body:"0.ntp-pool.example.com"});

Sample uom library read command (note that _ntp_peer_index is a variable):

print(uom.dump(uom.config.ntp_peers[_ntp_peer_index]))

"2.ntp-pool.example.com"

Browse more samples

Syslog threshold severity

sum (enumerated number)config/syslog_minimal_severity/
Threshold severity for system messages, below which they are not logged
dot_inline_dotgraph_303.png

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 1EmergencyLog when unit becomes unstable or unusable
constant 2AlertLog conditions requiring immediate action
constant 3CriticalLog critical conditions
constant 4ErrorLog error conditions
constant 5WarningLog warning conditions
constant 6NoticeLog normal but significant conditions
constant 7InformationalLog informational messages
constant 8DebugLog tracing and debugging messages

Sample requests write command:

requests.put('http://192.168.0.100/restapi/config/syslog_minimal_severity/',auth=auth,headers=headers,json=8)

Sample requests read command:

print(requests.get('http://192.168.0.100/restapi/config/syslog_minimal_severity/',auth=auth,headers=headers).json())

8

Browse more samples

Syslog server address, if any

sum (optional string)config/syslog_ip_address/
Host name or IPv4 address of the syslog server to forward log messages to, if any
dot_inline_dotgraph_304.png

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 nullSyslog server disabledSystem log messages are not forwarded to a server
stringHostnameHostnamethe 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])?)$
stringIPv4 addressIPv4 address in dotted quad notationthe 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 write command:

requests.put('http://192.168.0.100/restapi/config/syslog_ip_address/',auth=auth,headers=headers,json=None)

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/"

Browse more samples

Allow JSON-RPC

sum (boolean)config/allow_jsonrpc/
Enable HTTP clients to perform JSON-RPC requests
dot_inline_dotgraph_305.png

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 trueEnabledThe feature is enabled
constant falseDisabledThe feature is disabled

Sample CLI write command:

uom set "config/allow_jsonrpc" "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/allow_jsonrpc/"

Browse more samples

Allow non-administrative users to perform JSON-RPC requests

sum (boolean)config/allow_jsonrpc_nonadmin/
Enable JSON-RPC API requests from users which are not administrators
dot_inline_dotgraph_306.png

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 trueEnabledThe feature is enabled
constant falseDisabledThe feature is disabled

Sample uom library write command:

uom.config.allow_jsonrpc_nonadmin=false

Sample requests read command:

print(requests.get('http://192.168.0.100/restapi/config/allow_jsonrpc_nonadmin/',auth=auth,headers=headers).json())

False

Browse more samples

Allow REST-like API

sum (boolean)config/allow_restapi/
Enable HTTP clients to perform REST-like API requests
dot_inline_dotgraph_307.png

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 trueEnabledThe feature is enabled
constant falseDisabledThe feature is disabled

Sample CLI write command:

uom set "config/allow_restapi" "false"

Sample uom library read command:

print(uom.dump(uom.config.allow_restapi))

false

Browse more samples

Allow non-administrative users to access REST-like API

sum (boolean)config/allow_restapi_nonadmin/
Enable REST-like API requests from users which are not administrators
dot_inline_dotgraph_308.png

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 trueEnabledThe feature is enabled
constant falseDisabledThe 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_restapi_nonadmin/"

Sample uom library write command:

uom.config.allow_restapi_nonadmin=true

Browse more samples

Allowed REST-like API client origins

arrayconfig/allow_restapi_origins/
List of origins permitted to access the REST-like API
dot_inline_dotgraph_309.png

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 contains Allowed REST-like API client origin elements.

Sample CLI write command:

uom set "config/allow_restapi_origins" "[\"https://foo.example.com\",\"http://bar.example.com:8065\"]"

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://foo.example.com\"]" "http://192.168.0.100/restapi/config/allow_restapi_origins/"

Browse more samples

Allowed REST-like API client origin

stringconfig/allow_restapi_origins/N/
Origin permitted to access the REST-like API
dot_inline_dotgraph_310.png

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 read command (note that _allowed_rest_like_api_client_origin_index is a variable):

print(requests.get('http://192.168.0.100/restapi/config/allow_restapi_origins/'+str(_allowed_rest_like_api_client_origin_index)+'/',auth=auth,headers=headers).json())

'http://baz.example.com:5'

Sample curl read command (note that :allowed_rest_like_api_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_restapi_origins/:allowed_rest_like_api_client_origin_index/"

"http://bar.example.com:7"

Browse more samples

Allow CoAP over WebSockets

sum (boolean)config/allow_coapws/
Enable HTTP clients to establish CoAP over WebSockets connections
dot_inline_dotgraph_311.png

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 trueEnabledThe feature is enabled
constant falseDisabledThe feature is disabled

Sample uom library read command:

print(uom.dump(uom.config.allow_coapws))

true

Sample JS request write command:

request.put({url:"config/allow_coapws/",body:true});

Browse more samples

Allow non-administrative users to access CoAP over WebSockets

sum (boolean)config/allow_coapws_nonadmin/
Enable CoAP over WebSockets connections from users which are not administrators
dot_inline_dotgraph_312.png

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 trueEnabledThe feature is enabled
constant falseDisabledThe feature is disabled

Sample uom library read command:

print(uom.dump(uom.config.allow_coapws_nonadmin))

false

Sample requests read command:

print(requests.get('http://192.168.0.100/restapi/config/allow_coapws_nonadmin/',auth=auth,headers=headers).json())

True

Browse more samples

Allowed CoAP over WebSockets client origins

arrayconfig/allow_coapws_origins/
List of origins permitted to access CoAP over WebSockets
dot_inline_dotgraph_313.png

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 contains Allowed CoAP over WebSockets client origin elements.

Sample uom library read command:

print(uom.dump(uom.config.allow_coapws_origins))

{"http://bar.example.com","https://foo.example.com:8443"}

Sample uom library write command:

uom.config.allow_coapws_origins={"https://foo.example.com:443"}

Browse more samples

Allowed CoAP over WebSockets client origin

stringconfig/allow_coapws_origins/N/
Origin permitted to access CoAP over WebSockets
dot_inline_dotgraph_314.png

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://baz.example.com"

Sample uom library read command (note that _allowed_coap_over_websockets_client_origin_index is a variable):

print(uom.dump(uom.config.allow_coapws_origins[_allowed_coap_over_websockets_client_origin_index]))

"https://baz.example.com:8443"

Browse more samples

Relax non-HTML method CSRF checks

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)
dot_inline_dotgraph_315.png

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 trueEnabledThe feature is enabled
constant falseDisabledThe feature is disabled

Sample requests write command:

requests.put('http://192.168.0.100/restapi/config/relax_nonhtml_methods/',auth=auth,headers=headers,json=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/relax_nonhtml_methods/"

Browse more samples

Relax non-HTML content type CSRF checks

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)
dot_inline_dotgraph_316.png

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 trueEnabledThe feature is enabled
constant falseDisabledThe feature is disabled

Sample requests write command:

requests.put('http://192.168.0.100/restapi/config/relax_nonhtml_content_types/',auth=auth,headers=headers,json=False)

Sample uom library write command:

uom.config.relax_nonhtml_content_types=false

Browse more samples

Allow plaintext logins

sum (boolean)config/allow_plaintext_logins/
Allow HTTP clients to authenticate using Basic authentication or plaintext login form
dot_inline_dotgraph_317.png

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 trueEnabledThe feature is enabled
constant falseDisabledThe feature is disabled

Sample JS request write command:

request.put({url:"config/allow_plaintext_logins/",body:false});

Sample requests read command:

print(requests.get('http://192.168.0.100/restapi/config/allow_plaintext_logins/',auth=auth,headers=headers).json())

False

Browse more samples

Allow plaintext URL logins

sum (boolean)config/allow_plaintext_url_logins/
Allow HTTP clients to authenticate to certain API types by supplying plaintext credentials in URL
dot_inline_dotgraph_318.png

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 trueEnabledThe feature is enabled
constant falseDisabledThe feature is disabled

Sample uom library write command:

uom.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)});

[]

Browse more samples

Allow state-changing GET requests

sum (boolean)config/allow_modifying_get/
Allow HTTP clients to use GET web UI requests for changing state
dot_inline_dotgraph_319.png

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 trueEnabledThe feature is enabled
constant falseDisabledThe 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_modifying_get/"

Sample CLI read command:

uom get "config/allow_modifying_get"

true

Browse more samples

Relay name visibility

sum (boolean)config/name_always_visible/
Flag enabling visibility of relay name
dot_inline_dotgraph_320.png

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 trueEverywhereRelay name visible everywhere, including the login page
constant falseAuthorized users onlyRelay name visible only on pages which require authorization

Sample uom library read command:

print(uom.dump(uom.config.name_always_visible))

false

Sample CLI read command:

uom get "config/name_always_visible"

true

Browse more samples

Hide user passwords

sum (boolean)config/hide_passwords/
Whether user passwords should be hidden
dot_inline_dotgraph_321.png

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 trueHideDo not display user passwords in web UI
constant falseShowDisplay user passwords in web UI

Sample requests read command:

print(requests.get('http://192.168.0.100/restapi/config/hide_passwords/',auth=auth,headers=headers).json())

False

Sample CLI read command:

uom get "config/hide_passwords"

true

Browse more samples

Hide WiFi key

sum (boolean)config/hide_wifi_key/
Whether the WiFi key should be hidden
dot_inline_dotgraph_322.png

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 trueHideDo not display WiFi key in web UI
constant falseShowDisplay 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 JS request write command:

request.put({url:"config/hide_wifi_key/",body:true});

Browse more samples

Security lockout duration

numberconfig/lockout_delay_minutes/
Time during which, after several unsuccessful logins, subsequent logins are denied
dot_inline_dotgraph_323.png

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 read command:

uom get "config/lockout_delay_minutes"

60

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 "60" "http://192.168.0.100/restapi/config/lockout_delay_minutes/"

Browse more samples

Protect firmware

sum (boolean)config/protect_firmware/
Protect firmware from being overwritten
dot_inline_dotgraph_324.png

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 trueProtectedAssociated object cannot be changed
constant falseNot protectedAssociated object can be changed

Sample uom library read command:

print(uom.dump(uom.config.protect_firmware))

true

Sample uom library write command:

uom.config.protect_firmware=false

Browse more samples

Protect admin login

sum (boolean)config/protect_admin/
Protect admin settings from being modified
dot_inline_dotgraph_325.png

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 trueProtectedAssociated object cannot be changed
constant falseNot protectedAssociated object can be changed

Sample CLI read command:

uom get "config/protect_admin"

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/protect_admin/"

Browse more samples

Protect network settings

sum (boolean)config/protect_network/
Protect network settings from being modified
dot_inline_dotgraph_326.png

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 trueProtectedAssociated object cannot be changed
constant falseNot protectedAssociated object can be changed

Sample requests write command:

requests.put('http://192.168.0.100/restapi/config/protect_network/',auth=auth,headers=headers,json=True)

Sample uom library read command:

print(uom.dump(uom.config.protect_network))

true

Browse more samples

Protect private settings

sum (boolean)config/protect_private_config/
Protect private configuration settings from being stored in backups
dot_inline_dotgraph_327.png

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 trueProtectedAssociated object cannot be changed
constant falseNot protectedAssociated 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 uom library write command:

uom.config.protect_private_config=false

Browse more samples

Protect from restore

sum (boolean)config/protect_restore/
Protect settings from being restored from backups
dot_inline_dotgraph_328.png

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 trueProtectedAssociated object cannot be changed
constant falseNot protectedAssociated object can be changed

Sample CLI read command:

uom get "config/protect_restore"

false

Sample CLI write command:

uom set "config/protect_restore" "false"

Browse more samples

Protect from maintenance

sum (boolean)config/protect_maintenance/
Disable remote maintenance support
dot_inline_dotgraph_329.png

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 trueProtectedAssociated object cannot be changed
constant falseNot protectedAssociated object can be changed

Sample requests write command:

requests.put('http://192.168.0.100/restapi/config/protect_maintenance/',auth=auth,headers=headers,json=True)

Sample CLI read command:

uom get "config/protect_maintenance"

true

Browse more samples

Protect notification settings

sum (variant)config/protect_notification/
Protect notification settings from being modified
dot_inline_dotgraph_330.png

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 trueProtectedAssociated object cannot be changed, and its security-related parameters cannot be read
constant falseNot protectedAssociated object can be changed, and its security-related parameters can be read
constant "sender"Protect sender configurationAssociated 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 CLI write command:

uom set "config/protect_notification" "true"

Sample CLI read command:

uom get "config/protect_notification"

true

Browse more samples

Beep on upgrade

sum (boolean)config/upgrade_notify_beep/
Indicate firmware upgrade progress by beeping
dot_inline_dotgraph_331.png

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 trueEnabledThe feature is enabled
constant falseDisabledThe feature is disabled

Sample JS request write command:

request.put({url:"config/upgrade_notify_beep/",body:false});

Sample JS request read command:

request.get({url:"config/upgrade_notify_beep/"},function(error,response,body) {console.log(body)});

true

Browse more samples

Blink on upgrade

sum (boolean)config/upgrade_notify_blink/
Indicate firmware upgrade progress by blinking
dot_inline_dotgraph_332.png

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 trueEnabledThe feature is enabled
constant falseDisabledThe feature is disabled

Sample CLI read command:

uom get "config/upgrade_notify_blink"

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_blink/"

Browse more samples

Known quantities

mapconfig/known_quantities/
Map of known physical quantities
dot_inline_dotgraph_333.png

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 JS request read command:

request.get({url:"config/known_quantities/"},function(error,response,body) {console.log(body)});

<...>

Browse more samples

Quantity

objectconfig/known_quantities/S/
Physical quantity
dot_inline_dotgraph_334.png

This object contains the following items:

nameName
unitsKnown units
preferred_unitPreferred unit, if any

Sample uom library read command (note that _quantity is a variable):

print(uom.dump(uom.config.known_quantities[_quantity]))

{name="Energy",preferred_unit=null,units={J={internal=true,name="joule",offset=0,scale=1},kWh={internal=true,name="kilowatt-hour",offset=0,scale=2.77777778e-07}}}

Sample curl write command (note that :quantity 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 "{\"preferred_unit\":\"px\",\"name\":\"Screen length\",\"units\":{\"px\":{\"offset\":0,\"internal\":false,\"name\":\"pixel\",\"scale\":1}}}" "http://192.168.0.100/restapi/config/known_quantities/:quantity/"

Browse more samples

See also Quantity: Name

See also Quantity: Known units

See also Quantity: Preferred unit, if any

Quantity: Name

stringconfig/known_quantities/S/name/
Quantity name

This string does not support direct modification.

This string represents a value in persistent storage.

Sample CLI read command (note that quantity is a variable):

uom get "config/known_quantities/${quantity}/name"

"Screen length"

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)});

"Current"

Browse more samples

Quantity: Known units

mapconfig/known_quantities/S/units/
Map of known units for quantity
dot_inline_dotgraph_335.png

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 write command (note that :quantity 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 "{\"K\":{\"offset\":0,\"internal\":false,\"name\":\"kelvin\",\"scale\":1},\"C\":{\"offset\":-273.16,\"internal\":false,\"name\":\"degree Celsius\",\"scale\":1},\"F\":{\"offset\":-459.67,\"name\":\"degree Fahrenheit\",\"scale\":1.8}}" "http://192.168.0.100/restapi/config/known_quantities/:quantity/units/"

Sample JS request read command (note that _quantity is a variable):

request.get({url:"config/known_quantities/"+_quantity+"/units/"},function(error,response,body) {console.log(body)});

{"K":{"offset":0,"internal":true,"name":"kelvin","scale":1},"C":{"offset":-273.16,"internal":true,"name":"degree Celsius","scale":1},"F":{"offset":-459.67,"internal":true,"name":"degree Fahrenheit","scale":1.8}}

Browse more samples

Unit

objectconfig/known_quantities/S/units/S/
Unit of physical quantity
dot_inline_dotgraph_336.png

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:

nameName
scaleScaling factor
offsetOffset
internalInternal

Sample curl deletion command (note that :quantity and :unit 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/known_quantities/:quantity/units/:unit/"

Sample CLI deletion command (note that quantity and unit are variables):

uom remove "config/known_quantities/${quantity}/units/${unit}"

Browse more samples

Name

stringconfig/known_quantities/S/units/S/name/
Unit name
dot_inline_dotgraph_337.png

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 uom library read command (note that _quantity and _unit are variables):

print(uom.dump(uom.config.known_quantities[_quantity].units[_unit].name))

"volt"

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 "\"kelvin\"" "http://192.168.0.100/restapi/config/known_quantities/:quantity/units/:unit/name/"

Browse more samples

Scaling factor

numberconfig/known_quantities/S/units/S/scale/
Scaling factor for conversion from standard SI unit
dot_inline_dotgraph_338.png

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].scale=1

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+'/scale/',auth=auth,headers=headers).json())

1

Browse more samples

Offset

numberconfig/known_quantities/S/units/S/offset/
Offset for conversion from standard SI unit
dot_inline_dotgraph_339.png

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 read command (note that _quantity and _unit are variables):

print(uom.dump(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

Browse more samples

Internal

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 trueInternalThis unit is internal and cannot be modified
constant falseUserThis 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 uom library read command (note that _quantity and _unit are variables):

print(uom.dump(uom.config.known_quantities[_quantity].units[_unit].internal))

true

Browse more samples

Quantity: Preferred unit, if any

sum (optional string)config/known_quantities/S/preferred_unit/
Default UI unit for quantity, if any
dot_inline_dotgraph_340.png

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 nullStandard unitUI shows quantity in SI units
stringPreferred unitDefault UI unit for quantityknown units[the value]

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())

None

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/preferred_unit/"

null

Browse more samples

Known timezones

mapconfig/known_timezones/
Map of known time zones
dot_inline_dotgraph_341.png

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 uom library read command:

print(uom.dump(uom.config.known_timezones))

Sample JS request read command:

request.get({url:"config/known_timezones/"},function(error,response,body) {console.log(body)});

Browse more samples

Timezone

stringconfig/known_timezones/S/
Time zone name
dot_inline_dotgraph_342.png

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 requests read command (note that _timezone is a variable):

print(requests.get('http://192.168.0.100/restapi/config/known_timezones/'+_timezone+'/',auth=auth,headers=headers).json())

'UTC-12'

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"

Browse more samples

Known protection bits

mapconfig/known_protection_bits/
Map of known protection bits
dot_inline_dotgraph_343.png

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 JS request read command:

request.get({url:"config/known_protection_bits/"},function(error,response,body) {console.log(body)});

Sample uom library read command:

print(uom.dump(uom.config.known_protection_bits))

Browse more samples

See also Known protection bits: Protection bit

Known protection bits: Protection bit

objectconfig/known_protection_bits/S/
Protection bit properties
dot_inline_dotgraph_344.png

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:

nameName
statusProtection status

Sample requests write command (note that _protection_bit is a variable):

requests.put('http://192.168.0.100/restapi/config/known_protection_bits/'+_protection_bit+'/',auth=auth,headers=headers,json={'name': 'Administrator credentials protection', 'status': True})

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+'/',auth=auth,headers=headers).json())

{'name': 'Private configuration protection', 'status': False}

Browse more samples

Name

stringconfig/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 curl read command (note that :protection_bit is a URL template argument):

curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/known_protection_bits/:protection_bit/name/"

"Network settings protection"

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)});

"Notification settings protection"

Browse more samples

Protection status

sum (variant)config/known_protection_bits/S/status/
Status of protection
dot_inline_dotgraph_345.png

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 trueEnabledProtection is enabled and effective
constant falseDisabledProtection is disabled
stringIneffectiveProtection is enabled, but not effective for the following reason

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+'/status/',auth=auth,headers=headers).json())

'You have enabled that and that service which allows to bypass this protection'

Sample curl read command (note that :protection_bit is a URL template argument):

curl --digest -u admin:1234 -H "Accept: application/json" "http://192.168.0.100/restapi/config/known_protection_bits/:protection_bit/status/"

false

Browse more samples

Relay ports

arrayconfig/relay_ports/
List of devices to which relay modules are connected
dot_inline_dotgraph_346.png

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 JS request read command:

request.get({url:"config/relay_ports/"},function(error,response,body) {console.log(body)});

["ttyATH0"]

Sample CLI read command:

uom get "config/relay_ports"

["ttyATH0"]

Browse more samples

Relay port

stringconfig/relay_ports/N/
Filename of a relay module device
dot_inline_dotgraph_347.png

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 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"

Sample requests read command (note that _relay_port_index is a variable):

print(requests.get('http://192.168.0.100/restapi/config/relay_ports/'+str(_relay_port_index)+'/',auth=auth,headers=headers).json())

'ttyATH0'

Browse more samples