Trello Api 按名称查找卡片 [英] Trello Api Find Card By Name

查看:43
本文介绍了Trello Api 按名称查找卡片的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在 trello api 中按名称查找卡片?我能想到的一种方法是,我们简单地使用 board/[board_id]/cards 获取板的所有卡片,然后尝试将每张卡片的名称与我们拥有的内容相匹配.但这看起来是一种非常低效的方法,因为它会涉及太多比较.

How do I find card by name in trello api? One way I could think of is that we simply get all the cards for a board using boards/[board_id]/cards and then try to match the name of each card with what we have. But that looks a very inefficient way to do it as it would involve too many comparisons.

有没有其他方法可以让我们简单地获取卡片名称和图板名称,然后获取所需的卡片对象?

Is there any other way such that we could simply take in a card name and board name and then get the required card object?

推荐答案

如果你知道 cardid 或 shortlink 你可以使用这个端点 https://trello.com/docs/api/card/

If you know the cardid or shortlink you can use this endpoint https://trello.com/docs/api/card/

也许这也有帮助 https://trello.com/docs/api/search/index.html#get-1-search

这篇关于Trello Api 按名称查找卡片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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