|
@@ -10,8 +10,10 @@ option java_outer_classname = "certificateProto";
|
|
service CertificateCloudflare {
|
|
service CertificateCloudflare {
|
|
// Sends a greeting
|
|
// Sends a greeting
|
|
rpc CreateCertificate (CreateCertificateRequestCloudflare) returns (CreateCertificateReplyCloudflare) {}
|
|
rpc CreateCertificate (CreateCertificateRequestCloudflare) returns (CreateCertificateReplyCloudflare) {}
|
|
|
|
+ rpc CreateCertificateV2 (CreateCertificateRequestCloudflareV2) returns (CreateCertificateReplyCloudflare) {}
|
|
rpc DeleteCertificate (DeleteCertificateRequestCloudflare) returns (DeleteCertificateReplyCloudflare) {}
|
|
rpc DeleteCertificate (DeleteCertificateRequestCloudflare) returns (DeleteCertificateReplyCloudflare) {}
|
|
rpc EditCertificate (EditCertificateRequestCloudflare) returns (EditCertificateReplyCloudflare) {}
|
|
rpc EditCertificate (EditCertificateRequestCloudflare) returns (EditCertificateReplyCloudflare) {}
|
|
|
|
+ rpc EditCertificateV2 (EditCertificateRequestCloudflareV2) returns (EditCertificateReplyCloudflare) {}
|
|
rpc UniversalCertificate(UniversalCertificateRequestCloudflare) returns(UniversalCertificateReplyCloudflare) {}
|
|
rpc UniversalCertificate(UniversalCertificateRequestCloudflare) returns(UniversalCertificateReplyCloudflare) {}
|
|
}
|
|
}
|
|
|
|
|
|
@@ -22,6 +24,15 @@ message CreateCertificateRequestCloudflare {
|
|
string certificate = 4;
|
|
string certificate = 4;
|
|
string privateKey = 5;
|
|
string privateKey = 5;
|
|
}
|
|
}
|
|
|
|
+message CreateCertificateRequestCloudflareV2 {
|
|
|
|
+ string apiKey = 1;
|
|
|
|
+ string apiEmail = 2;
|
|
|
|
+ string zoneName = 3;
|
|
|
|
+ string certificate = 4;
|
|
|
|
+ string privateKey = 5;
|
|
|
|
+ string bundleMethod = 6;
|
|
|
|
+ bool noSni = 7;
|
|
|
|
+}
|
|
message DeleteCertificateRequestCloudflare {
|
|
message DeleteCertificateRequestCloudflare {
|
|
string apiKey = 1;
|
|
string apiKey = 1;
|
|
string apiEmail = 2;
|
|
string apiEmail = 2;
|
|
@@ -38,6 +49,16 @@ message EditCertificateRequestCloudflare {
|
|
string bundleMethod = 7;
|
|
string bundleMethod = 7;
|
|
bool noSni = 8;
|
|
bool noSni = 8;
|
|
}
|
|
}
|
|
|
|
+message EditCertificateRequestCloudflareV2 {
|
|
|
|
+ string apiKey = 1;
|
|
|
|
+ string apiEmail = 2;
|
|
|
|
+ string zoneName = 3;
|
|
|
|
+ string certificateId = 4;
|
|
|
|
+ string certificate = 5;
|
|
|
|
+ string privateKey = 6;
|
|
|
|
+ string bundleMethod = 7;
|
|
|
|
+ bool noSni = 8;
|
|
|
|
+}
|
|
message UniversalCertificateRequestCloudflare {
|
|
message UniversalCertificateRequestCloudflare {
|
|
string apiKey = 1;
|
|
string apiKey = 1;
|
|
string apiEmail = 2;
|
|
string apiEmail = 2;
|