master
h 47 lines 1.98 KB
Raw
1 // SPDX-License-Identifier: GPL-3.0-or-later
2
3 #ifndef NETDATA_API_V1_CALLS_H
4 #define NETDATA_API_V1_CALLS_H
5
6 #include "../web_api_v1.h"
7
8 int api_v1_info(RRDHOST *host, struct web_client *w, char *url);
9
10 int api_v1_config(RRDHOST *host, struct web_client *w, char *url);
11
12 int api_v1_registry(RRDHOST *host, struct web_client *w, char *url);
13
14 int api_v1_manage(RRDHOST *host, struct web_client *w, char *url);
15
16 int api_v1_data(RRDHOST *host, struct web_client *w, char *url);
17 int api_v1_chart(RRDHOST *host, struct web_client *w, char *url);
18 int api_v1_charts(RRDHOST *host, struct web_client *w, char *url);
19
20 int api_v1_context(RRDHOST *host, struct web_client *w, char *url);
21 int api_v1_contexts(RRDHOST *host, struct web_client *w, char *url);
22
23 int api_v1_alarms(RRDHOST *host, struct web_client *w, char *url);
24 int api_v1_alarms_values(RRDHOST *host, struct web_client *w, char *url);
25 int api_v1_alarm_count(RRDHOST *host, struct web_client *w, char *url);
26 int api_v1_alarm_log(RRDHOST *host, struct web_client *w, char *url);
27 int api_v1_variable(RRDHOST *host, struct web_client *w, char *url);
28 int api_v1_alarm_variables(RRDHOST *host, struct web_client *w, char *url);
29
30 int api_v1_dbengine_stats(RRDHOST *host, struct web_client *w, char *url);
31 int api_v1_ml_info(RRDHOST *host, struct web_client *w, char *url);
32 int api_v1_aclk(RRDHOST *host, struct web_client *w, char *url);
33
34 int api_v1_functions(RRDHOST *host, struct web_client *w, char *url);
35 int api_v1_function(RRDHOST *host, struct web_client *w, char *url);
36
37 int api_v1_metric_correlations(RRDHOST *host, struct web_client *w, char *url);
38 int api_v1_weights(RRDHOST *host, struct web_client *w, char *url);
39
40 int api_v1_badge(RRDHOST *host, struct web_client *w, char *url);
41 int api_v1_allmetrics(RRDHOST *host, struct web_client *w, char *url);
42
43 // common library calls
44 int api_v1_single_chart_helper(RRDHOST *host, struct web_client *w, char *url, void callback(RRDSET *st, BUFFER *buf));
45 void api_v1_management_init(void);
46
47 #endif //NETDATA_API_V1_CALLS_H