DEV Community

Peter Strøiman
Peter Strøiman

Posted on

How can I upload images through the API?

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.

Top comments (1)

Collapse
 
insidewhy profile image
insidewhy

Did you ever work this out?

I'd really like to know also.

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

AWS Security LIVE!

Hosted by security experts, AWS Security LIVE! showcases AWS Partners tackling real-world security challenges. Join live and get your security questions answered.

Tune in to the full event

DEV is partnering to bring live events to the community. Join us or dismiss this billboard if you're not interested. ❤️