朝暮数据

朝暮数据API文档


获取云服务器控制台

{"page_title":"获取云服务器控制台","info":{"from":"runapi","type":"api","title":"获取云服务器控制台","description":"获取某台云服务器的noVNC控制台信息","method":"get","url":"http://api.zhaomu.com/cloud/novnc/:id","remark":"","apiStatus":"0"},"request":{"params":{"mode":"urlencoded","urlencoded":[{"disable":"0","name":"","value":"","type":"string","require":"1","remark":""}],"formdata":[{"name":"","type":"string","value":"","require":"1","remark":""}],"json":"","jsonDesc":[{"name":"","type":"string","value":"","require":"1","remark":""}]},"headers":[{"name":"Authorization","type":"string","value":"Bearer <apikey>","require":"1","remark":"API密钥"}],"cookies":[{"name":"","value":""}],"auth":[],"query":[{"disable":"0","name":"","value":"","type":"string","require":"1","remark":""}],"pathVariable":[{"name":"id","type":"int","value":"","require":"1","remark":"云服务器编号"}]},"response":{"responseText":"{\n \"success\": false,\n \"message\": \"重置密码命令发送失败:该可用区不支持重置密码\",\n \"info\": null\n}","responseOriginal":{"success":false,"message":"重置密码命令发送失败:该可用区不支持重置密码","info":null},"responseExample":"{\n \"url\": \"http://www.mysuperdns.com/novnc/xxx\",\n \"port\": \"xxx\",\n \"password\": \"xxx\"\n}","responseHeader":{"connection":"Keep-Alive","content-encoding":"gzip","content-length":"122","content-type":"application/json; charset=UTF-8","cookie-from-server":"_csrf=d3cc4d05ef10d21856201738081b492f86881229f66bde24db582592af905cdfa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22k3O0qPeTbI8Ghmhpb85-y8-UJaRMZYoB%22%3B%7D; path=/; samesite=Lax; HttpOnly","date":"Mon, 12 Sep 2022 21:36:20 GMT","keep-alive":"timeout=5, max=100","server":"Apache/2.4.6 (CentOS) mpm-itk/2.4.7-04 OpenSSL/1.0.2k-fips PHP/7.2.34","strict-transport-security":"max-age=63072000; includeSubdomains","vary":"Accept,Accept-Encoding","x-content-type-options":"nosniff","x-frame-options":"DENY","x-powered-by":"PHP/7.2.34"},"responseStatus":200,"responseTime":138,"responseParamsDesc":[{"name":"url","type":"string","remark":"noVNC控制台URL"},{"name":"port","type":"string","remark":"noVNC控制台端口"},{"name":"password","type":"string","remark":"noVNC控制台密码"}],"responseFailExample":"","responseFailParamsDesc":[{"name":"","type":"string","remark":""}],"remark":"","responseSize":0},"scripts":{"pre":"","post":""},"extend":{}}

页面列表

ITEM_HTML