|
@@ -12,11 +12,24 @@ service CertificateCloudflare {
|
|
|
rpc CreateCertificate (CreateCertificateRequestCloudflare) returns (CreateCertificateReplyCloudflare) {}
|
|
|
rpc CreateCertificateV2 (CreateCertificateRequestCloudflareV2) returns (CreateCertificateReplyCloudflare) {}
|
|
|
rpc DeleteCertificate (DeleteCertificateRequestCloudflare) returns (DeleteCertificateReplyCloudflare) {}
|
|
|
+ rpc ListZoneCertificates (ListZoneCertificatesRequestCloudflare) returns (ListZoneCertificatesReplyCloudflare) {}
|
|
|
rpc EditCertificate (EditCertificateRequestCloudflare) returns (EditCertificateReplyCloudflare) {}
|
|
|
rpc EditCertificateV2 (EditCertificateRequestCloudflareV2) returns (EditCertificateReplyCloudflare) {}
|
|
|
rpc UniversalCertificate(UniversalCertificateRequestCloudflare) returns(UniversalCertificateReplyCloudflare) {}
|
|
|
}
|
|
|
-
|
|
|
+message ZoneCustomSSL{
|
|
|
+ string id = 1;
|
|
|
+ repeated string hosts = 2;
|
|
|
+ string issuer = 3;
|
|
|
+ string signature = 4;
|
|
|
+ string status = 5;
|
|
|
+ string bundleMethod = 6;
|
|
|
+ string zoneId = 7;
|
|
|
+ string uploadedOn = 8;
|
|
|
+ string modifiedOn = 9;
|
|
|
+ string expiresOn = 10;
|
|
|
+ int32 priority = 11;
|
|
|
+}
|
|
|
message CreateCertificateRequestCloudflare {
|
|
|
string apiKey = 1;
|
|
|
string apiEmail = 2;
|
|
@@ -39,6 +52,15 @@ message DeleteCertificateRequestCloudflare {
|
|
|
string zoneName = 3;
|
|
|
string certificateId = 4;
|
|
|
}
|
|
|
+message ListZoneCertificatesRequestCloudflare {
|
|
|
+ string apiKey = 1;
|
|
|
+ string apiEmail = 2;
|
|
|
+ string zoneId = 3;
|
|
|
+}
|
|
|
+message ListZoneCertificatesReplyCloudflare {
|
|
|
+ repeated ZoneCustomSSL result = 1;
|
|
|
+ bool success = 2;
|
|
|
+}
|
|
|
message EditCertificateRequestCloudflare {
|
|
|
string apiKey = 1;
|
|
|
string apiEmail = 2;
|