# Renku dataverse connection and API endpoint

**URL:** <https://renku.discourse.group/t/renku-dataverse-connection-and-api-endpoint/543>\
**Category:** Renku (CLI)\
**Created:** [11 February 2022 09:13 UTC](https://renku.discourse.group/t/renku-dataverse-connection-and-api-endpoint/543 "2022-02-11T09:13:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![erwan.beguin](https://avatars.discourse-cdn.com/v4/letter/e/d26b3c/32.png) [@erwan.beguin](https://renku.discourse.group/u/erwan.beguin)\
**Post date:** [11 February 2022 09:13 UTC](https://renku.discourse.group/t/renku-dataverse-connection-and-api-endpoint/543/1 "2022-02-11T09:13:37Z")

</div>

I am trying to use the renku/dataverse integration to import dataverse datasets into a renku server.  
Both the dataverse and renku server are deployed in house, but both are publicly accessed.

Is there a way to use the dataverse external tools to directly call the renku API ? I can’t find any endpoint that would do that, even though there seems to be a CLI command to import dataverse datasets.

The API documentation is very sparse on this topic, but it looks like this feature was merged at some point on the renku project, but I couldn’t find any official statement on this, except the renku mention on the list of Dataverse integration tools.

Has anyone successfully used this feature ?

---

<div class="post-metadata">

**Author:** ![ralf.grubenmann](https://yyz2.discourse-cdn.com/free1/user_avatar/renku.discourse.group/ralf.grubenmann/32/78_2.png) [@ralf.grubenmann](https://renku.discourse.group/u/ralf.grubenmann)\
**Post date:** [11 February 2022 09:22 UTC](https://renku.discourse.group/t/renku-dataverse-connection-and-api-endpoint/543/2 "2022-02-11T09:22:27Z")

</div>

Do you have the whole Renku platform deployed?

If so you can use this endpoint (part of the renku-core service) to import datasets: [Swagger UI](https://renkulab.io/swagger/#/datasets/post_renku_datasets_import)

The URL is probably something like `<host>/api/renku/datasets.import` with `dataset_uri` being the URL of the dataset you want to import. URL can be something like `https://dataverse.harvard.edu/dataset.xhtml?persistentId=doi:10.7910/DVN/ABCDEFG` or if your datasets have a DOI that can be resolved by services like [doi.org](http://doi.org), you can just pass the DOI directly.

We’ll make a new release of the Renku platform soon, which includes improved documentation in the swagger specs. But in the meantime this is the up-to-date documentation of the endpoint fields:

 ![image](https://global.discourse-cdn.com/free1/uploads/renku/original/1X/5e2072e5c8b275d6ac949378d5f36620e6748dd0.png)

---

<div class="post-metadata">

**Author:** ![ralf.grubenmann](https://yyz2.discourse-cdn.com/free1/user_avatar/renku.discourse.group/ralf.grubenmann/32/78_2.png) [@ralf.grubenmann](https://renku.discourse.group/u/ralf.grubenmann)\
**Post date:** [11 February 2022 09:27 UTC](https://renku.discourse.group/t/renku-dataverse-connection-and-api-endpoint/543/3 "2022-02-11T09:27:50Z")

</div>

But there’s no integration in Dataverse that would push a Dataset to Renku, it’s only pull.

---

<div class="post-metadata">

**Author:** ![erwan.beguin](https://avatars.discourse-cdn.com/v4/letter/e/d26b3c/32.png) [@erwan.beguin](https://renku.discourse.group/u/erwan.beguin)\
**Post date:** [11 February 2022 09:54 UTC](https://renku.discourse.group/t/renku-dataverse-connection-and-api-endpoint/543/4 "2022-02-11T09:54:27Z")

</div>

> [@ralf.grubenmann](#):
>
> /api/renku/datasets.import

Thank you very much.

The endpoint seems to be active on our renku platform and thus this solve my question.
