1
0
mirror of https://github.com/Icinga/icinga2.git synced 2025-04-08 17:05:25 +02:00

Docs: Add an example for API joins with comments and host/services

fixes 
This commit is contained in:
Michael Friedrich 2016-02-24 21:31:10 +01:00
parent 3979ec9b15
commit cd5f11b1ea

@ -501,6 +501,11 @@ via a join:
]
}
In case you want to fetch all [comments](6-object-types.md#objecttype-comment)
for hosts and services, you can use the following query URL (similar example
for downtimes):
https://localhost:5665/v1/objects/comments?joins=host&joins=service
### <a id="icinga2-api-config-objects-create"></a> Creating Config Objects