Querying the Image Repository List

Function

Query the image repository list.

URI

GET /v2/manage/repos?filter=center::self|namespace::{namespace}|name::{name}|category::{category}|offset::{offset}|limit::{limit}|order_column::{order_column}|order_type::{order_type}

For details about parameters, see Table 1.

At least one filter parameter must be transferred.

Table 1 Parameter description

Parameter

Mandatory

Type

Description

center

No

String

The value can only be self, indicating that the image is a self-owned image.

namespace

No

String

Organization name.

name

No

String

Image repository name.

category

No

String

Image repository type. The value can be app_server, linux, framework_app, database, lang, other, windows, or arm.

offset

No

String

Start index.

Ensure that the offset and limit parameters are used together.

limit

No

String

Number of returned records.

Ensure that the offset and limit parameters are used together.

order_column

No

String

Sorting criteria. The value can be name, updated_time, or tag_count.

Ensure that the order_column and order_type parameters are used together.

order_type

No

String

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

Ensure that the order_column and order_type parameters are used together.

Request

Response

Status Code

Status Code

Description

200

Request successful.

400

Request error. Error information is returned.

401

Authentication failed.

500

Internal error. Error information is returned.