Difference between revisions of "SUNScholar/API"

From Libopedia
Jump to navigation Jump to search
m
Line 16: Line 16:
 
*https://github.com/DSpace-Labs/dspace-rest-requests
 
*https://github.com/DSpace-Labs/dspace-rest-requests
 
*https://github.com/BrunoNZ/dspace-rest-requests
 
*https://github.com/BrunoNZ/dspace-rest-requests
 +
*https://github.com/peterdietz/dspace-rest-rails
 +
*https://github.com/peterdietz/dspace-rest-play
  
 
==Example Websites==
 
==Example Websites==

Revision as of 10:02, 31 July 2015

Back to Developers

Introduction

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

Documentation

Example Code

Example Websites

Tests

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 -

Please note:

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

Software

References