llnw.proto 831 B

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