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

.Final Graph
["dot", "Final-Graph-Get-outgoing-relationships.svg", "neoviz"]
----
  N81 [
    label = "{Node\[81\]|}"
  ]
  N81 -> N82 [
    color = "#2e3436"
    fontcolor = "#2e3436"
    label = "LIKES\n"
  ]
  N81 -> N84 [
    color = "#4e9a06"
    fontcolor = "#4e9a06"
    label = "HATES\n"
  ]
  N82 [
    label = "{Node\[82\]|}"
  ]
  N83 [
    label = "{Node\[83\]|}"
  ]
  N83 -> N81 [
    color = "#2e3436"
    fontcolor = "#2e3436"
    label = "LIKES\n"
  ]
  N84 [
    label = "{Node\[84\]|}"
  ]
  N85 [
    label = "{Node\[85\]|}"
  ]
----

_Example request_

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

_Example response_

* *+200:+* +OK+
* *+Content-Type:+* +application/json+
[source,javascript]
----
[ {
  "start" : "http://localhost:7474/db/data/node/81",
  "data" : {
  },
  "self" : "http://localhost:7474/db/data/relationship/37",
  "property" : "http://localhost:7474/db/data/relationship/37/properties/{key}",
  "properties" : "http://localhost:7474/db/data/relationship/37/properties",
  "type" : "LIKES",
  "extensions" : {
  },
  "end" : "http://localhost:7474/db/data/node/82"
}, {
  "start" : "http://localhost:7474/db/data/node/81",
  "data" : {
  },
  "self" : "http://localhost:7474/db/data/relationship/39",
  "property" : "http://localhost:7474/db/data/relationship/39/properties/{key}",
  "properties" : "http://localhost:7474/db/data/relationship/39/properties",
  "type" : "HATES",
  "extensions" : {
  },
  "end" : "http://localhost:7474/db/data/node/84"
} ]
----


