{
"config": {
"default_master": [
"string"
],
"default_slave": [
"string"
],
"origin_mode": "string",
"origin_port": 0
},
"domains": [
"string"
],
"duration": 1,
"plan_id": 0,
"with_coupon_id": 0
}
curl --location --request POST 'https://api.v2.rainyun.com/product/rcdn/instance' \
--header 'x-api-key;' \
--header 'rain-dev-token: {{rain-dev-token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"config": {
"default_master": [
"string"
],
"default_slave": [
"string"
],
"origin_mode": "string",
"origin_port": 0
},
"domains": [
"string"
],
"duration": 1,
"plan_id": 0,
"with_coupon_id": 0
}'
{
"UsageData": {},
"autoRenew": true,
"createDate": 0,
"domainConfig": {},
"expDate": 0,
"expireNotice": 0,
"extra_pay_time": 0,
"extra_traffic": 0,
"id": 0,
"is_enable_extra_accounting": true,
"last_reset_date": 0,
"next_reset_date": 0,
"node": {
"AuthKey": "string",
"Config": "string",
"Stock": [
0
],
"certifyRequired": true,
"chineseName": "string",
"gitRepositoryName": "string",
"ipRegion": "string",
"isDisableBackup": true,
"isHidden": true,
"machine": "string",
"nodeName": "string",
"physicalNode": "string",
"product": "string",
"region": "string",
"showMonitorData": "string",
"statusData": "string",
"subtype": "string",
"updateTime": "string",
"uuid": "string"
},
"nodeUUID": "string",
"plan": {
"charge_type": "string",
"chinese": "string",
"domain_limit": 0,
"extra_traffic_price": 0,
"id": 0,
"is_free": true,
"is_selling": true,
"machine": "string",
"plan_name": "string",
"point_renew_price": [
0
],
"price": 0,
"rain_discount": 0,
"region": "string",
"subtype": "string",
"traffic_in_gb": 0
},
"planID": 0,
"rewardPointsToBeCollect": 0,
"status": "string",
"stopReason": "string",
"sync_time": 0,
"tag": "string",
"try": true,
"uid": 0,
"unsubscribeAble": true,
"usage_traffic": 0
}