[[rest-api-find-relationship-by-exact-match-from-an-automatic-index]]
=== Find relationship by exact match from an automatic index ===

See the example request.


.Final Graph
["dot", "Final-Graph-Find-relationship-by-exact-match-from-an-automatic-index.svg", "neoviz"]
----
  N209 [
    label = "{Node\[209\]|}"
  ]
  N210 [
    label = "{Node\[210\]|}"
  ]
  N210 -> N209 [
    color = "#2e3436"
    fontcolor = "#2e3436"
    label = "know\nsince = \'today\'\l"
  ]
----

_Example request_

* *+GET+*  +http://localhost:7474/db/data/index/auto/relationship/since/today/+
* *+Accept:+* +application/json+

_Example response_

* *+200:+* +OK+
* *+Content-Type:+* +application/json+
[source,javascript]
----
[ {
  "start" : "http://localhost:7474/db/data/node/210",
  "data" : {
    "since" : "today"
  },
  "self" : "http://localhost:7474/db/data/relationship/91",
  "property" : "http://localhost:7474/db/data/relationship/91/properties/{key}",
  "properties" : "http://localhost:7474/db/data/relationship/91/properties",
  "type" : "know",
  "extensions" : {
  },
  "end" : "http://localhost:7474/db/data/node/209"
} ]
----


