Page tree

Overview

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

The Get Products API retrieves products for a specified category for a specified product list.   

You can use the Get Product Lists API to find the product list ID (id) and category (category).


Sample request

GET https://api.armor.com/products/1/instance

Input

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

API Call / URLMethod / Type

/products/{id}/{category}

GET

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

ParameterDescriptionFormatRequired or optionalExample
idID for the product list of the desired productsIntegerRequired
categoryCategory of the desired products in the product listStringRequired

Sample return

StatusResponse
200
[
 {
   "name": "A1-CentOS 6",
   "sku": "A1-101",
   "category": "Instance",
   "description": "Armor-hardened 64-bit CentOS 6 image with 30GB SSD storage",
   "typeCode": "PT01",
   "price": [
     {
       "location": "DFW01",
       "amount": 25,
       "units": null
     },
     {
       "location": "PHX01",
       "amount": 25,
       "units": null
     }
   ],
   "priceType": "PerUnit",
   "instanceSeries": "A",
   "cpu": 1,
   "memory": 2,
   "baseDiskSize": 30,
   "baseDiskTier": "SSD",
   "operatingSystem": "CentOS 6",
   "billingOnly": false
 },
 {
   "name": "A1-CentOS 7",
   "sku": "A1-102",
   "category": "Instance",
   "description": "Armor-hardened 64-bit CentOS 7 image with 30GB SSD storage",
   "typeCode": "PT01",
   "price": [
     {
       "location": "DFW01",
       "amount": 25,
       "units": null
     },
     {
       "location": "PHX01",
       "amount": 25,
       "units": null
     }
   ],
   "priceType": "PerUnit",
   "instanceSeries": "A",
   "cpu": 1,
   "memory": 2,
   "baseDiskSize": 30,
   "baseDiskTier": "SSD",
   "operatingSystem": "CentOS 7",
   "billingOnly": false
 }
]
400
Bad Request



In this topic



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