添加服务器(集群版适用) 请求示例 添加IP为192.168.0.202的服务器至集群,数据目录为/mnt/storage01和/mnt/storage02。 plaintext POST /rest/v1/system/server HTTP/1.1 Date: Mon, 7 Apr 2025 10:07:39 GMT ContentType: application/json; charsetutf8 Authorization: HBlock userName:signature ContentLength: 180 Host: 192.168.0.110:1443 { "ip": "192.168.0.202", "diskPaths": [ { "path": "/mnt/storage01" }, { "path": "/mnt/storage02" } ] } 响应示例 plaintext HTTP/1.1 200 OK xhblockrequestid: 169b96ef760644759afb69470f903fc0 Connection: keepalive Date: Mon, 7 Apr 2025 10:07:39 GMT ContentLength: 11 ContentType: application/json;charsetutf8 Server: HBlock { "data": {} }