Can we create a new API based on JanusGraph?


Robert Dale <rob...@...>
 


To which API are you referring?

There is the graph API - http://tinkerpop.apache.org/docs/current/reference/#_the_graph_structure
There is the traversal API (preferred) - http://tinkerpop.apache.org/docs/current/reference/#traversal

Then there are ways of accessing the API:
- Direct graph access (embedded) - graph = JanusGraphFactory.open('conf/janusgraph-cassandra-es.properties')
- Script transport over HTTP - http://tinkerpop.apache.org/docs/current/reference/#_connecting_via_rest
- Script transport over WebSocket - http://tinkerpop.apache.org/docs/current/reference/#connecting-via-java
- Traversal (bytecode) transport over WebSocket - http://tinkerpop.apache.org/docs/current/reference/#connecting-via-remotegraph


On Wednesday, August 16, 2017 at 8:56:06 PM UTC-4, st...@... wrote:
Hello Rafael
I've built the API use JanusGraph Server, and i have successfully access the api with
```
```
In gremlin console i can index my vertex with 
```
 g.V().has('id_number', '3207221555223216')  
```
I want to know how to get the same result with API
在 2017年8月14日星期一 UTC+8下午11:06:52,Rafael Fernandes写道:
no need my friend, just use JanusGraph Server...

rafael fernandes

On Sunday, August 13, 2017 at 11:27:57 PM UTC-4, hu junjie wrote:
I mean open new API to get the customized data or post formatted data and load to JanusGraph.


stan...@...
 

Hello Rafael
I've built the API use JanusGraph Server, and i have successfully access the api with
```
 curl 'http://localhost:8182/?gremlin=g.V()'
```
In gremlin console i can index my vertex with 
```
 g.V().has('id_number', '3207221555223216')  
```
I want to know how to get the same result with API
在 2017年8月14日星期一 UTC+8下午11:06:52,Rafael Fernandes写道:

no need my friend, just use JanusGraph Server...

rafael fernandes

On Sunday, August 13, 2017 at 11:27:57 PM UTC-4, hu junjie wrote:
I mean open new API to get the customized data or post formatted data and load to JanusGraph.


Rafael Fernandes <luizr...@...>
 

no need my friend, just use JanusGraph Server...
have a look at this: http://docs.janusgraph.org/0.1.1/server.html

rafael fernandes

On Sunday, August 13, 2017 at 11:27:57 PM UTC-4, hu junjie wrote:
I mean open new API to get the customized data or post formatted data and load to JanusGraph.


hu junjie <hjj...@...>
 

I mean open new API to get the customized data or post formatted data and load to JanusGraph.