When i am calling trello API to get details of the board which has card, lists and checklists fields in it. The response from the API has hashed cards/checklist/list positions. Is there any way I can interpret the position to know where they are positioned in the board?
pos fields aren’t hashed; they should be numbers. However, they are not whole numbers that increase by 1 for each pos. Instead, the numbers can have a wide range. We do this so that when you insert a new card, or move a card around, we do not have to make an update to every card above the new/moved card.
For instance, if you had three cards in a list with positions 1, 2, and 3. And you decided to insert a new card at the top of the list, making it position 1, you’d also need to update the position fields of all of the other cards in the list.
However, if you had three cards in a list with positions 124, 593, and 1234. And you decided to insert a new card at the top of the list, all you’d need to do is set its position to any value less than 124. No further card position updates required.