ambient-local-exporter/proto/weather/weather_service.proto
Ryan D McGuire d847c36715
All checks were successful
Build and Publish / release (push) Has been skipped
Build and Publish / check-chart (push) Successful in 11s
Build and Publish / helm-release (push) Has been skipped
implement count rpc
2025-03-27 15:32:10 -04:00

17 lines
536 B
Protocol Buffer

syntax = "proto3";
package ambient.weather;
import "google/api/annotations.proto";
import "weather/weather.proto";
option go_package = "gitea.libretechconsulting.com/rmcguire/ambient-local-exporter/api/v1alpha1/weather";
service AmbientLocalWeatherService {
rpc GetWeather(GetWeatherRequest) returns (GetWeatherResponse) {
option (google.api.http) = {get: "/v1/weather"};
}
rpc CountWeatherUpdates(CountWeatherUpdatesRequest) returns (CountWeatherUpdatesResponse) {
option (google.api.http) = {get: "/v1/count"};
}
}