cloud-reg-ex 接口
注册到云平台,默认可以注册到 2 个云平台服务器。
请求方式
GET http://ip:8070/cloud-api?method=cloud-reg-ex&id=1&cloud-enable-https=0&...
| 参数 | 说明 | 
|---|---|
| method | 方法名称:cloud-reg-ex | 
| id | 云平台序号,有效值:0 或 1 | 
| cloud-code | 邀请码,4 位数字组成的字符串 | 
| cloud-ip-addr | 服务器地址 | 
| cloud-http-port | http 服务器端口 | 
| cloud-enable-https | 是否启用 https 服务 0: 不启用 1: 启用  | 
| cloud-https-port | https 服务器端口 | 
返回数据
{
  "result": 0
}
| 属性 | 说明 | 
|---|---|
| result | 返回状态,0:操作成功,返回其它值请参考 云平台 API 状态码 |