This method allows you to search your previous node scans for key words and return a JSON result.

Method URL
GET /api/v1/node_scans/search.json?query=item&[options]

Parameters

Param Type Required Notes
query string Yes The query string you wish to search for
type string No The type name (eg Packages, Users) you wish to restrict the query to
environment_id integer No The id of the environment you wish to restrict the query to
node_group_id int No The id of the node group you wish to restrict the query to
exact_match boolean No Whether or not the results should exactly match the search text

Example Response

Code Status
200 OK

Example Response JSON

{
    "node_id": 6,
    "node_name": "SERVER_XYZ",
    "scan_date": "2014-06-28T21:24:24-07:00",
    "data": {
        "packages": {
        "windows": {
                "Adobe Flash Player 11 ActiveX": {
                "name": "Adobe Flash Player 11 ActiveX",
                "version": "11.3.300.257"
                }
            }
        }
    }
}
Tags: node scans