Store harsh data versus card via Trello API?
I would like to store some arbitration data for each card in the Trello API (currently only one numeric value between 0 and 100, but if that works well then I will migrate more card-related data from my own app to trello).
I don't see anything like this in the API docs, can I get it right?
I may need to store a comment with json data in it for each card. Or maybe a better way?
Thank!
source to share
Trello recently added the ability to store an arbitrary number of tags on each card. These labels can either be colored (which causes them to appear on the board's display in Trello) or uncolored (which causes them to appear only on the card's detail display). For small amounts of arbitrary data (such as a single number as you described), this might be a reasonable option for you.
You can create a shortcut and add it to the map in one call using:
POST / 1 / cards / [card id or short link] / shortcuts
(link - https://trello.com/docs/api/card/index.html#post-1-cards-card-id-or-shortlink-labels )
If you have more data to store for which shortcuts may not be sufficient, I would suggest adding a checklist to store your data. List items marked complete can be hidden in the interface. This can be useful for making the user interface a little cleaner with large amounts of data. If you are using each item in the checklist as a separate data object, you can probably design a very flexible data structure to store whatever you want.
You can read more about how to interact with checklists and checkpoints here: https://trello.com/docs/api/checklist/index.html
source to share
In Trello, you can put a string in the card description, you can also attach files under 10MB using the card, and there is also a shortcut, time, comments, etc. that you can map your data to. So your direction is correct. This can accomplish your goal. But due to the existing data type limitation in Trello. Cost effectiveness has to be taken into account to a large extent.
source to share