Hi Ying,
the wijiti REST API is 3.0 compatible so chances are good it will work with
3.1 as well:
https://jspace.atlassian.net/wiki/display/DSPACEAPI/DSpace+REST+API+Home
The documentation for GET /communities is here:
https://jspace.atlassian.net/wiki/display/DSPACEAPI/GET_communities
Documentation for the other endpoints (over 60 in total):
https://jspace.atlassian.net/wiki/display/DSPACEAPI/API+Documentation
hope this helps,
Bram
--
[image: logo]
*Bram Luyten* *@mire*
*2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
www.atmire.com<http://atmire.com/website/?q=services&utm_source=emailfooter&utm_medium=email&utm_campaign=braml>
On Fri, Jun 21, 2013 at 11:03 PM, Peter Dietz <[email protected]> wrote:
> Hi Ying,
>
> I've had good luck using the Hedtek REST API, you can see it in action at:
> http://demo.dspace.org/rest-hedtek
> Github: https://github.com/hedtek/dspace-rest
>
> Its /community index is:
> http://demo.dspace.org/rest-hedtek/communities.json
> And a specific community is:
> http://demo.dspace.org/rest-hedtek/communities/1.json
>
> There is a sample client-app that queries this API.
> The homepage is the community index:
> http://dspace-rest-client-play.herokuapp.com/
> And a specific community is:
> http://dspace-rest-client-play.herokuapp.com/community/1
>
>
> There is a group working on evaluating the existing REST API solutions,
> understanding community requirements of an API, and working on a solution
> that might be ready for a future DSpace release.
> https://wiki.duraspace.org/display/DSPACE/DSpace+Futures+-+REST+API
>
>
>
> Peter Dietz
>
>
> On Fri, Jun 21, 2013 at 3:13 PM, Ying Jin <[email protected]> wrote:
>
>> Hi,
>>
>> Does anyone ever tested the DSpace REST API under DSpace 3.1? I have the
>> API installed and used the rest-client 3.2 tested it.
>> https://code.google.com/p/rest-client/wiki/Running
>>
>> However, if I send GET with /communities, I get HTTP/1.1 200 OK and some
>> header response, but body or test result are all empty. I suppose I should
>> get a list of community returned…
>>
>> Could anyone give me a hint?
>>
>> Thanks in advance for any help,
>> Ying
>>
>> ------------------------------------------------------------------------------
>> This SF.net email is sponsored by Windows:
>>
>> Build for Windows Store.
>>
>> http://p.sf.net/sfu/windows-dev2dev
>> _______________________________________________
>> DSpace-tech mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>> List Etiquette:
>> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>>
>
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette:
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette