Data Governance Guide
Also available as:
PDF
loading table of contents...

RexsterGraphResource

Jersey Resource for lineage metadata operations. Implements most of the GET operations of the Rexster API without the indexes. This is a subset of the Rexster REST API, designed to provide read-only methods for accessing the back-end graph. See https://github.com/tinkerpop/rexster/wiki/Basic-REST-API.

The following resources are applicable:

/graph/edges/{id}

GET

Fetches a single edge with a unique ID.

For example, GET http://host/metadata/lineage/edges/id graph.getEdge(id);

Parameters

name

description

type

default

id

path

Response Body

element:

(custom)

media types:

application/json

/graph/vertices

GET

Fetches a list of vertices that match a property key and value.

For example, GET http://host/metadata/lineage/vertices?key=&value= graph.getVertices(key,value);

Parameters

name

description

type

default

key

query

value

query

Response Body

element:

(custom)

media types:

application/json

/graph/vertices/{id}

GET

Fetches a single vertex with a unique ID.

For example, GET http://host/metadata/lineage/vertices/id graph.getVertex(id);

Parameters

name

description

type

default

id

path

Response Body

element:

(custom)

media types:

application/json

/graph/vertices/{id}/{direction}

GET

Fetches a list of adjacent edges with a direction.

For example, GET http://host/metadata/lineage/vertices/id /directiongraph.getVertex(id).get{Direction}Edges(); direction:{(?!outE)(?!bothE)(?!inE)(?!out)(?!both)(?!in)(?!query).+}

Parameters

name

description

type

default

id

path

direction

path

Response Body

element:

(custom)

media types:

application/json

/graph/vertices/properties/{id}

GET

Fetches properties for a single vertex with a unique ID.

For example, GET http://host/metadata/lineage/vertices/ properties/id

[Note]Note

This method is not part of the Rexster API.

Parameters

name

description

type

default

id

path

relationships

query

false

Response Body

element:

(custom)

media types:

application/json