|
@@ -17,6 +17,8 @@ service ZoneCloudflare {
|
|
rpc ListZones(ListZonesRequestCloudflare) returns (ZonesList){}
|
|
rpc ListZones(ListZonesRequestCloudflare) returns (ZonesList){}
|
|
rpc ListZonesByAccountId(ListZonesByAccountIdRequestCloudflare) returns (ZonesList){}
|
|
rpc ListZonesByAccountId(ListZonesByAccountIdRequestCloudflare) returns (ZonesList){}
|
|
rpc ActivationCheck(ActivationCheckRequestCloudflare) returns (ActivationCheckReplyCloudflare){}
|
|
rpc ActivationCheck(ActivationCheckRequestCloudflare) returns (ActivationCheckReplyCloudflare){}
|
|
|
|
+ rpc CreateZone (CreateZoneRequestCloudflare) returns (CreateZoneReplyCloudflare){}
|
|
|
|
+ rpc SetZonePlan (SetZonePlanRequestCloudflare)returns (SetZonePlanReplyCloudflare){}
|
|
|
|
|
|
//PageRule CURD
|
|
//PageRule CURD
|
|
rpc ListPageRule(ListPageRuleRequestCloudflare) returns (PageRuleList){}
|
|
rpc ListPageRule(ListPageRuleRequestCloudflare) returns (PageRuleList){}
|
|
@@ -117,6 +119,26 @@ message DeleteZoneReplyCloudflare{
|
|
string id = 2;
|
|
string id = 2;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+message CreateZoneRequestCloudflare{
|
|
|
|
+ string apiKey = 1;
|
|
|
|
+ string apiEmail = 2;
|
|
|
|
+ string accountId = 3;
|
|
|
|
+ string domain = 4;
|
|
|
|
+}
|
|
|
|
+message CreateZoneReplyCloudflare{
|
|
|
|
+ bool success = 1;
|
|
|
|
+ string id = 2;
|
|
|
|
+}
|
|
|
|
+message SetZonePlanRequestCloudflare{
|
|
|
|
+ string apiKey = 1;
|
|
|
|
+ string apiEmail = 2;
|
|
|
|
+ string zoneId = 3;
|
|
|
|
+ string zonePlan = 4;
|
|
|
|
+}
|
|
|
|
+message SetZonePlanReplyCloudflare{
|
|
|
|
+ bool success = 1;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
|
|
message ActivationCheckRequestCloudflare {
|
|
message ActivationCheckRequestCloudflare {
|
|
string apiKey = 1;
|
|
string apiKey = 1;
|