Overview

DescriptionUsed to list all the available cartridges (single tenant and multi-tenant) in Apache Stratos
URL

/cartridge/list

HTTP MethodGET
Request/Response Format

application/json

Example

Use case: List all the available cartridges in Apache Stratos. The example request is as follows:

curl -X GET -H "Content-Type: application/json" -k -v -u admin:admin https://<SM_HOST>:9443/stratos/admin/cartridge/list

Sample response

{
  "cartridge": [
    {
      "activeInstances": 0,
      "cartridgeAlias": "-",
      "cartridgeType": "lb",
      "defaultAutoscalingPolicy": "aspolicy",
      "description": "Stratos LB Cartridge",
      "displayName": "stratos load balancer",
      "hostName": "stratos.com",
      "loadBalancer": true,
      "multiTenant": false,
      "persistance": false,
      "provider": "lb",
      "version": 4
    },
    {
      "activeInstances": 0,
      "cartridgeAlias": "-",
      "cartridgeType": "php",
      "description": "PHP Cartridge",
      "displayName": "PHP",
      "hostName": "stratos.com",
      "loadBalancer": false,
      "multiTenant": false,
      "persistance": false,
      "provider": "stratos",
      "version": 7
    }
  ]
}