RexsterGraphResource
Jersey Resource for lineage metadata operations. Implements most of the GET operations of Rexster API with out the indexes. https://github.com/tinkerpop/rexster/wiki/Basic-REST-API This is a subset of Rexster's REST API, designed to provide only read-only methods for accessing the backend graph.
The following resources are applicable:
- /graph/edges/{id}
- /graph/vertices
- /graph/vertices/{id}
- /graph/vertices/{id}/{direction}
- /graph/vertices/properties/{id}
/graph/edges/{id}
GET
Get a single edge with a unique id. GET http://host/metadata/lineage/edges/id graph.getEdge(id);
Parameters
name | description | type | default |
---|---|---|---|
id | (no documentation provided) | path |
Response Body
element: | (custom) |
media types: | application/json |
(no documentation provided)
/graph/vertices
GET
Get a list of vertices matching a property key and a value.
GET http://host/metadata/lineage/vertices?key=Parameters
name | description | type | default |
---|---|---|---|
key | (no documentation provided) | query | |
value | (no documentation provided) | query |
Response Body
element: | (custom) |
media types: | application/json |
(no documentation provided)
/graph/vertices/{id}
GET
Get a single vertex with a unique id. GET http://host/metadata/lineage/vertices/id graph.getVertex(id);
Parameters
name | description | type | default |
---|---|---|---|
id | (no documentation provided) | path |
Response Body
element: | (custom) |
media types: | application/json |
(no documentation provided)
/graph/vertices/{id}/{direction}
GET
Get a list of adjacent edges with a direction. GET http://host/metadata/lineage/vertices/id/direction graph.getVertex(id).get{Direction}Edges(); direction: {(?!outE)(?!bothE)(?!inE)(?!out)(?!both)(?!in)(?!query).+}
Parameters
name | description | type | default |
---|---|---|---|
id | (no documentation provided) | path | |
direction | (no documentation provided) | path |
Response Body
element: | (custom) |
media types: | application/json |
(no documentation provided)
/graph/vertices/properties/{id}
GET
Get properties for a single vertex with a unique id. This is NOT a rexster API.
GET http://host/metadata/lineage/vertices/properties/idParameters
name | description | type | default |
---|---|---|---|
id | (no documentation provided) | path | |
relationships | (no documentation provided) | query | false |
Response Body
element: | (custom) |
media types: | application/json |
(no documentation provided)