|
@@ -28,6 +28,12 @@ service ZoneCloudflare {
|
|
//RuleSet UR
|
|
//RuleSet UR
|
|
rpc UpdateRuleSet(UpdateRuleSetRequestCloudflare) returns (RuleList){}
|
|
rpc UpdateRuleSet(UpdateRuleSetRequestCloudflare) returns (RuleList){}
|
|
rpc GetRuleSet(GetRuleSetRequestCloudflare) returns (RuleList){}
|
|
rpc GetRuleSet(GetRuleSetRequestCloudflare) returns (RuleList){}
|
|
|
|
+
|
|
|
|
+ //Argo Smart Routing Setting UR
|
|
|
|
+ rpc UpdateArgoSetting(UpdateArgoRequestCloudflare) returns(ArgoSetting){}
|
|
|
|
+ rpc GetArgoSetting(IdRequest) returns(ArgoSetting){}
|
|
|
|
+ rpc GetArgoSettingSubscription(IdRequest)returns(ArgoSetting){}
|
|
|
|
+ rpc CreateArgoSettingSubscription(IdRequest)returns(ArgoSetting){}
|
|
}
|
|
}
|
|
|
|
|
|
//Zone CURD
|
|
//Zone CURD
|
|
@@ -224,4 +230,21 @@ message UpdatePageRulesPrioritiesRequestCloudflare{
|
|
string apiEmail = 2;
|
|
string apiEmail = 2;
|
|
string zoneId = 3;
|
|
string zoneId = 3;
|
|
repeated UpdatePageRulesPrioritiesStruct data = 4;
|
|
repeated UpdatePageRulesPrioritiesStruct data = 4;
|
|
-}
|
|
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+message ArgoSetting{
|
|
|
|
+ bool enabled = 1;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+message UpdateArgoRequestCloudflare{
|
|
|
|
+ string apiKey = 1;
|
|
|
|
+ string apiEmail = 2;
|
|
|
|
+ string zoneId = 3;
|
|
|
|
+ ArgoSetting argo_setting = 4;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+message IdRequest{
|
|
|
|
+ string apiKey = 1;
|
|
|
|
+ string apiEmail = 2;
|
|
|
|
+ string zoneId = 3;
|
|
|
|
+}
|