| Skip Navigation Links | |
| Exit Print View | |
|
Oracle® ZFS Storage Appliance RESTful Application Programming Interface |
The get chassis command does not take any arguments and returns a list of system chassis objects. An HTTP Status 200 (OK) is returned for a successful command.
|
Example Request:
GET /api/hardware/v1/chassis HTTP/1.1 Host: zfs-storage.example.com:215 Accept: application/json
Example Response:
HTTP/1.1 200 OK
Content-Length: 788
Content-Type: application/json
X-Zfssa-Appliance-Api: 1.0
{
"hardware": [{
"faulted": false,
"href": "/api/hardware/v1/chassis/chassis-000",
"manufacturer": "Oracle",
"model": "Oracle ZFS Storage ZS3-1",
"name": "cairo",
"rpm": "--",
"serial": "1211FM200C",
"type": "system"
}, {
"faulted": false,
"href": "/api/hardware/v1/chassis/chassis-001",
"locate": false,
"manufacturer": "Oracle",
"model": "Oracle Storage DE2-24C",
"name": "1235FM4002",
"part": "7046842",
"path": 2,
"revision": "0010",
"rpm": 7200,
"serial": "1235FM4002",
"type": "storage"
}, {
"faulted": false,
"href": "/api/hardware/v1/chassis/chassis-002",
"locate": false,
"manufacturer": "Oracle",
"model": "Oracle Storage DE2-24P",
"name": "50050cc10c206b96",
"part": "7046836",
"path": 2,
"revision": "0010",
"rpm": 10000,
"serial": "50050cc10c206b96",
"type": "storage"
}]
}