通过OwnCloud或NextCloud API上传带有标签的文件 [英] Upload file with tags through OwnCloud or NextCloud API

查看:595
本文介绍了通过OwnCloud或NextCloud API上传带有标签的文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个已被标记文件的数据库.现在,我想将这些文件上传到OwnCloud或NextCloud Server并传递我已经存在的标签,以便它们在相应系统中显示为标签.我还无法在文档中找到如何做到这一点的方法,有人知道我该怎么做吗?

I have a database of files that are already tagged. Now, I would like to upload these files to an OwnCloud or NextCloud Server and pass on my already existing tags so that they show up as tags in the respective system. I wasnt able yet to find a way how I could do that in the documentation, does anyone have an idea how I could do it?

谢谢!

推荐答案

我刚刚在github(

I just made available the source code of the (remote) file tagging micro-service for Nextcloud on github (https://github.com/julianthome/taggy). The implementation consists of two parts: 1) the taggy client for uploading files to the Nextcloud server, and for invoking the taggy server; 2) the taggy server for adding specified tags to uploaded files.

我将在接下来的几天内进一步完善代码.我还计划添加SSL支持,这很重要,因为当前用户名和密码未加密地传输到Taggy服务器.服务器使用这些凭据来检查是否可以在标记任何文件之前对用户进行正确的身份验证.

I will polish the code further within the next days. I am also planning to add SSL support which is important because username and password are currently transmitted unencrypted to the taggy server. The server uses these credentials in order to check whether the user can be properly authenticated before tagging any files.

如果您还有其他想法,建议或反馈,请告诉我;)

Please let me know if you have other ideas, suggestions or feedback ;)

亲切的问候

这篇关于通过OwnCloud或NextCloud API上传带有标签的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