Get information about racks

get/racks

Query parameters

namestring

Filter racks by name

{"stackTrail":"paths:/racks:get:parameters:1:schema","oasType":"schema","type":"unknown"}

Get list of object names instead of full objects

{"stackTrail":"paths:/racks:get:parameters:2:schema","oasType":"schema","type":"unknown"}

Fold expandable objects

{"stackTrail":"paths:/racks:get:parameters:3:schema","oasType":"schema","type":"unknown"}

Report object types in YAML dumps

format'yaml' | 'json'

Select response format

Response

successful operation

namestring

The names of the racks in this set.

slotinteger

The first slot used by this set of racks.

typestring

Unique identifier of the rack type.

Example response

[
  {
    "datacenter": {
      "name": "north",
      "rooms": [
        {
          "dimensions": {
            "depth": 15000,
            "width": 10000
          },
          "name": "noisy",
          "rows": [
            {
              "name": "computeA",
              "position": {
                "depth": 3000,
                "rotation": 90,
                "width": 2000
              },
              "reversed": true
            }
          ]
        }
      ]
    },
    "name": "A[01-10]",
    "room": {
      "datacenter": {
        "name": "north"
      },
      "dimensions": {
        "depth": 15000,
        "width": 10000
      },
      "name": "noisy",
      "rows": [
        {
          "name": "computeA",
          "position": {
            "depth": 3000,
            "rotation": 90,
            "width": 2000
          },
          "reversed": true
        }
      ]
    },
    "row": {
      "name": "computeA",
      "position": {
        "depth": 3000,
        "rotation": 90,
        "width": 2000
      },
      "reversed": true
    },
    "slot": 2,
    "type": "standard"
  }
]

Changes