|
@@ -3,8 +3,13 @@ package llnwApi.Delivery;
|
|
|
service DeliveryService {
|
|
|
rpc ListDeliveryServiceInstances(ShortName)returns(DeliveryList);
|
|
|
}
|
|
|
+message Base{
|
|
|
+ string username = 1;
|
|
|
+ string key = 2;
|
|
|
+}
|
|
|
message ShortName{
|
|
|
- string shortName = 1;
|
|
|
+ Base base = 1;
|
|
|
+ string shortName = 2;
|
|
|
}
|
|
|
message ProtocolSetOptions{
|
|
|
string name = 1;
|
|
@@ -16,7 +21,7 @@ message ProtocolSet{
|
|
|
string publishedProtocol = 2;
|
|
|
repeated ProtocolSetOptions options = 3;
|
|
|
}
|
|
|
-message Delivery{
|
|
|
+message DeliveryEntity{
|
|
|
string uuid = 1;
|
|
|
bool isEnabled = 2;
|
|
|
string shortname = 3;
|
|
@@ -26,8 +31,8 @@ message Delivery{
|
|
|
string publishedHostname = 6;
|
|
|
string sourceUrlPath = 7;
|
|
|
string publishedUrlPath = 8;
|
|
|
- ProtocolSet protocolSets = 9;
|
|
|
+ repeated ProtocolSet protocolSets = 9;
|
|
|
}
|
|
|
message DeliveryList{
|
|
|
- repeated Delivery deliveries = 1;
|
|
|
+ repeated DeliveryEntity deliveries = 1;
|
|
|
}
|