Querying the List of Image Repository Tags

Function

Query all image tags of an image repository.

URI

GET /v2/manage/namespaces/{namespace}/repos/{repository}/tags?filter=offset::{offset}|limit::{limit}|order_column::{order_column}|order_type::{order_type}|tag::{tag}

For details about parameters, see Table 1.

Table 1 Parameter description

Parameter

Mandatory

Type

Description

namespace

Yes

String

Organization name

repository

Yes

String

Image repository name.

offset

No

Integer

Start index.

limit

No

Integer

Number of responses.

order_column

No

String

Sorting by column. You can set this parameter to updated_at (sorting by update time).

order_type

No

String

Sorting type. You can set this parameter to desc (descending sort) and asc (ascending sort).

tag

No

String

Image tag name.

Request

Response

Status Code

Status Code

Description

200

All tags in the image repository are successfully queried.

400

Request error. Error information is returned.

401

Authentication failed.

404

The repository does not exist.

500

Internal error. Error information is returned.