Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 677 Bytes

Attachments.md

File metadata and controls

28 lines (22 loc) · 677 Bytes

Trello Card Attachments API

Get attachments related to a given card

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

Add an attachment to a given card

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

Get a given attachment on a given card

$api->cards()->attachments()->show(string $id, string $attachmentId)

Remove a given attachment from a given card

$api->cards()->attachments()->remove(string $id, string $attachmentId)

Set a given attachment as cover of a given card

$api->cards()->attachments()->setAsCover(string $id, string $attachmentId)