Hi Justin, That's what exactly I was looking for. What I want is to create a node and take its UUID. So now I should add jcr:mixinTypes=*mix*:*referenceable **to the new node and then UUID will be there in its json. Am I correct?*
And also, if I want the UUID of an existing node, will adding jcr:mixinTypes=*mix*:*referenceable** to that node help me to get its UUID in json?* * * *Thanks in advance.* * * *--Bhathiya* On Tue, Jun 26, 2012 at 9:41 PM, Justin Edelson <jus...@justinedelson.com>wrote: > If the Node has the mix:referenceable mixin, you should see the UUID in the > JSON output. > > Justin > > On Tue, Jun 26, 2012 at 11:58 AM, Bhathiya Jayasekara < > tobhathi...@gmail.com > > wrote: > > > Hi, > > > > Thank you for the reply. As I understand, what you say is to write an esp > > or something in server side to get UUID and respond to an http request. > > Correct me if I'm wrong. > > > > Isn't there a direct way to do this only with a simple http request? > > Someway like in this[1] cheatsheet? I mean isn't it already implemented > in > > sling server? > > > > Thank you. > > > > --Bhathiya > > > > [1] > > > > > http://dev.day.com/content/ddc/blog/2008/07/cheatsheet/_jcr_content/par/download/file.res/cheatsheet.pdf > > > > On Tue, Jun 26, 2012 at 8:23 PM, sam ” <skyn...@gmail.com> wrote: > > > > > resource.adaptTo(Node.class).getIdentifier() > > > > > > On Tue, Jun 26, 2012 at 10:48 AM, Bhathiya Jayasekara < > > > tobhathi...@gmail.com > > > > wrote: > > > > > > > Hi all, > > > > > > > > How can I get the UUID of a Node with an http request? I searched a > lot > > > but > > > > had no luck. :( > > > > > > > > Thank you. > > > > > > > > --Bhathiya > > > > > > > > > > > > > > > -- > >