File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
proto/frequenz/api/dispatch/v1 Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ service MicrogridDispatchService {
7272 rpc UpdateMicrogridDispatch (UpdateMicrogridDispatchRequest ) returns (UpdateMicrogridDispatchResponse );
7373
7474 // Get a single dispatch
75- rpc GetMicrogridDispatch (GetMicrogridDispatchRequest ) returns (Dispatch );
75+ rpc GetMicrogridDispatch (GetMicrogridDispatchRequest ) returns (GetMicrogridDispatchResponse );
7676
7777 // Delete a given dispatch
7878 rpc DeleteMicrogridDispatch (DeleteMicrogridDispatchRequest ) returns (google .protobuf .Empty );
@@ -434,6 +434,15 @@ message GetMicrogridDispatchRequest {
434434 uint64 dispatch_id = 2 ;
435435}
436436
437+ // Response message for getting a single dispatch
438+ message GetMicrogridDispatchResponse {
439+ // The microgrid ID that the dispatch belongs to
440+ uint64 microgrid_id = 1 ;
441+
442+ // The dispatch
443+ DispatchDetail dispatch = 2 ;
444+ }
445+
437446// Message to delete a single dispatch by its ID
438447message DeleteMicrogridDispatchRequest {
439448 // The microgrid ID that the dispatch belongs to
You can’t perform that action at this time.
0 commit comments