{
"domain": "test",
"rules": [
{
"group": {
"priority": 4,
"enabled": true,
"name": "testGroup1",
"tags": [
{
"tag": "URL",
"match": "equal",
"values": [
"/api/stream"
]
}
]
},
"flow": {
"name": "flow1",
"enabled": true,
"flowControlMode": "qps",
"timeUnit": "second",
"timeInterval": 1,
"rateLimit": 20,
"burstLimit": 20
}
},
{
"group": {
"priority": 4,
"enabled": true,
"name": "testGroup2",
"tags": [
{
"tag": "URL",
"match": "equal",
"values": [
"/api/chat"
]
}
]
},
"flow": {
"name": "flow2",
"enabled": true,
"flowControlMode": "qps",
"timeUnit": "second",
"timeInterval": 1,
"rateLimit": 10,
"burstLimit": 10
}
}
]
}