-
Notifications
You must be signed in to change notification settings - Fork 501
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API: allow file restriction through API #3873
Comments
@mdmADA I'm so glad to hear this suggestion from a user that I'm going to close the equivalent issue I opened at #2497. I would say that instead of limiting this functionality to just "add", one should be able to add first and then decide to restrict later (just like in the GUI) before publishing. So, if you want to tweak the title of this issue a bit to reflect this broader scope, please go ahead! 😄 |
Sorry - I should have searched for the issue first before posting my own version - overzealous I guess! |
The new Native API call in Dataverse 4.6.1 to add datafiles to a dataset is very handy but it would be even handier if the file could also be set to restricted (or not) through the call.
POST http://$SERVER/api/datasets/$id/add?key=$apiKey
As Phil indicated after my initial post, providing an API call that can restrict a given file after it has been uploaded would also be helpful.
Thanks!
The text was updated successfully, but these errors were encountered: