Graphs

List all graphs

Lists all graphs stored in this GeoFabric.

get/_fabric/{fabric}/_api/graph

Request

Path parameters

fabricstring string required

The name of the fabric.

Response

Successfully fetched graphs.

codeinteger

HTTP response code.

errorboolean required

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

Example response

{
  "code": 200,
  "graphs": [
    {
      "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.