Difference between revisions of "SUNScholar/API"

From Libopedia
Jump to navigation Jump to search
Line 48: Line 48:
 
*http://101.apievangelist.com
 
*http://101.apievangelist.com
 
*https://dzone.com/refcardz/rest-foundations-restful
 
*https://dzone.com/refcardz/rest-foundations-restful
 +
*http://www.drdobbs.com/architecture-and-design/restful-web-services-a-tutorial/240169069
  
 
==Research==
 
==Research==

Revision as of 01:31, 6 February 2016

Back to Developers

Introduction

A web API was introduced with Dspace 4.X, however it was a read-only API. A full read-write RESTful API was released with DSpace 5.X.

See: https://scholar.sun.ac.za/rest

Documentation

Example Code

Example Websites

Tests

Please Note

  • All the requests use secure connections via https
  • To configure secure connections for your repository, click here.

Type the following in a terminal:

curl https://scholar.sun.ac.za/rest/
curl https://scholar.sun.ac.za/rest/test
curl -s -H "Accept: application/xml" https://scholar.sun.ac.za/rest/communities | xmllint --format -
curl -s -H "Accept: application/xml" https://scholar.sun.ac.za/rest/bitstreams | xmllint --format -

Companion Software

Technology

Research

Alternatives

References