-
Notifications
You must be signed in to change notification settings - Fork 501
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
Add an API endpoint for extended File Level metadata #4616
Comments
We also want to add an API for editing the metadata of a file, so we'll use this issue to track both edit and view of a file's metadata. |
It was pointed out you may be able to edit the md5 of a file with the existing dataset APIs. If so, this is a bug, and we should also fix that as a result of adding these new file level APIs (since they should use the same code fragments, ideally. |
@scolapasta By editing file metadata do you mean updating? In other words the ability to upload json that overrides the current metadata? |
@matthew-a-dunlap yes, that's what I mean. |
Should the new |
@matthew-a-dunlap we don't want users to be able to change the MD5 of a file, for example. Please see the "Create a dataset with files and directoryLabels using json" test here for the existing API endpoint: |
EDIT: we decided instead upon a new story #5674 |
@raprasad hi! Now that pull request #5529 has been merged, the first item on your list is easier:
doi:10.7910/DVN/TJCLKP How much more of this issue are you still interested in? |
I'll close this one out. We can implement other parts of this as specific issues as needed as we build out additional external tools. |
5/4/2018 update
Add an API endpoint where File Level metadata can be retrieved using a File ID or File DOI:
Datafile id
orDatafile DOI
, optional Dataverse tokenNotes:
The text was updated successfully, but these errors were encountered: