{
"code": 200,
"message": "成功或错误信息",
"data": {
"object": "接口返回数据"
}
}
code: 状态码,对应http status code
message: 成功或错误信息。200返回成功,非2xx返回错误信息
data:返回接口数据。包含三种情况:单节点/单域名等单个操作,返回object对象;多xx、删除(部分)返回列表;错误或删除(清空)则返回空列表
{
"code": 200,
"message": "成功或错误信息",
"data": {
"object": "接口返回数据"
}
}
/kafka/config
){
"domain_uuid": "abdb9c19-8d02-48b4-909e-2c628c500f97",
"config": {
"site": {
"active": false,
"global_concurrent": 10,
"policy": "block",
"blockminutes": 10,
"waitseconds": 10,
"waitpolicyminutes": 10,
"redirectlocation": "/xxxxx",
"redirectwaitseconds": 10,
"url_rates": [
{
"url": "http://jnhyuaz.bd/hbkjz",
"rate": 20
}
]
},
"resuest_rate": {
"active": true,
"rate": 3,
"concurrency": 100,
"challengePolicy": "js",
"protectMinutes": 10,
"whiteMinutes": 10,
"challengeMethod": [
"GET",
"POST"
],
"challengeLimit": 25,
"blockMinutes": 42,
"excludeExt": "/sss",
"cookieName": "cookieName",
"url_rates": [
{
"url": "http://tfyyso.in/fbkefa",
"rate": 9
}
]
}
},
"active": true
}