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}
|
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
|
Parameter |
Type |
Description |
|---|---|---|
|
[items] |
Array of CommonIdNameInfo objects |
Label list. |
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.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot