mirror of https://github.com/Icinga/icinga2.git
Merge pull request #9967 from nicolasberens/bugfix/doc_typos
Fix typo in API Doc example
This commit is contained in:
commit
06bf843a95
1
AUTHORS
1
AUTHORS
|
@ -208,6 +208,7 @@ mocruz <mocruz@theworkshop.com>
|
||||||
Muhammad Mominul Huque <nahidbinbaten1995@gmail.com>
|
Muhammad Mominul Huque <nahidbinbaten1995@gmail.com>
|
||||||
nemtrif <ntrifunovic@hotmail.com>
|
nemtrif <ntrifunovic@hotmail.com>
|
||||||
Nicolai <nbuchwitz@users.noreply.github.com>
|
Nicolai <nbuchwitz@users.noreply.github.com>
|
||||||
|
Nicolas Berens <nicolas.berens@planet.com>
|
||||||
Nicolas Limage <github@xephon.org>
|
Nicolas Limage <github@xephon.org>
|
||||||
Nicole Lang <nicole.lang@icinga.com>
|
Nicole Lang <nicole.lang@icinga.com>
|
||||||
Niflou <dubuscyr@gmail.com>
|
Niflou <dubuscyr@gmail.com>
|
||||||
|
|
|
@ -950,7 +950,7 @@ list the latter in the `restore_attrs` parameter. E.g.:
|
||||||
```bash
|
```bash
|
||||||
curl -k -s -S -i -u root:icinga -H 'Accept: application/json' \
|
curl -k -s -S -i -u root:icinga -H 'Accept: application/json' \
|
||||||
-X POST 'https://localhost:5665/v1/objects/hosts/example.localdomain' \
|
-X POST 'https://localhost:5665/v1/objects/hosts/example.localdomain' \
|
||||||
-d '{ "restore_attrs": [ "address", "vars.os" ] }, "pretty": true }'
|
-d '{ "restore_attrs": [ "address", "vars.os" ], "pretty": true }'
|
||||||
```
|
```
|
||||||
|
|
||||||
```json
|
```json
|
||||||
|
|
Loading…
Reference in New Issue