Comment publier des images via API ?

To my understanding, discourse will handle that for you: