Obtaining the List of Specified Metadata Categories
Function
This API is used to obtain the list of specified metadata categories.
Calling Method
For details, see Calling APIs.
Authorization Information
Each account has all the permissions required to call all APIs, but IAM users must be assigned the required permissions. For details about the required permissions, see Permissions Policies and Supported Actions.
URI
GET /v1/{project_id}/ffs/metadata/categories
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| project_id | Yes | String | Definition Project ID. For details, see Obtaining a Project ID. Constraints N/A. Range The value contains 32 characters. Only letters and digits are allowed. Default Value N/A. |
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| locale | No | String | locale |
Request Parameters
None
Response Parameters
Status code: 200
| Parameter | Type | Description |
|---|---|---|
| categories | Object | Metadata element. |
| Parameter | Type | Description |
|---|---|---|
| type | String | Type. |
| display | String | Display name. |
| parent | String | Parent directory. |
Status code: 400
| Parameter | Type | Description |
|---|---|---|
| error_code | String | Error code. |
| error_msg | String | Error description. |
| request_id | String | Request ID. |
Status code: 500
| Parameter | Type | Description |
|---|---|---|
| error_code | String | Error code. |
| error_msg | String | Error description. |
| request_id | String | Request ID. |
Example Requests
None
Example Responses
Status code: 200
{
"categories" : {
"type" : "trigger",
"display" : "***",
"parent" : "***"
}
} Status Codes
| Status Code | Description |
|---|---|
| 200 | List of specified metadata categories. |
| 400 | Bad Request |
| 500 | Internal Server Error |
Error Codes
See Error Codes.
What is your overall rating for this page?
Thank 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