How can I upload images through the API?
Peter Strøiman

Peter Strøiman @stroiman

About: Senior dev with 25 years of industry experience and a strong focus on TDD. When not writing code, I am probably photographing. Every cover image is a photo of my own.

Location:
Nexø, Denmark
Joined:
May 21, 2024

How can I upload images through the API?

Publish Date: Jun 30 '24
0 1

I have written an Obsidian plugin that can publish notes from Obsidian as articles on DEV.to, which also deals with some Obsidian specific stuff, e.g. converting Obsidian medialinks to markdown links, separating title from content, and convert MathJax syntax to proper {% katex %} expressions; and it can handle subsequent updates, by storing the article id as metadata after the article is created.

But what the plugin really lacks right now is support for. The API documentation doesn't document any option for uploading images.

Is that possible?

Btw, the plugin can be found here. It's waiting approval before it's available in the community plugin list, but can be installed through BRAT.

Comments 1 total

  • insidewhy
    insidewhyNov 21, 2024

    Did you ever work this out?

    I'd really like to know also.

Add comment