Each of the API commands described here relate to retrieving, hiding and deleting one or more Systems being monitored at your site.
Each system is completely described by a System Hash, and each has a unique id referred to herein as a UUID.
The System Hash
An example JSON-encoded System Hash is shown below:
Index
Retrieve an array of System Hashes for all monitored systems at a site.
Optional parameters:
show_hidden
set to show_hidden=1 to include hidden systems
NOTE: show_hidden defaults to 0, meaning hidden systems are not returned.
CURL Command, and variations:
CURL Response:
Response is a JSON-encoded array of System Hashes.
For example:
Hide
Hide the specified system.
Required params:
UUID as part of the path
Hide Example:
CURL Command, and variations:
CURL Response:
Response is Status 200, “hidden”
Delete
Delete the specified System Hash.
NOTE: in the UI, a system DELETE is referred to as ‘Remove’