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

.Final Graph
["dot", "Final-Graph-Get-outgoing-relationships.svg", "neoviz"]
----
  N149 [
    label = "{Node\[149\]|}"
  ]
  N149 -> N150 [
    color = "#2e3436"
    fontcolor = "#2e3436"
    label = "LIKES\n"
  ]
  N149 -> N152 [
    color = "#4e9a06"
    fontcolor = "#4e9a06"
    label = "HATES\n"
  ]
  N150 [
    label = "{Node\[150\]|}"
  ]
  N151 [
    label = "{Node\[151\]|}"
  ]
  N151 -> N149 [
    color = "#2e3436"
    fontcolor = "#2e3436"
    label = "LIKES\n"
  ]
  N152 [
    label = "{Node\[152\]|}"
  ]
  N153 [
    label = "{Node\[153\]|}"
  ]
----

_Example request_

* *+GET+*  +http://localhost:7474/db/data/node/149/relationships/out+
* *+Accept:+* +application/json+

_Example response_

* *+200:+* +OK+
* *+Content-Type:+* +application/json+
[source,javascript]
----
[ {
  "start" : "http://localhost:7474/db/data/node/149",
  "data" : {
  },
  "self" : "http://localhost:7474/db/data/relationship/54",
  "property" : "http://localhost:7474/db/data/relationship/54/properties/{key}",
  "properties" : "http://localhost:7474/db/data/relationship/54/properties",
  "type" : "LIKES",
  "extensions" : {
  },
  "end" : "http://localhost:7474/db/data/node/150"
}, {
  "start" : "http://localhost:7474/db/data/node/149",
  "data" : {
  },
  "self" : "http://localhost:7474/db/data/relationship/56",
  "property" : "http://localhost:7474/db/data/relationship/56/properties/{key}",
  "properties" : "http://localhost:7474/db/data/relationship/56/properties",
  "type" : "HATES",
  "extensions" : {
  },
  "end" : "http://localhost:7474/db/data/node/152"
} ]
----


