Get Flow Graph
GET
/endpoints/flow/graph
This endpoint helps you understand the flow from the endpoint to further neighbours in code in a parent - child relationship.
Headers
Name
Value
Authorization
Bearer <token>
Query Params
Name
Type
Description
project_id
string
The project id generated during parsing of the code
endpoint_id
string
The endpoint identifier that points to the specific node you want to generate graph from
Response
[
{
"function": "/server.py:list", //the function that was hit by the endpoint
"params": "[{\"identifier\": \"_\", \"type\": null}]", // the parameters of the function
"response_object": "", // response object attached to the function
"children": [ //further nodes and flow
{
"function": "/server.py:API.get",
"params": "[{\"identifier\": \"self\", \"type\": null}, {\"identifier\": \"path\", \"type\": null}]",
"response_object": "",
"children": []
}
]
}
]
Last updated
Was this helpful?