accept-dev接口

同意待审核设备申请。

仅管理员有权限。

接口原型

协议 HTTP/HTTPS POST
URL ip[:port]/sc_cloud/registry/accept-dev
数据格式 请求消息:Content-Type: application/json
响应消息:Content-Type: application/json

请求Cookies

名称 描述
mwcloud-sid 用于标识当前登录的字符串
mwcloud-uid 当前登录用户名
Request Body
参数 描述
sn 指定审核通过的设备序列号集合。

请求示例

POST /sc_cloud/registry/accept-dev HTTP/1.1
Accept: application/json, text/plain, */*
Content-Type: application/json;charset=utf-8
Content-Length: 24
Cookie: mwcloud-sid=OCXWUMGEYPGIAWWOETYXPNMVHDZIAZJP; mwcloud-uid=Admin;
{
    "sn":["B401190213050"]
}

响应参数

Response Header
参数 描述
Content-Type 取值为:'application/json; charset=UTF-8'
Response Body
参数 描述
result 返回码。
method 方法名:accept-dev。

响应示例

HTTP/1.1 200 OK
content-type: application/json; charset=utf-8
content-length: 34
{
  "method": "accept-dev",
  "result": 0
}

与“”相关结果约

    找不到与“”相关的结果

    与“”相关结果约

      找不到与“”相关的结果