[[rest-api-get-node---compact]]
=== Get node - compact ===

<p/>
Specifying the subformat in the requests media type yields a more compact
JSON response without metadata and templates.


.Final Graph
["dot", "Final-Graph-Get-node---compact.svg", "neoviz"]
----
  N0 [
    label = "{Node\[0\]|}"
  ]
  N4 [
    label = "{Node\[4\]|}"
  ]
----

_Example request_

* *+GET+*  +http://localhost:7474/db/data/node/4+
* *+Accept:+* +application/json; compact=true+

_Example response_

* *+200:+* +OK+
* *+Content-Type:+* +application/json; compact=true+
[source,javascript]
----
{
  "data" : {
  },
  "self" : "http://localhost:7474/db/data/node/4"
}
----


