×
Detail - Request Format
This REST API returns detailed information about a particular host or service check.
URL: /rest/detail
- Host:
/rest/detail?hostname=X - Service:
/rest/detail?hostname=X&servicename=Y
Parameters:
includehandleddetails=1— if set, will return ack_author and ack_comment when a host or a service is acknowledged.include_recheckable=1— if set then the response will includerecheckable=0or1based on whether it is possible to recheck this host or service.include_handled_details=1— will addack_timewith the time of the acknowledgement, if the host or service is acknowledged (also supportsincludehandleddetails=1for historical reasons).include_downtime=1— will add the following to the response, if the host/service is in downtime (based on the downtime that will finish the latest):
downtime_end_time: 2234567890, // seconds since the epoch
downtime_author: "admin", // username of author of downtime
downtime_comment: "Eng visit", // comment on downtime
Note
From version 6.0, thelast_notificationandnext_notificationdetails have been removed from the returned output as they are not relevant anymore.
Methods:
GET— returns data about the object. RequiresVIEWSOMEorVIEWALL.POST— set actions for the object. RequiresACTIONSOMEorACTIONALL.PUT,DELETE— unimplemented
["Opsview On-Premises"]
["API", "Technical Reference"]