Trello's documentation for their API shows that there are optional fields, but it isn't clear or even stated (although fairly obvious after reading) that for the member_fields
parameter to be valid, there should also be members=true
specified as part of the URI.
I came across this when inspecting the API calls Trello make themselves and having removed everything but member_fields
, things even went missing for them, but adding members
back in worked as expected.
Right now, my API call is finally working and looks like this:
- https://trello.com/1/lists/[LIST_ID]/cards?members=true&member_fields=avatarHash