Help Center/ Data Security Center/ API Reference/ API Description/ Metadata and Asset Catalogs/ Obtaining the Metadata General Information List
Updated on 2026-01-13 GMT+08:00

Obtaining the Metadata General Information List

Function

This API is used to obtain the metadata label list based on the specified category. You can filter labels by project ID and category to obtain corresponding label information.

Calling Method

For details, see Calling APIs.

URI

GET /v1/{project_id}/metadata/tags/{category}

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

category

Yes

String

Label category, which is used to filter labels of a specific category.

project_id

Yes

String

Unique project ID.

Request Parameters

None

Response Parameters

Status code: 200

Table 2 Response body parameters

Parameter

Type

Description

[items]

Array of CommonIdNameInfo objects

Label list.

Table 3 CommonIdNameInfo

Parameter

Type

Description

id

String

Identifier.

name

String

Name.

tag_gen_type

String

Label generation type.

Example Requests

None

Example Responses

None

Status Codes

Status Code

Description

200

Label list of a successful request.

401

Unauthorized. The user is not logged in or the token is invalid.

403

Unauthorized to access the resource.

404

The specified project or category does not exist.

Error Codes

See Error Codes.