[[rest-api-get-incoming-relationships]]
=== Get incoming relationships ===

.Final Graph
["dot", "Final-Graph-Get-incoming-relationships.svg", "neoviz"]
----
  N88 [
    label = "{Node\[88\]|}"
  ]
  N88 -> N89 [
    color = "#2e3436"
    fontcolor = "#2e3436"
    label = "LIKES\n"
  ]
  N88 -> N91 [
    color = "#4e9a06"
    fontcolor = "#4e9a06"
    label = "HATES\n"
  ]
  N89 [
    label = "{Node\[89\]|}"
  ]
  N90 [
    label = "{Node\[90\]|}"
  ]
  N90 -> N88 [
    color = "#2e3436"
    fontcolor = "#2e3436"
    label = "LIKES\n"
  ]
  N91 [
    label = "{Node\[91\]|}"
  ]
  N92 [
    label = "{Node\[92\]|}"
  ]
----

_Example request_

* *+GET+*  +http://localhost:7474/db/data/node/88/relationships/in+
* *+Accept:+* +application/json+

_Example response_

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


