朝暮数据

朝暮数据API文档


获取可用区信息

{"info":{"from":"runapi","type":"api","title":"","description":"获取某个可用区的信息","method":"get","url":"http://api.zhaomu.com/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":[],"pathVariable":[{"name":"id","type":"int","value":"3","require":"1","remark":"可用区编号"}]},"response":{"responseText":"{\n \"id\": 3,\n \"continent\": \"北美洲\",\n \"continentEn\": \"north-america\",\n \"country\": \"美国\",\n \"countryEn\": \"us\",\n \"area\": \"美西\",\n \"areaEn\": \"us-west\",\n \"province\": \"加州\",\n \"provinceEn\": \"california\",\n \"city\": \"洛杉矶\",\n \"cityEn\": \"los-angeles\",\n \"zone\": \"V\"\n}","responseOriginal":{"id":3,"continent":"北美洲","continentEn":"north-america","country":"美国","countryEn":"us","area":"美西","areaEn":"us-west","province":"加州","provinceEn":"california","city":"洛杉矶","cityEn":"los-angeles","zone":"V"},"responseExample":"{\n \"id\": 3,\n \"continent\": \"北美洲\",\n \"continentEn\": \"north-america\",\n \"country\": \"美国\",\n \"countryEn\": \"us\",\n \"area\": \"美西\",\n \"areaEn\": \"us-west\",\n \"province\": \"加州\",\n \"provinceEn\": \"california\",\n \"city\": \"洛杉矶\",\n \"cityEn\": \"los-angeles\",\n \"zone\": \"V\"\n}","responseHeader":{"connection":"Keep-Alive","content-encoding":"gzip","content-length":"181","content-type":"application/json; charset=UTF-8","cookie-from-server":"_csrf=f7ecaae5d99a12aa52d7fcb930921a4ca48e567e3d1d0455d42e21c9f5a1e5b6a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%229aE_7lQWKIYH5hPUunLTDTIgb1s-bY1-%22%3B%7D; path=/; samesite=Lax; HttpOnly","date":"Mon, 12 Sep 2022 10:44:15 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":83,"responseParamsDesc":[{"name":"id","type":"string","remark":"可用区编号"},{"name":"continent","type":"string","remark":"大洲"},{"name":"continentEn","type":"string","remark":"大洲英文"},{"name":"country","type":"string","remark":"国家"},{"name":"countryEn","type":"string","remark":"国家英文"},{"name":"area","type":"string","remark":"地区"},{"name":"areaEn","type":"string","remark":"地区英文"},{"name":"province","type":"string","remark":"省份"},{"name":"provinceEn","type":"string","remark":"省份英文"},{"name":"city","type":"string","remark":"城市"},{"name":"cityEn","type":"string","remark":"城市英文"},{"name":"zone","type":"string","remark":"可用区名称"}],"responseFailExample":"","responseFailParamsDesc":[{"name":"","type":"string","remark":""}],"remark":"","responseSize":0},"scripts":{"pre":"","post":""},"extend":{}}

页面列表

ITEM_HTML