DSpace REST API
...
Warning |
---|
This page is outdated, and refers to documentation for the 2011 Google Summer of Code prototype REST API project. This GSoC project is not developed anymore and it has spawned successors and alternatives. You can learn more about current REST API efforts here:
|
Excerpt |
---|
This is a wiki page for DSpace REST API addon. The project is in development phase, but can be tested by the users. For the details please check this page. |
...
Project Title: | DSpace REST API |
Author: | Bojan Suzic |
Mentors (at GSoC): | Aaron Zeckoski, Mark Diggory |
Contacting author: | bojan.suzic AT gmail _DOT _com - using subject line DSpace REST |
SCM Location for Project: | |
Alternative (improved) | https://github.com/wijiti/dspace-rest-api |
Project description
The REST approach promotes simplification and decoupling of software architecture, enabling further scalability, portability, granularity and simplified interaction of software systems and components.
The aim of this project is to provide DSpace with REST capable API and underlying component, which will enable developers and end-users to exploit the advantages of such approach.
...
Important: During Q1-Q3 of 2012 thanks to Hayden Young and other contributors from Wijiti Pty Ltd a great effort has been invested to continue the development of REST API for DSpace. They reworked the code base, refreshed the project to be compatible with newest DSpace 1.8.1 version, fixed the bugs and provided the integration of DSpace, REST API and Joomla CMS. There are also other numerous improvements introduced. Their contribution can be reached via GitHub, including development site and documentation update.
Based on this update, the integration with Joomla CMS is provieded as a part of the Saber Project, which has been implemented and demonstrated at Monash University.
Release plan and issues
It is expected to have working and tested code for DSpace 1.8 release. According to relevant discussions on DSpace developer meetings, there is possibility to have this code released asynchronously of DSpace, as independent module. After initial release the code will be actively maintained.
...
C | Verb | URL | Description | Mandatory parameters | Optional parameters | Response Data | Formats | Response codes |
---|---|---|---|---|---|---|---|---|
|
|
| Action to be done under community |
| - |
|
| 200, 400, 401, 403, 500 |
|
| /communities/{id}/{element} | Update the field |
| - | Response code |
| 200, 400, 401, 403, 500 |
|
|
| Set the logo for community |
| - | Response code | binary | 200, 400, 401, 403, 500 |
|
|
| Delete community from the system |
| - | Response code |
| 200, 400, 401, 403, 500 |
|
|
| Remove attribute/value |
| - | Response code |
|
|
|
|
| Action to be done under collection |
| - | Id ow newly created element |
| 200, 400, 401, 403, 500 |
|
|
| Update field |
| - | Response code |
| 200, 400, 401, 403, 500 |
|
|
| Delete collection from the system - CANNOT BE DONE DIRECTLY | - | - | Response code |
| 200, 400, 401, 403, 500 |
|
|
| Remove attribute/value |
|
| Response code |
| 200,400,401,403,500 |
• |
|
| Set the logo for collection |
|
| Response code | binary | 200,400,401,403,500 |
• |
|
| Action to be done under item |
|
| Id of newly created element |
| 200,400,401,403,500 |
• |
|
| Update field |
| - | Response code |
| 200,400,401,403,500 |
• |
|
| Delete item from the system |
| - | Response code |
| 200,400,401,403,500 |
• |
|
| Delete element/attribute |
| - | Response code |
| 200,400,401,403,500 |
...