Cards API
This page describes all the functions concerning the Cards on Trello.
How can I access the functions of this category?
[ 1 ] - Open a ServerScript [ 2 ] - Look at the following script. (Example script to understand how to access a category and to a function)
CreateCard(Name, ListId, BoardOptionalData)
Create a Card in Specific List , Return true
if the function is successful false
if the function fail.
Note that you can remove one of that elements or just don't include the 'BoardOptionalData' table.
UpdateCard(CardId, BoardOptionalData)
Update an existing card, Return true
if the function is successful false
if the function fail.
Note that you can remove one of that elements or just don't include the 'BoardOptionalData' table.
DeleteCard(CardId)
Delete from list an existing card, Return true
if the function is successful false
if the function fail.
CreateAttachmentOnCard(CardId,AttachmentUrl)
Create an CreateAttachment on a specific card, Only URL are supported, Return true
if the function is successful false
if the function fail.
DeleteAttachmentOnCard(CardId,Attachmentid)
Delete an Attachment from an existing card, Return true
if the function is successful false
if the function fail.
GetCardOnList(BoardId,CardName)
Find a specific card, if found return id of the card (String), Return false
if the function fail.
GetCardsOnList(ListId)
Return all the cards on the list, Return false
if the function fail.
GetAttachmentsOnCard(CardId)
Return the Attachments Datas for the card, Return false
if the function fail.
Last updated