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

.Final Graph
["dot", "Final-Graph-Get-outgoing-relationships.svg", "neoviz"]
----
  N93 [
    label = "{Node\[93\]|}"
  ]
  N93 -> N94 [
    color = "#2e3436"
    fontcolor = "#2e3436"
    label = "LIKES\n"
  ]
  N93 -> N96 [
    color = "#4e9a06"
    fontcolor = "#4e9a06"
    label = "HATES\n"
  ]
  N94 [
    label = "{Node\[94\]|}"
  ]
  N95 [
    label = "{Node\[95\]|}"
  ]
  N95 -> N93 [
    color = "#2e3436"
    fontcolor = "#2e3436"
    label = "LIKES\n"
  ]
  N96 [
    label = "{Node\[96\]|}"
  ]
  N97 [
    label = "{Node\[97\]|}"
  ]
----

_Example request_

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

_Example response_

* *+200:+* +OK+
* *+Content-Type:+* +application/json+
[source,javascript]
----
[ {
  "start" : "http://localhost:7474/db/data/node/93",
  "data" : {
  },
  "self" : "http://localhost:7474/db/data/relationship/44",
  "property" : "http://localhost:7474/db/data/relationship/44/properties/{key}",
  "properties" : "http://localhost:7474/db/data/relationship/44/properties",
  "type" : "LIKES",
  "extensions" : {
  },
  "end" : "http://localhost:7474/db/data/node/94"
}, {
  "start" : "http://localhost:7474/db/data/node/93",
  "data" : {
  },
  "self" : "http://localhost:7474/db/data/relationship/46",
  "property" : "http://localhost:7474/db/data/relationship/46/properties/{key}",
  "properties" : "http://localhost:7474/db/data/relationship/46/properties",
  "type" : "HATES",
  "extensions" : {
  },
  "end" : "http://localhost:7474/db/data/node/96"
} ]
----


