-
Notifications
You must be signed in to change notification settings - Fork 492
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
GDCC/9005 replace files api call #9018
Merged
kcondon
merged 23 commits into
IQSS:develop
from
GlobalDataverseCommunityConsortium:GDCC/9005-replaceFiles_api_call
Jan 10, 2023
Merged
Changes from 14 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
3ea4e92
todo is done
qqmyers cb5007a
add getjsonarray
qqmyers e06ec36
Add /replaceFiles call
qqmyers e6bd5b3
docs
qqmyers 088cf8a
release note
qqmyers 4ffccdb
fix replaceFiles and remove hasError checks that block further changes
qqmyers 9d2fc05
relocate/rename entry for the /addFiles, /replaceFiles in native-api
qqmyers fc5bcf8
Merge remote-tracking branch 'IQSS/develop' into GDCC/9005-replaceFil…
qqmyers 54871d1
Merge remote-tracking branch 'IQSS/develop' into GDCC/9005-replaceFil…
qqmyers 76abd34
Update 9005-replaceFiles-api-call
qqmyers 233926e
Merge remote-tracking branch 'IQSS/develop' into
qqmyers 135eb22
Merge branch 'GDCC/9005-replaceFiles_api_call' of https://github.com/…
qqmyers 8a39a3b
Merge remote-tracking branch 'IQSS/develop' into GDCC/9005-replaceFil…
qqmyers 0956ba1
Fix merge issues per review
qqmyers edf7919
doc/example updates per QA
qqmyers be63c2d
Fix for unrelated bug found in QA
qqmyers e73fd93
Fix bug found in QA
qqmyers 0da9f8c
add example response to docs
qqmyers d7fdb1b
typo
qqmyers 3c35baa
flip quotes in examples per QA
qqmyers 7bf4026
debug logging
qqmyers 64af6f4
use equals!
qqmyers c22545b
Only do physcal delete when deleteFileId has been set
qqmyers File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
9005 | ||
|
||
Direct upload and out-of-band uploads can now be used to replace multiple files with one API call (complementing the prior ability to add multiple new files) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure why you're removing this doc since the endpoint still exists and it seems like we would want to have the ability to add files' metadata, not just replace
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This endpoint doesn't work as ~implied by this section and this placement in the guides. You can't change the metadata of existing files with it. It is a way to add new files that have been uploaded by direct S3, out-of-band means, or when using the remoteOverlayStore. This call is documented already at https://guides.dataverse.org/en/latest/developers/s3-direct-upload-api.html?highlight=addfiles#to-add-multiple-uploaded-files-to-the-dataset.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK. thanks for the explanation