Returns a list of lineage descendants for a specified asset.
Request
Path parameters
| Key | Required | Type | Value | Description |
|---|---|---|---|---|
| assetId | Yes | string | objectId |
Specifies object ID for asset to retrieve lineage descendants. |
Query parameters
| Key | Required | Type | Value | Description |
|---|---|---|---|---|
| filter | No | string | field:operator(value):index |
Filter the results by specifying one or more filters. Filter operators:
By default, multiple filter expressions are combined in an AND expression. Filter expressions can be grouped by appending the optional group For example, these filter expressions are in two different groups (0 and 1), so the combined expressions return results where
Filter expressions are case insensitive by default. |
| sort | No | string |
asc(field) or desc(field) |
Sort the results by a field in ascending or descending order Specify Example: To first sort by
field1 in ascending order and then by field2 in descending order, use two sort expressions: |
| offset | No | number | number of
records |
The number of records to skip before returning results. The minimum is |
| limit | No | number | number of
records |
The number of records to return per page. The minimum is |
| searchDescendants | No | boolean | true|false |
Specifies whether to search descendants. |
Response
The successful response returns the collection of lineage descendants for the specified asset.
Response body
Example status code responses for this method are shown here. To view the response schemas, you can download the Data Catalog APIs Open API Specification from the Precisely Developer Portal.
{
"data": {
"scoreBands": [
{
"label": "ScoreBand1",
"color": "Red",
"minimumValue": -61922373.88669453
},
{
"label": "ScoreBand2",
"color": "Green",
"minimumValue": 13813117.273766905
}
],
"assets": [
{
"assetId": "a8E130783eCA5bF54aC6617f",
"displayValue": "Asset1",
"score": 15956289.99138628,
"matches": -40381182.54943379
},
{
"assetId": "fdFa09298f2AB87C13BEb44b",
"displayValue": "Asset2",
"score": -77469074.9466831,
"matches": -8723197.747335836
}
],
"relations": [
{
"subjectId": "cf9f2CEE1DeDf411F18682Bf",
"objectId": "Ee95095c360DbdF7D9Bd2b60",
"direct": true,
"subjectParentId": "feeDbe63dFc3dEFcD47eFd76",
"objectParentId": "45A7D20A0DB76FDaa0BFF9C8"
},
{
"subjectId": "761FeDC7ecF6dBa49cFFC4d1",
"objectId": "2d98ABfBAF4cBd74CEe1dfbc",
"direct": false,
"subjectParentId": "DA2591b99eBd9529fA43B53F",
"objectParentId": "1Ae3efDd8f14c3D29822d80B"
}
],
"total": -26419628.216018602
},
"links": {
"self": "https://api.cloud.precisely.com/lineage/:assetId/assets"
}
}{
"statusCode": 400,
"error": "Bad Request",
"message": "Bad Request"
}{
"statusCode": 401,
"error": "Unauthorized",
"message": "Authentication required"
}{
"statusCode": 404,
"error": "Not Found",
"message": "Resource not found"
}{
"statusCode": 429,
"error": "Too Many Requests",
"message": "Rate limit exceeded"
}{
"statusCode": 500,
"error": "Internal Server Error",
"message": "An unexpected error occurred"
}{
"statusCode": 503,
"error": "Service Unavailable",
"message": "Service temporarily unavailable"
}{
"statusCode": 504,
"error": "Gateway Timeout",
"message": "Request timeout"
}