Skip to content
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

Edit Dataverse Collection Native API endpoint #10904

Open
g-saracca opened this issue Oct 2, 2024 · 2 comments
Open

Edit Dataverse Collection Native API endpoint #10904

g-saracca opened this issue Oct 2, 2024 · 2 comments
Labels
Feature: API GREI Re-arch Issues related to the GREI Dataverse rearchitecture Original size: 30 Size: 30 A percentage of a sprint. 21 hours. (formerly size:33) SPA These changes are required for the Dataverse SPA Type: Feature a feature request

Comments

@g-saracca
Copy link

Overview of the Feature Request

We need an Edit Dataverse Collection Native API endpoint.
For the Edit Collection page in the SPA, we need to create first a use case in js-dataverse for editing a collection and for that we need an API endpoint for editing a collection.
We have already implement a use case in js-dataverse for creating a collection which uses this Create Dataverse Collection Native API endpoint

What kind of user is the feature intended for?
API User

What inspired the request?
Q4 Roadmap

What existing behavior do you want changed?
None

Any brand new behavior do you want to add to Dataverse?
None

Any open or closed issues related to this feature request?
IQSS/dataverse-client-javascript#200

@g-saracca g-saracca added Type: Feature a feature request Feature: API SPA These changes are required for the Dataverse SPA GREI Re-arch Issues related to the GREI Dataverse rearchitecture labels Oct 2, 2024
@GPortas GPortas added Size: 30 A percentage of a sprint. 21 hours. (formerly size:33) Original size: 30 labels Oct 2, 2024
@pdurbin
Copy link
Member

pdurbin commented Oct 2, 2024

FYI there is an endpoint for editing a collection description and a few other fields: https://guides.dataverse.org/en/6.4/api/native-api.html#change-collection-attributes

And there are various other APIs for changing this or that for collections, but it's all very ad hoc! 😅

@g-saracca
Copy link
Author

Yes, that is exactly what @GPortas told me and he is going to take a more in-depth look at it.
It could be nice to have a single api endpoint to send the same but updated data as we do with the Create Collection/Dataverse endpoint but of course it is not up to me.
Thanks @pdurbin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature: API GREI Re-arch Issues related to the GREI Dataverse rearchitecture Original size: 30 Size: 30 A percentage of a sprint. 21 hours. (formerly size:33) SPA These changes are required for the Dataverse SPA Type: Feature a feature request
Projects
Status: No status
Development

No branches or pull requests

3 participants