2020-11-27 18:28:45 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package ethereum.beacon.rpc.v1;
|
|
|
|
|
|
|
|
import "google/api/annotations.proto";
|
|
|
|
import "google/protobuf/empty.proto";
|
|
|
|
|
|
|
|
// Health service API
|
|
|
|
//
|
|
|
|
// The health service is able to return important metadata about a beacon node
|
2020-12-18 18:03:24 +00:00
|
|
|
// such being able to stream logs via gRPC.
|
2020-11-27 18:28:45 +00:00
|
|
|
service Health {
|
2020-12-18 18:03:24 +00:00
|
|
|
rpc StreamBeaconLogs(google.protobuf.Empty) returns (stream LogsResponse) {
|
2020-11-27 18:28:45 +00:00
|
|
|
option (google.api.http) = {
|
2020-12-18 18:03:24 +00:00
|
|
|
get: "/eth/v1alpha1/health/logs/stream"
|
2020-11-27 18:28:45 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-12-18 18:03:24 +00:00
|
|
|
message LogsResponse {
|
|
|
|
repeated string logs = 1;
|
2020-11-27 18:28:45 +00:00
|
|
|
}
|