Page 1 of 1

REST interface not found

PostPosted:Tue Sep 17, 2013 1:39 pm
by gvdm
Hi to all,

I've installed OpenKM 6.2 Community Edition on a Debian Wheezy VM over VirtualBox (running on a Win7 host machine) which is connected to my LAN by using the bridged network setup.
I can reach and use the SOAP interfaces of OpenKM from my host computer (and from the other computers of my LAN).

The problem is that I cannot reach the REST interfaces. Infact, I'm following this guide and when I type this command on the shell:
Code: Select all
curl -u okmAdmin:admin -H "Accept: application/json" \
   http://localhost:8080/OpenKM/services/rest/folder/getChildren/3492d662-b58e-417c-85b6-930ad0c6c3cf
I get a
Code: Select all
<html><body>No service was found.</body></html>
response.

Now I have two questions for you:
  • Where can I find the reference for the REST interface? In this guide I can read that I should see the reference at the bottom of the http://localhost:8080/OpenKM/services page, but all I can see is what you can read into this PDF:
    (81.99 KiB) Downloaded 372 times
  • What does the "3492d662-b58e-417c-85b6-930ad0c6c3cf" string in the request means? It's the authentication token or the resource UUID? And what about multi-parameter methods?
Thank you
Giulio

Re: REST interface not found

PostPosted:Wed Sep 18, 2013 10:39 am
by pavila
According with http://wiki.openkm.com/index.php/RESTful_Guide this API is not available in OpenKM Community 6.2

Re: REST interface not found

PostPosted:Wed Sep 18, 2013 10:46 am
by gvdm
Mmm, a little bad news..
Ok, thanks for the piece of information :)

Re: REST interface not found

PostPosted:Fri Sep 20, 2013 9:58 am
by pavila
This not means that won't be available in OpenKM Community, but need lots of internal changes and will take some time to be ported.