query pay as you go price
GET
/api/price/pay_as_you_goget traffic price for pay as you go $/GB
key in return value mean different traffic type
traffic_price_pay_as_you_go_rotation_residential => rotation_residential
traffic_price_pay_as_you_go_rotation_datacenter => rotation_datacenter
value amount/1000 = price $/GB. ex. 1000=>$1.0/GB
请求参数
无
示例代码
Responses
result(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
Data Schema
data
$ref(#/definitions/48894327)[]
optional
#/definitions/48894327
optional
meta_message
string
optional
success or other error msg
meta_status
integer
optional
1 for success, negative for error
total_count
integer
optional
total record quantity
Exampleprice response
{
"meta_status": 1,
"meta_message": "success",
"data": [
{
"id": 10,
"key": "traffic_price_pay_as_you_go_rotation_datacenter",
"value": "1000",
"description": "1000 => $1.00/GB"
},
{
"id": 9,
"key": "traffic_price_pay_as_you_go_rotation_residential",
"value": "4000",
"description": "1000 => $1.00/GB"
},
{
"id": 12,
"key": "traffic_price_pay_as_you_go_stable_datacenter",
"value": "2000",
"description": "1000 => $1.00/GB"
},
{
"id": 11,
"key": "traffic_price_pay_as_you_go_stable_residential",
"value": "8000",
"description": "1000 => $1.00/GB"
}
],
"total_count": 4
}
Last modified: 1 年前