View processing result output version list¶
Lists the version of the output content of the specified processing results.
GET $CLOUDSIGMA_API_BASE/lineage/artifacts/{artifact_id}/blocks/{block_id}/revisions
Before you call¶
Configure the CloudSigma regional endpoint and authentication before calling. The endpoint, credentials, workspace, and resource IDs must belong to the same region. Prepare personal access token and target workspace ID that can access the target workspace.
Select the actual and complete target product and node execution.
Request parameters¶
Replace $ARTIFACT_ID, $BLOCK_ID, $CLOUDSIGMA_API_KEY, $WORKSPACE_ID in the example with actual values.
curl -X GET "$CLOUDSIGMA_API_BASE/lineage/artifacts/$ARTIFACT_ID/blocks/$BLOCK_ID/revisions" \
-H "X-API-Key: $CLOUDSIGMA_API_KEY" \
-H "X-Workspace-ID: $WORKSPACE_ID"
This interface is not paginated.
Parameter |
Type |
Required |
Description |
|---|---|---|---|
|
string |
Yes |
A composite identifier composed of the root asset ID and the source run ID, encoded as a path segment. |
|
string |
Yes |
Output content ID. |
artifact_id is a composite identifier composed of the root asset ID and the source run ID, for example, asset-001:case-001. Encode the complete value as a path segment. node_id uses the full node path, such as root.prepare, and cannot be replaced by an arbitrary display name.
Successful response¶
{
"code": "OK",
"msg": "OK",
"data": {
"artifact_id": "asset-001:case-001",
"block_id": "block-001",
"revisions": []
}
}
Field |
Type |
Description |
|---|---|---|
|
string |
Processing result ID. |
|
string |
Full node path. |
|
string |
Node execution ID. |
|
string |
Output product ID. |
|
string |
Output content ID. |
|
array of object |
A list of versions of this output. |
|
string |
Revision ID. |
|
string |
The workspace ID to which it belongs. |
|
string |
Rerun branch ID. |
|
string |
target range. Value: |
|
string |
Root asset ID. |
|
string |
Output product ID. |
|
string |
Run ID. |
|
string |
Node execution ID. |
|
string |
Output block ID. |
|
string |
Baseline revision ID. |
|
string |
Baseline content reference. |
|
string |
Summary of baseline content. |
|
integer |
Baseline effective revision set version. Not less than 0. |
|
string |
Newly revised content cited. |
|
string |
Summary of new revisions. |
|
string |
Non-empty patches are not currently supported. |
|
string |
status. Values: |
|
string |
Creator. |
|
string |
Creation time. RFC 3339 time. |
Error response¶
When the target is missing, the run record selection is ambiguous, or the content integrity is inconsistent, the interface returns an error. data in the business error response is null.
{
"code": "ErrParamInvalid",
"msg": "请求参数无效",
"data": null
}
Field |
Type |
Required |
Description |
|---|---|---|---|
|
string |
No |
error code. |
|
string |
No |
Readable error message. |
|
null |
No |
null in error response. |