Queries the ancestor or descendant lineage of an entity.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
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 is used in the next request to retrieve a new page of results. | next-token-from-previous-request |
Keyword | string | No | The keyword of the entity name. | name-keyword |
Direction | string | Yes | The lineage type. Valid values: | up |
PageSize | integer | No | The number of entries per page. Maximum value: 100. | 10 |
Response parameters
Examples
Sample success responses
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": "mysql",
"Type": "sql",
"Channel": "THIRD_PARTY"
}
]
}
]
}
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history