]> granicus.if.org Git - icinga2/commitdiff
Correct API URL example for acknowledge-problem
authorMarkus Frosch <lazyfrosch@icinga.org>
Tue, 8 Mar 2016 08:35:39 +0000 (09:35 +0100)
committerMarkus Frosch <lazyfrosch@icinga.org>
Tue, 8 Mar 2016 08:35:39 +0000 (09:35 +0100)
refs #11328

doc/9-icinga2-api.md

index 42c9d3077c2d812e4a673337f89f5fd8ff1df249..d1948e5361460b79dbe240f0315f9fb135b11f99 100644 (file)
@@ -783,7 +783,7 @@ In addition to these parameters a [filter](9-icinga2-api.md#icinga2-api-filters)
 The following example acknowledges all services which are in a hard critical state and sends out
 a notification for them:
 
-    $ curl -k -s -u root:icinga -H 'Accept: application/json' -X POST 'https://localhost:566tions/acknowledge-problem?type=Service&filter=service.state==2&service.state_type=1' \
+    $ curl -k -s -u root:icinga -H 'Accept: application/json' -X POST 'https://localhost:5665/v1/actions/acknowledge-problem?type=Service&filter=service.state==2&service.state_type=1' \
     -d '{ "author": "icingaadmin", "comment": "Global outage. Working on it.", "notify": true }' | python -m json.tool
 
     {