Skip to content

Get Disk Usage

GET
/zfs/pools/disks-usage
curl --request GET \
--url https://sylve.lan:8181/api/zfs/pools/disks-usage \
--header 'Authorization: <Authorization>'

Get the overall disk usage percentage across all ZFS pools

Disk usage percentage

Media typeapplication/json
object
data
object
total
number
usage
number
error
string
message
string
status
string
Examplegenerated
{
"data": {
"total": 1,
"usage": 1
},
"error": "example",
"message": "example",
"status": "example"
}

Internal Server Error

Media typeapplication/json
object
data
error
string
message
string
status
string
Examplegenerated
{
"data": "example",
"error": "example",
"message": "example",
"status": "example"
}