Get information about racks

get/v0.7.0/racks

Query parameters

namestring

Filter racks by name

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

Get list of object names instead of full objects

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

Fold expandable objects

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

Report object types in YAML dumps

format'yaml' | 'json'

Select output format

Response

successful operation

fillratenumber

Rack filling rate.

namestring

The names of the racks in this set.

slotinteger

The first slot used by this set of racks.

tagsstring[]

The list of tags associated to the rack.

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]",
    "nodes": [
      {
        "infrastructure": {
          "description": "HPC cluster",
          "layout": [
            {
              "misc": [],
              "network": [],
              "nodes": [],
              "rack": "A[01-10]",
              "storage": [],
              "tags": [
                "compute"
              ]
            }
          ],
          "name": "mercury",
          "tags": [
            "hpc"
          ]
        },
        "name": "cn[001-0040]",
        "rack": "A[01-10]",
        "slot": 10,
        "tags": [
          "compute",
          "standard"
        ],
        "type": "server"
      }
    ],
    "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,
    "tags": [
      "control"
    ],
    "type": "standard"
  }
]

Changes

Changed in 2 of the 32 revisions of this API.11