123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106 |
- syntax = "proto3";
- package cloudflareApi.cache.Certificate;
- option go_package = "./cloudflareApi/certificate";
- option java_multiple_files = true;
- option java_package = "io.grpc.cloudflare.certificate";
- option java_outer_classname = "certificateProto";
- service CertificateCloudflare {
- // Sends a greeting
- 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;
- string zoneName = 3;
- string certificate = 4;
- 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 {
- string apiKey = 1;
- string apiEmail = 2;
- 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;
- string zoneName = 3;
- string certificateId = 4;
- string certificate = 5;
- string privateKey = 6;
- }
- 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 {
- string apiKey = 1;
- string apiEmail = 2;
- string zoneName = 3;
- bool enable = 4;
- }
- message CreateCertificateReplyCloudflare{
- bool success = 1;
- string id = 2;
- }
- message DeleteCertificateReplyCloudflare{
- bool success = 1;
- string id = 2;
- }
- message EditCertificateReplyCloudflare{
- bool success = 1;
- string id = 2;
- }
- message UniversalCertificateReplyCloudflare{
- bool success = 1;
- bool enabled = 2;
- }
|