朝暮数据

朝暮数据API文档


获取云服务器镜像列表

{"info":{"from":"runapi","type":"api","title":"","description":"获取某个可用区下的镜像列表","method":"get","url":"http://api.zhaomu.com/image/region/:id","remark":"","apiStatus":"0"},"request":{"params":{"mode":"urlencoded","urlencoded":[{"name":"","type":"string","value":"","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":[{"name":"","type":"string","value":"","require":"1","remark":""}],"pathVariable":[{"name":"id","type":"int","value":"3","require":"1","remark":"可用区编号"}]},"response":{"responseText":"[\n {\n \"id\": 5,\n \"name\": \"CentOS 7 64位\",\n \"type\": \"CentOS\"\n },\n {\n \"id\": 8,\n \"name\": \"Ubuntu 18.04 64位\",\n \"type\": \"Ubuntu\"\n },\n {\n \"id\": 13,\n \"name\": \"Debian 10 64位\",\n \"type\": \"Debian\"\n },\n {\n \"id\": 19,\n \"name\": \"Fedora 36 64位\",\n \"type\": \"Fedora\"\n },\n {\n \"id\": 27,\n \"name\": \"Ubuntu 20.04 64位\",\n \"type\": \"Ubuntu\"\n },\n {\n \"id\": 31,\n \"name\": \"Windows 2012 R2 标准版 中文版\",\n \"type\": \"Windows\"\n },\n {\n \"id\": 230,\n \"name\": \"Windows 2016 标准版 中文版\",\n \"type\": \"Windows\"\n },\n {\n \"id\": 843,\n \"name\": \"Debian 11 64位\",\n \"type\": \"Debian\"\n },\n {\n \"id\": 844,\n \"name\": \"Fedora 35 64位\",\n \"type\": \"Fedora\"\n },\n {\n \"id\": 847,\n \"name\": \"Windows 2019 标准版 中文版\",\n \"type\": \"Windows\"\n },\n {\n \"id\": 849,\n \"name\": \"CentOS 8 Stream 64位\",\n \"type\": \"CentOS\"\n },\n {\n \"id\": 850,\n \"name\": \"CentOS 9 Stream 64位\",\n \"type\": \"CentOS\"\n },\n {\n \"id\": 851,\n \"name\": \"CentOS 7 64位 + 宝塔面板\",\n \"type\": \"CentOS\"\n },\n {\n \"id\": 1354,\n \"name\": \"Windows 2019 标准版 英文版\",\n \"type\": \"Windows\"\n },\n {\n \"id\": 1355,\n \"name\": \"Ubuntu 22.04 64位\",\n \"type\": \"Ubuntu\"\n },\n {\n \"id\": 1732,\n \"name\": \"Windows 2022 标准版 中文版\",\n \"type\": \"Windows\"\n },\n {\n \"id\": 1733,\n \"name\": \"Windows 2022 标准版 英文版\",\n \"type\": \"Windows\"\n }\n]","responseOriginal":[{"id":5,"name":"CentOS 7 64位","type":"CentOS"},{"id":8,"name":"Ubuntu 18.04 64位","type":"Ubuntu"},{"id":13,"name":"Debian 10 64位","type":"Debian"},{"id":19,"name":"Fedora 36 64位","type":"Fedora"},{"id":27,"name":"Ubuntu 20.04 64位","type":"Ubuntu"},{"id":31,"name":"Windows 2012 R2 标准版 中文版","type":"Windows"},{"id":230,"name":"Windows 2016 标准版 中文版","type":"Windows"},{"id":843,"name":"Debian 11 64位","type":"Debian"},{"id":844,"name":"Fedora 35 64位","type":"Fedora"},{"id":847,"name":"Windows 2019 标准版 中文版","type":"Windows"},{"id":849,"name":"CentOS 8 Stream 64位","type":"CentOS"},{"id":850,"name":"CentOS 9 Stream 64位","type":"CentOS"},{"id":851,"name":"CentOS 7 64位 + 宝塔面板","type":"CentOS"},{"id":1354,"name":"Windows 2019 标准版 英文版","type":"Windows"},{"id":1355,"name":"Ubuntu 22.04 64位","type":"Ubuntu"},{"id":1732,"name":"Windows 2022 标准版 中文版","type":"Windows"},{"id":1733,"name":"Windows 2022 标准版 英文版","type":"Windows"}],"responseExample":"[{\n \"id\": 5,\n \"name\": \"CentOS 7 64位\",\n \"type\": \"CentOS\"\n},{\n \"id\": 8,\n \"name\": \"Ubuntu 18.04 64位\",\n \"type\": \"Ubuntu\"\n}]","responseHeader":{"connection":"Keep-Alive","content-encoding":"gzip","content-length":"294","content-type":"application/json; charset=UTF-8","cookie-from-server":"_csrf=c6600e570159c432b44d412315ae8b0737240e11fc4559596d1d01bc87f2880ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22C74n29iyHxELTbNaeJfYzXCAAryGu9P3%22%3B%7D; path=/; samesite=Lax; HttpOnly","date":"Mon, 12 Sep 2022 12:24:04 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":167,"responseParamsDesc":[{"name":"id","type":"int","remark":"镜像编号"},{"name":"name","type":"string","remark":"镜像名称"},{"name":"type","type":"string","remark":"镜像类型"}],"responseFailExample":"","responseFailParamsDesc":[{"name":"","type":"string","remark":""}],"remark":"","responseSize":1},"scripts":{"pre":"","post":""},"extend":{}}

页面列表

ITEM_HTML