Skip to content

feat: add API for getting default contributor role of a collection#12112

Open
vera wants to merge 3 commits intoIQSS:developfrom
vera:feat/get-default-contributor-role
Open

feat: add API for getting default contributor role of a collection#12112
vera wants to merge 3 commits intoIQSS:developfrom
vera:feat/get-default-contributor-role

Conversation

@vera
Copy link
Contributor

@vera vera commented Jan 26, 2026

What this PR does / why we need it:

This PR adds a new API endpoint for getting the default contributor role for a collection (GET /api/dataverses/$ID/defaultContributorRole), analogous to the existing endpoint for setting it (PUT /api/dataverses/$ID/defaultContributorRole/$ALIAS).

Which issue(s) this PR closes:

  • Not aware of any issue.

Special notes for your reviewer:

/

Suggestions on how to test this:

I've extended the existing test:

mvn test -Dtest="DataversesIT#testUpdateDefaultContributorRole"

Does this PR introduce a user interface change? If mockups are available, please link/include them here:

/

Is there a release notes update needed for this change?:

I will add a short release note.

Additional documentation:

/

@pdurbin pdurbin moved this to Ready for Triage in IQSS Dataverse Project Jan 26, 2026
@scolapasta scolapasta moved this from Ready for Triage to Ready for Review ⏩ in IQSS Dataverse Project Jan 27, 2026
@cmbz cmbz added FY26 Sprint 15 FY26 Sprint 15 (2026-01-14 - 2026-01-28) FY26 Sprint 16 FY26 Sprint 16 (2026-01-28 - 2026-02-11) labels Jan 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

FY26 Sprint 15 FY26 Sprint 15 (2026-01-14 - 2026-01-28) FY26 Sprint 16 FY26 Sprint 16 (2026-01-28 - 2026-02-11)

Projects

Status: Ready for Review ⏩

Development

Successfully merging this pull request may close these issues.

2 participants