ListLineage
Queries the upstream and downstream lineage relationships of an entity.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dataworks:* |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| EntityQualifiedName |
string |
Yes |
The unique identifier of the entity. |
maxcompute-table.project.table |
| NextToken |
string |
No |
The pagination token that specifies the starting point of the current read operation. |
next-token-from-previous-request |
| Keyword |
string |
No |
The keyword of the entity name. |
name-keyword |
| Direction |
string |
Yes |
The lineage direction. Valid values:
|
up |
| PageSize |
integer |
No |
The page size. Maximum value: 100. |
10 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
OpenApiMetaResultModel |
||
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| ErrorMessage |
string |
The error message. |
qualifiedName should be in format as entity-table.entity-guid |
| RequestId |
string |
The request ID. Used to locate logs and troubleshoot issues. |
64B-587A-8CED-969E1973887FXXX-TT |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| ErrorCode |
string |
The error code. |
1010040007 |
| Data |
object |
The response structure. |
|
| NextToken |
string |
The pagination token that specifies the starting point of the next read operation. |
nextTokenFromRequest-xxxsd-ff |
| DataEntityList |
array<object> |
The array of entity structures. |
|
|
array<object> |
The entity structure. |
||
| Entity | Entity |
The entity information. |
|
| CreateTimestamp |
integer |
The time when the lineage was created. |
1686215809269 |
| RelationList |
array<object> |
The array of relation structures. |
|
|
object |
The relation structure. |
||
| Guid |
string |
The unique ID of the relation. |
aaabbccddguid |
| Datasource |
string |
The data source. |
maxcompute,mysql |
| Type |
string |
The task type, which describes the relationship type between entities. For example, computed by SQL, mapped by report fields, or defined by API. |
sql |
| Channel |
string |
The data channel. Valid values:
|
THIRD_PARTY |
Examples
Success response
JSON format
{
"HttpStatusCode": 200,
"ErrorMessage": "qualifiedName should be in format as entity-table.entity-guid",
"RequestId": "64B-587A-8CED-969E1973887FXXX-TT",
"Success": true,
"ErrorCode": "1010040007",
"Data": {
"NextToken": "nextTokenFromRequest-xxxsd-ff",
"DataEntityList": [
{
"Entity": {
"QualifiedName": "maxcompute_table.563f0357118d05ef145d6bddf2966cc23e86ca8f2f013f915e565afdf09f7a23",
"TenantId": 12345,
"EntityContent": {
"test": "test",
"test2": 1
}
},
"CreateTimestamp": 1686215809269,
"RelationList": [
{
"Guid": "aaabbccddguid",
"Datasource": "maxcompute,mysql",
"Type": "sql",
"Channel": "THIRD_PARTY"
}
]
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.