Add GET /config/_topics which will be helpful when automatically generating a Pi-hole settings page

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER
2023-01-21 12:16:36 +01:00
parent 10ed1459b3
commit 6233bb489a
5 changed files with 101 additions and 0 deletions
+3
View File
@@ -51,7 +51,10 @@ int api_ftl_dbinfo(struct ftl_conn *api);
int api_ftl_sysinfo(struct ftl_conn *api);
int get_ftl_obj(struct ftl_conn *api, cJSON *ftl, const bool is_locked);
int get_system_obj(struct ftl_conn *api, cJSON *system);
// Config methods
int api_config(struct ftl_conn *api);
int api_config_topics(struct ftl_conn *api);
// Log methods
int api_logs(struct ftl_conn *api);