System
Get data usage information
Changed onget/system/df
Request
- Base URL/v1.57 (relative, and the document was published on a file host, not at the API’s origin)
- Authnone declared
Query parameters
typestring[]
Object types, for which to compute and return data.
verboseboolean
Show detailed information on space usage.
Response
no error
Example response
{
"ImageUsage": {
"ActiveCount": 1,
"TotalCount": 4,
"Reclaimable": 12345678,
"TotalSize": 98765432
},
"ContainerUsage": {
"ActiveCount": 1,
"TotalCount": 4,
"Reclaimable": 12345678,
"TotalSize": 98765432
},
"VolumeUsage": {
"ActiveCount": 1,
"TotalCount": 4,
"Reclaimable": 12345678,
"TotalSize": 98765432
},
"BuildCacheUsage": {
"ActiveCount": 1,
"TotalCount": 4,
"Reclaimable": 12345678,
"TotalSize": 98765432
}
}Changes
- breaking
removed the media type
application/jsonfor the response with the status - info
api tag
Systemadded - info
added the non-success response with the status
- breaking
- breaking
for the
queryrequest parameterverbose, default valuefalsewas removed - info
api tag
Systemremoved - info
queryrequest parametertypelist-of-types was widened by adding typesstring - info
for the
queryrequest parametertype, the type was generalized fromarrayto no type - info
removed the non-success response with the status
- breaking