|
@@ -12,6 +12,7 @@ service CertificateCloudflare {
|
|
rpc CreateCertificate (CreateCertificateRequestCloudflare) returns (CreateCertificateReplyCloudflare) {}
|
|
rpc CreateCertificate (CreateCertificateRequestCloudflare) returns (CreateCertificateReplyCloudflare) {}
|
|
rpc DeleteCertificate (DeleteCertificateRequestCloudflare) returns (DeleteCertificateReplyCloudflare) {}
|
|
rpc DeleteCertificate (DeleteCertificateRequestCloudflare) returns (DeleteCertificateReplyCloudflare) {}
|
|
rpc EditCertificate (EditCertificateRequestCloudflare) returns (EditCertificateReplyCloudflare) {}
|
|
rpc EditCertificate (EditCertificateRequestCloudflare) returns (EditCertificateReplyCloudflare) {}
|
|
|
|
+ rpc UniversalCertificate(UniversalCertificateRequestCloudflare) returns(UniversalCertificateReplyCloudflare) {}
|
|
}
|
|
}
|
|
|
|
|
|
message CreateCertificateRequestCloudflare {
|
|
message CreateCertificateRequestCloudflare {
|
|
@@ -35,6 +36,12 @@ message EditCertificateRequestCloudflare {
|
|
string certificate = 5;
|
|
string certificate = 5;
|
|
string privateKey = 6;
|
|
string privateKey = 6;
|
|
}
|
|
}
|
|
|
|
+message UniversalCertificateRequestCloudflare {
|
|
|
|
+ string apiKey = 1;
|
|
|
|
+ string apiEmail = 2;
|
|
|
|
+ string zoneName = 3;
|
|
|
|
+ bool enable = 4;
|
|
|
|
+}
|
|
|
|
|
|
|
|
|
|
message CreateCertificateReplyCloudflare{
|
|
message CreateCertificateReplyCloudflare{
|
|
@@ -49,3 +56,8 @@ message EditCertificateReplyCloudflare{
|
|
bool success = 1;
|
|
bool success = 1;
|
|
string id = 2;
|
|
string id = 2;
|
|
}
|
|
}
|
|
|
|
+message UniversalCertificateReplyCloudflare{
|
|
|
|
+ bool success = 1;
|
|
|
|
+ bool enabled = 2;
|
|
|
|
+}
|
|
|
|
+
|