View processing result output contents

Output block that lists the workflow products. Output blocks can be used to read revision records or to switch active revisions.

HTTP
GET $CLOUDSIGMA_API_BASE/lineage/artifacts/{artifact_id}/output-blocks

Before you call this API

Configure the regional API endpoint and authentication, and select the target workspace.

Request

Shell
curl -X GET "$CLOUDSIGMA_API_BASE/lineage/artifacts/$ARTIFACT_ID/output-blocks" \
  -H "X-API-Key: $CLOUDSIGMA_API_KEY" \
  -H "X-Workspace-ID: $WORKSPACE_ID"

Request parameters

Successful response

When the request is successful, the data of this operation is returned. Just because the write or run request has been accepted does not mean that the subsequent processing has been completed; please confirm the result based on the return status or subsequent query.

The response fields are as follows.

JSON
{
  "code": "OK",
  "msg": "OK",
  "data": {"artifact_id": "art-001", "blocks": []}
}
FieldTypeDescription
data.artifact_idstringProduct ID.
data.node_idstringNode ID; returned when querying the node range.
data.blocksarrayOutput block list.

Error response

JSON
{
  "code": "ErrParamInvalid",
  "msg": "请求参数无效",
  "data": null
}
FieldTypeDescription
codestringError code.
msgstringReadable error message.
datanull`null` in an error response.
Last updated on