-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Hello,
When I upload a file I would like to also include the metadata of that file but the method uploadFile only accepts the file and the DOI of the dataset where we are going to upload it.
This is an example of a file and its metadata:

I would like to know how to upload the Description and the File Path property, but when I am looking into the implementation I see that you are using the class Deposit from the SWORD library, which contains fields for a file, a date, a MD5, a mimetype... But I do not see the path or description anywhere.
Could you please explain me how can I upload those metadata (Description and File Path) into each file? The metadata of the name is already an extra parameter of uploadFile method in my PR #13, which allows to separate the data of the file from its metadata (File Name), so the File Name is already a metadata that we can control separately from the data.
I am looking for a similar modification / extension that allow me to control those fields via uploading the file or via modifying its metadata using another API method.