Re: [Dspace-tech] DSpace REST API on DSpace 3.1

2013-06-28 Thread Bram Luyten
Hi Patrick,

these ones:

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

best regards,

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 28, 2013 at 5:33 PM, Patrick West  wrote:

> You say "the documentation in in his links above." … what links above?
>
> On Jun 27, 2013, at 12:07 PM, Michael Guthrie 
> wrote:
>
> Hi Ying, and all those interested in the REST API
>
> Just to let you know, we are updating the REST API to be compatible with
> 3.1 and should be available next week.
>
> As Bram said, the documentation is in his links above.
>
> I'll post another message when we release the 3.1 upgrade.
>
> Best,
>
> Michael
>
>
>
>
> On 24 June 2013 02:59, Gary Browne  wrote:
>
>> Hi Ying,
>>
>> I think you need to provide the format, like:
>>
>> http://path/to/rest/api/communities.xml
>>
>> or
>>
>> http://path/to/rest/api/communities.json
>>
>> Regards,
>> Gary
>>
>> GARY BROWNE | Development Programmer
>> Library IT Services | Fisher Library F03
>> THE UNIVERSITY OF SYDNEY
>>
>> T +61 2 9351 5946  | M +61 405 647 868
>> E gary.bro...@sydney.edu.au  | W http://sydney.edu.au
>> Sent from my plain old desktop computer.
>>
>> CRICOS 00026A
>> This email plus any attachments to it are confidential. Any unauthorised
>> use is strictly prohibited. If you receive this email in error, please
>> delete it and any attachments.
>> Please think of our environment and only print this e-mail if necessary.
>>
>>
>> -Original Message-
>> From: Ying Jin [mailto:ying@rice.edu]
>> Sent: Saturday, 22 June 2013 5:14 AM
>> To: dspace-tech@lists.sourceforge.net
>> Subject: [Dspace-tech] DSpace REST API on DSpace 3.1
>>
>> 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
>> DSpace-tech@lists.sourceforge.net
>> 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
>> DSpace-tech@lists.sourceforge.net
>> 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
> DSpace-tech@lists.sourceforge.net
> 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
> DSpace-tech@lists.sourceforge.net
> 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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] DSpace REST API on DSpace 3.1

2013-06-28 Thread Patrick West
You say "the documentation in in his links above." … what links above?

On Jun 27, 2013, at 12:07 PM, Michael Guthrie  wrote:

> Hi Ying, and all those interested in the REST API
> 
> Just to let you know, we are updating the REST API to be compatible with 3.1 
> and should be available next week.
> 
> As Bram said, the documentation is in his links above. 
> 
> I'll post another message when we release the 3.1 upgrade.
> 
> Best,
> 
> Michael
> 
> 
> 
> 
> On 24 June 2013 02:59, Gary Browne  wrote:
> Hi Ying,
> 
> I think you need to provide the format, like:
> 
> http://path/to/rest/api/communities.xml
> 
> or
> 
> http://path/to/rest/api/communities.json
> 
> Regards,
> Gary
> 
> GARY BROWNE | Development Programmer
> Library IT Services | Fisher Library F03 
> THE UNIVERSITY OF SYDNEY
> 
> T +61 2 9351 5946  | M +61 405 647 868  
> E gary.bro...@sydney.edu.au  | W http://sydney.edu.au
> Sent from my plain old desktop computer.
> 
> CRICOS 00026A
> This email plus any attachments to it are confidential. Any unauthorised use 
> is strictly prohibited. If you receive this email in error, please delete it 
> and any attachments.
> Please think of our environment and only print this e-mail if necessary.
> 
> 
> -Original Message-
> From: Ying Jin [mailto:ying@rice.edu]
> Sent: Saturday, 22 June 2013 5:14 AM
> To: dspace-tech@lists.sourceforge.net
> Subject: [Dspace-tech] DSpace REST API on DSpace 3.1
> 
> 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
> DSpace-tech@lists.sourceforge.net
> 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
> DSpace-tech@lists.sourceforge.net
> 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
> DSpace-tech@lists.sourceforge.net
> 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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] DSpace REST API on DSpace 3.1

2013-06-27 Thread Michael Guthrie
Hi Ying, and all those interested in the REST API

Just to let you know, we are updating the REST API to be compatible with
3.1 and should be available next week.

As Bram said, the documentation is in his links above.

I'll post another message when we release the 3.1 upgrade.

Best,

Michael




On 24 June 2013 02:59, Gary Browne  wrote:

> Hi Ying,
>
> I think you need to provide the format, like:
>
> http://path/to/rest/api/communities.xml
>
> or
>
> http://path/to/rest/api/communities.json
>
> Regards,
> Gary
>
> GARY BROWNE | Development Programmer
> Library IT Services | Fisher Library F03
> THE UNIVERSITY OF SYDNEY
>
> T +61 2 9351 5946  | M +61 405 647 868
> E gary.bro...@sydney.edu.au  | W http://sydney.edu.au
> Sent from my plain old desktop computer.
>
> CRICOS 00026A
> This email plus any attachments to it are confidential. Any unauthorised
> use is strictly prohibited. If you receive this email in error, please
> delete it and any attachments.
> Please think of our environment and only print this e-mail if necessary.
>
>
> -Original Message-
> From: Ying Jin [mailto:ying@rice.edu]
> Sent: Saturday, 22 June 2013 5:14 AM
> To: dspace-tech@lists.sourceforge.net
> Subject: [Dspace-tech] DSpace REST API on DSpace 3.1
>
> 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
> DSpace-tech@lists.sourceforge.net
> 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
> DSpace-tech@lists.sourceforge.net
> 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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] DSpace REST API on DSpace 3.1

2013-06-23 Thread Gary Browne
Hi Ying,

I think you need to provide the format, like:

http://path/to/rest/api/communities.xml

or

http://path/to/rest/api/communities.json

Regards,
Gary

GARY BROWNE | Development Programmer 
Library IT Services | Fisher Library F03    

THE UNIVERSITY OF SYDNEY

T +61 2 9351 5946  | M +61 405 647 868  
E gary.bro...@sydney.edu.au  | W http://sydney.edu.au 
Sent from my plain old desktop computer.

CRICOS 00026A
This email plus any attachments to it are confidential. Any unauthorised use is 
strictly prohibited. If you receive this email in error, please delete it and 
any attachments.
Please think of our environment and only print this e-mail if necessary.


-Original Message-
From: Ying Jin [mailto:ying@rice.edu] 
Sent: Saturday, 22 June 2013 5:14 AM
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] DSpace REST API on DSpace 3.1

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
DSpace-tech@lists.sourceforge.net
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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] DSpace REST API on DSpace 3.1

2013-06-22 Thread Bram Luyten
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


On Fri, Jun 21, 2013 at 11:03 PM, Peter Dietz  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  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
>> DSpace-tech@lists.sourceforge.net
>> 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
> DSpace-tech@lists.sourceforge.net
> 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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] DSpace REST API on DSpace 3.1

2013-06-21 Thread Peter Dietz
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  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
> DSpace-tech@lists.sourceforge.net
> 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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] DSpace REST API on DSpace 3.1

2013-06-21 Thread Ying Jin
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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette