Graphs

Get a graph

Fetch information for a graph. Returns the edge definitions and orphan collections.

get/_fabric/{fabric}/_api/graph/{graph}

Request

Path parameters

fabricstring string required

The name of the fabric.

graphstring string required

The name of the graph.

Response

Successfully fetched the graph data.

codeinteger

HTTP response code.

errorboolean required

Flag if there is an error in response. False for this response.

Example response

{
  "code": 200,
  "graph": {
    "_id": "_graphs/graph1",
    "_key": "graph1",
    "_rev": "_drxzsai--_",
    "edgedefinitions": [
      {
        "collection": "edgeName",
        "from": [
          "sourceNode"
        ],
        "to": [
          "destinationNode"
        ]
      }
    ],
    "name": "graph1",
    "orphanCollections": [
      "emptyNode"
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.