[[rest-api-get-relationship-by-id]]
=== Get Relationship by ID ===

.Final Graph
["dot", "Final-Graph-get-Relationship-by-ID.svg", "neoviz"]
----
  N41 [
    label = "{Node\[41\]|name = \'you\'\l}"
  ]
  N42 [
    label = "{Node\[42\]|name = \'I\'\l}"
  ]
  N42 -> N41 [
    color = "#2e3436"
    fontcolor = "#2e3436"
    label = "know\n"
  ]
----

_Example request_

* *+GET+*  +http://localhost:7474/db/data/relationship/15+
* *+Accept:+* +application/json+

_Example response_

* *+200:+* +OK+
* *+Content-Type:+* +application/json+
[source,javascript]
----
{
  "start" : "http://localhost:7474/db/data/node/42",
  "data" : {
  },
  "self" : "http://localhost:7474/db/data/relationship/15",
  "property" : "http://localhost:7474/db/data/relationship/15/properties/{key}",
  "properties" : "http://localhost:7474/db/data/relationship/15/properties",
  "type" : "know",
  "extensions" : {
  },
  "end" : "http://localhost:7474/db/data/node/41"
}
----


