diff options
Diffstat (limited to 'graphgraph-fe/src/requests.js')
-rw-r--r-- | graphgraph-fe/src/requests.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/graphgraph-fe/src/requests.js b/graphgraph-fe/src/requests.js index 39c4b03..2494ba1 100644 --- a/graphgraph-fe/src/requests.js +++ b/graphgraph-fe/src/requests.js @@ -5,6 +5,10 @@ export function schemas () { return `http://${host}:${port}/schemas` } +export function validateSchema (schema) { + return `http://${host}:${port}/schemas/${schema}/validation` +} + export function nodeNames (schema, edgeFilter) { return `http://${host}:${port}/schemas/${schema}/nodes?edgeFilter=${edgeFilter}` } @@ -23,4 +27,4 @@ export function nodeProperty (schema, node) { export function edgeProperty (schema, fromNode, toNode) { return `http://${host}:${port}/schemas/${schema}/edges?fromNode=${fromNode}&toNode=${toNode}` -}
\ No newline at end of file +} |