[icinga-checkins] icinga.org: icinga2/master: Fix incorrect API example in the documentation

git at icinga.org git at icinga.org
Thu Aug 18 10:08:46 CEST 2016


Module: icinga2
Branch: master
Commit: 6629277157b500a398bde30bd0e7ce221df649ed
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=6629277157b500a398bde30bd0e7ce221df649ed

Author: Gunnar Beutner <gunnar.beutner at netways.de>
Date:   Thu Aug 18 10:06:29 2016 +0200

Fix incorrect API example in the documentation

fixes #12473

---

 doc/12-icinga2-api.md |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/12-icinga2-api.md b/doc/12-icinga2-api.md
index 24168a3..8c29b55 100644
--- a/doc/12-icinga2-api.md
+++ b/doc/12-icinga2-api.md
@@ -226,7 +226,7 @@ as query string, e.g. a space character becomes `%20`.
 
 Example for a URL-encoded query string:
 
-    /v1/objects/hosts?filter=match(%22example.localdomain*%22,host.name)&attrs=host.name&attrs=host.state
+    /v1/objects/hosts?filter=match(%22example.localdomain*%22,host.name)&attrs=name&attrs=state
 
 Here are the exact same query parameters as a JSON object:
 



More information about the icinga-checkins mailing list