POST http://sdk.ddyun.com/api/Nodes
获取宿主机列表
Request Information
URI Parameters
None.
Body Parameters
BaseParam| Name | Description | Type | Additional information |
|---|---|---|---|
| appkey |
商户Key |
string |
None. |
| timestamp |
时间戳 |
integer |
None. |
| noncestr |
随机字符,使签名不可预测 |
string |
None. |
| sign |
签名信息 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"AppKey": "sample string 1",
"Timestamp": 2,
"NonceStr": "sample string 3",
"Sign": "sample string 4"
}
application/x-www-form-urlencoded
Sample:
AppKey=&Timestamp=0&NonceStr=&Sign=
multipart/form-data
Sample:
Sample not available.
Response Information
Resource Description
获取宿主机列表
SDKBaseResultOfIListOfNodeResult| Name | Description | Type | Additional information |
|---|---|---|---|
| data | Collection of NodeResult |
None. |
|
| code |
错误码 |
SDKResultCode |
None. |
| msg |
错误消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": [
{
"NodeId": "sample string 1",
"Tag": "sample string 2",
"CardType": 3,
"ServerAreaId": 4,
"DeviceWidth": 5,
"DeviceHeight": 6
},
{
"NodeId": "sample string 1",
"Tag": "sample string 2",
"CardType": 3,
"ServerAreaId": 4,
"DeviceWidth": 5,
"DeviceHeight": 6
}
],
"Code": 0,
"Msg": "sample string 1"
}