简体   繁体   English

如何在Trello API中获取集合?

[英]How to get collections in Trello API ?

我需要使用trello API来获得所有板子的集合,这里是一个如何创建集合的链接,它是什么http://help.trello.com/article/1004-creating-collections-for-business-class-teams和指向文档的链接https://developers.trello.com/advanced-reference ,但我找不到找到收集木板的方法

I've just added documentation for the current implementation of collections here: https://github.com/trello/api-docs/pull/110 . 我刚刚在这里添加了集合的当前实现的文档: https : //github.com/trello/api-docs/pull/110

To create a new collection: 要创建一个新集合:

POST https://api.trello.com/1/organizations/{organizationID}/tags

with the parameter name which is the name of the collection you want to create. 参数name是您要创建的集合的名称。 To see all of the collections that exist for an organization: 要查看组织中存在的所有集合:

GET https://api.trello.com/1/organizations/{organizationID}/tags

To add a board to a collection: 要将板添加到集合中:

POST https://api.trello.com/1/boards/{boardId}/idTags

with the parameter "value" which should be one of the IDs for the collections returned from the tags endpoint above. 参数“值”应该是从上述标签端点返回的集合的ID之一。 To see a list of ids of collections to which a board belongs: 要查看董事会所属集合的ID列表:

GET https://api.trello.com/1/boards/{boardId}/idTags

Trello team answered my question: Trello团队回答了我的问题:

Unfortunately, there's not currently a way to access collections via the API. 不幸的是,目前还没有一种通过API访问集合的方法。 I'll let our team know that this is something you'd be interested in... 我会让我们的团队知道这是您感兴趣的事情...

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

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