mirror of
https://github.com/pi-hole/FTL.git
synced 2024-10-26 16:52:18 +02:00
Move /api/{ftl -> info}/client, /api/ftl/dbinfo -> /api/info/database, /api/ftl/sysinfo -> /api/info/system, and /api/version -> /api/info/version
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
+5
-9
@@ -45,12 +45,11 @@ int api_stats_database_summary(struct ftl_conn *api);
|
||||
int api_stats_database_query_types(struct ftl_conn *api);
|
||||
int api_stats_database_upstreams(struct ftl_conn *api);
|
||||
|
||||
// FTL methods
|
||||
int api_ftl_client(struct ftl_conn *api);
|
||||
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);
|
||||
// Info methods
|
||||
int api_info_client(struct ftl_conn *api);
|
||||
int api_info_database(struct ftl_conn *api);
|
||||
int api_info_system(struct ftl_conn *api);
|
||||
int api_info_version(struct ftl_conn *api);
|
||||
|
||||
// Config methods
|
||||
int api_config(struct ftl_conn *api);
|
||||
@@ -72,9 +71,6 @@ int api_dns_cache(struct ftl_conn *api);
|
||||
int api_list(struct ftl_conn *api);
|
||||
int api_group(struct ftl_conn *api);
|
||||
|
||||
// Version method
|
||||
int api_version(struct ftl_conn *api);
|
||||
|
||||
// Auth method
|
||||
int check_client_auth(struct ftl_conn *api);
|
||||
int api_auth(struct ftl_conn *api);
|
||||
|
||||
Reference in New Issue
Block a user