-
Feature Request
-
Resolution: Done
-
Major
-
3.0.0.CR1
-
None
-
All
As of 3.0.0.CR1, the REST service returns a node's identifier in the "id" element of the Json document. However, there is no way to retrieve a node by it's ID. (See also: MODE-1671).
Add a method that allows retrieval of a node by it's identifier. Perhaps something like:
GET http://localhost:8080/modeshape-rest/sample/default/node/06513e25-db17-4a43-84ca-0c35f8624ab7
{
"self": "http://localhost:8080/modeshape-rest/sample/default/items/sector",
"up": "http://localhost:8080/modeshape-rest/sample/default/items/",
"id": "06513e25-db17-4a43-84ca-0c35f8624ab7",
"jcr:primaryType": "nt:unstructured",
"prop1": "val1",
"children": {...}
}