Skip to content

Commit 2056f9a

Browse files
committed
Use common API name pattern for list request messages
Signed-off-by: Mathias L. Baumann <[email protected]>
1 parent fa4eb40 commit 2056f9a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

proto/frequenz/api/dispatch/v1/dispatch.proto

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ import "frequenz/api/common/v1/microgrid/components/components.proto";
5555
// electrical engineering and systems.
5656
service MicrogridDispatchService {
5757
// Returns a list of all dispatches
58-
rpc ListMicrogridDispatches(DispatchListRequest) returns (DispatchList);
58+
rpc ListMicrogridDispatches(ListMicrogridDispatchesRequest) returns (ListMicrogridDispatchesResponse);
5959

6060
// Create a new dispatch
6161
rpc CreateMicrogridDispatch(DispatchCreateRequest) returns (google.protobuf.Empty);
@@ -291,7 +291,7 @@ message RecurrenceRule {
291291
}
292292

293293
// Message for listing dispatches for a given microgrid, and an optional filter
294-
message DispatchListRequest {
294+
message ListMicrogridDispatchesRequest {
295295
// The microgrid ID
296296
uint64 microgrid_id = 1;
297297

@@ -319,7 +319,7 @@ message DispatchFilter {
319319
}
320320

321321
// A list of dispatches
322-
message DispatchList {
322+
message ListMicrogridDispatchesResponse {
323323
// The dispatches
324324
repeated DispatchDetail dispatches = 1;
325325
}

0 commit comments

Comments
 (0)