From 6629277157b500a398bde30bd0e7ce221df649ed Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Thu, 18 Aug 2016 10:06:29 +0200 Subject: [PATCH] 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 24168a3da..8c29b554e 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: