Obtaining Standard Coverage Statistics
Function
This API is used to obtain standard coverage statistics.
URI
GET /v2/{project_id}/design/definitions/statistic/{id}
| 
        Parameter  | 
      
        Mandatory  | 
      
        Type  | 
      
        Description  | 
     
|---|---|---|---|
| 
        project_id  | 
      
        Yes  | 
      
        String  | 
      
        Project ID  | 
     
| 
        id  | 
      
        Yes  | 
      
        String  | 
      
        Entity ID  | 
     
| 
        Parameter  | 
      
        Mandatory  | 
      
        Type  | 
      
        Description  | 
     
|---|---|---|---|
| 
        biz_type  | 
      
        No  | 
      
        String  | 
      
        Business types  | 
     
Request Parameters
None
Response Parameters
Status code: 200
| 
        Parameter  | 
      
        Type  | 
      
        Description  | 
     
|---|---|---|
| 
        all_col_num  | 
      
        Long  | 
      
        Total number of fields  | 
     
| 
        col_num  | 
      
        Long  | 
      
        Number of associated standard fields  | 
     
| 
        coverage  | 
      
        Double  | 
      
        Standard coverage rate  | 
     
| 
        details  | 
      
        Array of AllTableVO objects  | 
      
        Overview table  | 
     
| 
        Parameter  | 
      
        Type  | 
      
        Description  | 
     
|---|---|---|
| 
        id  | 
      
        Long  | 
      
        l1 ID  | 
     
| 
        name  | 
      
        String  | 
      
        L1 name  | 
     
| 
        tb_logic_guid  | 
      
        String  | 
      
        GUID of the logical entity corresponding to the published table  | 
     
| 
        quality_id  | 
      
        String  | 
      
        Quality ID  | 
     
| 
        reversed  | 
      
        Boolean  | 
      
        Whether the table is reversed Default: false  | 
     
| 
        partition_conf  | 
      
        String  | 
      
        Partition expression  | 
     
| 
        dirty_out_switch  | 
      
        Boolean  | 
      
        Whether to export dirty data Default: false  | 
     
| 
        dirty_out_database  | 
      
        String  | 
      
        Database to which dirty data will be exported  | 
     
| 
        dirty_out_prefix  | 
      
        String  | 
      
        Prefix of an abnormal table  | 
     
| 
        dirty_out_suffix  | 
      
        String  | 
      
        Suffix of an abnormal table  | 
     
| 
        tb_guid  | 
      
        String  | 
      
        GUID of the physical table corresponding to the published table  | 
     
| 
        code  | 
      
        String  | 
      
        Code  | 
     
| 
        create_by  | 
      
        String  | 
      
        Creator  | 
     
| 
        tenant_id  | 
      
        String  | 
      
        Tenant ID  | 
     
| 
        description  | 
      
        String  | 
      
        Description Maximum: 200  | 
     
| 
        status  | 
      
        String  | 
      
        Business statuses Enumeration values: 
  | 
     
| 
        biz_type  | 
      
        String  | 
      
        Business types Enumeration values: 
  | 
     
| 
        create_time  | 
      
        String  | 
      
        Creation time  | 
     
| 
        update_time  | 
      
        String  | 
      
        Update time  | 
     
| 
        db_name  | 
      
        String  | 
      
        Database name  | 
     
| 
        dw_type  | 
      
        String  | 
      
        Data connection type  | 
     
| 
        queue_name  | 
      
        String  | 
      
        Queue required for a DLI data connection to execute SQL statements. This parameter is mandatory for DLI data connections.  | 
     
| 
        schema  | 
      
        String  | 
      
        Schema, which is required for DWS  | 
     
| 
        l1  | 
      
        String  | 
      
        Subject area group  | 
     
| 
        l2  | 
      
        String  | 
      
        Subject area  | 
     
| 
        l3  | 
      
        String  | 
      
        Business object  | 
     
| 
        l1_id  | 
      
        Long  | 
      
        Subject area group ID  | 
     
| 
        l2_id  | 
      
        String  | 
      
        Subject area ID  | 
     
| 
        l3_id  | 
      
        Long  | 
      
        Business object ID  | 
     
| 
        new_biz  | 
      
        BizVersionManageVO object  | 
      
        Business version management  | 
     
| 
        physical_table  | 
      
        String  | 
      
        Table creation status Enumeration values: 
  | 
     
| 
        technical_asset  | 
      
        String  | 
      
        Technical asset synchronization status Enumeration values: 
  | 
     
| 
        business_asset  | 
      
        String  | 
      
        Logical asset synchronization status Enumeration values: 
  | 
     
| 
        meta_data_link  | 
      
        String  | 
      
        Asset association status Enumeration values: 
  | 
     
| 
        data_quality  | 
      
        String  | 
      
        Quality job status Enumeration values: 
  | 
     
| 
        dlf_task  | 
      
        String  | 
      
        Data development job status Enumeration values: 
  | 
     
| 
        materialization  | 
      
        String  | 
      
        Storage status of the lookup table value Enumeration values: 
  | 
     
| 
        publish_to_dlm  | 
      
        String  | 
      
        DLM API generation status Enumeration values: 
  | 
     
