List Docker Tags

JFrog REST APIs

Products
JFrog Xray
Content Type
REST API
ft:sourceType
Paligo

Description: Lists all tags of the specified Artifactory Docker repository.

Since: 4.4.3. The n and last pagination parameters are supported from version 5.4.6.

Notes on List Docker Tags

  • Requires JFrog Container Registry or Artifactory Pro

  • To enable fetch from cache using the ListDockerRepositories and the ListDockerTags rest APIs, set the artifactory.docker.catalogs.tags.fallback.fetch.remote.cache system property to true (default false) in the artifactory.system.properties file.

Security: Requires a privileged user

Usage: GET /api/docker/{repo-key}/v2/{image name}/tags/list?n=<Number of consecutive tags>&last=<last tag position (numeric) from previous response>

Produces: application/json

{
  "name": "<image name>",
  "tags" : ["<tag>"]
}

Sample Usage:

GET /api/docker/{repo-key}/v2/{image name}/tags/list?n=<number of consecutive tags>&last=<last tag position (numeric) from previous response>
{
  "name" : "postgres",
  "tags" : [ "9.5.2" ]
}