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

fixes #10976
This commit is contained in:
Michael Friedrich 2016-02-24 21:31:10 +01:00
parent afb579efad
commit 3228586a62
1 changed files with 5 additions and 0 deletions

View File

@ -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