device_info_get_public
Public (authentication is not required)
Returns information about the device. This method does not require authentication.
Note
This method is not supported when using Remote Access.
Params
N/A
Return
attribute | description |
---|---|
namestring |
The name of the unit |
hoststring |
The host of the unit – typically either IP or domain |
languages['en'|'ru'] |
An array of codes of the languages supported by the device |
typeDevice Type |
The device hardware type |
first_login_requiredFirst login required parameters |
The presence of this parameter indicates that unit has no user accounts (requires calling first_login.cgi to create the first user and authenticate) |
First login required parameters
attribute | description |
---|---|
passwordPassword complexity |
The description of required password complexity for calling of first_login.cgi |
Password complexity
attribute | description |
---|---|
len_min*number |
Minimal length of password |
len_max*number |
Maximal length of password |
lcase_min*number |
Minimal count of lower-case characters in the password |
ucase_min*number |
Minimal count of upper-case characters in the password |
digit_min*number |
Minimal count of digits in the password |
spec_min*number |
Minimal count of special characters in the password |