Is there a way to manage file access requests through the API?

23 views
Skip to first unread message

Baptiste ROUXEL

unread,
Oct 23, 2018, 10:31:52 AM10/23/18
to Dataverse Users Community
Hi everyone,

I would like to get the list of access requests for all files in a dataset and manage them through the API.
I cannot find information about it in the documentation nor in github issues.

Do you know if it is possible?

Thanks,

Baptiste

Philip Durbin

unread,
Oct 23, 2018, 1:24:27 PM10/23/18
to dataverse...@googlegroups.com
Hi! Unfortunately there is no way to manage file access requests via API. It's a GUI only feature. Can you please open an issue at https://github.com/IQSS/dataverse/issues requesting this feature?

I assume you'd want:

- list
- approve
- deny

Thanks,

Phil

p.s. For the developers, here's the "list" code (getFileAccessRequesters from the "fileaccessrequests" table): https://github.com/IQSS/dataverse/blob/v4.9.4/src/main/java/edu/harvard/iq/dataverse/DataFile.java#L638

--
You received this message because you are subscribed to the Google Groups "Dataverse Users Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dataverse-commu...@googlegroups.com.
To post to this group, send email to dataverse...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dataverse-community/62343f34-249a-4566-89ce-efec0a8b6d2c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--

Baptiste ROUXEL

unread,
Oct 24, 2018, 4:27:42 AM10/24/18
to Dataverse Users Community
Hi!

That's exactly what I was looking for. Thank you Philip!

Baptiste


Le mardi 23 octobre 2018 19:24:27 UTC+2, Philip Durbin a écrit :
Hi! Unfortunately there is no way to manage file access requests via API. It's a GUI only feature. Can you please open an issue at https://github.com/IQSS/dataverse/issues requesting this feature?

I assume you'd want:

- list
- approve
- deny

Thanks,

Phil

p.s. For the developers, here's the "list" code (getFileAccessRequesters from the "fileaccessrequests" table): https://github.com/IQSS/dataverse/blob/v4.9.4/src/main/java/edu/harvard/iq/dataverse/DataFile.java#L638

On Tue, Oct 23, 2018 at 10:31 AM Baptiste ROUXEL <baptist...@sciencespo.fr> wrote:
Hi everyone,

I would like to get the list of access requests for all files in a dataset and manage them through the API.
I cannot find information about it in the documentation nor in github issues.

Do you know if it is possible?

Thanks,

Baptiste

--
You received this message because you are subscribed to the Google Groups "Dataverse Users Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dataverse-community+unsub...@googlegroups.com.

Crosas, Mercè

unread,
Oct 24, 2018, 8:09:14 AM10/24/18
to dataverse...@googlegroups.com
On Wed, Oct 24, 2018 at 4:27 AM Baptiste ROUXEL <baptist...@sciencespo.fr> wrote:
Hi!

That's exactly what I was looking for. Thank you Philip!

Baptiste

Le mardi 23 octobre 2018 19:24:27 UTC+2, Philip Durbin a écrit :
Hi! Unfortunately there is no way to manage file access requests via API. It's a GUI only feature. Can you please open an issue at https://github.com/IQSS/dataverse/issues requesting this feature?

I assume you'd want:

- list
- approve
- deny

Thanks,

Phil

p.s. For the developers, here's the "list" code (getFileAccessRequesters from the "fileaccessrequests" table): https://github.com/IQSS/dataverse/blob/v4.9.4/src/main/java/edu/harvard/iq/dataverse/DataFile.java#L638

On Tue, Oct 23, 2018 at 10:31 AM Baptiste ROUXEL <baptist...@sciencespo.fr> wrote:
Hi everyone,

I would like to get the list of access requests for all files in a dataset and manage them through the API.
I cannot find information about it in the documentation nor in github issues.

Do you know if it is possible?

Thanks,

Baptiste

--
You received this message because you are subscribed to the Google Groups "Dataverse Users Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dataverse-commu...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Dataverse Users Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dataverse-commu...@googlegroups.com.

To post to this group, send email to dataverse...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
--
Mercè Crosas, Ph.D., Chief Data Science and Technology Officer, IQSS, Harvard University
Reply all
Reply to author
Forward
0 new messages