最新活动 七周年庆典

产品

硅云帮助文档中心

搜索文档

热门搜索词:

根据实例id获取实例

更新时间:2020-05-21 16:48  版本:v1.0
分享到:
我要反馈 
收藏 我的收藏

简要描述:


    根据实例id获取实例


请求url:


/vhost-server/api/v1/host/getById


请求方式:


GET


请求参数:


字段
类型最大长度参数位置默认选填
描述
idstring32query
实例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"
    }
}


实例数据结构:


字段类型
描述
idstring实例id
userAccount
string用户名

resourceName

string节点名
status
string实例状态
ipList
stringip地址
cnDomain
string别名
autoRenew
boolean是否开通了自动续费
endTimelong到期时间时间戳,精确到毫秒
createTimelong创建时间时间戳,精确到毫秒








您对该文档有什么建议?

您对该文档的评分:

本文导航

简要描述:

请求url:

请求方式:

请求参数:

请求示例:

返回示例:

搜索文档