|
@@ -36,6 +36,7 @@ service ZoneCloudflare {
|
|
rpc GetArgoSetting(IdRequest) returns(ArgoSetting){}
|
|
rpc GetArgoSetting(IdRequest) returns(ArgoSetting){}
|
|
rpc GetArgoSettingSubscription(IdRequest)returns(ArgoSetting){}
|
|
rpc GetArgoSettingSubscription(IdRequest)returns(ArgoSetting){}
|
|
rpc CreateArgoSettingSubscription(IdRequest)returns(ArgoSetting){}
|
|
rpc CreateArgoSettingSubscription(IdRequest)returns(ArgoSetting){}
|
|
|
|
+ rpc SetSmartTieredCache(SetSmartTieredCacheRequestCloudflare)returns(SetSmartTieredCacheReplyCloudflare){}
|
|
}
|
|
}
|
|
|
|
|
|
//Zone CURD
|
|
//Zone CURD
|
|
@@ -270,3 +271,13 @@ message IdRequest{
|
|
string apiEmail = 2;
|
|
string apiEmail = 2;
|
|
string zoneId = 3;
|
|
string zoneId = 3;
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+message SetSmartTieredCacheRequestCloudflare{
|
|
|
|
+ string apiKey = 1;
|
|
|
|
+ string apiEmail = 2;
|
|
|
|
+ string zoneId = 3;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+message SetSmartTieredCacheReplyCloudflare{
|
|
|
|
+ bool enabled = 1;
|
|
|
|
+}
|