List software packages for specific device

Retrieves the software packages for the specified device. Packages include pending updates and currently installed updates/applications.

SecuritybearerAuth
Request
path Parameters
id
required
integer

Server ID for the specified device.

query Parameters
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 page parameter. See About Automox API - Pagination

Responses
200

Successful Operation

400

Invalid Request

401

Access token is missing or invalid

403

You do not have permission to perform this action.

404

Entity not found

429

Too many requests

503

Service Unavailable

default

Invalid Request

get/servers/{id}/packages
Request samples
$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
Response samples
application/json
[
  • {
    • "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"
    }
]