RSpace Blog

February 28, 2017

RSpace API

FAIR Data

Download attachment

associated with this post

It’s been a while since the dev team last  blogged, so we thought it about time for an update. In this post, I’ll cover some aspects of the RSpace API which we made available for the first time in 1.41.

The RSpace API is a  much-requested feature. People want to get their data programmatically out of RSpace, and also create research records automatically, for example from data generated by lab equipment.

In this first release, the API is read-only and covers a basic set of functionality to search and retrieve documents, and download attachments.

How to get started? Everything is explained in our API Getting Started Guide. In brief, you just need to generate an API key for your account on your profile page and you’re good to go. Every RSpace instance has its interactive documentation at URL path /public/apiDocs. So if you’re using our Community version, go to https://community.researchspace.com/public/apiDocs. You can either just read the documentation, or authenticate with your key and test out making API calls to your own data.

If you’d like some inspiration on what the API can do for you, please have a look at some of the projects in our Github group. We’ve been creating some example code in Python, Java and Groovy to perform the following tasks:

  • Searching documents
  • Getting documents created from a particular form, in CSV format.
  • Producing paginated lists of documents.
  • Downloading attached files.

Regular RSpace users might be aware that over the last few months we’ve been adding integrations with popular data repositories such as Figshare and  Dataverse. Now that RSpace has it’s own API, it’s pretty simple to pull documents and attachments out of RSpace and send them to Figshare programmatically  – here’s some code to illustrate this.

We’d be very keen to get any feedback on the API or its usage, or new endpoints you’d like added. Clearly, being able to post new data to create RSpace documents is a priority and we’ll be developing this over future releases. As the API matures we’ll also implement OAuth-based authentication to enable more fine-grained access control.

Thanks for reading, and of course we’re always delighted to receive any feedback or pull requests.

Richard Adams

RSpace is an open-source platform that orchestrates research workflows into FAIR data management ecosystems: request a demo or contact us to learn more.

September 24, 2024

Web Accessibility: Our Improvements to RSpace

Product Updates

In the last year, we have been working to improve the accessibility of the RSpace product. We describe our work in complying with accessibility guidelines, as well as support for high contrast mode and reduced motion mode.

Read more

June 26, 2024

Research Space Embraces Open-Source to Empower FAIR Data Workflows

Open source

RSpace Opens its Research Data Management Platform to the Community

Read more

June 6, 2024

RSpace Solutions: Empowering Research Organizations with FAIR Data Workflows

Open source

In light of the upcoming open-source transition, we reflect on Research Space's services around RSpace tailored to enable research organisations as well as research cloud and research commons providers to implement, adopt, and maintain a secure, robust, and future-proof digital research data management environment.

Read more

April 19, 2024

Transitioning RSpace to Open-Source: Building a Community for a Journey Towards More Open Science and FAIR Data

Open source

We are looking forward to build an impactful open-source community around RSpace to increase interoperability between digital research solutions and facilitate the adoption of FAIR data workflows.

Read more