GET /v0.7.0/racks
Changed onGet information about racks
Request
- The document declares no server URL.
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
namestring
Filter racks by name
listunknown
Get list of object names instead of full objects
foldunknown
Fold expandable objects
with_objects_typesunknown
Report object types in YAML dumps
format'yaml' | 'json'
Select output format
Response
successful operation
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
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking