You are here

Bug in REST API documentation regarding servicechecks

2 posts / 0 new
Last post
gene_wood
gene_wood's picture
Bug in REST API documentation regarding servicechecks

In the documentation for the REST API

http://docs.opsview.com/doku.php?id=opsview-community:restapi:config#service_checks

the servicecheck section of config doesn't mention anything about a "hosttemplates" key however in OpsView 4 (4.0.20130107) an API request for servicecheck returns the "hosttemplates" associated with that servicecheck.

Please update the documentation to reflect this key

tvoon
tvoon's picture
Re: Bug in REST API documentation regarding servicechecks

Hi Gene,

I've updated the expected result at http://docs.opsview.com/doku.php?id=opsview-core:restapi:config#service_checks

This takes data from the testcases, which we know will work. I have to find a way of keeping the testcases up to date with the docs....

I haven't updated the link you presented, as that is in the opsview-community namespace which is deprecated.

Also, what version of Opsview are you looking at? There has never been a "4.0.20130107". The Opsview version is at the bottom of each screen.

Ton