简体   繁体   English

将附件添加到 Trello 卡

[英]add attachment to Trello card

In my program I have a big canvas where I extract multiple selected regions and draw the regions to separate new small canvas.在我的程序中,我有一个大画布,我在其中提取多个选定区域并绘制这些区域以分离新的小画布。

I want to post the newly created canvas to trello as attachment using this API POST /1/cards/[card id or shortlink]/attachments.我想使用此API POST /1/cards/[card id or shortlink]/attachments 将新创建的画布作为附件发布到 trello。

The files are not saved in a database or in local storage.这些文件不保存在数据库或本地存储中。

I'm able to attach a Link to a card but the attaching a file is not clear and only documented with a curl command.我可以将链接附加到卡上,但附加文件不清楚,只能使用 curl 命令记录。

Is it possible to attach a Canvas and how using javascript?是否可以附加 Canvas 以及如何使用 javascript?

found a aprtial answer at this post answer on stackoverflow 在stackoverflow上的这个帖子答案中找到了一个合适的答案

also found this example trello attachment examples :还找到了这个示例trello 附件示例

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM