API just to retrun "recordcount" value
Posted: Mon Jan 07, 2019 2:13 pm
Team, a quick question, what parameters do I need to pass or how to formatted following API call to just get current host recordcount but without all host attributes?
curl -XGET "http://nagiosserver/nagiosxi/api/v1/obj ... x&pretty=1"
"hostlist": {
"recordcount": "12788",
"host": [
{
"@attributes": {
....
curl -XGET "http://nagiosserver/nagiosxi/api/v1/obj ... x&pretty=1"
"hostlist": {
"recordcount": "12788",
"host": [
{
"@attributes": {
....