Re: [Dspace-tech] DSpace REST API: SQL error (500)

2012-02-22 Thread Bojan Suzic
Hi Maury, this error refers to the problem with the database access, connection cannot be established. Can you check the contents of org/dspace/rest/servlet/DS16DirectServlet.java, method startProviders? Maybe it is not initialized there. Regards Bojan Am 22.02.2012 16:58, schrieb maurice.b

Re: [Dspace-tech] Moodle integration

2011-12-12 Thread Bojan Suzic
Hi Carlos, could you try with this version: https://github.com/hedtek/dspace-rest It has some fixes applied. Bojan Am 12.12.2011 21:11, schrieb Carlos E. Mansilla G.: > thnx Tom.. i just click on reply and i didn't notice that have a wrong > address.. > > i download the src from > http://scm.ds

Re: [Dspace-tech] REST API Content Searching error

2011-09-16 Thread Bojan Suzic
Hi Simon, the search provider uses the same mechanism/calls as the web application. Assuming that the search functionality is working as expected on the web site (jspui/xmlui), e.g. that the search index is previously initialized and periodically updated, I would suspect on version mismatch.

Re: [Dspace-tech] REST API for DSpace

2011-06-17 Thread Bojan Suzic
Hi Marianna, Am 17.06.2011 13:40, schrieb Marianna Mühlhölzer: > Hi Bojan, > > I want to use the REST Interface for browsing our DSpace repository by > title, date and subject. When trying to sort items I get problems with > the pagination. The _perpage parameter does not work. Using _perpage > a

Re: [Dspace-tech] Need Help for Dspace Rest API

2011-06-10 Thread Bojan Suzic
Hi Dhaivat, in your code you should change writer.write(URLEncoder.encode(s,"UTF-8")); to writer.write(s); I have tested it locally and works for me. Also please checkout the latest version of module from svn. Regards Bojan > Hi Folks > > I have implemented the xml request

Re: [Dspace-tech] REST API for DSpace

2011-06-06 Thread Bojan Suzic
Hi Hayden, For the logo issue you previously mentioned, I have updated the code and wiki page info. /communities/{id} - returns information about particular community /communities/{id}/logo - returns corresponding logo id The logo is considered as bitstream, like other bitstreams in the system

Re: [Dspace-tech] Need Help for Dspace Rest API

2011-06-01 Thread Bojan Suzic
Hi Dhaivat, I tested it now, there is no input to the script provided. Only xml and json are supported. Later in the day I will try to provide an example how to make a post/put request. Regards Bojan > I am using Xml ..i have attached a java file which sends the request to > REST API and get

Re: [Dspace-tech] Need Help for Dspace Rest API

2011-06-01 Thread Bojan Suzic
Hi Dave, can you post the detailed request you have made? Are you using json or xml? Bojan > I am trying to get the data from dspace using REST Api...I am able to > GET Data related communities,Collection and so on.. > But when i am trying to create new Collection using POST Data it gives > me

Re: [Dspace-tech] REST API for DSpace

2011-05-04 Thread Bojan Suzic
Hi Peter, > I was looking at the DSpace REST API module today, and I too had errors > with getting null when viewing something like: > http://localhost:8080/restapi/communities/213.xml ... > Attached is my patch for fixing that. https://gist.github.com/952058 > (I'd prefer not sending files to th

Re: [Dspace-tech] REST API for DSpace

2011-03-23 Thread Bojan Suzic
Bojan, >>>> >>>> Thanks a million for your reply. I am thinking maybe I do have an >>>> earlier version of the code - Today I tried to get details on one >>>> particular collection using >>>> >>>> http://localhost:8080/re

Re: [Dspace-tech] REST API for DSpace

2011-03-14 Thread Bojan Suzic
Am 11.03.2011 00:58, schrieb Kim Shepherd: > Also, kudos to Bojan for continuing to support his work. Sounds like I > need to give it another go :-) Thanks :) but I would suggest you to wait a little bit.. I will soon release it as RC, then it would provide better stability and probably fit you

Re: [Dspace-tech] REST API for DSpace

2011-03-09 Thread Bojan Suzic
Hi Mark, no, it is not necessary to be logged in order to search. By my understanding, you have already installed the extension and it requires a user to be logged in order to search? If that is the case then please send your configuration description direct to me, the message/action you tried a

Re: [Dspace-tech] Status of the DSpace RESTful API

2011-02-10 Thread Bojan Suzic
Hello Steve, and thanks for your interest! Current status of REST API for DSpace is the following: the most of the described functionality on the web page is implemented. Several functions/points (marked with dot in the first column) are currently unimplemented. Other issues currently active a