Endpoint:

Parameters:

You can find the parameters for the servers/{id}/packages API call by navigating to the endpoint detail page for the target device in question (i.e. https://console.automox.com/endpoint-detail?s=68439&o=6)

organization_id: Is the o= parameter of the query string (o=6 above)

server_id: is the s= parameter of the query string (s=68439 above)

Request:

Response:

This will return a JSON array of packages found and available for this device. You'll want to filter this JSON response by looking for packages where the installed attribute is false, such as the following excerpt from a servers/{id}/packages response:

Endpoint:

Parameters:

You can find the parameters for the servers/{id}/queues API call by navigating to the endpoint detail page for the target device in question (i.e. https://console.automox.com/endpoint-detail?s=68439&o=6)

organization_id: Is the o= parameter of the query string (o=6 above)

server_id: is the s= parameter of the query string (s=68439 above)

POST Data Parameters:

The following POST data parameters must be supplied in the request body as a JSON-formatted object:

command_type_name: ["InstallUpdate" | "Reboot"] - indicates the command you wish to perform on the device. For this example, we will be using "InstallUpdate"

args: ["\"org.mozilla.firefox\" \"com.google.Chrome\""] - A space-delimited list of packages you'd like to have installed on the endpoint. The package names are derived from the name attribute of the response JSON in step two. don't forget to escape the quotes if you're specifying multiple packages.