Querying Asset Catalog Statistics Charts
Function
This API is used to query statistics charts in an asset catalog. You can filter the statistics charts by group label ID and type ID to obtain the details of the statistics charts, such as bar charts and line charts.
Calling Method
For details, see Calling APIs.
URI
GET /v1/{project_id}/metadata/catalog/statical-chart
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
project_id |
Yes |
String |
Unique project ID. |
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
label_id |
Yes |
String |
Group label ID, which is used to filter the statistical charts of a specific group. You must specify either label_id or type_id. |
|
type_id |
Yes |
String |
Type ID, which is used to filter the statistical charts of a specific type. You must specify either label_id or type_id. |
Request Parameters
None
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
detection_rules |
Array of DetectionRule objects |
Detection rule list. |
|
sensitive_col_infos |
Array of SensitiveColInfo objects |
Sensitive column information list. |
|
total_column_number |
Long |
Total number of columns. |
Example Requests
None
Example Responses
None
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
Query result. |
|
401 |
Unauthorized. The user is not logged in or the token is invalid. |
|
403 |
Unauthorized to access the resource. |
|
404 |
The specified project 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