Page tree

Overview

This API call applies to both Armor Complete and Armor Anywhere users.

The Get Packages API retrieves data for the operating system patching status for a specific virtual machine. 

You can use the Get Packages Status API to find the Instance ID (coreInstanceId).


Sample request

GET https://api.armor.com/core/packages/cb9eb09b-29e2-4312-81e2-cbee2e1c1fc5

Input

The following table describes the different parts of this API call: 

API Call / URLMethod / Type
/core/packages/{coreinstanceid}GET

The following table describes the parameter (or parameters) for this API call:

ParameterDescriptionFormatRequired or optionalExample
coreInstanceIDThe ID of the core instanceGUIDRequiredcb9eb09b-29e2-4312-81e2-cbee2e1c1fc5



Sample return

StatusResponse
200
{
 "coreInstanceId": "cb9eb09b-29e2-4312-81e2-cbee2e1c1fc5",
 "syncTime": "2015-12-14T09:46:53.513",
 "name": "Ubuntu 14.04",
 "provider": "Linux",
 "packages": [
   {
     "name": "libcgmanager0",
     "updateType": "update",
     "version": "0.24-0ubuntu7.5",
     "actualVersion": "0.24",
     "release": null,
     "architecture": "amd64",
     "installDate": null,
     "dateAvailable": "2015-09-15T18:54:44",
     "needUpdate": true
   }
 ]
}
400
Bad Request





In this topic



Have a suggestion for the Armor Knowledge Base? Send a message to kb@armor.com.