diff --git a/ydb/core/viewer/json_describe_consumer.h b/ydb/core/viewer/json_describe_consumer.h index 693f5cc5e065..7771e05b361f 100644 --- a/ydb/core/viewer/json_describe_consumer.h +++ b/ydb/core/viewer/json_describe_consumer.h @@ -39,6 +39,12 @@ class TJsonDescribeConsumer : public TDescribeConsumerRpc { return ReplyAndPassAway(Viewer->GetHTTPBADREQUEST(Event->Get(), "text/plain", "field 'consumer' is required")); } + if (params.Has("path")) { + Request.set_path(params.Get("path")); + } else { + return ReplyAndPassAway(Viewer->GetHTTPBADREQUEST(Event->Get(), "text/plain", "field 'path' is required")); + } + if (params.Has("include_stats")) { Request.set_include_stats(FromStringWithDefault(params.Get("include_stats"), false)); }