File tree Expand file tree Collapse file tree 2 files changed +4
-15
lines changed
proto/frequenz/api/dispatch Expand file tree Collapse file tree 2 files changed +4
-15
lines changed Original file line number Diff line number Diff line change 66- ` DispatchFilter ` has been replaced by ` DispatchListRequest ` as a parameter for ` ListDispatches ` .
77 - The filter has additionally been re-designed, with fields that lack use cases being removed.
88- Removed the ability to update ` microgrid_id ` on an existing dispatch.
9+ - Removed the HTTP proxy gateway URLs, as these will not be used by the dispatch API.
Original file line number Diff line number Diff line change @@ -21,25 +21,13 @@ import "frequenz/api/common/components.proto";
2121
2222service DispatchService {
2323 // Returns a list of all dispatches
24- rpc ListDispatches (DispatchListRequest ) returns (DispatchList ) {
25- option (google.api.http ) = {
26- get : "/v1/dispatches"
27- };
28- }
24+ rpc ListDispatches (DispatchListRequest ) returns (DispatchList );
2925
3026 // Create a new dispatch
31- rpc CreateDispatch (DispatchCreateRequest ) returns (google .protobuf .Empty ) {
32- option (google.api.http ) = {
33- post : "/v1/dispatches"
34- };
35- }
27+ rpc CreateDispatch (DispatchCreateRequest ) returns (google .protobuf .Empty );
3628
3729 // Update a dispatch
38- rpc UpdateDispatch (DispatchUpdateRequest ) returns (google .protobuf .Empty ) {
39- option (google.api.http ) = {
40- patch : "/v1/dispatches"
41- };
42- }
30+ rpc UpdateDispatch (DispatchUpdateRequest ) returns (google .protobuf .Empty );
4331}
4432
4533// Message representing one dispatch
You can’t perform that action at this time.
0 commit comments