List All Software Packages for All Devices

This will list all pending/installed updates, and all installed applications, for all devices in a given organization.

SecuritybearerAuth
Request
path Parameters
id
required
integer

Organization ID for retrieving package list.

query Parameters
includeUnmanaged
integer <int64>

Include applications Automox does not currently support for patching.

Enum: 0 1
awaiting
integer <int64>

Filter based installation status of package. awaiting=1: Packages that are currently available but not installed. awaiting=0: Packages that are already installed.

Enum: 0 1
o
required
integer

Organization ID of the target organization.

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

get/orgs/{id}/packages
Request samples
$apiKey = 'your_automox_api_key'
$headers = @{ "Authorization" = "Bearer $apiKey" }
$url = 'https://console.automox.com/api/orgs/0000/packages?o=0000&awaiting=1&includeUnmanaged=0'
$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": "string",
    • "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": "string"
    }
]