Get the status of all the data-sources. Users can only see data-sources with at least one group belonging to that data-source. If a user has the "admin.connect" access right, it can also see all the disconnected data-sources.
HTTP/1.1 200 OK
[
{
"name": "Database #0",
"configIndex": 0,
"key": "a2e3c50f",
"connected": true,
"state": "ready",
"reason": "The data-source is ready.",
"settings": {
"strictSchema": false
"alternativeIds": {
"node": "name",
"edge": "altEdgeID"
},
"skipEdgeIndexation": false,
"readOnly": false
},
"features": {
"immutableNodeCategories": false,
"canCount": true,
"alerts": true,
"dialects": [
"cypher"
],
"externalIndex": false,
"alternativeIds": true,
"canIndexEdges": true,
"searchHitsCount": true
},
"indexState": {
"searchEnabled": true,
"visibilityConsistent": true,
"propertyTypeConsistent": true,
"indexOptimized": true
},
"defaultPropertiesOrder": {
"nodes": {
"CITY": ["name", "size"],
"COMPANY": ["name", "country"]
},
"edges": {
"INVESTED_IN": ["amount", "funded_month"]
}
}
}, {
"name": "Database #1",
"configIndex": 1,
"key": "ef984bb0",
"connected": true,
"state": "needIndex",
"reason": "The data-source needs to be indexed.",
"settings": {
// ...
},
"features": {
// ...
},
"defaultPropertiesOrder": {
"nodes": {
"CITY": ["name", "size"],
"COMPANY": ["name", "country"]
},
"edges": {
"INVESTED_IN": ["amount", "funded_month"]
}
}
}, {
"name": "Database #2",
"configIndex": 2,
"key": null,
"connected": false,
"state": "offline",
"reason": "Could not connect to graph database server.",
"error": "Connection refused (check your username and password)",
"settings": {
// ...
},
"features": {
// ...
},
"defaultPropertiesOrder": {
"nodes": {
"CITY": ["name", "size"],
"COMPANY": ["name", "country"]
},
"edges": {
"INVESTED_IN": ["amount", "funded_month"]
}
}
}
]
HTTP/1.1 200 OK
[{
"name": "Database #0",
"configIndex": 0,
"connected": true,
"key": "4ee5973b",
"state": "ready",
"reason": "The data-source is ready.",
"settings": {
"readOnly": false,
"strictSchema": false,
"alternativeIds": {},
"skipEdgeIndexation": true
},
"features": {
"immutableNodeCategories": false,
"canCount": false,
"alerts": false,
"dialects": [
"cypher"
],
"externalIndex": true,
"alternativeIds": false,
"canIndexEdges": false,
"searchHitsCount": false,
"canDryRun": false,
"supportNativeDate": false
},
"indexState": {
"searchEnabled": true,
"visibilityConsistent": true,
"propertyTypeConsistent": true,
"indexOptimized": true
},
"defaultStyles": {
"node": [{
"index": 0,
"type": "any",
"style": {
"color": {
"type": "auto",
"input": [
"categories"
]
}
}
}],
"edge": []
},
"defaultCaptions": {
"nodes": {
"CITY": {
"active": true,
"displayName": true,
"properties": [
"name"
]
},
"COMPANY": {
"active": true,
"displayName": false,
"properties": [
"name",
"country"
]
}
},
"edges": {
"INVESTED_IN": {
"active": true,
"displayName": true,
"properties": [
"funded_month"
]
}
}
},
"defaultPropertiesOrder": {
"nodes": {
"CITY": ["name", "size"],
"COMPANY": ["name", "country"]
},
"edges": {
"INVESTED_IN": ["amount", "funded_month"]
}
}
}]