Skip to content

Feature Request: API to support Download Terms of Use and Guestbook#12110

Open
stevenwinship wants to merge 85 commits intodevelopfrom
12001-api-support-termofuse-guestbook
Open

Feature Request: API to support Download Terms of Use and Guestbook#12110
stevenwinship wants to merge 85 commits intodevelopfrom
12001-api-support-termofuse-guestbook

Conversation

@stevenwinship
Copy link
Contributor

@stevenwinship stevenwinship commented Jan 22, 2026

What this PR does / why we need it:

Which issue(s) this PR closes: #12001

Special notes for your reviewer:
Git got a bit confused when I added Access.java: POST @path("dataset/{id}") above GET @path("dataset/{id}/versions/{versionId}") It shows lots of diffs that aren't really there :(

Suggestions on how to test this: See AccessIT for testing with -Ddataverse.files.guestbook-at-request=true

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?: included

Additional documentation:

https://dataverse-guide--12110.org.readthedocs.build/en/12110/api/native-api.html#guestbooks

@github-actions github-actions bot added FY26 Sprint 12 FY26 Sprint 12 (2025-12-03 - 2025-12-17) FY26 Sprint 13 FY26 Sprint 13 (2025-12-17 - 2025-12-31) FY26 Sprint 14 FY26 Sprint 14 (2025-12-31 - 2026-01-14) FY26 Sprint 15 FY26 Sprint 15 (2026-01-14 - 2026-01-28) GREI Re-arch Issues related to the GREI Dataverse rearchitecture Project: HDV SPA Rollout Size: 80 A percentage of a sprint. 56 hours. SPA These changes are required for the Dataverse SPA Type: Feature a feature request labels Jan 22, 2026
@stevenwinship stevenwinship moved this to In Progress 💻 in IQSS Dataverse Project Jan 22, 2026
@stevenwinship stevenwinship self-assigned this Jan 22, 2026
@stevenwinship stevenwinship marked this pull request as draft January 22, 2026 20:35
@coveralls
Copy link

coveralls commented Jan 22, 2026

Coverage Status

coverage: 24.847% (+0.1%) from 24.718%
when pulling 63db903 on 12001-api-support-termofuse-guestbook
into 89cf927 on develop.

@github-actions

This comment has been minimized.

1 similar comment
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

stevenwinship and others added 4 commits January 28, 2026 16:17
…hrough an error message

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
…hrough an error message

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
@github-actions

This comment has been minimized.

1 similar comment
@github-actions

This comment has been minimized.

@stevenwinship
Copy link
Contributor Author

stevenwinship commented Mar 12, 2026

@ChengShi-1 @sekmiller @pdurbin
I fixed the issue with the persistentId. I guess it needs to be reviewed again since it wasn't just a test fix

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@pdurbin
Copy link
Member

pdurbin commented Mar 12, 2026

@ChengShi-1 @sekmiller @pdurbin I fixed the issue with the persistentId. I guess it needs to be reviewed again since it wasn't just a test fix

It looks ok to me. df.getOwner().getId() should never be null. (Famous last words.) 😄

Copy link
Member

@pdurbin pdurbin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Found some typos.

@github-actions

This comment has been minimized.

@stevenwinship
Copy link
Contributor Author

@pdurbin lucky df.getOwner().getId() was checked before this method was called so, fingers crossed, we should be ok :)

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

2 similar comments
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

1 similar comment
@github-actions
Copy link

📦 Pushed preview images as

ghcr.io/gdcc/dataverse:12001-api-support-termofuse-guestbook
ghcr.io/gdcc/configbaker:12001-api-support-termofuse-guestbook

🚢 See on GHCR. Use by referencing with full name as printed above, mind the registry name.

@ekraffmiller
Copy link
Contributor

ekraffmiller commented Mar 13, 2026

Hi @stevenwinship I have one more small (I hope) change request: for the Create Guestbook API, can you return HTTP response type 201, instead of 200, and return the id of the created guestbook as a field rather than in a message? It will help the client to have the id of the newly created object. (You don't have to include "name", that's just a suggestion).

So for example:
{
  "status": "OK",
  "data": { "id" : 45,
  "name": "guestbook name" }
}

@sekmiller
Copy link
Contributor

I wasn't able to find anything else that needs to be changed, so I think once Ellen's request gets in we can merge. Thanks for your patience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

FY26 Sprint 12 FY26 Sprint 12 (2025-12-03 - 2025-12-17) FY26 Sprint 13 FY26 Sprint 13 (2025-12-17 - 2025-12-31) FY26 Sprint 14 FY26 Sprint 14 (2025-12-31 - 2026-01-14) FY26 Sprint 15 FY26 Sprint 15 (2026-01-14 - 2026-01-28) FY26 Sprint 16 FY26 Sprint 16 (2026-01-28 - 2026-02-11) FY26 Sprint 17 FY26 Sprint 17 (2026-02-11 - 2026-02-25) FY26 Sprint 18 FY26 Sprint 18 (2026-02-25 - 2026-03-11) GREI Re-arch Issues related to the GREI Dataverse rearchitecture Original size: 80 Project: HDV SPA Rollout Size: 20 A percentage of a sprint. 14 hours. SPA These changes are required for the Dataverse SPA Type: Feature a feature request

Projects

Status: QA ✅

Development

Successfully merging this pull request may close these issues.

Feature Request: API to support Download Terms of Use

8 participants