Get

Function

This API is used for get Remote Setting page parameters.

Request Message

None.

Sample:

POST /API/Login/DevicePage/Get HTTP/1.1
{
    "version": "1.0",
    "data": {}
}

Response Message

Parameter Description

Table 1
ParameterRangeTypeDescription
mainobject arrayLevel 1 menu array,see Table 2 for more information of array member.
Table 2
ParameterRangeTypeDescription
titlelen:0-64stringLevel one menu title,
"Display",
"Record",
"Alarm",
"AI",
"Network",
"Storage",
"System",
"Intelligent".
subobject arrayLevel 2 menu array,see Table 3 for more information of array member.
Table 3
ParameterRangeTypeDescription
titlelen:0-64stringTitle of level 2 menu.
pagesobject arrayLevel 3 menu array,see Table 4 for more information of array member.
Table 4
ParameterRangeTypeDescription
titlelen:0-64stringTitle of level 3 menu.
pagelen:0-64stringPage name in level 3 menu, confirm this with the client.

Sample:

HTTP/1.1 200 OK
Content-Type: application/json
{
    "result": "success",
    "main":[  //Level 1 menu
        {
            "title":"Channel",
            "sub":
            [   //Level 2 menu
                {
                    "title":"Channel",
                    "pages":
                    [ //Level 3 menu, corresponding to a single page
                        {
                            "title":"IP Channels",//name
                            "page":"chn_ipChn"//web page
                        },
                        {
                            "title":"Protocol Manage",
                            "page":"chn_protocolMng"
                        }
                    ]
                },
                ...
            ]
        },
        {
            ...
        },
        ...
    ]
}

see Web Pages for more information.

Error Code

See Response Messages Body and Common error_code for more information.