Skip Navigation Links | |
Exit Print View | |
![]() |
Oracle® ZFS Storage Appliance RESTful Application Programming Interface |
Chapter 2 Working with the API
Chapter 3 Alert Service Commands
Chapter 8 Problem Service Commands
This command returns the properties from a single storage pool along with storage usage information for the pool. HTTP Status 200 (OK) is returned for a successful command.
Example Request:
GET /api/storage/v1/pools/gold HTTP/1.1 Host: zfs-storage.example.com Accept: application/json
Example Response:
HTTP/1.1 200 OK Content-Type: application/json { "pool": { "profile": "raidz1", "name": "gold", "usage": { "available": 2388000726016, "total": 2388001816576, "dedupratio": 100, "used": 1090560 }, "peer": "00000000-0000-0000-0000-000000000000", "state": "online", "owner": "tanana", "asn": "2f4aeeb3-b670-ee53-e0a7-d8e0ae410749" } }