syntax = "proto3";

package worldmonitor.positive_events.v1;

import "sebuf/http/annotations.proto";
import "worldmonitor/positive_events/v1/list_positive_geo_events.proto";

// PositiveEventsService provides APIs for geocoded positive news events.
service PositiveEventsService {
  option (sebuf.http.service_config) = {base_path: "/api/positive-events/v1"};

  // ListPositiveGeoEvents retrieves geocoded positive news events from GDELT GEO API.
  rpc ListPositiveGeoEvents(ListPositiveGeoEventsRequest) returns (ListPositiveGeoEventsResponse) {
    option (sebuf.http.config) = {path: "/list-positive-geo-events", method: HTTP_METHOD_GET};
  }
}
