When using the endpoint:
https://api.trello.com/1/boards/<boardId>/cards/?key=<key>&token=<token>&list=true
With the "&list=true" optional property, this is ignored and the List object are not returned... This work on a single GetCard Endpoint, but not the "multiple cards" endpoints, despite all the other nested resources (Board, Member, Label, Stickers, MemberVotes and Checklists all works)... So why not also List???
With the "&list=true" optional property, this is ignored
If you read the Get Cards on a Board endpoint documentation, you will see there is no such property (parameter) called list for that endpoint, so it's not surprising it's being ignored.
and the List object are not returned
I can't replicate that. When I query the Get Cards on Board endpoint, for every single card object returned in the response data set, I am told exactly what List that card is on via the idList object.
So why not also List???
Because it's not needed. Since each card can only be on one list at any one time, and the endpoint is already providing that information, there's nothing to be gained by declaring a separate parameter to request it.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.