Installed Software Packages
This endpoint returns list of packages installed on the workload.
GET /openapi/v1/workload/{uuid}/packages
Path Parameter |
Description |
---|---|
uuid |
Agent UUID |
Response
The respone is an array of package JSON objects. The package object’s schema is described below:
Attribute |
Type |
Description |
---|---|---|
architecture |
string |
Architecture of the package |
name |
string |
Name of the package |
publisher |
string |
Publisher of the package |
version |
string |
Version of the package |
Sample Python code
agent_uuid = 'aa28b304f5c79b2f22d87a5af936f4a8fa555894'
resp = restclient.get('/workload/%s/packages' % (agent_uuid))