כיצד להעלות תמונה באמצעות API של Discourse

The parameter for file needs to be called files[]. See this response for an example using Postman: