硅云帮助文档中心
搜索文档
热门搜索词:
产品简介
产品定价
入门指南
经典案例
常见问题
知识拓展
API参考
根据实例id获取实例
根据实例id获取实例
/vhost-server/api/v1/host/getById
GET
字段 | 类型 | 最大长度 | 参数位置 | 默认选填 | 描述 |
id | string | 32 | query | 实例Id |
GET /vhost-server/api/v1/host/getPass?id=cvh-3hdr7uz22s223 HTTP/1.1 Content-Type: application/json request_id: 2942183558593ffc9d75fb8e16793ff api_key: 1706006863049654272 signature: 3e918d7a8d85d90389cd1f822407282c74991724f0602d6f6e4cbe40cf9ba831
{ "status": 2000, "message": "success", "data": { "userAccount": "z8z87878", "productName": "香港普惠二型", "resourceId": "hk-node1", "resourceName": "香港节点一", "hostType": "hk-ph", "hostTypeName": "香港普惠型", "productId": "hk-ph2x", "areaName": "香港一区", "areaMark": "hk-1", "beginTime": 1589352288000, "endTime": 1594622688000, "status": "OK", "hostName": "cvh-3hdr7uz22s223", "latestOrderId": "1706556457795452929", "ipList": "192.168.32.2", "ipV6": "", "cnDomain": "test.cn.name", "autoRenew": false, "systemInfo": "Linux-PHP版", "supportNoReasonRefund": false, "refundStatus": "NONE", "configuration": "", "createTime": 1589352289658, "updateTime": 1589356803423, "id": "cvh-3hdr7uz22s223" } }
实例数据结构:
字段 | 类型 | 描述 |
id | string | 实例id |
userAccount | string | 用户名 |
resourceName | string | 节点名 |
status | string | 实例状态 |
ipList | string | ip地址 |
cnDomain | string | 别名 |
autoRenew | boolean | 是否开通了自动续费 |
endTime | long | 到期时间时间戳,精确到毫秒 |
createTime | long | 创建时间时间戳,精确到毫秒 |
您对该文档有什么建议?
本文导航