🚧 This website is still under construction. Please stay tuned. 🚧
Developers
API
Graph Endpoints

Graph Responses

The graph endpoints are used by the TEDective UI to create graphs that are presented to the user. As long as your intent is not to build graphs using react-force-graphs (opens in a new tab), you are probably going to find JSON responses more useful.

The 200 response from the API has the following structure:

{
  "nodes": [
    {
      "id": "id1",
      "name": "name1",
      "val": 1
    },
    {
      "id": "id2",
      "name": "name2",
      "val": 10
    }
  ],
  "links": [
    {
      "source": "id1",
      "target": "id2"
    }
  ]
}