Page tree

Overview

The Get Tiers API retrieves all the tiers associated with a specified workload.  

You can use the Get Workloads API to find the workloadID (id). 



Sample request

GET https://api.armor.com/apps/1/tiers

Input

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

API Call / URLMethod / Type

/apps/{appId}/tiers

GET

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

ParameterDescriptionRequired or optionalTypeExample
appIdThe ID of the workload that contains the tierRequiredInteger1



Sample return

StatusResponse
200
{
 "tiers": [
   {
     "id": 5,
     "name": "New Tier 1",
     "vms":[]
   },
   {
     "id": 7,
     "name": "New Tier 3",
     "vms": []
   }
 ]
}
400