Uploading files via API in Python

Thanks so much @dipro! Appreciate your help, this worked wonderfully. I have a few follow-up questions.

One thing that’s unexpected:

When I navigate to the Board/Item of interest, the ‘files’ column does not actually show the image preview, but instead a file attachment icon, with options to download/etc.

image

Please tell me there is a way to display the image itself. Seems to be a previously identified issue.

Also, does the API support giving a name to the file? It seems it does not use the original filename, and something a bit more descriptive than file would be preferred.

Thanks again