Container Metrics

Get container storage history

Changed on

Historical writable-layer and volume sizes for a specific container

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

Request

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

Path parameters

containerIdstring required

Exact container display name recorded by Sentinel

Query parameters

fromstring

Start date in ISO 8601 format (UTC). Defaults to the Unix epoch (all recorded history) when omitted.

tostring

End date in ISO 8601 format (UTC). Defaults to now when omitted.

Response

Container storage history

human_friendly_timestring nullable
timestring required
volumesTotalinteger required
writableLayerinteger required

Changes

    • 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

    • breaking

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

    • breaking

      the response property / became nullable for the status

    • breaking

      the / response's property type changed from string to string null, and format from date-time to no format for status

    • info

      api operation id disk_history 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

      for the query request parameter from, the format was generalized from date-time to no format

    • info

      for the query request parameter to, the format was generalized from date-time to no format

    • info

      the response property / became required for the status

    • info

      the response property / became required for the status

    • info

      the response property / became required for the status

    • info

      endpoint added