宝塔状态 正常

1. 接口信息

2. 请求参数

参数名 必填 类型 说明
panel string 服务器IP
key string 宝塔apikey
type string json/text

3. 调用示例

POST请求示例

POST api/btzt.php HTTP/1.1
Content-Type: application/json

{ "panel": "服务器IP" "key": "宝塔apikey" "type": "json/text" }

4. 响应结果

成功响应

{"code":200,"msg":"请求成功","data":{}}

失败响应

{"code":400,"msg":"参数缺失或格式错误"}

5. 错误码说明