Updated on 2022-09-15 GMT+08:00

Obtaining the Instance Result

Function

This API is used to obtain the instance result.

URI

GET /v2/{project_id}/quality/instances/{instance_id}/result

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

projectId

instance_id

Yes

String

projectId

Request Parameters

Table 2 Request header parameters

Parameter

Mandatory

Type

Description

workspace

Yes

String

Workspace information

X-Auth-Token

Yes

String

token

Response Parameters

Status code: 200

Table 3 Response body parameters

Parameter

Type

Description

count

Integer

Quantity

resources

Array of SubInstanceResult objects

resources

Table 4 SubInstanceResult

Parameter

Type

Description

sub_rule_id

String

Sub-rule ID

sub_instance_instance_id

String

Sub-rule instance ID

abnormal_table_status

String

Abnormal table task status. The options are as follows: UNSUPPORTED: not supported; READY: being prepared; RUNNING: running; FAILED: failed; SUCCESS: succeeded.

results

Object

Result set

Status code: 500

Table 5 Response body parameters

Parameter

Type

Description

error_code

String

Error code, for example, DQC.0000 which indicates that the request was successfully processed.

error_msg

String

Error message

Example Requests

None

Example Responses

None

Status Codes

Status Code

Description

200

Success

500

INTERNAL SERVER ERROR