DEV Community

Dave Parr
Dave Parr

Posted on

1 1

Is there an API endpoint to upload images to DEV.TO?

I'm continuing to work on dev.to.ol. Some of the future work is sort of clear to me, but I'm still missing a big piece of the puzzle.

How can I take the charts (images) generated by the rendering of the .Rmd, and submit them to dev.to?

I'm not spotting a POST or PUT method in the api docs. Have I overlooked something, or is it something that might be a future feature?

Top comments (5)

Collapse
 
emma profile image
Emma Goto πŸ™ β€’

I actually want to know the answer to this too! (I came across this post when I googled it) any thoughts @ben?

Collapse
 
daveparr profile image
Dave Parr β€’

Thanks for the interest. In the end I was pretty sure it wasn't exposed outside the Dev.to editor interface, so I went with GitHub as the 'Image Host', as convoluted as that is: github.com/DaveParr/dev.to.ol/tree...

Collapse
 
emma profile image
Emma Goto πŸ™ β€’

Interesting, that's actually really smart!

Thread Thread
 
ben profile image
Ben Halpern β€’

Yeah the way we do images has never lent itself to an api making much sense, but we’re re-organizing this and that may change in near future.

Thread Thread
 
bcouetil profile image
Benoit COUETIL πŸ’« β€’

Has it changed in the meantime ? πŸ˜‡

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 GenAI LIVE!

GenAI LIVE! is a dynamic live-streamed show exploring how AWS and our partners are helping organizations unlock real value with generative AI.

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. ❀️