Cache usage breakdown
GET/cache/usage
Required role: viewer. An account or token with the viewer or admin role can call this operation.
Example request
curl --request GET \
--header "Authorization: Bearer $HOSERVA_TOKEN" \
"https://$HOSERVA_HOST:8008/api/v1/cache/usage"
Appdata / pending-moves / other byte breakdown for the cache disk. Computed as a by-product of each mover run, never a live directory walk on a timer. Null when no mover run has computed it yet.
Responses
- 200
- default
The latest persisted breakdown, or null when none has been computed yet.
An error response.