Container Metrics

Get current container storage

Changed on

Latest stored writable-layer and volume size for a specific container. Returns null when no storage row has been recorded for the container.

get/api/container/{containerId}/disk/current

Request

  • The document declares no server URL.
  • Auth: HTTP bearer

Path parameters

containerIdstring required

Exact container display name recorded by Sentinel

Response

Current container storage (or null)

human_friendly_timestring nullable
timestring required
volumesTotalinteger required
writableLayerinteger required

Changes

    • breaking

      added subschema #1 to the response body oneOf list for the response status

    • breaking

      removed the media type application/json for the response with the status

    • breaking

      removed the media type application/json for the response with the status

    • info

      api operation id disk_current was added

    • info

      the endpoint scheme security bearerAuth was added to the API

    • info

      removed the pattern ^[a-zA-Z0-9._-]+$ from the path request parameter containerId

    • info

      removed from the response body allOf list for the response status

    • info

      endpoint added