From 9f770200b7d269520dc94a0ef63ded01ea60a5f0 Mon Sep 17 00:00:00 2001
From: Dinesh Dutt
Date: Sun, 26 May 2024 22:34:30 -0700
Subject: [PATCH] REST: Add support for section kwarg with devconfig
Signed-off-by: Dinesh Dutt
---
suzieq/restServer/query.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/suzieq/restServer/query.py b/suzieq/restServer/query.py
index 5c805f04f1..b004ba3030 100755
--- a/suzieq/restServer/query.py
+++ b/suzieq/restServer/query.py
@@ -381,6 +381,7 @@ def query_devconfig(verb: CommonVerbs, request: Request,
view: ViewValues = "latest",
namespace: List[str] = Query(None),
columns: List[str] = Query(default=["default"]),
+ section: str = Query(None),
query_str: str = None,
what: str = None,
count: str = None, reverse: str = None,