Module: check_mk
Branch: master
Commit: cffc469c90c2bdff49871950de1788189c80e840
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=cffc469c90c2bd…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Dec 3 18:21:47 2014 +0100
Fixed wrong URL in webapi.py documentation
---
web/htdocs/webapi.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/htdocs/webapi.py b/web/htdocs/webapi.py
index 3f25c03..96e53aa 100644
--- a/web/htdocs/webapi.py
+++ b/web/htdocs/webapi.py
@@ -58,7 +58,7 @@ def load_plugins():
# Declare permissions for all api actions
config.declare_permission_section("webapi", _("Web API"), do_sort
= True)
for name, settings in api_actions.items():
- full_description = "%s<br>API function
<tt>{site}/check_mk/webapi.py&action=%s</tt>" %
(settings.get("description",""), name)
+ full_description = "%s<br>API function
<tt>{site}/check_mk/webapi.py?action=%s</tt>" %
(settings.get("description",""), name)
example_request = settings.get("example_request")
if example_request:
full_description += "<br>"