Apache AGE — Console & API

Pilote ta base graphe PostgreSQL avec Cypher.

Graphes

Lister, créer et supprimer les graphes.

Console Cypher

Exécuter n'importe quelle requête Cypher sur un graphe.

API REST

JSON sous /api — graphs, nodes, edges, cypher.

Endpoints REST

MéthodeCheminDescription
GET/api/graphsListe des graphes
POST/api/graphsCrée un graphe — body: {name}
DELETE/api/graphs/:nameSupprime un graphe
GET/api/graphs/:g/nodesListe des nœuds (option ?label=Foo&limit=10)
POST/api/graphs/:g/nodesCrée un nœud — body: {label, properties}
GET/api/graphs/:g/nodes/:idRécupère un nœud par id
GET/api/graphs/:g/nodes/by-name/:nameRecherche par nom (options ?label=&property=&limit=)
PATCH/api/graphs/:g/nodes/:idMet à jour les propriétés
DELETE/api/graphs/:g/nodes/:idSupprime (DETACH)
GET/api/graphs/:g/edgesListe des relations
POST/api/graphs/:g/edgesCrée une relation — body: {fromId, toId, label, properties}
PATCH/api/graphs/:g/edges/:idMet à jour les propriétés
DELETE/api/graphs/:g/edges/:idSupprime la relation
POST/api/graphs/:g/cypherCypher libre — body: {query, params, columns}