Skip to content

Graph Database

All interactions with the Neo4j graph database requires authentication.

Web interface

Visit Neo4j Browser to browse data using a web interface.

REST API

All rest operations require authentication. To authenticate, set the following HEADER value:

Key Value
Authorization Basic YXBpLWFjY2VzczozVUFtVSV6d1VTXg==

Note that the value is a Base64 hash of "username:password" for the "api-access" user.

List top level endpoints

[GET] http://airflow.uptogether.org:7474/db/data

List all nodes types in database

[GET] http://airflow.uptogether.org:7474/db/data/labels

List all relationship types in database

[GET] http://airflow.uptogether.org:7474/db/data/relationship/types

Run a cypher query

Cypher is the query language of Neo4j. Find more information here: Chapter 3. Cypher - The Neo4j Developer Manual v3.4

[POST] http://airflow.uptogether.org:7474/db/data/transaction/commit

body:
{
  "statements" : [ {
    "statement" : "MATCH(n:Family) RETURN(n);",
    "includeStats" : true
  } ]
}