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