llnw.proto 736 B

123456789101112131415161718192021222324252627282930313233
  1. syntax = "proto3";
  2. package llnwApi.Delivery;
  3. service DeliveryService {
  4. rpc ListDeliveryServiceInstances(ShortName)returns(DeliveryList);
  5. }
  6. message ShortName{
  7. string shortName = 1;
  8. }
  9. message ProtocolSetOptions{
  10. string name = 1;
  11. repeated string parameters = 2;
  12. string source = 3;
  13. }
  14. message ProtocolSet{
  15. string sourceProtocol = 1;
  16. string publishedProtocol = 2;
  17. repeated ProtocolSetOptions options = 3;
  18. }
  19. message Delivery{
  20. string uuid = 1;
  21. bool isEnabled = 2;
  22. string shortname = 3;
  23. string status = 4;
  24. string sourceHostname = 5;
  25. string publishedHostname = 6;
  26. string sourceUrlPath = 7;
  27. string publishedUrlPath = 8;
  28. ProtocolSet protocolSets = 9;
  29. }
  30. message DeliveryList{
  31. repeated Delivery deliveries = 1;
  32. }