v1

latestOpenAPI 3.0.02026-07-14285059.6 KB
images

Get summary of repository's images

Gets the number of images in a repository and the number of images counted as active and inactive.

get/v2/namespaces/{namespace}/repositories/{repository}/images-summary

Path parameters

namespacestring required

Namespace of the repository.

repositorystring required

Name of the repository.

Query parameters

active_fromstring

Sets the time from which an image must have been pushed or pulled to be counted as active.

Defaults to 1 month before the current time.

Response

Success

active_fromstring

Time from which an image must have been pushed or pulled to be counted as active.

Example response

{
  "active_from": "2021-01-25T14:25:37.076343059Z",
  "statistics": {
    "active": 2,
    "inactive": 1,
    "total": 3
  }
}