Index
This method allows you to retrieve a detailed change report for your organization.
Method | URL |
---|---|
GET | /api/v1/change_report.json |
GET | /api/v1/change_report.csv |
Parameters
Param | Type | Required | Notes |
---|---|---|---|
weeks | integer | No | The time span, in weeks, from which to retrieve changes |
environment_id | string | No | The environment to retrieve changes for |
node_group_id | integer | No | The node group to retrieve changes for |
node_id | string | No | The node to retrieve changes for |
date_from | string | No | Start date to retrieve changes |
date_to | string | No | End date to retrieve changes |
Example Response
Code | Status |
---|---|
200 | OK |
Example Response
{
"diff_counts": [{
"count": "1",
"status": "added",
"updated_at": "2015-08-19"
},
{
"count": "4",
"status": "modified",
"updated_at": "2015-08-19"
}],
"diff_items": [{
"name": "Microsoft Visual C++ 2008 Redistributable - x86 9.0.30729.4148",
"node_name": "GENERIC NODE NAME",
"type": "packages",
"old_attrs": null,
"new_attrs": "{\"name\":\"Microsoft Visual C++ 2008 Redistributable - x86 9.0.30729.4148\",\"version\":\"9.0.30729.4148\"}",
"updated_at": "2015-08-19 14:53:36.915933",
"status": "added"
},
{
"name": "WinHTTP Web Proxy Auto-Discovery Service",
"node_name": "GENERIC NODE NAME",
"type": "services",
"old_attrs": "{\"DisplayName\":\"WinHTTP Web Proxy Auto-Discovery Service\",\"ServiceName\":\"WinHttpAutoProxySvc\",\"enabled\":\"Manual\",\"state\":\"Stopped\",\"User\":\"NT AUTHORITY\\LocalService\"}",
"new_attrs": "{\"DisplayName\":\"WinHTTP Web Proxy Auto-Discovery Service\",\"ServiceName\":\"WinHttpAutoProxySvc\",\"enabled\":\"Manual\",\"state\":\"Running\",\"User\":\"NT AUTHORITY\\LocalService\"}",
"updated_at": "2015-08-19 14:53:36.915933",
"status": "modifed"
},
{
"name": "Application Experience",
"node_name": "GENERIC NODE NAME",
"type": "services",
"old_attrs": "{\"DisplayName\":\"Application Experience\",\"ServiceName\":\"AeLookupSvc\",\"enabled\":\"Manual\",\"state\":\"Running\",\"User\":\"localSystem\"}",
"new_attrs": "{\"DisplayName\":\"Application Experience\",\"ServiceName\":\"AeLookupSvc\",\"enabled\":\"Manual\",\"state\":\"Stopped\",\"User\":\"localSystem\"}",
"updated_at": "2015-08-19 14:53:36.915933",
"status": "modifed"
},
{
"name": "Background Intelligent Transfer Service",
"node_name": "GENERIC NODE NAME",
"type": "services",
"old_attrs": "{\"DisplayName\":\"Background Intelligent Transfer Service\",\"ServiceName\":\"BITS\",\"enabled\":\"Manual\",\"state\":\"Stopped\",\"User\":\"LocalSystem\"}",
"new_attrs": "{\"DisplayName\":\"Background Intelligent Transfer Service\",\"ServiceName\":\"BITS\",\"enabled\":\"Auto\",\"state\":\"Running\",\"User\":\"LocalSystem\"}",
"updated_at": "2015-08-19 14:53:36.915933",
"status": "modifed"
},
{
"name": "scriptrock_version",
"node_name": "GENERIC NODE NAME",
"type": "inventory",
"old_attrs": "{\"value\":\"3.2.3\"}",
"new_attrs": "{\"value\":\"3.3.0\"}",
"updated_at": "2015-08-19 14:53:36.915933",
"status": "modifed"
}]
}