File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
proto/frequenz/api/dispatch/v1 Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ service MicrogridDispatchService {
5858 rpc ListMicrogridDispatches (ListMicrogridDispatchesRequest ) returns (ListMicrogridDispatchesResponse );
5959
6060 // Create a new dispatch
61- rpc CreateMicrogridDispatch (CreateMicrogridDispatchRequest ) returns (google . protobuf . Empty );
61+ rpc CreateMicrogridDispatch (CreateMicrogridDispatchRequest ) returns (CreateMicrogridDispatchResponse );
6262
6363 // Update a dispatch
6464 rpc UpdateMicrogridDispatch (UpdateMicrogridDispatchRequest ) returns (google .protobuf .Empty );
@@ -333,6 +333,10 @@ message CreateMicrogridDispatchRequest {
333333 Dispatch dispatch = 2 ;
334334}
335335
336+ // Response message for creating a new dispatch
337+ message CreateMicrogridDispatchResponse {
338+ // The created dispatch
339+ DispatchDetail dispatch = 1 ;
336340}
337341
338342// Message to update the dispatch with the given ID, with the given attributes
You can’t perform that action at this time.
0 commit comments