lineage-graphs
Get expanded node and its edges
Changed onReturns the expanded node and its edges. Up and downstream nodes are not part of the response, edges are. The id is the root node that lineage is requested for. The QRI of the node to expand is sent as the query parameter "node" for expansion.
get/api/v1/lineage-graphs/nodes/{id}/actions/expand
Request
- Base URLhttps://your-tenant.us.qlikcloud.com
- URLhttps://your-tenant.us.qlikcloud.com/api/v1/lineage-graphs/nodes/{id}/actions/expand
- Authnone declared
Path parameters
idstring required
The id (QRI) for the source node.
Query parameters
level'field' | 'table' required
The level to expand to.
nodestring required
The QRI of the node in the upstream graph for expansion.
collapseboolean
To collapse internal nodes, set to true, false otherwise.
upinteger
The number of upstream levels of nodes retrieved to expand. (5 if not provided, -1 means unlimited)
Response
Successful Operation.
Example response
{
"graph": {
"type": "RESOURCE",
"edges": [
{
"id": "1",
"source": "qri:app:sense://e5c651d5-1198-45a2-be5d-f016cee0baf5",
"target": "qri:app:sense://e5c651d5-1198-45a2-be5d-f016cee0baf5"
}
],
"label": "Sales Data",
"directed": true,
"metadata": {
"total": 1,
"createdAt": "2023-10-05T14:48:00.000Z",
"producerId": "qri:db:oracle://LfxVj_3du3GYdWdNaa721lOWvbhENXEArBpl58h96YE#ZfH0lkXnTTGu7QGnIvKZpIxFNagQivBtnbC_cAoCPOs"
}
}
}Changes
- info
added the optional property
to the response with the status
- info
- info
endpoint added
- info