云服务器内容精选

  • 响应示例 返回状态码为200:操作成功。 { "errcode": "0", "errmsg": "", "successList": [ "de5813f8ff1e41f5ba9c324da70b49ed1c2e" ], "failList": [ "de5813f8ff1e41f5ba9c324da70b49ed1c1e" ] } 返回状态码为400:校验异常。 HTTP/1.1 400 Bad Request Date: Sun,16 Feb 2025 10:00:00 GMT Server: example-server Content-Type: application/json;charset=UTF-8 Content-Length: 250 Connection: keep-alive 返回状态码为500:内部错误。 HTTP/1.1 500 Internal Server Error Date: Sun,16 Feb 2025 10:00:00 GMT Server: example-server Content-Type: application/json;charset=UTF-8 Content-Length: 250 Connection: keep-alive
  • 请求示例 HTTP的示例 { "siteId": "e8f87269-0108-44d4-97cd-4fe7b0b3ded5", "acDeviceId": "e8f87269-0108-44d4-97cd-4fe7b0b3ded5", "pageSize": 20, "pageIndex": 1, "licenseStatus": "on", "keyword": "100" }
  • URI /v1/networkconfig/wac-devices/wifishield-licenses 表1 query参数列表 参数名称 必选 类型 参数值域 默认值 参数说明 参数示例 siteId 是 string 0~36个字符。 - 站点id "e8f87269-0108-44d4-97cd-4fe7b0b3ded5" acDeviceId 是 string 0~36个字符。 - WAC设备id "e8f87269-0108-44d4-97cd-4fe7b0b3ded5" pageSize 是 int32 [1-100] - 分页的大小。 20 pageIndex 是 int32 [1-1000] - 分页的序号。 1 licenseStatus 否 string 1~16个字符。满足正则表达^(on|off|deactivate)$。 - 高级过滤:设备密盾license状态,包含开启(on)、关闭(off)、停用(deactivate)三类。 "on" keyword 否 string 0~64个字符。 - 模糊过滤关键字,支持设备名称和ESN。 "100" sortField 否 string 0~64个字符。 - 排序字段,支持名称、esn、款型的排序。 "name"
  • 响应示例 返回状态码为200:操作成功,返回独立AC下FitAP密盾license列表。 { "list": [ { "apDeviceId": "fbb684c8-0d37-496f-bafa-4b06d5151e2e", "apDeviceName": "S5735-L48P4X-A", "esn": "21980109442SL4600798", "licenseStatus": "on", "tagNames": [ "5" ], "deviceModel": "AR7030" } ], "pageIndex": 10, "pageSize": 10, "totalRecords": 10 } 返回状态码为400:校验异常。 HTTP/1.1 400 Bad Request Date: Sun,16 Feb 2025 10:00:00 GMT Server: example-server Content-Type: application/json;charset=UTF-8 Content-Length: 250 Connection: keep-alive 返回状态码为500:内部错误。 HTTP/1.1 500 Internal Server Error Date: Sun,16 Feb 2025 10:00:00 GMT Server: example-server Content-Type: application/json;charset=UTF-8 Content-Length: 250 Connection: keep-alive
  • 请求示例 HTTP的示例 { "type": "on", "acDeviceId": "fbb684c8-0d37-496f-bafa-4b06d5151e2e", "siteId": "e8f87269-0108-44d4-97cd-4fe7b0b3ded5", "apDeviceIds": [ "fbb684c8-0d37-496f-bafa-4b06d5151e2e" ] }
  • 响应示例 返回状态码为200:操作成功。 { "errcode": "0", "errmsg": "", "successList": [ "de5813f8ff1e41f5ba9c324da70b49ed1c2e" ], "failList": [ "de5813f8ff1e41f5ba9c324da70b49ed1c1e" ] } 返回状态码为400:校验异常。 HTTP/1.1 400 Bad Request Date: Sun,16 Feb 2025 10:00:00 GMT Server: example-server Content-Type: application/json;charset=UTF-8 Content-Length: 250 Connection: keep-alive 返回状态码为500:内部错误。 HTTP/1.1 500 Internal Server Error Date: Sun,16 Feb 2025 10:00:00 GMT Server: example-server Content-Type: application/json;charset=UTF-8 Content-Length: 250 Connection: keep-alive