| 
        summary_status  | 
      
        String  | 
      
        Overall synchronization status Enumeration values: 
  | 
     
| 
        standard_count  | 
      
        Long  | 
      
        Number of standards  | 
     
| 
        alias  | 
      
        String  | 
      
        Alias  | 
     
| 
        api_id  | 
      
        String  | 
      
        Summary table API ID  | 
     
| 
        workspace_id  | 
      
        String  | 
      
        Workspace ID  | 
     
| 
        workspace_name  | 
      
        String  | 
      
        Workspace name  | 
     
| 
        Parameter  | 
      
        Type  | 
      
        Description  | 
     
|---|---|---|
| 
        id  | 
      
        Long  | 
      
        ID information  | 
     
| 
        biz_type  | 
      
        String  | 
      
        Business types Enumeration values: 
  | 
     
| 
        biz_id  | 
      
        Long  | 
      
        Business ID  | 
     
| 
        biz_info  | 
      
        String  | 
      
        Business object information  | 
     
| 
        status  | 
      
        String  | 
      
        Business statuses Enumeration values: 
  | 
     
| 
        biz_version  | 
      
        Integer  | 
      
        Business version  | 
     
| 
        create_time  | 
      
        String  | 
      
        Creation time  | 
     
| 
        update_time  | 
      
        String  | 
      
        Update time  | 
     
Status code: 400
| 
        Parameter  | 
      
        Type  | 
      
        Description  | 
     
|---|---|---|
| 
        error_code  | 
      
        String  | 
      
        Error code, for example, DS.000 which indicates that the request was successfully processed.  | 
     
| 
        error_msg  | 
      
        String  | 
      
        Error message  | 
     
| 
        data  | 
      
        Object  | 
      
        Returned data  | 
     
Status code: 401
| 
        Parameter  | 
      
        Type  | 
      
        Description  | 
     
|---|---|---|
| 
        error_code  | 
      
        String  | 
      
        Error code, for example, DS.000 which indicates that the request was successfully processed.  | 
     
| 
        error_msg  | 
      
        String  | 
      
        Error message  | 
     
| 
        data  | 
      
        Object  | 
      
        Returned data  | 
     
Status code: 403
| 
        Parameter  | 
      
        Type  | 
      
        Description  | 
     
|---|---|---|
| 
        error_code  | 
      
        String  | 
      
        Error code, for example, DS.000 which indicates that the request was successfully processed.  | 
     
| 
        error_msg  | 
      
        String  | 
      
        Error message  | 
     
| 
        data  | 
      
        Object  | 
      
        Returned data  | 
     
Example Requests
None
Example Responses
Status code: 200
The operation succeeds. StatisticStandardCoverageVO is returned.
{
  "all_col_num" : "182",
  "col_num" : "1",
  "coverage" : 0.005494505494505495,
  "details" : [ {
    "id" : "873249129940361216",
    "name" : "Standard trip data",
    "tb_logic_guid" : "3aaca75c-8399-423d-aedb-2e09db2b7f79",
    "quality_id" : "873249649983729665",
    "reversed" : null,
    "partition_conf" : null,
    "dirty_out_switch" : false,
    "dirty_out_database" : "",
    "dirty_out_prefix" : "",
    "dirty_out_suffix" : "",
    "tb_guid" : "51e5cfbe-3f6f-4caf-a216-b35eeffb0f56",
    "code" : "dwi_taxi_trip_data",
    "create_by" : "abc",
    "tenant_id" : "0cf68da0ba80f2962ff7c01ba8c0b7f7-workspace-f7eee36e67e541a59679f9b1b7f4eab0",
    "description" : "None",
    "status" : "PUBLISHED",
    "biz_type" : "TABLE_MODEL",
    "create_time" : "2021-08-06T17:00:17+08:00",
    "update_time" : "2022-08-23T19:25:54+08:00",
    "db_name" : "demo_dwi_db",
    "dw_type" : "DLI",
    "queue_name" : null,
    "schema" : "",
    "l1" : null,
    "l2" : null,
    "l3" : null,
    "l1_id" : null,
    "l2_id" : null,
    "l3_id" : "873233352591908864",
    "new_biz" : null,
    "physical_table" : "CREATE_SUCCESS",
    "technical_asset" : "UPDATE_SUCCESS",
    "business_asset" : "UPDATE_SUCCESS",
    "meta_data_link" : "UPDATE_SUCCESS",
    "data_quality" : "UPDATE_SUCCESS",
    "dlf_task" : "NO_NEED",
    "materialization" : null,
    "publish_to_dlm" : null,
    "summary_status" : "SUMMARY_SUCCESS",
    "standard_count" : "1",
    "alias" : null,
    "api_id" : "0",
    "workspace_id" : "f7eee36e67e541a59679f9b1b7f4eab0",
    "workspace_name" : "taxi-demo"
  } ]
}
 Status Codes
| 
        Status Code  | 
      
        Description  | 
     
|---|---|
| 
        200  | 
      
        The operation succeeds. StatisticStandardCoverageVO is returned.  | 
     
| 
        400  | 
      
        BadRequest  | 
     
| 
        401  | 
      
        Unauthorized  | 
     
| 
        403  | 
      
        Forbidden  | 
     
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.