Skip to content

Latest commit

 

History

History
108 lines (86 loc) · 1.81 KB

Card.md

File metadata and controls

108 lines (86 loc) · 1.81 KB

Trello Card API

Find a card by id

$api->cards()->show(string $id, array $params)

Create a card

$api->cards()->create(array $params)

Update a card

$api->cards()->update(string $id, array $params)

Set a given card's board

$api->cards()->setBoard(string $id, string $boardId)

Get a given card's board

$api->cards()->getBoard(string $id, array $params)

Get the field of a board of a given card

$api->cards()->getBoardField(string $id, array $field)

Set a given card's list

$api->cards()->setList(string $id, string $listId)

Get a given card's list

$api->cards()->getList(string $id, array $params)

Get the field of a list of a given card

$api->cards()->getListField(string $id, array $field)

Set a given card's name

$api->cards()->setName(string $id, string $name)

Set a given card's description

$api->cards()->setDescription(string $id, string $description)

Set a given card's state

$api->cards()->setClosed(string $id, boolean $closed)

Set a given card's due date

$api->cards()->setDueDate(string $id, \DateTime $date)

Set a given card's position

$api->cards()->setPosition(string $id, string|integer $position)

Set a given card's subscription state

$api->cards()->setSubscribed(string $id, boolean $subscribed)

Actions API

$api->cards()->actions()

Attachments API

$api->cards()->attachments()

Checklists API

$api->cards()->checklists()

Labels API

$api->cards()->labels()

Members API

$api->cards()->members()

Stickers API

$api->cards()->stickers()