AnsweredAssumed Answered

Rest api from Share

Question asked by soldiertt on Nov 28, 2013
Latest reply on Nov 29, 2013 by soldiertt
Hi,

How can i access the results of Rest Api url like this :

http://localhost:8080/alfresco/service/api/node/workspace/SpacesStore/6f2dcb7d-6f5b-4c19-99f0-d9cbc2a90ea3/content/thumbnails/imgpreview?ph=true&c=queue

from Alfresco Share (either from JQuery or a Share WebScript) ?

From a share webscript i tried :

var resp = remote.call("/api/node/workspace/SpacesStore/6f2dcb7d-6f5b-4c19-99f0-d9cbc2a90ea3/content/thumbnails/imgpreview?ph=true&c=queue");
model.result=resp;

but this give me a blank page.

Thank you.

Outcomes