/api/device/list

Use this interface to get a list of device information based on the specified serial number list.

Channel viewing permissions are required.

Prototype

Protocol HTTP/HTTPS POST
URL ip[:port]/api/device/list
Content-Type Request: Content-Type: application/json
Response: Content-Type: application/json

Refer to Device Definition

Request Body
Parameter Description
sn Set of device serial numbers to be queried.

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

Request pending devices list:

POST /api/device/list?status=waiting&start=0&count=1 HTTP/1.1
Accept: application/json, text/plain, */*
Content-Length: xx
Cookie: mwcloud-sid=OCXWUMGEYPGIAWWOETYXPNMVHDZIAZJP; mwcloud-uid=Admin;
{
    "sn":["A304200731001"]
}

Response Parameters

Response Header
Parameter Description
Content-Type Value: 'application/json; charset=UTF-8'
Response Body
Parameter Description
result Result code
list Refer to Device list.
global-config Refer to Device Connection Global Configuraions.

Response Example

Refer to Response Example.

results matching ""

    No results matching ""

    results matching ""

      No results matching ""