Import data from CSV/TXT to correlate with document

Hello,

Does anyone know if there is a way that I can import several thousand documents into NextCloud easily and apply tags to them based upon their rows in the CSV? I am able to find instructions on how to do this in OwnCloud and SpringCM easily. But I don’t know if Nextcloud can do this.

For example I can do:
documentname.pdf|tag-one,tag-two,tag-three
documentname2.pdf|tag-one,tag-two,tag-three

The last days, I was playing around with the pyocclient (https://github.com/owncloud/pyocclient/) which is quite nice if you want to script a few things. Unfortunately, the tagging is not yet available, but the API exists and could be added:

https://doc.owncloud.org/server/developer_manual/webdav_api/tags.html