diff --git a/account.proto b/account.proto index 9b3d953..e4ac44b 100644 --- a/account.proto +++ b/account.proto @@ -155,8 +155,14 @@ service ManagementService { rpc DeleteSource(DeleteSourceRequest) returns (DeleteSourceResponse); // Sources heartbeat and health - // List of all recently active sources and their health, includes managed and local sources + // List of all recently active sources and their health, includes information from srcman + // meaning that it can show the status of managed sources that have not started and + // connected yet rpc ListAllSourcesStatus(ListAllSourcesStatusRequest) returns (ListAllSourcesStatusResponse); + // Lists all active sources and their health. This should be used to determine + // what types, scopes etc are available rather than `ListAllSourcesStatus` since + // this endpoint only include running, available sources + rpc ListActiveSourcesStatus(ListAllSourcesStatusRequest) returns (ListAllSourcesStatusResponse); // Heartbeat from a source to keep it registered and healthy rpc SubmitSourceHeartbeat(SubmitSourceHeartbeatRequest) returns (SubmitSourceHeartbeatResponse);