v1

latestOpenAPI 3.0.02026-08-0482248.5 KB
impact

Get next-level nodes

Returns next-level nodes inside a specified node on an impact analysis graph retrieved using a base node.

get/api/v1/lineage-graphs/impact/{id}/actions/expand

Path parameters

idstring required

The QRI for base node.

Query parameters

level'field' | 'table' required

The level to get the nodes on.

nodestring required

The node in the downstream graph to get next-level nodes for. For instance, to get the TABLE level nodes inside a RESOURCE level node, use the RESOURCE level QRI for the node. Similarly, use the TABLE level QRI to get the FIELD level nodes. If a TABLE level QRI is used with level parameter being TABLE, only the RESOURCE level of the node will be taken into consideration.

downinteger

The number of downstream resource levels nodes to retrieve. (5 if not provided, -1 means unlimited and 1 means direct lineage)

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"
    }
  }
}
All 8 operations