Retrieves the software packages for the specified device. Packages include pending updates and currently installed updates/applications.
o required | integer Organization ID for the specified device |
page | integer Default: 0 The page of results you wish to be returned with page numbers starting at 0. See About Automox API - Pagination |
limit | integer [ 1 .. 500 ] Default: 500 A limit on the number of results to be returned, between 1 and 500, with a default of 500. Use with |
Successful Operation
Invalid Request
Access token is missing or invalid
You do not have permission to perform this action.
Entity not found
Too many requests
Service Unavailable
Invalid Request
$apiKey = 'your_automox_api_key' $headers = @{ "Authorization" = "Bearer $apiKey" } $url = "https://console.automox.com/api/servers/123456/packages?o=0000" $response = (Invoke-WebRequest -Method Get -Uri $url -Headers $headers).Content
[- {
- "id": 0,
- "server_id": 0,
- "package_id": 0,
- "software_id": 0,
- "installed": true,
- "ignored": true,
- "deferred_until": "2019-08-24T14:15:22Z",
- "name": "string",
- "display_name": "string",
- "version": "string",
- "repo": "string",
- "group_ignored": true,
- "group_deferred_until": "2019-08-24T14:15:22Z",
- "cves": [
- "string"
], - "cve_score": "string",
- "severity": "no_known_cves",
- "package_version_id": 0,
- "os_name": "string",
- "os_version": "string",
- "os_version_id": 0,
- "create_time": "2019-08-24T14:15:22Z",
- "requires_reboot": true,
- "patch_classification_category_id": 0,
- "patch_scope": "string",
- "is_uninstallable": true,
- "secondary_id": "string",
- "is_managed": true,
- "impact": 0,
- "organization_id": 0,
- "agent_severity": "no_known_cves"
}
]