[[rest-api-get-relationship-types]]
=== Get relationship types ===

.Final Graph
["dot", "Final-Graph-Get-relationship-types.svg", "neoviz"]
----
  N306 [
    label = "{Node\[306\]|}"
  ]
  N306 -> N307 [
    color = "#2e3436"
    fontcolor = "#2e3436"
    label = "foo\n"
  ]
  N307 [
    label = "{Node\[307\]|}"
  ]
  N308 [
    label = "{Node\[308\]|}"
  ]
  N308 -> N309 [
    color = "#4e9a06"
    fontcolor = "#4e9a06"
    label = "bar\n"
  ]
  N309 [
    label = "{Node\[309\]|}"
  ]
----

_Example request_

* *+GET+*  +http://localhost:7474/db/data/relationship/types+
* *+Accept:+* +application/json+

_Example response_

* *+200:+* +OK+
* *+Content-Type:+* +application/json+
[source,javascript]
----
[ "to", "knowledge", "foo", "know", "related-to", "has", "knows", "LOVES", "some type", "HATES", "tested-together", "likes", "KNOWS", "dislikes", "bar", "LIKES", "TYPE" ]
----


