Using DSpace 6.3 REST API to Create Items in an Existing Collection
Channel: Lighton Phiri
Date: 13/01/2020

We were working with a group of undergraduate students during the vacation. One of the projects they were working towards involved designing and implementing a Web application using the MERN stack [1]. One of the components/modules of the application is meant to interact with remote DSpace [2] instances, via DSpace REST API [3].

In this live screencast, we brainstorm, together with the students, how we will go about implementing the module. The brainstorming session heavily makes use of the latest stable release of DSpace (DSpace 6.3) [4] Postman [5].

[1] https://www.apress.com/gp/blog/all-blog-posts/why-mern/12056000
[2] https://duraspace.org/dspace
[3] https://wiki.lyrasis.org/display/DSDOC6x/REST+API
[4] https://wiki.lyrasis.org/display/DSDOC6x
[5] https://www.getpostman.com

## Video Timestamps

00:00:00 Using DSpace REST API to Login (/rest/login)
00:05:50 Using DSpace REST API to Check Login Status (/rest/status)
00:09:45 Workflow to Implementing DSpace REST API Interaction
00:11:12 Using DSpace REST API to Create an Item in an Existing Collection
00:20:45 Using OAI-PMH the 'metadataPrefix' Verb to View Recors Using Different Metadata Formats
00:28:45 How to Check if Session has Expired
00:29:38 Using DSpace REST API to Create an Item in an Existing Collection
00:30:16 Debugging 401 Unauthorized Responses
00:33:38 Using DSpace REST API to Create a Item in an Existing Collection
00:37:17 Using DSpace REST API to Add a Bitstream to an Existing Item
00:41:04 Using DSpace Interface to Confirm Remote Deposit Using REST API
00:42:15 Using Postman to Get Automatically Generated Code
00:42:50 Brainstorming Code Implementnation of Interacting with DSpace REST API