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

.Final Graph
["dot", "Final-Graph-Get-incoming-relationships.svg", "neoviz"]
----
  N144 [
    label = "{Node\[144\]|}"
  ]
  N144 -> N145 [
    color = "#2e3436"
    fontcolor = "#2e3436"
    label = "LIKES\n"
  ]
  N144 -> N147 [
    color = "#4e9a06"
    fontcolor = "#4e9a06"
    label = "HATES\n"
  ]
  N145 [
    label = "{Node\[145\]|}"
  ]
  N146 [
    label = "{Node\[146\]|}"
  ]
  N146 -> N144 [
    color = "#2e3436"
    fontcolor = "#2e3436"
    label = "LIKES\n"
  ]
  N147 [
    label = "{Node\[147\]|}"
  ]
  N148 [
    label = "{Node\[148\]|}"
  ]
----

_Example request_

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

_Example response_

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


