/api/device/global/get
Use this interface to Get the global default security configuration of the device.
view system configuration permissions are required.
Prototype
Protocol |
HTTP/HTTPS GET |
URL |
ip[:port]/api/device/global/get |
Content-Type |
Response: Content-Type: application/json |
Request Cookies
Parameter |
Description |
mwcloud-sid |
A string that is used to identify current logged-in user. |
mwcloud-uid |
Current logged-in username. |
Request Example
GET /api/device/global/get HTTP/1.1
Accept: application/json, text/plain, */*
Content-Type: application/json;charset=utf-8
Content-Length: xx
Cookie: mwcloud-sid=OCXWUMGEYPGIAWWOETYXPNMVHDZIAZJP; mwcloud-uid=Admin;
Response Parameters
Parameter |
Description |
Content-Type |
Value: 'application/json; charset=UTF-8' |
Response Body
Device global default security configuration
Parameter |
Description |
group-mask |
The visible user group mask set, when selecting visible to all groups, you can set the value to 0xFFFFFFFF (4294967295). |
usr-mask |
The set of visible user group masks. |
Response Example
HTTP/1.1 200 OK
content-type: application/json; charset=utf-8
content-length: xx
{
"result": 0,
"security": {
"group-mask": 1,
"usr-mask": 0
}
}