The Dataverse Software APIs allow users to accomplish many tasks such as...
... all without using the Dataverse installation’s web interface.
APIs open the door for integrations between the Dataverse Software and other software. For a list, see the Integrations section of the Admin Guide.
Contents:
API stands for “Application Programming Interface” and an example is the Dataverse Software’s “file upload” API. In the diagram below, we can see that while users can click a button within Dataverse installation’s web interface to upload a file, there are many other ways to get files into a Dataverse installation, all using an API that allows for uploading of files.
The components above that use the “file” upload API are:
The diagram above shows only a few examples of software using a specific API but many more APIs are available.
This guide is intended to serve multiple audiences but pointers various sections of the guide are provided below based on the type of API user you are.
Each Dataverse installation will have its own groups of people interested in APIs.
Integrations and apps can take many forms but two examples are:
In both examples, users need to obtain an API Token to authenticate with a Dataverse installation.
Starting point A good starting point is “API Tokens” in the Account Creation + Management section of the User Guide. DvUploader is documented in the Dataset + File Management section of the User Guide. The integrations that are enabled depend on your Dataverse installation. You can find a list in the Integrations section of the Admin Guide.
Power users may be researchers or curators who are comfortable with automating parts of their workflow by writing Python code or similar.
Starting point The recommended starting point for power users is the Getting Started with APIs section.
Support teams that answer questions about their Dataverse installation should familiarize themselves with the Getting Started with APIs section to get a sense of common tasks that researchers and curators might be trying to accomplish by using Dataverse Software APIs.
Superusers of a Dataverse installation have access a superuser dashboard described in the Dashboard section of the Admin Guide but some operations can only be done via API.
Starting point A good starting point for both groups is the Getting Started with APIs section of this guide followed by the Troubleshooting section of the Admin Guide.
Sysadmins often write scripts to automate tasks and Dataverse Software APIs make this possible. Sysadmins have control over the server that the Dataverse installation is running on and may be called upon to execute API commands that are limited to “localhost” (the server itself) for security reasons.
Starting point A good starting point for sysadmins is “Blocking API Endpoints” in the Configuration section of the Installation Guide, followed by the Getting Started with APIs section of this guide, followed by the Troubleshooting section of the Admin Guide.
Some organizations that run a Dataverse installation employ developers who are tasked with using the Dataverse installation’s APIs to accomplish specific tasks such as building custom integrations with in house systems or creating reports specific to the organization’s needs.
Starting point A good starting point for in house developers is the Getting Started with APIs section.
The Dataverse Project loves contributors! Depending on your interests and skills, you might fall into one or more of the groups below.
One of the primary purposes for Dataverse Software APIs in the first place is to enable integrations with third party software. Integrations are listed in the following places:
Starting point Good starting points are the three sections above to get a sense of third-party software that already integrates with the Dataverse Software, followed by the Getting Started with APIs section.
A client library helps developers using a specific programming language such as Python, Javascript, R, or Java interact with Dataverse Software APIs in a manner that is idiomatic for their language. For example, a Python programmer may want to
Starting point A good starting point is the Client Libraries section, followed by the Getting Started with APIs section.
Developers working on the Dataverse Software itself use the APIs when adding features, fixing bugs, and testing those features and bug fixes.
Starting point A good starting point is the Testing section of the Developer Guide.
Please note that some APIs are only documented in other guides that are more suited to their audience:
See Client Libraries for how to use Dataverse Software APIs from Python, R, Java, and Javascript.
Apps links to example open source code you can study. Getting Started with APIs also has many examples.
Dataverse Software API questions are on topic in all the usual places:
After your question has been answered, you are welcome to help improve the Frequently Asked Questions section of this guide.