Feature Request: API to support Download Terms of Use and Guestbook#12110
Feature Request: API to support Download Terms of Use and Guestbook#12110stevenwinship wants to merge 85 commits intodevelopfrom
Conversation
This comment has been minimized.
This comment has been minimized.
1 similar comment
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
…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>
This comment has been minimized.
This comment has been minimized.
1 similar comment
This comment has been minimized.
This comment has been minimized.
|
@ChengShi-1 @sekmiller @pdurbin |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
It looks ok to me. |
This comment has been minimized.
This comment has been minimized.
|
@pdurbin lucky df.getOwner().getId() was checked before this method was called so, fingers crossed, we should be ok :) |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
2 similar comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
1 similar comment
|
📦 Pushed preview images as 🚢 See on GHCR. Use by referencing with full name as printed above, mind the registry name. |
|
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: |
|
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. |
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