Skip to content
LUYONGQIANG edited this page Dec 3, 2019 · 6 revisions

/api/config
This endpoint returns information about the running configuration of the TSD. It is read only and cannot be used to set configuration options.

C# Code

   ApiUrlConfig.ChangeBaseUrl("http://192.168.1.22:4242/");
   OpenTsdbClient apiClient = new OpenTsdbClient();
   var result = await apiClient.GetAsync<dynamic>("api/config");
   Console.WriteLine(result);

Result

{
 "tsd.core.authentication.enable": "false",
 "tsd.core.authentication.plugin": "",
 "tsd.core.auto_create_metrics": "false",
 "tsd.core.auto_create_tagks": "true",
 "tsd.core.auto_create_tagvs": "true",
 "tsd.core.bulk.allow_out_of_order_timestamps": "false",
 "tsd.core.connections.limit": "0",
 "tsd.core.enable_api": "true",
 "tsd.core.enable_ui": "true"
} 

Clone this wiki locally