jeremytregunna / ruby-trello

Implementation of the Trello API for Ruby
MIT License
719 stars 237 forks source link

access to card comments? #106

Open kevinchugh opened 9 years ago

kevinchugh commented 9 years ago

Hi, is this possible? I don't see any method or attribute for card comments. Thanks for any info.

Larusso commented 9 years ago

You can post a comment with add_comment text to a card. It is possible to change this comment via the trello api, but this is not supported by the library so far.

runlevel5 commented 9 years ago

So is there anyone up for this PR? I could provide mentorship if needed

Larusso commented 9 years ago

I have no time the next weeks.

njt1982 commented 8 years ago

I dont believe the API supports getting comments on a card (cant see a relevant API endpoint https://developers.trello.com/advanced-reference/card#).

You can get actions (Trello:Card.find(x).actions). In the actions, you have the addComment type (as well as a few other relevant ones). So you could build your own list from that.

andrewkress commented 8 years ago

You can get the card comments with this call: https://api.trello.com/1/cards/[card id or shortlink]/actions?filter=commentCard

runlevel5 commented 8 years ago

Anyone up for this feature?