17 lines
		
	
	
		
			536 B
		
	
	
	
		
			Protocol Buffer
		
	
	
	
	
	
			
		
		
	
	
			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"};
 | |
|   }
 | |
| }
 |