Difference between revisions of "SUNScholar/API"
Jump to navigation
Jump to search
m (→Documentation) |
m |
||
| Line 2: | Line 2: | ||
'''[[SUNScholar/Customisation/Developers|Back to Developers]]''' | '''[[SUNScholar/Customisation/Developers|Back to Developers]]''' | ||
</center> | </center> | ||
| + | ==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== | ==Documentation== | ||
*https://wiki.duraspace.org/display/DSPACE/REST+API | *https://wiki.duraspace.org/display/DSPACE/REST+API | ||
Revision as of 13:58, 21 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
- https://wiki.duraspace.org/display/DSPACE/REST+API
- https://github.com/DSpace/DSpace/tree/master/dspace-rest
- https://github.com/DSpace/DSpace/pull/323
- https://wiki.duraspace.org/display/DSPACE/DSpace+Futures+-+REST+API
- https://wiki.duraspace.org/display/DSPACE/Review+of+Existing+Dspace+REST+API+Frameworks
- https://jira.duraspace.org/browse/DS-2045
- http://demo.dspace.org/javadocs/5/apidocs
Examples
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.